From bdddfd42ba917d62c28099b954f1a34b6e7df2ba Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 25 Jan 2019 15:52:37 -0800 Subject: Added backwards compatibility for "Lua version" (temporary). --- bootstrap.moon | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap.moon') 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') } -- cgit v1.2.3