shithub: scc

Download patch

ref: 54bc45420f91467c32d0cf539e11fae0ba0798f9
parent: 000791441005200aa35dc2b0b43f65dfdb6eafc5
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Jan 8 08:07:10 EST 2016

Add support for ENUM in getlimits()

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