aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_compiler.lua')
-rw-r--r--nomsu_compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua
index 1052c06..c77355a 100644
--- a/nomsu_compiler.lua
+++ b/nomsu_compiler.lua
@@ -1002,7 +1002,7 @@ do
end
local indented = self:tree_to_nomsu(t, pop_comments, space)
if t.type == "Action" and not (tree.type == "Block" or tree.type == "FileChunks") then
- indented:prepend("(..)\n ", pop_comments(t.source.start))
+ indented = NomsuCode(t.source, "(..)\n ", pop_comments(t.source.start), indented)
end
return indented
end