From e7c8a04078261b331b00490ffbffd9ff05d1e0d0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 22 Jul 2020 23:49:52 +0200 Subject: Add variable to list value and map key --- src/bytecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bytecode.c') diff --git a/src/bytecode.c b/src/bytecode.c index b7c0364..9cf32a6 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -44,7 +44,7 @@ int tsl_bytecode_add_ins2(TslBytecode *self, TslOpcode opcode, double value) { TslInstructionType2 instruction; instruction.opcode = opcode; instruction.value = value; - fprintf(stderr, "%s %f\n", tsl_opcode_to_string(opcode), value); + fprintf(stderr, "%s %g\n", tsl_opcode_to_string(opcode), value); return tsl_buffer_append(&self->buffer, &instruction, sizeof(instruction)); } -- cgit v1.2.3