From b1c0446a3c65e8e22a9ecfd9d24213a2b9eac22b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 24 Jul 2018 16:43:06 -0700 Subject: Updating file stuff for better compatibility with Lua 5.2 and fixing some bugs. Also updated README to provide more compatibility info and list Lua5.2+ as a requirement. --- nomsu_compiler.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu_compiler.lua') diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua index 56bd1e8..62a71fd 100644 --- a/nomsu_compiler.lua +++ b/nomsu_compiler.lua @@ -471,7 +471,7 @@ do source = nil end local lua_string = tostring(lua) - local run_lua_fn, err = load(lua_string, nil and tostring(source or lua.source), "t", self) + local run_lua_fn, err = load(lua_string, tostring(source or lua.source), "t", self) if not run_lua_fn then local line_numbered_lua = concat((function() local _accum_0 = { } -- cgit v1.2.3