aboutsummaryrefslogtreecommitdiff
path: root/grammars/shell.bp
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-05-12 12:11:28 -0400
committerBruce Hill <bruce@bruce-hill.com>2022-05-12 12:11:28 -0400
commit56da250d69615d70774dbc361fa2693cca1e3df4 (patch)
treedbdeb2be018c5f10c13f721965b3bebff2283e88 /grammars/shell.bp
parente484a888151460ffc25a8478d9a9c9836652a35c (diff)
Split backref/named captures into separate concepts for performance
reasons.
Diffstat (limited to 'grammars/shell.bp')
-rw-r--r--grammars/shell.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/shell.bp b/grammars/shell.bp
index 76cdcfa..d305d6c 100644
--- a/grammars/shell.bp
+++ b/grammars/shell.bp
@@ -7,7 +7,7 @@
# See the accompanying README.md for more info.
comment: `#..$
-string: `" ..%(string-escape / subcommand / \n) `" / `' ..%\n `' / "<<" _ @delim=id _$ ..%\n (^delim$)
+string: `" ..%(string-escape / subcommand / \n) `" / `' ..%\n `' / "<<" _ @delim:id _$ ..%\n (^delim$)
string-escape: `\ `",`
subcommand: `` ..%\n `` / "$" (parens/braces)
keyword: ("echo" / "read" / "set" / "unset" / "readonly" / "shift" / "export" / "if" / "fi" /