shithub: scc

Download patch

ref: 7be77a80b5c66e2627f4ceab4b0b62e6755e302b
parent: 2dc31478cad643638ab38b1c6f86e25eb7a7a147
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Oct 1 13:06:02 EDT 2014

Align switch in unary()

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

--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -545,12 +545,12 @@
 		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();
 	}