changeset 220:3604d0ef06c6

Fix thinko in previous commit Only output the processed source code iff the --preprocess option is given.
author William Astle <lost@l-w.ca>
date Sun, 10 Jun 2012 18:33:22 -0600
parents afd50d6b4113
children 2b784a28428e
files lwasm/pass1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/pass1.c	Sun Jun 10 18:24:31 2012 -0600
+++ b/lwasm/pass1.c	Sun Jun 10 18:33:22 2012 -0600
@@ -423,7 +423,7 @@
 		
 		lw_free(line);
 		
-		if (cl -> hideline == 0)
+		if (as -> preprocess && cl -> hideline == 0)
 		{
 			printf("%s\n", cl -> ltext);
 		}