Mercurial > hg > index.cgi
diff lwasm/lwasm.h @ 49:bd8b3fbd1e28
Added ability to flag macros as "noexpand" so they are not expanded in the listing
author | lost@l-w.ca |
---|---|
date | Tue, 05 Apr 2011 00:06:28 -0600 |
parents | 7317fbe024af |
children | cb4efc47ce9d |
line wrap: on
line diff
--- a/lwasm/lwasm.h Mon Apr 04 22:20:38 2011 -0600 +++ b/lwasm/lwasm.h Tue Apr 05 00:06:28 2011 -0600 @@ -173,6 +173,10 @@ int dsize; // set to 1 for 8 bit dshow value int isbrpt; // set to 1 if this line is a branch point struct symtabe *dptr; // symbol value to display + + int noexpand_start; // start of a no-expand block + int noexpand_end; // end of a no-expand block + }; enum @@ -204,9 +208,15 @@ char *name; // name of macro char **lines; // macro lines int numlines; // number lines in macro + int flags; // flags for the macro macrotab_t *next; // next macro in list }; +enum +{ + macro_noexpand = 1 // set to not expland the macro by default in listing +}; + typedef struct structtab_s structtab_t; typedef struct structtab_field_s structtab_field_t;