diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-01-22 00:51:55 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-01-22 00:51:55 +0100 |
commit | 7b982d37f58b36e8d8dd2580893e89430c576ca9 (patch) | |
tree | f3f5944bace136a2c878c82fd2bc882fc9a5ce42 /src/fontloader/misc/fontloader-l-lpeg.lua | |
parent | 07cc29d8658360e9e6ddecf7f251e518b9ea99c9 (diff) | |
parent | 55799dad5b8a2716aea1cfee28b4ce093e587f8a (diff) | |
download | luaotfload-7b982d37f58b36e8d8dd2580893e89430c576ca9.tar.gz |
Merge pull request #320 from phi-gamma/master
fixes
Diffstat (limited to 'src/fontloader/misc/fontloader-l-lpeg.lua')
-rw-r--r-- | src/fontloader/misc/fontloader-l-lpeg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontloader/misc/fontloader-l-lpeg.lua b/src/fontloader/misc/fontloader-l-lpeg.lua index 5be1246..959ca55 100644 --- a/src/fontloader/misc/fontloader-l-lpeg.lua +++ b/src/fontloader/misc/fontloader-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('"') |