Mercurial > hg > index.cgi
diff lwasm/pragma.c @ 473:8181ddd707f1
Add "nooutput" pragma
Add the "nooutput" pragma which causes assembly to proceed as normal for
code with the exception that no output is generated for any instructions
under this pragma. The current address is increased as usual and the symbol
table is still constructed. However, no actual output is generated for lines
operating under this pragma.
author | William Astle <lost@l-w.ca> |
---|---|
date | Thu, 01 Nov 2018 23:07:03 -0600 |
parents | e97f9a302c6a |
children | 74d0c394666e |
line wrap: on
line diff
--- a/lwasm/pragma.c Thu Nov 01 23:00:00 2018 -0600 +++ b/lwasm/pragma.c Thu Nov 01 23:07:03 2018 -0600 @@ -76,6 +76,7 @@ { "nooldsource", "oldsource", PRAGMA_NEWSOURCE }, { "operandsizewarning", "nooperandsizewarning", PRAGMA_OPERANDSIZE }, { "emuext", "noemuext", PRAGMA_EMUEXT }, + { "nooutput", "output", PRAGMA_NOOUTPUT }, { 0, 0, 0 } };