shithub: scc

Download patch

ref: 5c6da024b4f87d1a4d91cfa818f8963ec7e03595
parent: 5707eb558192a44df20f3da9dea2f81c14453572
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Aug 10 05:17:20 EDT 2015

Small style changes

--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -517,7 +517,8 @@
 	lp = eval(lp);
 	rp = eval(rp);
 	switch (BTYPE(lp)) {
-	case INT: case FLOAT:
+	case INT:
+	case FLOAT:
 		switch (BTYPE(lp)) {
 		case INT:
 		case FLOAT:
@@ -532,7 +533,8 @@
 			goto nocompat;
 		}
 		break;
-	case ARY: case FTN:
+	case ARY:
+	case FTN:
 		lp = decay(lp);
 	case PTR:
 		return pcompare(op, lp, rp);
--- a/cc1/types.c
+++ b/cc1/types.c
@@ -288,7 +288,6 @@
 	type.n.elem = nelem;
 	type.ns = 0;
 
-
 	switch (op) {
 	case ARY:
 		if (nelem == 0)