diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-11-29 16:26:18 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-11-29 16:26:18 +0100 |
commit | 78976f3bd5f9087ff5be3469c6abb94df51ebdf9 (patch) | |
tree | 2c468d878e2600ffd319d5806c0ce1d42027ad28 /lualibs-util-env.lua | |
parent | 44ba990b30247a129dbb8b12e8c8154e37b5eb33 (diff) | |
download | lualibs-78976f3bd5f9087ff5be3469c6abb94df51ebdf9.tar.gz |
sync with Context as of 2013-11-29
Diffstat (limited to 'lualibs-util-env.lua')
-rw-r--r-- | lualibs-util-env.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lualibs-util-env.lua b/lualibs-util-env.lua index 1184c1d..0a708ea 100644 --- a/lualibs-util-env.lua +++ b/lualibs-util-env.lua @@ -42,7 +42,7 @@ local basicengines = allocate { -- ["texluajit.exe"] = "luajittex", } -local luaengines=allocate { +local luaengines = allocate { ["lua"] = true, ["luajit"] = true, } @@ -66,6 +66,8 @@ elseif luaengines[file.removesuffix(arg[-1])] then -- arg[k-1] = arg[k] -- end -- remove(arg) -- last +-- +-- environment.used_as_library = true elseif validengines[file.removesuffix(arg[0])] then if arg[1] == "--luaonly" then arg[-1] = arg[0] |