scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 3f25145c5b118b673d55501f57703990cc2d337d
parent 88b40779476d653a5777d0376e78fed4d1e2a938
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 12 Dec 2016 10:54:24 +0100

[cc1] Small white space change

Group operators with operands to improve precedence reading.

Diffstat:
Mcc1/types.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cc1/types.c b/cc1/types.c @@ -225,7 +225,7 @@ typesize(Type *tp) * alignment. */ if (tp->op == STRUCT && align-- > 1) - size += size + align & ~align; + size += size+align & ~align; tp->size = size; return; case ENUM: @@ -294,7 +294,7 @@ mktype(Type *tp, int op, TINT nelem, Type *pars[]) abort(); } - t = (op ^ (uintptr_t) tp >> 3) & NR_TYPE_HASH-1; + t = (op ^ (uintptr_t) tp>>3) & NR_TYPE_HASH-1; tbl = &typetab[t]; for (bp = *tbl; bp; bp = bp->next) { if (eqtype(bp, &type, 0) && op != STRUCT && op != UNION) {