Mercurial > hg-old > index.cgi
comparison lwasm/lwasm.h @ 160:b061350c17e4
Added cescapes pragma and a few other compatibility pseudo ops
author | lost |
---|---|
date | Sat, 31 Jan 2009 06:33:03 +0000 |
parents | 427e268e876b |
children | 563adfccb645 |
comparison
equal
deleted
inserted
replaced
159:71561c12b20b | 160:b061350c17e4 |
---|---|
179 } asmstate_t; | 179 } asmstate_t; |
180 | 180 |
181 // do not rewrite XXX,r to ,r if XXX evaluates to 0 | 181 // do not rewrite XXX,r to ,r if XXX evaluates to 0 |
182 #define PRAGMA_NOINDEX0TONONE 1 | 182 #define PRAGMA_NOINDEX0TONONE 1 |
183 // any undefined symbols are considered external | 183 // any undefined symbols are considered external |
184 #define PRAGMA_UNDEFEXTERN 2 | 184 #define PRAGMA_UNDEFEXTERN 2 |
185 // allow C-style escapes in fcc, fcs, and fcn directives | |
186 #define PRAGMA_CESCAPES 4 | |
185 | 187 |
186 #ifndef __lwasm_c_seen__ | 188 #ifndef __lwasm_c_seen__ |
187 #define __lwasm_E__ extern | 189 #define __lwasm_E__ extern |
188 #else | 190 #else |
189 #define __lwasm_E__ | 191 #define __lwasm_E__ |