shithub: scc

Download patch

ref: e6183c2b047fec411a87bcb04ccc3833ec846b20
parent: d897f1e478283d1fc1a71ac9637056c190a2da3f
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Jul 18 06:14:22 EDT 2015

Small style change in expr.c

--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -530,7 +530,8 @@
 			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 @@
 		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);