Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison macro.c @ 107:33954a07d013
__unused -> UNUSED
author | David A. Holland |
---|---|
date | Tue, 11 Jun 2013 12:15:47 -0400 |
parents | 60184aa42604 |
children | c46959e2d9ef |
comparison
equal
deleted
inserted
replaced
106:ecec7c16e3ba | 107:33954a07d013 |
---|---|
42 union { | 42 union { |
43 char *string; | 43 char *string; |
44 unsigned param; | 44 unsigned param; |
45 }; | 45 }; |
46 }; | 46 }; |
47 DECLARRAY(expansionitem, static __unused); | 47 DECLARRAY(expansionitem, static UNUSED); |
48 DEFARRAY(expansionitem, static); | 48 DEFARRAY(expansionitem, static); |
49 | 49 |
50 struct macro { | 50 struct macro { |
51 struct place defplace; | 51 struct place defplace; |
52 struct place expansionplace; | 52 struct place expansionplace; |
55 bool hasparams; | 55 bool hasparams; |
56 struct stringarray params; | 56 struct stringarray params; |
57 struct expansionitemarray expansion; | 57 struct expansionitemarray expansion; |
58 bool inuse; | 58 bool inuse; |
59 }; | 59 }; |
60 DECLARRAY(macro, static __unused); | 60 DECLARRAY(macro, static UNUSED); |
61 DEFARRAY(macro, static); | 61 DEFARRAY(macro, static); |
62 DECLARRAY(macroarray, static __unused); | 62 DECLARRAY(macroarray, static UNUSED); |
63 DEFARRAY(macroarray, static); | 63 DEFARRAY(macroarray, static); |
64 | 64 |
65 static struct macroarrayarray macros; | 65 static struct macroarrayarray macros; |
66 static unsigned total_macros; | 66 static unsigned total_macros; |
67 static unsigned hashmask; | 67 static unsigned hashmask; |