aboutsummaryrefslogtreecommitdiff
path: root/grammars/bp.bp
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-05-20 16:46:14 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-05-20 16:46:14 -0700
commitec1a3e08354d27742e89fd8437a5a1d39153c53e (patch)
treeb6d434441179ba090da89b83a34ad243ba9215a9 /grammars/bp.bp
parentcd30e89042f820c7e6dc7c40890eb21ddf0cd94f (diff)
Fixes for char sets/ranges and cleanups
Diffstat (limited to 'grammars/bp.bp')
-rw-r--r--grammars/bp.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/bp.bp b/grammars/bp.bp
index fc1e794..228f7d0 100644
--- a/grammars/bp.bp
+++ b/grammars/bp.bp
@@ -5,7 +5,7 @@
# The grammar files provided with BP are not otherwise intended to be full
# language grammars.
-Grammar: __ *(Def [__`;])%__ __ ($$ / (!)(..%\n$$ => "Could not parse this code"))
+Grammar: __ *(Def [__`;])%__ __ [(!)(+(./\n) => "Could not parse this code")]
Def: @name=id __ `: __ (
@definition=extended-pat
/ $$ (!)=>"No definition for rule"