summaryrefslogtreecommitdiff
path: root/src/symtable.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/symtable.zig')
-rw-r--r--src/symtable.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/symtable.zig b/src/symtable.zig
index fdbc536..f426ef8 100644
--- a/src/symtable.zig
+++ b/src/symtable.zig
@@ -233,6 +233,7 @@ pub const Populator = struct {
.exit => |exit| _ = try exit.inferType(self.allocator, table),
.expr => {},
.ifstmt => for (try stmt.children(self.allocator)) |c| try self.populateSymtable(&c),
+ .whileStmt => for (try stmt.children(self.allocator)) |c| try self.populateSymtable(&c),
// else => |unim| return errorblk: {
// std.debug.print("Error: Unimplemented: {any}\n", .{unim});