aboutsummaryrefslogtreecommitdiff
path: root/nomsu_compiler.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-19 17:00:38 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-19 17:01:11 -0700
commite5e47cb9eedc257aa94815380005fe16f2171f3f (patch)
treeed1a00bbdf6d53032389dc255c0d9f26741c175c /nomsu_compiler.lua
parentddc7b8e70cb375df4e0d3660056aef9286b2e02f (diff)
*actual* fix for the codegen for (do: if (yes) (: say "hi"); say "done")
example
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 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