From 0923b0192c8023a1a8d2304fa318cee08500d57d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 28 Jun 2018 14:12:24 -0700 Subject: Improvements to nomsu codegen (comments are now retained) and some improvements to handling of stdin and fixes for error reporting. --- code_obj.moon | 1 + 1 file changed, 1 insertion(+) (limited to 'code_obj.moon') diff --git a/code_obj.moon b/code_obj.moon index a5c3960..ef19ed4 100644 --- a/code_obj.moon +++ b/code_obj.moon @@ -58,6 +58,7 @@ class Code for i=1,n b = select(i, ...) assert(b) + if b == '' then continue bits[#bits+1] = b if type(b) == 'string' if spaces = match(b, "\n([ ]*)[^\n]*$") -- cgit v1.2.3