changeset 512:7e41d6123175

Make conditional suppression actually hide comments and blank lines
author William Astle <lost@l-w.ca>
date Sat, 04 Jul 2020 16:21:08 -0600
parents 4f6b2c615818
children 1260b4eec5a5
files lwasm/pass1.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/pass1.c	Tue Jun 02 21:54:10 2020 -0600
+++ b/lwasm/pass1.c	Sat Jul 04 16:21:08 2020 -0600
@@ -446,12 +446,14 @@
 			}
 			debug_message(as, 40, "Line address: %s", lw_expr_print(cl -> addr));
 		}
+
+nextline:
 		if (as -> skipcond || as -> inmacro || cl -> ltext[0] == 1)
 			cl -> hideline = 1;
 		if (as -> skipcond)
 			cl -> hidecond = 1;
 		
-	nextline:
+//	nextline:
 		if (sym)
 			lw_free(sym);
 		sym = NULL;