Mercurial > hg > index.cgi
comparison lwasm/pass1.c @ 474:74d0c394666e
Add "noexpandcond" pragma (cleans up listings)
This pragma will suppress listing of conditionals and any statements that
appear within a false conditional block.
author | William Astle <lost@l-w.ca> |
---|---|
date | Fri, 02 Nov 2018 21:07:50 -0600 |
parents | e97f9a302c6a |
children | 7e41d6123175 |
comparison
equal
deleted
inserted
replaced
473:8181ddd707f1 | 474:74d0c394666e |
---|---|
446 } | 446 } |
447 debug_message(as, 40, "Line address: %s", lw_expr_print(cl -> addr)); | 447 debug_message(as, 40, "Line address: %s", lw_expr_print(cl -> addr)); |
448 } | 448 } |
449 if (as -> skipcond || as -> inmacro || cl -> ltext[0] == 1) | 449 if (as -> skipcond || as -> inmacro || cl -> ltext[0] == 1) |
450 cl -> hideline = 1; | 450 cl -> hideline = 1; |
451 | 451 if (as -> skipcond) |
452 cl -> hidecond = 1; | |
453 | |
452 nextline: | 454 nextline: |
453 if (sym) | 455 if (sym) |
454 lw_free(sym); | 456 lw_free(sym); |
455 sym = NULL; | 457 sym = NULL; |
456 | 458 |