comparison 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
comparison
equal deleted inserted replaced
381:e3f4aaa2a4e8 382:80d615a6642c
259 case E_STRUCT_NONAME: return "Cannot declare a structure without a symbol name."; 259 case E_STRUCT_NONAME: return "Cannot declare a structure without a symbol name.";
260 case E_STRUCT_NOSYMBOL: return "Structure definition with no effect - no symbol"; 260 case E_STRUCT_NOSYMBOL: return "Structure definition with no effect - no symbol";
261 case E_STRUCT_RECURSE: return "Attempt to define a structure inside a structure"; 261 case E_STRUCT_RECURSE: return "Attempt to define a structure inside a structure";
262 case E_SYMBOL_DUPE: return "Multiply defined symbol"; 262 case E_SYMBOL_DUPE: return "Multiply defined symbol";
263 case E_UNKNOWN_OPERATION: return "Unknown operation"; 263 case E_UNKNOWN_OPERATION: return "Unknown operation";
264 case E_ORG_NOT_FOUND: return "Previous ORG not found";
264 265
265 case W_ENDSTRUCT_WITHOUT: return "ENDSTRUCT without STRUCT"; 266 case W_ENDSTRUCT_WITHOUT: return "ENDSTRUCT without STRUCT";
266 case W_DUPLICATE_SECTION: return "Section flags can only be specified the first time; ignoring duplicate definition"; 267 case W_DUPLICATE_SECTION: return "Section flags can only be specified the first time; ignoring duplicate definition";
267 case W_NOT_SUPPORTED: return "Not supported"; 268 case W_NOT_SUPPORTED: return "Not supported";
268 269