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 daf7c5f..0299156 100644
--- a/nomsu_compiler.lua
+++ b/nomsu_compiler.lua
@@ -1104,7 +1104,7 @@ do
elseif "Block" == _exp_0 then
local nomsu = NomsuCode(tree.source, pop_comments(tree.source.start))
for i, line in ipairs(tree) do
- nomsu:append(pop_comments(line.source.start, '\n'))
+ nomsu:append(pop_comments(line.source.start, i > 1 and '\n' or ''))
local line_nomsu = recurse(line)
nomsu:append(line_nomsu)
if i < #tree then