scc

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

commit d63c65bb7d62515061b439b2e85334efbed8c20c
parent 7f6a1dd82feb61cf9d3ba11710ce1ea9ad13a397
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 16 Apr 2014 22:08:40 +0200

Remove isrecord()

This macro was not used and it can be replaced by
STRUCT || UNION

Diffstat:
Mcc.h | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/cc.h b/cc.h @@ -124,7 +124,6 @@ extern Type *voidtype, *pvoidtype, *booltype, #define UNQUAL(t) (ISQUAL(t) ? (t)->type : (t)) #define BTYPE(t) (UNQUAL(t)->op) #define isaddr(op) ((op) & POINTER) -#define isrecord(op) ((op) & RECORD) #define isqual(op) ((op) & TQUALIFIER) #define isconst(op) (((op) & (TQUALIFIER|CONST)) == \ (TQUALIFIER|CONST))