diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-09-24 08:21:08 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-09-24 08:21:08 -0400 |
commit | 784ff59108b887e246b0f33ff696dfd981659ab2 (patch) | |
tree | 02d00ff774bd35a31f04afb62a7f187ca0a097f9 /asmmon.h | |
parent | 9932fac52c0cac2e9e0e11c84dfdf99e0a87ebfb (diff) |
- Fixed some more bugs with struct, and union handling.
Diffstat (limited to 'asmmon.h')
-rw-r--r-- | asmmon.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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(); |