Mercurial > hg-old > index.cgi
diff src/lwasm.h @ 63:d85ba47b1e8f
Moved symbol registration so symbols that are in skipped code do not get registered and so EQU/SET can do their own registration
author | lost |
---|---|
date | Mon, 05 Jan 2009 01:17:23 +0000 |
parents | b1d81800bc91 |
children | aaddd47219b4 |
line wrap: on
line diff
--- a/src/lwasm.h Mon Jan 05 00:57:37 2009 +0000 +++ b/src/lwasm.h Mon Jan 05 01:17:23 2009 +0000 @@ -71,12 +71,15 @@ }; // for keeping track of symbols +#define SYMBOL_SET 1 // the symbol was used for "SET" +#define SYMBOL_NORM 0 // no flags typedef struct lwasm_symbol_ent_s lwasm_symbol_ent_t; struct lwasm_symbol_ent_s { char *sym; // the symbol int context; // the context number of the symbol (-1 for global) int value; // the value of the symbol + int flags; // flags for the symbol lwasm_symbol_ent_t *next; // next symbol in the table lwasm_symbol_ent_t *prev; // previous symbol in the table };