comparison 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
comparison
equal deleted inserted replaced
219:afd50d6b4113 220:3604d0ef06c6
421 lw_free(sym); 421 lw_free(sym);
422 sym = NULL; 422 sym = NULL;
423 423
424 lw_free(line); 424 lw_free(line);
425 425
426 if (cl -> hideline == 0) 426 if (as -> preprocess && cl -> hideline == 0)
427 { 427 {
428 printf("%s\n", cl -> ltext); 428 printf("%s\n", cl -> ltext);
429 } 429 }
430 430
431 // if we've hit the "end" bit, finish out 431 // if we've hit the "end" bit, finish out