summaryrefslogtreecommitdiff
path: root/src/parser.zig
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2025-02-19 18:46:21 -0600
committerNic Gaffney <gaffney_nic@protonmail.com>2025-02-19 18:46:21 -0600
commit2c44d648157a6dbfd847e939016316032c6742a4 (patch)
tree9d19f0face496f3e520f8c69536f6cffe2879364 /src/parser.zig
parent4ea2876e8243a86276917e691a335caed7a8fd74 (diff)
downloadcalico-2c44d648157a6dbfd847e939016316032c6742a4.tar.gz
Fixed while loops
Diffstat (limited to 'src/parser.zig')
-rw-r--r--src/parser.zig2
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) //.