diff lwasm/pass1.c @ 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 1409debcb1a0
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);
 		}