diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,7 +171,7 @@ process_file(Str path) { | |||
171 | array_zero(chunk.constants, 256, &bytecode_arena); | 171 | array_zero(chunk.constants, 256, &bytecode_arena); |
172 | array_zero(chunk.code, 0xffff, &bytecode_arena); | 172 | array_zero(chunk.code, 0xffff, &bytecode_arena); |
173 | sz n_roots = array_size(parser.nodes); | 173 | sz n_roots = array_size(parser.nodes); |
174 | CompResult res; | 174 | CompResult res = {0}; |
175 | for (sz i = 0; i < n_roots; i++) { | 175 | for (sz i = 0; i < n_roots; i++) { |
176 | // The parser stores the root nodes as a stack. | 176 | // The parser stores the root nodes as a stack. |
177 | Node *root = parser.nodes[i]; | 177 | Node *root = parser.nodes[i]; |