Mercurial > hg > index.cgi
comparison lwasm/list.c @ 81:428068681cbf
Added nolist pragma to suppress listing output of non-code generating lines
author | Lost Wizard (lost@starbug3) |
---|---|
date | Wed, 25 May 2011 19:13:33 -0600 |
parents | f55650f5e9b8 |
children | 43a3f1068027 |
comparison
equal
deleted
inserted
replaced
80:585cd68253f0 | 81:428068681cbf |
---|---|
56 return; | 56 return; |
57 } | 57 } |
58 for (cl = as -> line_head; cl; cl = nl) | 58 for (cl = as -> line_head; cl; cl = nl) |
59 { | 59 { |
60 nl = cl -> next; | 60 nl = cl -> next; |
61 if (CURPRAGMA(cl, PRAGMA_NOLIST)) | |
62 { | |
63 if (cl -> outputl <= 0) | |
64 continue; | |
65 } | |
61 if (cl -> noexpand_start) | 66 if (cl -> noexpand_start) |
62 { | 67 { |
63 obytelen = 0; | 68 obytelen = 0; |
64 int nc = 0; | 69 int nc = 0; |
65 for (nl = cl; ; nl = nl -> next) | 70 for (nl = cl; ; nl = nl -> next) |