aboutsummaryrefslogtreecommitdiff
path: root/grammars/shell.bp
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-20 15:46:21 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-20 15:46:21 -0800
commitb50ad0cad099c99d4e739fc465b69779f661b77d (patch)
treee050a7b9b5dfcae56540a19527e05e918edb93cb /grammars/shell.bp
parentb4c8a33a0cbf4938b53458ded4d46efc6e8820ab (diff)
Fixed grammar syntax for `..%`
Diffstat (limited to 'grammars/shell.bp')
-rw-r--r--grammars/shell.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/shell.bp b/grammars/shell.bp
index 2e2b60a..1ad182d 100644
--- a/grammars/shell.bp
+++ b/grammars/shell.bp
@@ -7,8 +7,8 @@
# See the accompanying README.md for more info.
comment: `#..$
-string: `"..`" % (`\./subcommand/\n) / `'..`' % \n / "<<" _ @delim=id _$ ..(^delim$)%\n
-subcommand: `` .. `` % \n / "$" parens
+string: `" ..%(`\./subcommand/\n) `" / `' ..%\n `' / "<<" _ @delim=id _$ ..%\n (^delim$)
+subcommand: `` ..%\n `` / "$" parens
keyword: |(
"echo" / "read" / "set" / "unset" / "readonly" / "shift" / "export" / "if" / "fi" /
"else" / "while" / "do" / "done" / "for" / "until" / "case" / "esac" / "break" /