shithub: scc

Download patch

ref: ce7d1c12da13b469b23887720b5e4cd847f1a1c2
parent: b03fed420a5b24f4368698ed681651c59dad683a
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Apr 16 18:21:28 EDT 2014

Remove RECORD and RTYPE() macros

These macros are no longer needed because isrecord()
macro was already deleted.

--- a/cc.h
+++ b/cc.h
@@ -127,9 +127,7 @@
                                      (TQUALIFIER|CONST))
 
 
-#define RECORD        16
 #define POINTER       32
-#define RTYPE(x)      (RECORD | (x))
 #define PTYPE(x)      (POINTER| (x))
 
 #define FTN           1
@@ -141,8 +139,8 @@
 #define INT           6
 #define BOOL          7
 
-#define STRUCT        RTYPE(1)
-#define UNION         RTYPE(2)
+#define STRUCT        8
+#define UNION         9
 
 #define PTR           PTYPE(1)
 #define ARY           PTYPE(2)