scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit ce7d1c12da13b469b23887720b5e4cd847f1a1c2
parent b03fed420a5b24f4368698ed681651c59dad683a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 16 Apr 2014 22:21:28 +0200

Remove RECORD and RTYPE() macros

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

Diffstat:
Mcc.h | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/cc.h b/cc.h @@ -127,9 +127,7 @@ extern Type *voidtype, *pvoidtype, *booltype, (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 @@ extern Type *voidtype, *pvoidtype, *booltype, #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)