ref: 729956f2a8ef3dc646ba92cfc5ad1d52f9c6c73e
parent: c58da86b07e75bb748a45db71fcf8f0daf38995f
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Apr 16 18:17:53 EDT 2014
Remove ARITH and ATYPE() macros These macros were written only to allow the macro isarith(), but this macro is no longer valid, so they can be deleted.
--- a/cc.h
+++ b/cc.h
@@ -128,10 +128,8 @@
(TQUALIFIER|CONST))
-#define ARITH 8
#define RECORD 16
#define POINTER 32
-#define ATYPE(x) (ARITH | (x))
#define RTYPE(x) (RECORD | (x))
#define PTYPE(x) (POINTER| (x))
@@ -140,9 +138,9 @@
#define TYPENAME 3
#define VOID 4
-#define FLOAT ATYPE(1)
-#define INT ATYPE(2)
-#define BOOL ATYPE(3)
+#define FLOAT 5
+#define INT 6
+#define BOOL 7
#define STRUCT RTYPE(1)
#define UNION RTYPE(2)