commit 6d3664ac10f50ea4ac3618404fa3522a226fbc81
Author:     Hiltjo Posthuma <[email protected]>
AuthorDate: Fri Jul 17 20:28:56 2015 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Jul 17 20:58:49 2015 +0200

    whitespace fixes

diff --git a/cc1/cc1.h b/cc1/cc1.h
index 7095cf2..6a9d9aa 100644
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -13,7 +13,6 @@ typedef struct caselist Caselist;
 typedef struct node Node;
 typedef struct input Input;
 
-
 struct type {
        unsigned char op;           /* type builder operator */
        unsigned char ns;
diff --git a/cc1/cpp.c b/cc1/cpp.c
index 534585a..3e10e2e 100644
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
@@ -59,17 +59,17 @@ icpp(void)
 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 @@ copymacro(char *bp, char *s, size_t bufsiz, char *arglist[])
                        s += 2;
                }
        }
-        *bp = '\0';
+       *bp = '\0';
 
        return;
 
@@ -201,8 +201,8 @@ expand(char *begin, Symbol *sym)
        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);
 

Reply via email to