aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/debug.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-23 15:32:40 +0200
committerBad Diode <bd@badd10de.dev>2021-10-23 15:32:40 +0200
commit13f795f8f8aa302ee36ca3974fb80dba29240240 (patch)
tree4ede9989acd1a4cb54f8232c11d249e5f0187256 /src/bytecode/debug.h
parentbd1480fd2cb80680933b80900c5fb13b5f88ca42 (diff)
downloadbdl-13f795f8f8aa302ee36ca3974fb80dba29240240.tar.gz
bdl-13f795f8f8aa302ee36ca3974fb80dba29240240.zip
Add more types and access macros
Diffstat (limited to 'src/bytecode/debug.h')
-rwxr-xr-xsrc/bytecode/debug.h2
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++;