summaryrefslogtreecommitdiff
path: root/lualibs-util-env.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-09-21 13:31:56 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-09-21 13:31:56 +0200
commitd96d015887e6fcbe1ca8defcec44cb794421785d (patch)
tree7e636bed27130e0b4846a7d41dfcf50e12a83492 /lualibs-util-env.lua
parent08563510e0f4328d9e893f17fc1fd37bac00dbc7 (diff)
downloadlualibs-d96d015887e6fcbe1ca8defcec44cb794421785d.tar.gz
sync with Context as of 2013-09-21
Diffstat (limited to 'lualibs-util-env.lua')
-rw-r--r--lualibs-util-env.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lualibs-util-env.lua b/lualibs-util-env.lua
index f4f3ef6..1184c1d 100644
--- a/lualibs-util-env.lua
+++ b/lualibs-util-env.lua
@@ -57,6 +57,7 @@ environment.basicengines = basicengines
-- instead we could set ranges
if not arg then
+ environment.used_as_library = true
-- used as library
elseif luaengines[file.removesuffix(arg[-1])] then
-- arg[-1] = arg[0]