commit 3ef4900759c298520e75dd89019740350973b665
parent e8b4caf9a047bd46d53cd9dc6c61575204c47d65
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 12 Aug 2015 17:34:21 +0200
Improve readbility od dumpstab output
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cc1/symbol.c b/cc1/symbol.c
@@ -30,13 +30,13 @@ dumpstab(char *msg)
continue;
fprintf(stderr, "%d", (int) (bp - htab));
for (sym = *bp; sym; sym = sym->hash)
- fprintf(stderr, "->%d,%d:%s",
+ fprintf(stderr, "->[%d,%d:%s]",
sym->ns, sym->ctx, sym->name);
putc('\n', stderr);
}
fputs("head:", stderr);
for (sym = head; sym; sym = sym->next) {
- fprintf(stderr, "->%d,%d:'%s'",
+ fprintf(stderr, "->[%d,%d:'%s']",
sym->ns, sym->ctx,
(sym->name) ? sym->name : "");
}