aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/main.c
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/main.c
parentbd1480fd2cb80680933b80900c5fb13b5f88ca42 (diff)
downloadbdl-13f795f8f8aa302ee36ca3974fb80dba29240240.tar.gz
bdl-13f795f8f8aa302ee36ca3974fb80dba29240240.zip
Add more types and access macros
Diffstat (limited to 'src/bytecode/main.c')
-rwxr-xr-xsrc/bytecode/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bytecode/main.c b/src/bytecode/main.c
index d6cb5d3..bad150c 100755
--- a/src/bytecode/main.c
+++ b/src/bytecode/main.c
@@ -49,9 +49,9 @@ process_source(const StringView *source) {
49 } 49 }
50 50
51 // Interpret chunk. 51 // Interpret chunk.
52 vm_interpret(vm, chunk); 52 vm_interpret(&vm, chunk);
53 if (errors_n != 0) { 53 if (errors_n != 0) {
54 disassemble_chunk(vm.chunk, "test chunk"); 54 disassemble_chunk(vm.chunk, "current chunk");
55 } 55 }
56 56
57 chunk_free(chunk); 57 chunk_free(chunk);