shithub: scc

Download patch

ref: 8e09ca155408ff203df2e02bce16d305332d955e
parent: 65fbd5ccb729bd1f8b8e4ffe2951923434bc76f9
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu May 19 04:31:50 EDT 2016

[cc1] Move typeprops to the enum section

--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -30,16 +30,6 @@
 	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 */
@@ -111,6 +101,16 @@
 /*
  * 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 {