summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-05 15:32:28 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-05 15:32:28 +0200
commitb7f3f777b1c825e4b4e0c8d6ec5592090078f36b (patch)
tree43ce2a5ba43c17dbb983981a272dd35023fa67af
parent38188eb60b7eb7258cd2b784afc8314485751d38 (diff)
downloadluatexbase-b7f3f777b1c825e4b4e0c8d6ec5592090078f36b.tar.gz
fix scoping for fastcopy()
-rw-r--r--luatexbase-modutils.dtx3
1 files changed, 2 insertions, 1 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index 9da5605..d9fd34a 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -599,7 +599,8 @@ luatexbase.provides_module = provides_module
% A simple table copy function.
%
% \begin{macrocode}
-local fastcopy = table.fastcopy or function(old)
+local fastcopy
+fastcopy = table.fastcopy or function(old)
if old then
local new = { }
for k,v in next, old do