scc

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

commit e6183c2b047fec411a87bcb04ccc3833ec846b20
parent d897f1e478283d1fc1a71ac9637056c190a2da3f
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 18 Jul 2015 10:14:22 +0200

Small style change in expr.c

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

diff --git a/cc1/expr.c b/cc1/expr.c @@ -530,7 +530,8 @@ postfix(void) lp = array(lp, rp); expect(']'); break; - case DEC: case INC: + case DEC: + case INC: lp = incdec(lp, (yytoken == INC) ? OINC : ODEC); next(); break; @@ -595,7 +596,8 @@ unary(void) next(); tp = (yytoken == '(') ? sizeexp() : typeof(unary()); return sizeofnode(tp); - case INC: case DEC: + case INC: + case DEC: op = (yytoken == INC) ? OA_ADD : OA_SUB; next(); return incdec(unary(), op);