aboutsummaryrefslogtreecommitdiff
path: root/grammar/middle-recursion.grm
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/middle-recursion.grm')
-rw-r--r--grammar/middle-recursion.grm4
1 files changed, 1 insertions, 3 deletions
diff --git a/grammar/middle-recursion.grm b/grammar/middle-recursion.grm
index 71cc71f..93d76a4 100644
--- a/grammar/middle-recursion.grm
+++ b/grammar/middle-recursion.grm
@@ -1,3 +1 @@
-main -> 'a' main B | B
-A -> 'ab'
-B -> A | 'b'
+main -> 'a' main 'a' | 'a' | ''