diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-10-10 13:36:53 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-10-10 13:36:53 +0200 |
commit | d47ee9fc195ba82eef5e4be132b1d88b7f009a9c (patch) | |
tree | 45964c47b2242f6ff9bf6a881639146be1edd201 /tex/context/base/mkiv/core-uti.lua | |
parent | edaa6851d5c096acba2ad5817f70d3eb7cec46e6 (diff) | |
download | context-d47ee9fc195ba82eef5e4be132b1d88b7f009a9c.tar.gz |
2017-10-10 12:06:00
Diffstat (limited to 'tex/context/base/mkiv/core-uti.lua')
-rw-r--r-- | tex/context/base/mkiv/core-uti.lua | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tex/context/base/mkiv/core-uti.lua b/tex/context/base/mkiv/core-uti.lua index 14a30aaf2..c9f003061 100644 --- a/tex/context/base/mkiv/core-uti.lua +++ b/tex/context/base/mkiv/core-uti.lua @@ -297,14 +297,16 @@ function job.load(filename) local target = list[1] local initializer = list[3] local result = accesstable(target,utilitydata) - local done = packers.unpack(result,jobpacker,true) - if done then - migratetable(target,mark(result)) - if type(initializer) == "function" then - handlers[#handlers+1] = { initializer, result } + if result then + local done = packers.unpack(result,jobpacker,true) + if done then + migratetable(target,mark(result)) + if type(initializer) == "function" then + handlers[#handlers+1] = { initializer, result } + end + else + report_passes("pack version mismatch") end - else - report_passes("pack version mismatch") end end -- so we have all tables available (unpacked) |