Mercurial > hg > index.cgi
comparison lwasm/lwasm.h @ 222:03f7192fcd20
Add --unicorns option for IDE integration
This version of unicorns adds RESOURCE: lines to the output which specify
files and macros discovered during the assembly process.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 15 Jul 2012 10:50:46 -0600 |
parents | afd50d6b4113 |
children | 211fc8038b8d |
comparison
equal
deleted
inserted
replaced
221:2b784a28428e | 222:03f7192fcd20 |
---|---|
66 { | 66 { |
67 FLAG_LIST = 0x0001, | 67 FLAG_LIST = 0x0001, |
68 FLAG_DEPEND = 0x0002, | 68 FLAG_DEPEND = 0x0002, |
69 FLAG_SYMBOLS = 0x004, | 69 FLAG_SYMBOLS = 0x004, |
70 FLAG_DEPENDNOERR = 0x0008, | 70 FLAG_DEPENDNOERR = 0x0008, |
71 FLAG_UNICORNS = 0x0010, | |
71 FLAG_NONE = 0 | 72 FLAG_NONE = 0 |
72 }; | 73 }; |
73 | 74 |
74 enum lwasm_pragmas_e | 75 enum lwasm_pragmas_e |
75 { | 76 { |
225 char *name; // name of macro | 226 char *name; // name of macro |
226 char **lines; // macro lines | 227 char **lines; // macro lines |
227 int numlines; // number lines in macro | 228 int numlines; // number lines in macro |
228 int flags; // flags for the macro | 229 int flags; // flags for the macro |
229 macrotab_t *next; // next macro in list | 230 macrotab_t *next; // next macro in list |
231 line_t *definedat; // the line where the macro definition starts | |
230 }; | 232 }; |
231 | 233 |
232 enum | 234 enum |
233 { | 235 { |
234 macro_noexpand = 1 // set to not expland the macro by default in listing | 236 macro_noexpand = 1 // set to not expland the macro by default in listing |