[hackers] [scc] Mark clearly what is output debug || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Sun, 19 Jul 2015 09:48:32 +0200 (CEST)

commit f646f6bb23a5a5c66c0ea91885aacef841f7f7ab
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Sun Jul 19 09:39:57 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Sun Jul 19 09:40:56 2015 +0200

    Mark clearly what is output debug

diff --git a/cc1/cpp.c b/cc1/cpp.c
index f236723..e741ee9 100644
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
_AT_@ -207,12 +207,12 @@ expand(char *begin, Symbol *sym)
         if (!parsepars(arguments, arglist, atoi(s)))
                 return 0;
         for (n = 0; n < atoi(s); ++n)
- fprintf(stderr, "PAR%d:%s\n", n, arglist[n]);
+ fprintf(stderr, "MACRO par%d:%s\n", n, arglist[n]);
 
         elen = copymacro(buffer, s+3, INPUTSIZ-1, arglist);
 
 substitute:
- fprintf(stderr, "macro '%s' expanded to :'%s'\n", macroname, buffer);
+ fprintf(stderr, "MACRO '%s' expanded to :'%s'\n", macroname, buffer);
         rlen = strlen(input->p); /* rigth length */
         llen = begin - input->line; /* left length */
         ilen = input->p - begin; /* invocation length */
diff --git a/cc1/lex.c b/cc1/lex.c
index 85f27a4..df1ba69 100644
--- a/cc1/lex.c
+++ b/cc1/lex.c
_AT_@ -532,7 +532,7 @@ next(void)
                 yytoken = operator();
 
 exit:
- fprintf(stderr, "%s\n", yytext);
+ fprintf(stderr, "TOKEN %s\n", yytext);
         lex_ns = NS_IDEN;
         return yytoken;
 }
Received on Sun Jul 19 2015 - 09:48:32 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 19 2015 - 10:00:19 CEST