Mercurial > hg > index.cgi
diff lwasm/pass1.c @ 382:80d615a6642c
Add REORG pseudo op
For Macro-80C compatibility, add REORG pseudo op. It has some utility so
this one is not protected by a pragma.
Thanks to Erik G <erik@6809.org> for the patch.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 13 Jul 2015 21:18:02 -0600 |
parents | 71f507f404f1 |
children | 4fd16faa4d93 |
line wrap: on
line diff
--- a/lwasm/pass1.c Mon Jul 13 21:11:12 2015 -0600 +++ b/lwasm/pass1.c Mon Jul 13 21:18:02 2015 -0600 @@ -352,6 +352,7 @@ // call parse function debug_message(as, 100, "len = %d, dlen = %d", cl -> len, cl -> dlen); (instab[opnum].parse)(as, cl, &p1); + // if we're forcing address modes on pass 1, force a resolution if (CURPRAGMA(cl, PRAGMA_FORWARDREFMAX) && instab[opnum].resolve) { @@ -364,7 +365,6 @@ else cl -> dlen = cl -> len; } - if (*p1 && !isspace(*p1) && !(cl -> err)) { // flag bad operand error