commit ca4d7fb86e6e291245af6f857c1d83e70b757959
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu May 19 08:31:50 2016 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu May 19 08:31:50 2016 +0200

    [cc1] Move typeprops to the enum section

diff --git a/cc1/cc1.h b/cc1/cc1.h
index a05b631..03ced70 100644
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -30,16 +30,6 @@ struct keyword {
        unsigned char token, value;
 };
 
-enum typeprops {
-       TDEFINED = 1 << 0,    /* type defined */
-       TSIGNED  = 1 << 1,    /* signedness of the type */
-       TPRINTED = 1 << 2,    /* the type was already printed */
-       TINTEGER = 1 << 3,    /* the type is INT of enum */
-       TARITH   = 1 << 4,    /* the type is INT, ENUM or FLOAT */
-       TAGGREG  = 1 << 5,    /* the type is struct or union */
-       TK_R     = 1 << 6,    /* this is a K&R-function */
-};
-
 struct type {
        unsigned char op;           /* type builder operator */
        char ns;                    /* namespace for struct members */
@@ -112,6 +102,16 @@ struct input {
  * Definition of enumerations
  */
 
+enum typeprops {
+       TDEFINED = 1 << 0,    /* type defined */
+       TSIGNED  = 1 << 1,    /* signedness of the type */
+       TPRINTED = 1 << 2,    /* the type was already printed */
+       TINTEGER = 1 << 3,    /* the type is INT of enum */
+       TARITH   = 1 << 4,    /* the type is INT, ENUM or FLOAT */
+       TAGGREG  = 1 << 5,    /* the type is struct or union */
+       TK_R     = 1 << 6,    /* this is a K&R-function */
+};
+
 /* data type letters */
 enum {
        L_INT8      = 'C',

Reply via email to