summaryrefslogtreecommitdiff
path: root/tex/context/base/lxml-lpt.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-06-26 14:15:03 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-06-26 14:15:03 +0200
commit6d09de5c379629ea7259803ae28185949cda27c8 (patch)
tree705f3f761841c59f625699fcff2cbecc62b67506 /tex/context/base/lxml-lpt.lua
parent04b79dbcabe74877cbd50ca1f3a99dd6052ffc6f (diff)
downloadcontext-6d09de5c379629ea7259803ae28185949cda27c8.tar.gz
2014-06-26 12:10:00
Diffstat (limited to 'tex/context/base/lxml-lpt.lua')
-rw-r--r--tex/context/base/lxml-lpt.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/lxml-lpt.lua b/tex/context/base/lxml-lpt.lua
index 8567f2623..d99688b8b 100644
--- a/tex/context/base/lxml-lpt.lua
+++ b/tex/context/base/lxml-lpt.lua
@@ -505,6 +505,9 @@ local function apply_expression(list,expression,order)
return collected
end
+-- this one can be made faster but there are not that many conversions so it doesn't
+-- really pay of
+
local P, V, C, Cs, Cc, Ct, R, S, Cg, Cb = lpeg.P, lpeg.V, lpeg.C, lpeg.Cs, lpeg.Cc, lpeg.Ct, lpeg.R, lpeg.S, lpeg.Cg, lpeg.Cb
local spaces = S(" \n\r\t\f")^0