[hackers] [scc] Improve readbility od dumpstab output || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 12 Aug 2015 17:43:18 +0200 (CEST)

commit 3ef4900759c298520e75dd89019740350973b665
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Aug 12 17:34:21 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Aug 12 17:37:36 2015 +0200

    Improve readbility od dumpstab output

diff --git a/cc1/symbol.c b/cc1/symbol.c
index 1f5871d..19ef002 100644
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
_AT_@ -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 : "");
         }
Received on Wed Aug 12 2015 - 17:43:18 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 12 2015 - 17:48:20 CEST