From eb3482f39ca47f5d1a5bb4b5177fb6cd0c8bafb0 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 14 Apr 2013 02:42:13 +0200 Subject: fix missing upvalue --- lualibs-extended.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lualibs-extended.lua b/lualibs-extended.lua index a21bc50..6b67ce2 100644 --- a/lualibs-extended.lua +++ b/lualibs-extended.lua @@ -18,8 +18,10 @@ else error, warn, info = texio.write_nl, texio.write_nl, texio.write_nl -- stub end -local stringformat = string.format -local loadmodule = lualibs.loadmodule +local stringformat = string.format +local loadmodule = lualibs.loadmodule +local texiowrite = texio.write +local texiowrite_nl = texio.write_nl --[[doc-- Here we define some functions that fake the elaborate logging/tracking @@ -34,8 +36,6 @@ if luatexbase and luatexbase.provides_module then logger = __logger mklog = function ( ) return logger end else - local texiowrite = texio.write - local texiowrite_nl = texio.write_nl local stringformat = string.format mklog = function (t) local prefix = stringformat("[%s] ", t) -- cgit v1.2.3