commit 91cc5b95f08b79cefba27608f1ad94874ba34064
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Jan 22 16:53:21 2016 +0100
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Jan 22 17:14:39 2016 +0100

    Move no architecture types to cc.h
    
    These types are going to be repeated all the time
    in all the different architectures, so it is a
    better idea putting them in a cc.h

diff --git a/cc1/arch/z80/arch.h b/cc1/arch/z80/arch.h
index 7f8b5bf..a90b864 100644
--- a/cc1/arch/z80/arch.h
+++ b/cc1/arch/z80/arch.h
@@ -30,8 +30,4 @@
 #define L_ULONG     L_UINT32
 #define L_LLONG     L_INT64
 #define L_ULLONG    L_UINT64
-#define L_BOOL      'B'
-#define L_FLOAT     'J'
-#define L_DOUBLE    'D'
-#define L_LDOUBLE   'H'
 #define L_ENUM      L_INT
diff --git a/inc/cc.h b/inc/cc.h
index 72afb4c..2c44600 100644
--- a/inc/cc.h
+++ b/inc/cc.h
@@ -24,8 +24,13 @@ extern int debug;
 #define L_UINT16    'N'
 #define L_UINT32    'Z'
 #define L_UINT64    'O'
-#define L_ELLIPSIS  'E'
+#define L_BOOL      'B'
+
+#define L_FLOAT     'J'
+#define L_DOUBLE    'D'
+#define L_LDOUBLE   'H'
 
+#define L_ELLIPSIS  'E'
 #define L_VOID      '0'
 #define L_POINTER   'P'
 #define L_FUNCTION  'F'
@@ -40,6 +45,8 @@ extern int debug;
 #define L_FIELD     'M'
 #define L_AUTO      'A'
 #define L_EXTERN    'X'
+#define L_LABEL     'L'
+
 #define L_NAME     '"'
 
 extern void die(const char *fmt, ...);

Reply via email to