aboutsummaryrefslogtreecommitdiff
path: root/bpeg.bpeg
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-10 03:52:16 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-10 03:52:16 -0700
commitaf60c05236704b231c1974ae90214cfe1efad38e (patch)
tree026d993571431230fe8e5565ed26800cb67c8629 /bpeg.bpeg
parent62302ec85ea88fa04a1ea451bc7b4fc1fed17932 (diff)
Fixes, getting closer to meta-parsing
Diffstat (limited to 'bpeg.bpeg')
-rw-r--r--bpeg.bpeg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpeg.bpeg b/bpeg.bpeg
index 6bd62da..6ab12c9 100644
--- a/bpeg.bpeg
+++ b/bpeg.bpeg
@@ -1,7 +1,7 @@
# This is a file defining the BPEG grammar using BPEG syntax
grammar;
-grammar = __ @[main-pattern]extended-pat __ (*def % (__`;__)) ?(__ `;) __;
+grammar = __ @[main-pattern]extended-pat __ (*def % (__`;__)) ?(`;__);
def = @[name]ref __ `= __ @[definition]extended-pat;
# This is used for command line arguments: