aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.lua
diff options
context:
space:
mode:
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,