summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/parser/grammar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/parser/grammar.lua b/server/src/parser/grammar.lua
index a876c3ba..7aa280ba 100644
--- a/server/src/parser/grammar.lua
+++ b/server/src/parser/grammar.lua
@@ -246,7 +246,7 @@ StringDef <- {'"'}
/ {"'"}
{~(Esc / !%nl !"'" .)*~} -> 1
("'" / {} -> MissQuote2)
- / ('[' {} {:eq: '='* :} {} '['
+ / ('[' {} {:eq: '='* :} {} '[' %nl?
{(!StringClose .)*} -> 1
(StringClose / {}))
-> LongString