comparison lwasm/lwasm.h @ 53:cb4efc47ce9d

Allow macros to shadow/override builtin operations when the "shadow" pragma is active, which is NOT the default
author lost@l-w.ca
date Tue, 05 Apr 2011 21:48:51 -0600
parents bd8b3fbd1e28
children ccaecdff3fc2
comparison
equal deleted inserted replaced
52:51c840679a0e 53:cb4efc47ce9d
74 PRAGMA_DOLLARNOTLOCAL = 0x0001, // dollar sign does not make a symbol local 74 PRAGMA_DOLLARNOTLOCAL = 0x0001, // dollar sign does not make a symbol local
75 PRAGMA_NOINDEX0TONONE = 0x0002, // do not change implicit 0,R to ,R 75 PRAGMA_NOINDEX0TONONE = 0x0002, // do not change implicit 0,R to ,R
76 PRAGMA_UNDEFEXTERN = 0x0004, // undefined symbols are considered to be external 76 PRAGMA_UNDEFEXTERN = 0x0004, // undefined symbols are considered to be external
77 PRAGMA_CESCAPES = 0x0008, // allow C style escapes in fcc, fcs, fcn, etc. 77 PRAGMA_CESCAPES = 0x0008, // allow C style escapes in fcc, fcs, fcn, etc.
78 PRAGMA_IMPORTUNDEFEXPORT = 0x0010, // imports symbol if undefined upon export 78 PRAGMA_IMPORTUNDEFEXPORT = 0x0010, // imports symbol if undefined upon export
79 PRAGMA_PCASPCR = 0x0020 // treats ,PC as ,PCR instead of constant offset 79 PRAGMA_PCASPCR = 0x0020, // treats ,PC as ,PCR instead of constant offset
80 PRAGMA_SHADOW = 0x0040 // allow macros to shadow builtin operations
80 }; 81 };
81 82
82 83
83 enum 84 enum
84 { 85 {