Mercurial > hg > index.cgi
diff lwasm/lwasm.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 | 17fcd0c3ee45 |
children | f813a56178c0 |
line wrap: on
line diff
--- a/lwasm/lwasm.c Mon Jul 13 21:11:12 2015 -0600 +++ b/lwasm/lwasm.c Mon Jul 13 21:18:02 2015 -0600 @@ -261,6 +261,7 @@ case E_STRUCT_RECURSE: return "Attempt to define a structure inside a structure"; case E_SYMBOL_DUPE: return "Multiply defined symbol"; case E_UNKNOWN_OPERATION: return "Unknown operation"; + case E_ORG_NOT_FOUND: return "Previous ORG not found"; case W_ENDSTRUCT_WITHOUT: return "ENDSTRUCT without STRUCT"; case W_DUPLICATE_SECTION: return "Section flags can only be specified the first time; ignoring duplicate definition";