From 7df4f9bcda73ef67943b453432e28bde9d0d9893 Mon Sep 17 00:00:00 2001 From: Asger Gitz-Johansen Date: Sun, 7 Jul 2024 12:20:10 +0200 Subject: [PATCH] Revert "fix: use left recursion for statements" This breaks assignments. This reverts commit 8d27e99123036c714f4952c377d56fd69f1ca245. --- src/expr-lang/expr.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expr-lang/expr.y b/src/expr-lang/expr.y index f2f5074..ef06249 100644 --- a/src/expr-lang/expr.y +++ b/src/expr-lang/expr.y @@ -92,7 +92,7 @@ unit: statements: %empty { } -| statements statement { } +| statement statements { } ; statement: