[hackers] [scc] Add support for ENUM in getlimits() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 8 Jan 2016 13:14:02 +0100 (CET)

commit 54bc45420f91467c32d0cf539e11fae0ba0798f9
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Jan 8 13:07:10 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Jan 8 13:07:10 2016 +0100

    Add support for ENUM in getlimits()

diff --git a/cc1/types.c b/cc1/types.c
index 6620c92..2aeeded 100644
--- a/cc1/types.c
+++ b/cc1/types.c
_AT_@ -303,6 +303,7 @@ getlimits(Type *tp)
         int ntable, ntype;
 
         switch (tp->op) {
+ case ENUM:
         case INT:
                 ntable = tp->sign;
                 switch (tp->size) {
Received on Fri Jan 08 2016 - 13:14:02 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 08 2016 - 13:25:29 CET