summary refs log tree commit diff
path: root/src/parser.zig
diff options
context:
space:
mode:
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 4b64303..61038d8 100644
--- a/src/parser.zig
+++ b/src/parser.zig
@@ -217,8 +217,8 @@ pub const Parser = struct {
         errdefer if (!self.try_context) std.debug.print("Error parsing expression\n", .{});
 
         return self.accept_parse(parse_equality_expression) orelse
-            self.accept_parse(parse_additive_expression) orelse
             self.accept_parse(parse_function_definition) orelse
+            self.accept_parse(parse_additive_expression) orelse
             return ParserError.ParsingError;
     }