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.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bootstrap.lua') 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, -- cgit v1.2.3