aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-24 16:42:14 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-24 16:42:21 -0700
commit6014c5aa439d4b4ae0b97af64825371a86e78c2c (patch)
tree098664a2ac9b8326b8e8dd3d2d75b50b85b1e72d /nomsu_compiler.moon
parentefdfdcd695f450049d14c55749502a02b5da5a09 (diff)
Removed debugging shim.
Diffstat (limited to 'nomsu_compiler.moon')
-rw-r--r--nomsu_compiler.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon
index 82d0e14..74158e8 100644
--- a/nomsu_compiler.moon
+++ b/nomsu_compiler.moon
@@ -297,7 +297,7 @@ with NomsuCompiler
.run_lua = (lua, source=nil)=>
lua_string = tostring(lua)
- run_lua_fn, err = load(lua_string, nil and tostring(source or lua.source), "t", self)
+ run_lua_fn, err = load(lua_string, tostring(source or lua.source), "t", self)
if not run_lua_fn
line_numbered_lua = concat(
[format("%3d|%s",i,line) for i, line in ipairs Files.get_lines(lua_string)],