shithub: scc

Download patch

ref: d63c65bb7d62515061b439b2e85334efbed8c20c
parent: 7f6a1dd82feb61cf9d3ba11710ce1ea9ad13a397
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Apr 16 18:08:40 EDT 2014

Remove isrecord()

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

--- a/cc.h
+++ b/cc.h
@@ -124,7 +124,6 @@
 #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))
--