diff options
Diffstat (limited to 'asmmon.c')
-rw-r--r-- | asmmon.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -203,10 +203,16 @@ void list(uint16_t start, uint16_t end, uint8_t all, uint8_t ln, uint8_t addr, u break; case TOK_SYM: case TOK_LABEL: + case TOK_STRUCT: + case TOK_UNION: + case TOK_MEMBER: if (t->type == 1) { putchar('@'); } printf("%s", (t->sym) ? t->sym->name : "unknown"); + if (t->sym && t->sym->isstruct && t->next && t->next->id == TOK_SYM) { + putchar('.'); + } if (t->id == TOK_LABEL) { putchar(':'); } |