diff options
Diffstat (limited to 'src/bytecode/main.c')
-rw-r--r-- | src/bytecode/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bytecode/main.c b/src/bytecode/main.c index 66089c0..5661747 100644 --- a/src/bytecode/main.c +++ b/src/bytecode/main.c | |||
@@ -38,6 +38,10 @@ process_source(const StringView *source) { | |||
38 | return; | 38 | return; |
39 | } | 39 | } |
40 | 40 | ||
41 | for (size_t i = 0; i < array_size(tokens); i++) { | ||
42 | print_token(tokens[i]); | ||
43 | } | ||
44 | |||
41 | size_t const_a = add_constant(vm.chunk, 7); | 45 | size_t const_a = add_constant(vm.chunk, 7); |
42 | add_code(vm.chunk, OP_CONSTANT, 1, 1); | 46 | add_code(vm.chunk, OP_CONSTANT, 1, 1); |
43 | add_code(vm.chunk, const_a, 1, 1); | 47 | add_code(vm.chunk, const_a, 1, 1); |