scc

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

commit 285d54fa5709638cd975b5fcfc6a54bed54b9abc
parent 02f42bf630d362a05aad87898f58964560f0d159
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 14 Aug 2015 17:55:34 +0200

Add VOID to eqtype()

Void is also a type implied in castings.

Diffstat:
Mcc1/types.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cc1/types.c b/cc1/types.c @@ -354,6 +354,7 @@ eqtype(Type *tp1, Type *tp2) return 0; } return 1; + case VOID: case ENUM: return 0; case INT: