[hackers] [scc] Small style changes || Roberto E. Vargas Caballero
commit 5c6da024b4f87d1a4d91cfa818f8963ec7e03595
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Aug 10 09:17:20 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Aug 10 09:17:20 2015 +0200
Small style changes
diff --git a/cc1/expr.c b/cc1/expr.c
index 047c06e..875364f 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -517,7 +517,8 @@ compare(char op, Node *lp, Node *rp)
lp = eval(lp);
rp = eval(rp);
switch (BTYPE(lp)) {
- case INT: case FLOAT:
+ case INT:
+ case FLOAT:
switch (BTYPE(lp)) {
case INT:
case FLOAT:
_AT_@ -532,7 +533,8 @@ compare(char op, Node *lp, Node *rp)
goto nocompat;
}
break;
- case ARY: case FTN:
+ case ARY:
+ case FTN:
lp = decay(lp);
case PTR:
return pcompare(op, lp, rp);
diff --git a/cc1/types.c b/cc1/types.c
index 3436723..31424a3 100644
--- a/cc1/types.c
+++ b/cc1/types.c
_AT_@ -288,7 +288,6 @@ mktype(Type *tp, unsigned op, short nelem, Type *pars[])
type.n.elem = nelem;
type.ns = 0;
-
switch (op) {
case ARY:
if (nelem == 0)
Received on Mon Aug 10 2015 - 17:36:47 CEST
This archive was generated by hypermail 2.3.0
: Mon Aug 10 2015 - 17:48:12 CEST