summaryrefslogtreecommitdiff
path: root/tex/context/base/l-lpeg.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-06 18:15:07 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-06 18:15:07 +0100
commitdff5c494ea481bade11845293d0b02d372c9cce7 (patch)
tree1892e46c26f8646962009a1b173027f1ffd7a30f /tex/context/base/l-lpeg.lua
parent04426445f8f1ed5e4279df8919294fe2c0591f99 (diff)
downloadcontext-dff5c494ea481bade11845293d0b02d372c9cce7.tar.gz
2016-01-06 17:32:00
Diffstat (limited to 'tex/context/base/l-lpeg.lua')
-rw-r--r--tex/context/base/l-lpeg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/l-lpeg.lua b/tex/context/base/l-lpeg.lua
index 5be12468b..959ca553e 100644
--- a/tex/context/base/l-lpeg.lua
+++ b/tex/context/base/l-lpeg.lua
@@ -110,7 +110,7 @@ local underscore = P("_")
local hexdigit = digit + lowercase + uppercase
local cr, lf, crlf = P("\r"), P("\n"), P("\r\n")
----- newline = crlf + S("\r\n") -- cr + lf
-local newline = P("\r") * (P("\n") + P(true)) + P("\n")
+local newline = P("\r") * (P("\n") + P(true)) + P("\n") -- P("\r")^-1 * P("\n")^-1
local escaped = P("\\") * anything
local squote = P("'")
local dquote = P('"')