summaryrefslogtreecommitdiff
path: root/src/luaotfload-main.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-10-28 06:48:50 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-10-28 06:48:50 +0100
commit120c852ccd7a1579310ed855a4d8b1322a1f9d09 (patch)
treef494f663328464c8656c110ff05ef8780b9f727f /src/luaotfload-main.lua
parent780113609ffbb146c1b5a825cb25025246cdba2a (diff)
downloadluaotfload-120c852ccd7a1579310ed855a4d8b1322a1f9d09.tar.gz
main: fix module insertion and throw away luatexbase-provided resources
Diffstat (limited to 'src/luaotfload-main.lua')
-rw-r--r--src/luaotfload-main.lua11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/luaotfload-main.lua b/src/luaotfload-main.lua
index 815a2f0..3d68a17 100644
--- a/src/luaotfload-main.lua
+++ b/src/luaotfload-main.lua
@@ -72,16 +72,9 @@ local luatexbase = luatexbase
local require = require
local type = type
-local error, warning, info, log =
+local _error, _warning, _info, _log =
luatexbase.provides_module(luaotfload.module)
-luaotfload.log.tex = {
- error = error,
- warning = warning,
- info = info,
- log = log,
-}
-
--[[doc--
We set the minimum version requirement for \LUATEX to v0.76,
@@ -167,7 +160,7 @@ local install_loaders = function ()
local d_t = t_end - t_0
logreport ("log", 4, "load",
"Module ā€œ%sā€ loaded in %d ms.",
- d_t)
+ name, d_t)
timing_info.t_init [name] = d_t
end
end