diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-01-09 12:04:00 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-01-09 12:04:00 +0100 |
commit | afc6f0a4de593d7164341006a7dfc5e1add977aa (patch) | |
tree | 29881bb94ad9b4f457fbf37c5bfa6f75256b96bb /tex/context/base/mkiv/luat-cnf.lua | |
parent | 244d921e51a1cfdc57ebe313a2e561d579a78150 (diff) | |
download | context-afc6f0a4de593d7164341006a7dfc5e1add977aa.tar.gz |
2020-01-09 11:26:00
Diffstat (limited to 'tex/context/base/mkiv/luat-cnf.lua')
-rw-r--r-- | tex/context/base/mkiv/luat-cnf.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/luat-cnf.lua b/tex/context/base/mkiv/luat-cnf.lua index ebda6e8cd..a39106744 100644 --- a/tex/context/base/mkiv/luat-cnf.lua +++ b/tex/context/base/mkiv/luat-cnf.lua @@ -157,7 +157,12 @@ function texconfig.init() local i = start local t = os.clock() while true do - local b = callbytecode(i) + -- local b = callbytecode(i) + local e, b = pcall(callbytecode,i) + if not e then + print("\nfatal error : unable to load bytecode, maybe wipe the cache first\n") + os.exit() + end if b then setbytecode(i,nil) ; i = i + 1 |