commit c9d3ab93258058932a722957c30d16c41a48615b
parent d59f0b5d2d11178047efaa052eb6659e48bb827e
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Wed, 17 Jun 2026 14:37:22 +0200
cc1: Remove colons in INPUT DBG
Just be consistent wit other DBG statements.
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/cmd/scc-cc/cc1/lex.c b/src/cmd/scc-cc/cc1/lex.c
@@ -73,14 +73,14 @@ addinput(int type, void *arg, int fail)
sym = mp->sym;
fname = mp->fname;
buffer = mp->buffer;
- DBG("INPUT: expanding macro %s", sym->name);
+ DBG("INPUT expanding macro %s", sym->name);
break;
case IPARAM:
fp = NULL;
mp = NULL;
buffer = arg;
fname = filenam;
- DBG("INPUT: macro parameter '%s'", buffer);
+ DBG("INPUT macro parameter '%s'", buffer);
break;
case IFILE:
fname = arg;
@@ -101,7 +101,7 @@ addinput(int type, void *arg, int fail)
infileln, infile, infile, fname);
}
lineno = 0;
- DBG("INPUT: file input '%s'", fname);
+ DBG("INPUT file input '%s'", fname);
break;
case ISTDIN:
fp = stdin;
@@ -109,7 +109,7 @@ addinput(int type, void *arg, int fail)
fname = "<stdin>";
buffer = NULL;
lineno = 0;
- DBG("INPUT: file input 'stdin'");
+ DBG("INPUT file input 'stdin'");
break;
default:
abort();
@@ -159,19 +159,19 @@ delinput(void)
switch (ip->flags & ITYPE) {
case IFILE:
- DBG("INPUT: file finished '%s'", ip->filenam);
+ DBG("INPUT file finished '%s'", ip->filenam);
if (fclose(ip->fp))
die("cc1: %s: %s", ip->filenam, strerror(errno));
break;
case IMACRO:
- DBG("INPUT: macro %s finished", ip->macro->sym->name);
+ DBG("INPUT macro %s finished", ip->macro->sym->name);
delmacro(ip->macro);
break;
case IPARAM:
- DBG("INPUT: macro param finished");
+ DBG("INPUT macro param finished");
break;
case ISTDIN:
- DBG("INPUT: stdin finished");
+ DBG("INPUT stdin finished");
break;
default:
abort();