aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.moon
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.moon
parentcf3e35f7f0cedb635e4d0d2ca8e46fd7cd0d9c77 (diff)
Added backwards compatibility for "Lua version" (temporary).
Diffstat (limited to 'bootstrap.moon')
-rw-r--r--bootstrap.moon1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.moon b/bootstrap.moon
index 6413205..38ba459 100644
--- a/bootstrap.moon
+++ b/bootstrap.moon
@@ -100,6 +100,7 @@ compile_actions = {
["is jit"]: (_t, code)=> LuaCode("jit")
["nomsu environment"]: (_t)=> LuaCode("_ENV")
["nomsu environment name"]: (_t)=> LuaCode('"_ENV"')
+ ["Lua version"]: (_t)=> LuaCode("LUA_API")
["this file was run directly"]: (_t)=> LuaCode('WAS_RUN_DIRECTLY')
["the command line arguments"]: (_t)=> LuaCode('COMMAND_LINE_ARGS')
}