summaryrefslogtreecommitdiff
path: root/tex/context/base/v-lua.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/v-lua.lua')
-rw-r--r--tex/context/base/v-lua.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/v-lua.lua b/tex/context/base/v-lua.lua
index a7ca42cf8..abe8de211 100644
--- a/tex/context/base/v-lua.lua
+++ b/tex/context/base/v-lua.lua
@@ -144,7 +144,7 @@ local special = S("-+/*^%=#") + P("..")
-- that can be found at http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html.
local equals = P("=")^0
-local open = P("[") * Cg(equals, "init") * P("[") * P("\n")^-1
+local open = P("[") * Cg(equals, "init") * P("[") * P("\n")^-1 -- maybe better: patterns.newline^-1
local close = P("]") * C(equals) * P("]")
local closeeq = Cmt(close * Cb("init"), function(s,i,a,b) return a == b end)
local longstring = open * Cs((P(1) - closeeq)^0) * close * Carg(1)