[hackers] [scc] [cc1] Move typeprops to the enum section || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 19 May 2016 08:34:08 +0200 (CEST)

commit ca4d7fb86e6e291245af6f857c1d83e70b757959
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu May 19 08:31:50 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -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 */
_AT_@ -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',
Received on Thu May 19 2016 - 08:34:08 CEST

This archive was generated by hypermail 2.3.0 : Thu May 19 2016 - 08:36:17 CEST