aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nomsu_decompiler.lua2
-rw-r--r--nomsu_decompiler.moon2
2 files changed, 2 insertions, 2 deletions
diff --git a/nomsu_decompiler.lua b/nomsu_decompiler.lua
index 83561b3..bfa700a 100644
--- a/nomsu_decompiler.lua
+++ b/nomsu_decompiler.lua
@@ -61,7 +61,7 @@ tree_to_inline_nomsu = function(tree)
if type(tree[i - 1]) == 'string' then
clump_words = is_operator(bit) ~= is_operator(tree[i - 1])
else
- clump_words = is_operator(bit)
+ clump_words = bit == "'"
end
if i > 1 and not clump_words then
nomsu:append(" ")
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