aboutsummaryrefslogtreecommitdiff
path: root/nomsu_decompiler.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-09 17:50:00 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-09 17:50:12 -0800
commit63c14bdbc3afbb3819c0f6ca4435cff1179f68f0 (patch)
tree6fe72b9a6beac7dd18c4e609d0f4763496b82425 /nomsu_decompiler.moon
parentc36798f2ad66511b61aeffc9b86db03069a0bbb9 (diff)
Changed clumping to only be different for "'", not other operators.
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 b711112..750ccb5 100644
--- a/nomsu_decompiler.moon
+++ b/nomsu_decompiler.moon
@@ -42,7 +42,7 @@ tree_to_inline_nomsu = (tree)->
if type(bit) == "string"
clump_words = if type(tree[i-1]) == 'string'
is_operator(bit) != is_operator(tree[i-1])
- else is_operator(bit)
+ else bit == "'"
nomsu\append " " if i > 1 and not clump_words
nomsu\append bit
else