aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 618d325..e14ef43 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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];