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