summaryrefslogtreecommitdiff
path: root/asmmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'asmmon.c')
-rw-r--r--asmmon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/asmmon.c b/asmmon.c
index 6b71ac3..eac72d5 100644
--- a/asmmon.c
+++ b/asmmon.c
@@ -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(':');
}