[hackers] [scc] Add better debug output to define() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Sun, 19 Jul 2015 12:05:19 +0200 (CEST)

commit a0c41efbdb9763d954d3733021ef356c35c05ed6
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Sun Jul 19 12:04:27 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Sun Jul 19 12:04:27 2015 +0200

    Add better debug output to define()
    
    All the debug outputs were marked excepted this one.

diff --git a/cc1/cpp.c b/cc1/cpp.c
index e715415..727b801 100644
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
_AT_@ -341,7 +341,7 @@ define(void)
         sprintf(buff, "%02d#", n);
         getdefs(args, n, buff+3, LINESIZ-3);
         sym->u.s = xstrdup(buff);
- fprintf(stderr, "Defining macro '%s'='%s'\n", sym->name, buff);
+ fprintf(stderr, "MACRO '%s' defined as '%s'\n", sym->name, buff);
 
         popctx();
 }
Received on Sun Jul 19 2015 - 12:05:19 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 19 2015 - 12:12:15 CEST