aboutsummaryrefslogtreecommitdiff
path: root/bpeg.bpeg
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-11 01:28:06 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-11 01:28:06 -0700
commit2a11acc66738d6300bfa90a22adcd540371060f3 (patch)
tree4966c9864434da3e43594f0d86dd9362f367fd8e /bpeg.bpeg
parent8a846230f7b4269af08a6b6496ebd28c4ff459ba (diff)
Major overhaul refactor restructuring
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: