aboutsummaryrefslogtreecommitdiff
path: root/grammars/lua.bp
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-05-19 21:58:54 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-05-19 21:58:54 -0700
commit5d5817c2a3d21e91db4eaaf607ff881d71b57638 (patch)
treec147550067d237a8d45c35870e18ea4957772c0b /grammars/lua.bp
parent6ff7a6753032bc41098042258096bde73ed4bd1c (diff)
Fancier string escape sequences and a bit of cleanup.
Diffstat (limited to 'grammars/lua.bp')
-rw-r--r--grammars/lua.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/lua.bp b/grammars/lua.bp
index 6967f1e..562b44a 100644
--- a/grammars/lua.bp
+++ b/grammars/lua.bp
@@ -7,7 +7,7 @@
# See the accompanying README.md for more info.
comment: "--" (`[ @eqs=*`= `[ ..%\n (`]eqs`]) / ..$)
-string: `"..%(`\.) `" / `' ..%(`\.) `' / `[ @eqs=*`= `[ ..%\n (`]eqs`])
+string: `"..%string-escape `" / `' ..%string-escape `' / `[ @eqs=*`= `[ ..%\n (`]eqs`])
table: `{ ..%(table/string/comment/\n) `}
keyword:
"and" / "break" / "do" / "else" / "elseif" / "end" / "false" / "for" /