From 7deed5af411689f198ebec5338476a563cb7ef28 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 19 Jun 2018 02:00:52 -0700 Subject: Fixing up some error reporting --- 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 d093ff5..5c7fb91 100644 --- a/nomsu_compiler.lua +++ b/nomsu_compiler.lua @@ -501,7 +501,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