From 5d5817c2a3d21e91db4eaaf607ff881d71b57638 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 19 May 2021 21:58:54 -0700 Subject: Fancier string escape sequences and a bit of cleanup. --- grammars/lua.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grammars/lua.bp') 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" / -- cgit v1.2.3