aboutsummaryrefslogtreecommitdiff
path: root/grammars
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-10-01 19:29:31 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-10-01 19:29:31 -0700
commit0ad64a1006f10dcb6e431985f3c26816f50f64d1 (patch)
treef10146ca8b6db5be0f775363a9628e541e33db04 /grammars
parent73bbf6872a3ec5d9dd8d0d587b00056c59bcbd30 (diff)
Bugfix for use-after-free, as well as an issue with the order
grammars were loaded
Diffstat (limited to 'grammars')
-rw-r--r--grammars/bp.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/bp.bp b/grammars/bp.bp
index d0a9474..a6e6f0b 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 [__`;])%__ __ [@error=(+(./\n) => "Could not parse this code")]
+Grammar: __ *(Def [__`;])%__ __ [@error=(+(./\n) => "Could not parse this code: @0")]
Def: @name=id __ `: __ (
@definition=extended-pat
/ $$ @error=(=>"No definition for rule")