comparison lwasm/lwasm.h @ 81:428068681cbf

Added nolist pragma to suppress listing output of non-code generating lines
author Lost Wizard (lost@starbug3)
date Wed, 25 May 2011 19:13:33 -0600
parents 1f77ae5c3590
children ed7f970f3688
comparison
equal deleted inserted replaced
80:585cd68253f0 81:428068681cbf
76 PRAGMA_NOINDEX0TONONE = 0x0002, // do not change implicit 0,R to ,R 76 PRAGMA_NOINDEX0TONONE = 0x0002, // do not change implicit 0,R to ,R
77 PRAGMA_UNDEFEXTERN = 0x0004, // undefined symbols are considered to be external 77 PRAGMA_UNDEFEXTERN = 0x0004, // undefined symbols are considered to be external
78 PRAGMA_CESCAPES = 0x0008, // allow C style escapes in fcc, fcs, fcn, etc. 78 PRAGMA_CESCAPES = 0x0008, // allow C style escapes in fcc, fcs, fcn, etc.
79 PRAGMA_IMPORTUNDEFEXPORT = 0x0010, // imports symbol if undefined upon export 79 PRAGMA_IMPORTUNDEFEXPORT = 0x0010, // imports symbol if undefined upon export
80 PRAGMA_PCASPCR = 0x0020, // treats ,PC as ,PCR instead of constant offset 80 PRAGMA_PCASPCR = 0x0020, // treats ,PC as ,PCR instead of constant offset
81 PRAGMA_SHADOW = 0x0040 // allow macros to shadow builtin operations 81 PRAGMA_SHADOW = 0x0040, // allow macros to shadow builtin operations
82 PRAGMA_NOLIST = 0x0080 // don't show line in listing
82 }; 83 };
83 84
84 85
85 enum 86 enum
86 { 87 {
183 184
184 enum 185 enum
185 { 186 {
186 symbol_flag_set = 1, // symbol was used with "set" 187 symbol_flag_set = 1, // symbol was used with "set"
187 symbol_flag_nocheck = 2, // do not check symbol characters 188 symbol_flag_nocheck = 2, // do not check symbol characters
189 symbol_flag_nolist = 4, // no not show symbol in symbol table
188 symbol_flag_none = 0 // no flags 190 symbol_flag_none = 0 // no flags
189 }; 191 };
190 192
191 struct symtabe 193 struct symtabe
192 { 194 {