diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2025-02-19 18:46:21 -0600 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2025-02-19 18:46:21 -0600 |
| commit | 2c44d648157a6dbfd847e939016316032c6742a4 (patch) | |
| tree | 9d19f0face496f3e520f8c69536f6cffe2879364 /src/parser.zig | |
| parent | 4ea2876e8243a86276917e691a335caed7a8fd74 (diff) | |
| download | calico-2c44d648157a6dbfd847e939016316032c6742a4.tar.gz | |
Fixed while loops
Diffstat (limited to 'src/parser.zig')
| -rw-r--r-- | src/parser.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.zig b/src/parser.zig index ebd4b33..bd4627d 100644 --- a/src/parser.zig +++ b/src/parser.zig @@ -255,7 +255,7 @@ pub const Parser = struct { const precTable: []const []const tok.TokenType = &.{ &.{ .plus, .minus }, &.{ .star, .slash }, - &.{ .eqleql, .lessthan }, + &.{ .eqleql, .lessthan, .greaterthan }, }; return try self.genBinOp(precTable[0], typ, lhsptr) //. |
