From e5e47cb9eedc257aa94815380005fe16f2171f3f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 19 Jul 2018 17:00:38 -0700 Subject: *actual* fix for the codegen for (do: if (yes) (: say "hi"); say "done") example --- 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 16dbd88..652a5c8 100644 --- a/nomsu_compiler.lua +++ b/nomsu_compiler.lua @@ -824,7 +824,7 @@ do return nil end if bit.type == "Block" then - if i == 1 or i < #tree or (options.inside_multiblock and #bit > 1) then + if i == 1 or i < #tree or options.inside_multiblock then if i > 1 then nomsu:append(" ") end -- cgit v1.2.3