summaryrefslogtreecommitdiff
path: root/luaotfload-diagnostics.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-01-14 05:27:37 -0800
committerPhilipp Gesang <phg42.2a@gmail.com>2014-01-14 05:27:37 -0800
commit09316ec5b7eb2cc2b507aa9105e4197a90d29071 (patch)
tree94034001ec4076782e2b5ce3ab0c4df7eb5ab954 /luaotfload-diagnostics.lua
parent55578e73e588594cefbced5f345399f7d9106a75 (diff)
parent17fdb59546dda7c2294f2445c5e9a9402a3bfead (diff)
downloadluaotfload-09316ec5b7eb2cc2b507aa9105e4197a90d29071.tar.gz
Merge pull request #181 from phi-gamma/texlive2014
move font request parser into parsers file
Diffstat (limited to 'luaotfload-diagnostics.lua')
-rw-r--r--luaotfload-diagnostics.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/luaotfload-diagnostics.lua b/luaotfload-diagnostics.lua
index 1f29e3d..1ae9a90 100644
--- a/luaotfload-diagnostics.lua
+++ b/luaotfload-diagnostics.lua
@@ -53,6 +53,10 @@ local out = function (...)
logs.names_report (false, 0, "diagnose", ...)
end
+local parsers = luaotfload.parsers
+local stripslashes = parsers.stripslashes
+local splitcomma = parsers.splitcomma
+
local check_index = function (errcnt)
out "================= font names =================="
@@ -163,8 +167,6 @@ local analyze_permissions = function (raw)
return lpegmatch (p_permissions, raw)
end
-local stripslashes = names.patterns.stripslashes
-
local get_permissions = function (t, location)
if stringsub (location, #location) == "/" then
--- strip trailing slashes (lfs idiosyncrasy on Win)
@@ -605,8 +607,6 @@ local anamneses = {
"permissions"
}
-local splitcomma = names.patterns.splitcomma
-
local diagnose = function (job)
local errcnt = 0
local asked = job.asked_diagnostics