Skip to content

Commit

Permalink
Revert "fix: use left recursion for statements"
Browse files Browse the repository at this point in the history
This breaks assignments.

This reverts commit 8d27e99.
  • Loading branch information
sillydan1 committed Jul 7, 2024
1 parent 3cc1ca0 commit 7df4f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expr-lang/expr.y
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ unit:

statements:
%empty { }
| statements statement { }
| statement statements { }
;

statement:
Expand Down

0 comments on commit 7df4f9b

Please sign in to comment.