Mercurial > hg > index.cgi
diff 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 |
line wrap: on
line diff
--- a/lwasm/lwasm.h Sun Jul 15 10:27:43 2012 -0600 +++ b/lwasm/lwasm.h Sun Jul 15 10:50:46 2012 -0600 @@ -68,6 +68,7 @@ FLAG_DEPEND = 0x0002, FLAG_SYMBOLS = 0x004, FLAG_DEPENDNOERR = 0x0008, + FLAG_UNICORNS = 0x0010, FLAG_NONE = 0 }; @@ -227,6 +228,7 @@ int numlines; // number lines in macro int flags; // flags for the macro macrotab_t *next; // next macro in list + line_t *definedat; // the line where the macro definition starts }; enum