scc

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

commit f5a715b95c84ac8d612493e98c5ab6e09b5abe6c
parent 0cc93f139f379604bf0dd01eddfc072d443c9c32
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 18 Feb 2017 07:48:27 +0100

[cc1] Remove old time bits from types

This short type there wass from ancient times when the types
were used in a different way.

Diffstat:
Mcc1/decl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/decl.c b/cc1/decl.c @@ -761,7 +761,7 @@ identifier(struct decl *dcl) if (sym == NULL) { sym = redcl(dcl->sym, tp, dcl->pars, sclass); } else { - short flags = sym->flags; + int flags = sym->flags; sym->type = tp; sym->u.pars = dcl->pars;