commit 2415117f72d9b53f10e6ced86efc9a34f527ed15
parent 4f5352fb2ecb3babe3122478bf0576f8905f1afc
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 15 Feb 2017 08:46:51 +0100
[cc1] Add names to enums
These two enums are commonly used while you are debugging,
so having a name for them is very helpful.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cc1/cc1.h b/cc1/cc1.h
@@ -67,7 +67,7 @@ enum {
};
/* type constructors */
-enum {
+enum typeop {
FTN = 1,
PTR,
ARY,
@@ -75,7 +75,7 @@ enum {
};
/* namespaces */
-enum {
+enum namespaces {
NS_DUMMY,
NS_IDEN,
NS_TAG,