Mercurial > hg > index.cgi
diff lwasm/pass1.c @ 49:bd8b3fbd1e28
Added ability to flag macros as "noexpand" so they are not expanded in the listing
author | lost@l-w.ca |
---|---|
date | Tue, 05 Apr 2011 00:06:28 -0600 |
parents | 18b49cf10ae9 |
children | cb4efc47ce9d |
line wrap: on
line diff
--- a/lwasm/pass1.c Mon Apr 04 22:20:38 2011 -0600 +++ b/lwasm/pass1.c Tue Apr 05 00:06:28 2011 -0600 @@ -81,6 +81,14 @@ { lc = strtol(p1, NULL, 10); } + else if (!strcmp(line + 2, "SETNOEXPANDSTART")) + { + as -> line_tail -> noexpand_start = 1; + } + else if (!strcmp(line + 2, "SETNOEXPANDEND")) + { + as -> line_tail -> noexpand_end = 1; + } lw_free(line); if (lc == 0) lc = 1;