From 8deb59b6a70420815aac949cc89f0dbf53fa6915 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Jul 2018 18:10:16 -0700 Subject: Fix for (..)-indented actions not handling newlines right. --- nomsu_compiler.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu_compiler.lua') 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 -- cgit v1.2.3