scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 7be77a80b5c66e2627f4ceab4b0b62e6755e302b
parent 2dc31478cad643638ab38b1c6f86e25eb7a7a147
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed,  1 Oct 2014 17:06:02 +0200

Align switch in unary()

All the similar switch in the rest of the code use the indentation
of this patch.

Diffstat:
cc1/expr.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/cc1/expr.c b/cc1/expr.c @@ -545,12 +545,12 @@ unary(void) op = (yytoken == INC) ? OA_ADD : OA_SUB; next(); return incdec(unary(), op); - case '!': op = 0; fun = negation; break; - case '+': op = OADD; fun = numericaluop; break; - case '-': op = ONEG; fun = numericaluop; break; - case '~': op = OCPL; fun = integeruop; break; - case '&': op = OADDR; fun = address; break; - case '*': op = OPTR; fun = content; break; + case '!': op = 0; fun = negation; break; + case '+': op = OADD; fun = numericaluop; break; + case '-': op = ONEG; fun = numericaluop; break; + case '~': op = OCPL; fun = integeruop; break; + case '&': op = OADDR; fun = address; break; + case '*': op = OPTR; fun = content; break; default: return postfix(); }