diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-01-14 13:21:20 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-01-14 13:21:20 +0100 |
commit | cbf1a28451ad42a7f8c2a9256810868f378e4631 (patch) | |
tree | b14244826ff599ca66bd624e90c5b4fe1ce77e40 /luaotfload-diagnostics.lua | |
parent | 6232768122e63018a69bfd6159514b60020b75bb (diff) | |
download | luaotfload-cbf1a28451ad42a7f8c2a9256810868f378e4631.tar.gz |
[db,tool,diagnose,parsers] move miscellaneous patterns into luaotfload-parsers
Diffstat (limited to 'luaotfload-diagnostics.lua')
-rw-r--r-- | luaotfload-diagnostics.lua | 8 |
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 |