From 13f795f8f8aa302ee36ca3974fb80dba29240240 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sat, 23 Oct 2021 15:32:40 +0200 Subject: Add more types and access macros --- src/bytecode/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bytecode/debug.h') diff --git a/src/bytecode/debug.h b/src/bytecode/debug.h index 25ac693..42b5b93 100755 --- a/src/bytecode/debug.h +++ b/src/bytecode/debug.h @@ -17,7 +17,7 @@ disassemble_chunk(Chunk *chunk, const char *name) { printf("\nconstants:\n"); offset = 0; while (offset < array_size(chunk->constants)) { - printf("\t%04ld -> ", offset); + printf("\t%03ld -> ", offset); display(chunk->constants[offset]); printf("\n"); offset++; -- cgit v1.2.1