aboutsummaryrefslogtreecommitdiff
path: root/grammar/middle-recursion.grm
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-07-19 20:18:15 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2025-07-19 20:18:15 +0200
commitae10b7d764d9587ab92a682781f8479107e8dff0 (patch)
tree13e060f304ca1cac98ae1e71a2a6e27d9c5fb269 /grammar/middle-recursion.grm
parentd138a622dcc77302cc452c52946f6202b6a03f5e (diff)
add pex
Diffstat (limited to 'grammar/middle-recursion.grm')
-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 ccb8b58..71cc71f 100644
--- a/grammar/middle-recursion.grm
+++ b/grammar/middle-recursion.grm
@@ -1,3 +1,3 @@
-S -> 'a' S B | B
+main -> 'a' main B | B
A -> 'ab'
B -> A | 'b'