diff options
Diffstat (limited to 'src/bytecode/debug.h')
-rwxr-xr-x | src/bytecode/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
17 | printf("\nconstants:\n"); | 17 | printf("\nconstants:\n"); |
18 | offset = 0; | 18 | offset = 0; |
19 | while (offset < array_size(chunk->constants)) { | 19 | while (offset < array_size(chunk->constants)) { |
20 | printf("\t%04ld -> ", offset); | 20 | printf("\t%03ld -> ", offset); |
21 | display(chunk->constants[offset]); | 21 | display(chunk->constants[offset]); |
22 | printf("\n"); | 22 | printf("\n"); |
23 | offset++; | 23 | offset++; |