From f6e9bdc1c021552b4c52d427a54cb71a4ff8e2ac Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 26 Jul 2018 15:59:21 -0700 Subject: Fixed a bug where if an indented string interpolation was at the end of an indented text, the nomsu codegen would fail to put a "\n.." after it, so it wouldn't parse as an iterpolation. --- 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 75c6040..486e3e6 100644 --- a/nomsu_compiler.lua +++ b/nomsu_compiler.lua @@ -1159,7 +1159,7 @@ do end end nomsu:append(interp_nomsu) - if interp_nomsu:is_multiline() and i < #tree then + if interp_nomsu:is_multiline() then nomsu:append("\n..") end end -- cgit v1.2.3