summaryrefslogtreecommitdiff
path: root/tex/generic/context/luatex/luatex-core.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-11-07 12:49:36 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-11-07 12:49:36 +0100
commit75fbb107b15d01179a4b772844144e0661240e77 (patch)
treec5210f4f9ade25c89a540f755912a52966404792 /tex/generic/context/luatex/luatex-core.lua
parent7830451577b876020de2a26bbfbf069625ab4d6f (diff)
downloadcontext-75fbb107b15d01179a4b772844144e0661240e77.tar.gz
2017-11-07 11:43:00
Diffstat (limited to 'tex/generic/context/luatex/luatex-core.lua')
-rw-r--r--tex/generic/context/luatex/luatex-core.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/generic/context/luatex/luatex-core.lua b/tex/generic/context/luatex/luatex-core.lua
index 2d6f6a73d..c13d81257 100644
--- a/tex/generic/context/luatex/luatex-core.lua
+++ b/tex/generic/context/luatex/luatex-core.lua
@@ -182,7 +182,7 @@ if md5 then
end
--- compatibility
+-- compatibility: this might go away
if not unpack then
unpack = table.unpack
@@ -192,6 +192,12 @@ if not package.loaders then
package.loaders = package.searchers
end
+if not loadstring then
+ loadstring = load
+end
+
+-- compatibility: this might stay
+
if bit32 then
-- lua 5.2: we're okay