ref: 6d3664ac10f50ea4ac3618404fa3522a226fbc81
parent: 4e05c8d89c382a02992de4fad24c034d333bec2c
author: Hiltjo Posthuma <[email protected]>
date: Fri Jul 17 16:28:56 EDT 2015
whitespace fixes
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -13,7 +13,6 @@
typedef struct node Node;
typedef struct input Input;
-
struct type {
unsigned char op; /* type builder operator */
unsigned char ns;
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
@@ -59,17 +59,17 @@
static void
nextcpp(void)
{
- next();
- if (yytoken == EOFTOK)
+ next();
+ if (yytoken == EOFTOK)
error("unterminated argument list invoking macro \"%s\"",
- macroname);
- if (yylen + 1 > arglen)
- error("argument overflow invoking macro \"%s\"",
- macroname);
- memcpy(argp, yytext, yylen);
- argp += yylen;
- *argp++ = ' ';
- arglen -= yylen + 1;
+ macroname);
+ if (yylen + 1 > arglen)
+ error("argument overflow invoking macro \"%s\"",
+ macroname);
+ memcpy(argp, yytext, yylen);
+ argp += yylen;
+ *argp++ = ' ';
+ arglen -= yylen + 1;
}
static void
@@ -171,7 +171,7 @@
s += 2;
}
}
- *bp = '\0';
+ *bp = '\0';
return;
@@ -201,8 +201,8 @@
macroname = sym->name;
if (!parsepars(arguments, arglist, atoi(s)))
return 0;
- for (n = 0; n < atoi(s); ++n)
- fprintf(stderr, "PAR%d:%s\n", n, arglist[n]);
+ for (n = 0; n < atoi(s); ++n)
+ fprintf(stderr, "PAR%d:%s\n", n, arglist[n]);
copymacro(buffer, s+3, INPUTSIZ-1, arglist);