scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 54bc45420f91467c32d0cf539e11fae0ba0798f9
parent 000791441005200aa35dc2b0b43f65dfdb6eafc5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri,  8 Jan 2016 13:07:10 +0100

Add support for ENUM in getlimits()

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

diff --git a/cc1/types.c b/cc1/types.c @@ -303,6 +303,7 @@ getlimits(Type *tp) int ntable, ntype; switch (tp->op) { + case ENUM: case INT: ntable = tp->sign; switch (tp->size) {