aboutsummaryrefslogtreecommitdiff
path: root/grammars/lua.bp
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/lua.bp')
-rw-r--r--grammars/lua.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/lua.bp b/grammars/lua.bp
index 3d3b862..4f417d2 100644
--- a/grammars/lua.bp
+++ b/grammars/lua.bp
@@ -6,8 +6,8 @@
# full parse tree, and having one makes the task considerably more complicated.
# See the accompanying README.md for more info.
-comment: "--" (`[ @eqs=*`= `[ ..%\n (`]eqs`]) / ..$)
-string: `"..%string-escape `" / `' ..%string-escape `' / `[ @eqs=*`= `[ ..%\n (`]eqs`])
+comment: "--" (`[ @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" /
"function" / "goto" / "if" / "in" / "local" / "nil" / "not" / "or" /