aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-25 15:52:37 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-25 15:52:50 -0800
commitbdddfd42ba917d62c28099b954f1a34b6e7df2ba (patch)
tree4c13f5528444e053ee2a87e750efc2885673fe98 /bootstrap.lua
parentcf3e35f7f0cedb635e4d0d2ca8e46fd7cd0d9c77 (diff)
Added backwards compatibility for "Lua version" (temporary).
Diffstat (limited to 'bootstrap.lua')
-rw-r--r--bootstrap.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.lua b/bootstrap.lua
index 31b03fc..2c5c83e 100644
--- a/bootstrap.lua
+++ b/bootstrap.lua
@@ -130,6 +130,9 @@ local compile_actions = {
["nomsu environment name"] = function(self, _t)
return LuaCode('"_ENV"')
end,
+ ["Lua version"] = function(self, _t)
+ return LuaCode("LUA_API")
+ end,
["this file was run directly"] = function(self, _t)
return LuaCode('WAS_RUN_DIRECTLY')
end,