aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-15 18:08:18 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-15 18:08:23 -0800
commite6d53864f71b53e150e1f914ff783d0c374d9f5a (patch)
tree77431a6a59301078b61cad669f31488f691d2813
parent5c9674880206f66c109adc1bedf8f786166f125f (diff)
Removed debug code.
-rw-r--r--code_obj.lua3
-rw-r--r--code_obj.moon2
-rw-r--r--nomsu_compiler.lua2
-rw-r--r--nomsu_compiler.moon2
4 files changed, 0 insertions, 9 deletions
diff --git a/code_obj.lua b/code_obj.lua
index 05de45b..a09608f 100644
--- a/code_obj.lua
+++ b/code_obj.lua
@@ -163,9 +163,6 @@ do
repeat
local b = select(i, ...)
assert(b, "code bit is nil")
- if b.Dict then
- require('ldt').breakpoint()
- end
assert(not Source:is_instance(b), "code bit is a Source")
if b == '' then
_continue_0 = true
diff --git a/code_obj.moon b/code_obj.moon
index 3c0294a..9315264 100644
--- a/code_obj.moon
+++ b/code_obj.moon
@@ -98,8 +98,6 @@ class Code
for i=1,n
b = select(i, ...)
assert(b, "code bit is nil")
- if b.Dict
- require('ldt').breakpoint()
assert(not Source\is_instance(b), "code bit is a Source")
if b == '' then continue
bits[#bits+1] = b
diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua
index fee94f3..9c8c9ac 100644
--- a/nomsu_compiler.lua
+++ b/nomsu_compiler.lua
@@ -97,8 +97,6 @@ compile = function(self, tree)
if ret ~= tree then
return self:compile(ret)
end
- elseif tree.stub == "1 if 2 else" then
- require('ldt').breakpoint()
end
local lua = LuaCode:from(tree.source)
lua:add((stub):as_lua_id(), "(")
diff --git a/nomsu_compiler.moon b/nomsu_compiler.moon
index fd7403f..f3530e9 100644
--- a/nomsu_compiler.moon
+++ b/nomsu_compiler.moon
@@ -68,8 +68,6 @@ compile = (tree)=>
return ret
if ret != tree
return @compile(ret)
- elseif tree.stub == "1 if 2 else"
- require('ldt').breakpoint!
lua = LuaCode\from(tree.source)
lua\add((stub)\as_lua_id!,"(")