summaryrefslogtreecommitdiff
path: root/scripts/context/lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-10-06 00:40:15 +0300
committerMarius <mariausol@gmail.com>2011-10-06 00:40:15 +0300
commitbc8667da1c26a3ca8db3fe379e6a00544fa02e8a (patch)
treeecb7249faae4e8f0f63f68aa44f933e5d0e673a0 /scripts/context/lua
parent070e1ac9465175c8b3674540c243882a3b3900b5 (diff)
downloadcontext-bc8667da1c26a3ca8db3fe379e6a00544fa02e8a.tar.gz
beta 2011.10.05 23:32
Diffstat (limited to 'scripts/context/lua')
-rw-r--r--scripts/context/lua/mtxrun.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index a4731ad06..bf6b8ea26 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -5244,6 +5244,10 @@ local function set(t,what,newvalue)
if type(what) ~= "table" then
return
end
+ if not done then -- catch ... why not set?
+ done = { }
+ t.done = done
+ end
for w, value in next, what do
if value == "" then
value = newvalue