aboutsummaryrefslogtreecommitdiff
path: root/bpeg.bpeg
diff options
context:
space:
mode:
Diffstat (limited to 'bpeg.bpeg')
-rw-r--r--bpeg.bpeg3
1 files changed, 1 insertions, 2 deletions
diff --git a/bpeg.bpeg b/bpeg.bpeg
index f5d490d..0a03aa8 100644
--- a/bpeg.bpeg
+++ b/bpeg.bpeg
@@ -1,7 +1,6 @@
# This is a file defining the BPEG grammar using BPEG syntax
-Grammar;
-Grammar = __ @[main-pattern]extended-pat __ *((__`;__) Def) ?(`;__);
+Grammar = __ *Def%(__`;__) ?(`;__);
Def = @[name]Ref __ `= __ @[definition]extended-pat;
# This is used for command line arguments: