summaryrefslogtreecommitdiff
path: root/asmmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'asmmon.h')
-rw-r--r--asmmon.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/asmmon.h b/asmmon.h
index 27a6ede..a031e7d 100644
--- a/asmmon.h
+++ b/asmmon.h
@@ -60,9 +60,9 @@ struct sym {
symbol *up;
uint16_t count;
uint64_t val;
- uint8_t isstruct;
- uint8_t isanon;
- uint8_t def;
+ uint8_t isstruct : 1;
+ uint8_t isanon : 1;
+ uint8_t def : 1;
char *name;
uint16_t id;
};
@@ -567,4 +567,5 @@ extern token *skip_expr(token *t, uint8_t dbg);
extern uint64_t parse_tokens(token *tm, line **l, bytecount *bc, uint8_t isasm, uint64_t address, uint8_t dbg);
extern token *make_token(uint8_t id, uint8_t type, uint8_t space, uint8_t tab, uint64_t value, char *str, symbol *s);
extern void assemble(line *ln, bytecount *bc, uint8_t dbg);
+extern void fix_symtree(line *l);
extern void cleanup();