aboutsummaryrefslogtreecommitdiff
path: root/nomsu_decompiler.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-09 17:36:29 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-09 17:36:36 -0800
commitb236ad88a9e6c5dc5d77f889ac7641fc666bd19f (patch)
tree5864495f9c1f121ffd86f0108b9f6d3dc2f2546d /nomsu_decompiler.moon
parent083ed530bdf499d4ac587d98e1677e669482e549 (diff)
Fixed comment clumping issue.
Diffstat (limited to 'nomsu_decompiler.moon')
-rw-r--r--nomsu_decompiler.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_decompiler.moon b/nomsu_decompiler.moon
index 380bbca..f44b628 100644
--- a/nomsu_decompiler.moon
+++ b/nomsu_decompiler.moon
@@ -179,7 +179,7 @@ tree_to_nomsu = (tree)->
if prev_line.stub == "use" then return line.stub == "use"
if prev_line.stub == "test" then return true
if line.stub == "test" then return false
- return not recurse(prev_line)\is_multiline!
+ return not tree_to_nomsu(prev_line)\is_multiline!
for chunk_no, chunk in ipairs tree
nomsu\append "\n\n#{("~")\rep(80)}\n\n" if chunk_no > 1