From 2a11acc66738d6300bfa90a22adcd540371060f3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 11 Sep 2020 01:28:06 -0700 Subject: Major overhaul refactor restructuring --- bpeg.bpeg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bpeg.bpeg') 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: -- cgit v1.2.3