diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-19 02:00:52 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-19 02:00:59 -0700 |
| commit | 7deed5af411689f198ebec5338476a563cb7ef28 (patch) | |
| tree | 6d74966b48666a64337977dcc6a6a5e6a40f0cbf /nomsu_compiler.lua | |
| parent | 59c79bdf57ce31d5f2fe15dbbdcc6ff345adc651 (diff) | |
Fixing up some error reporting
Diffstat (limited to 'nomsu_compiler.lua')
| -rw-r--r-- | nomsu_compiler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { } |
