diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2025-02-19 18:28:18 -0600 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2025-02-19 18:28:18 -0600 |
| commit | 4ea2876e8243a86276917e691a335caed7a8fd74 (patch) | |
| tree | 79554a528e70d0a810692560f659ca6270a77f50 /src/symtable.zig | |
| parent | fe851bcb542dac5f3af312da02ff617aa817f118 (diff) | |
| download | calico-4ea2876e8243a86276917e691a335caed7a8fd74.tar.gz | |
Added while loop
Diffstat (limited to 'src/symtable.zig')
| -rw-r--r-- | src/symtable.zig | 1 |
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}); |
