Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison macro.c @ 171:5922e6ca6b80
Revert gratuitous reordering of struct macro contents.
(If a small amount of structure padding appears, who cares? It's more
important that related elements are grouped together.)
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 02:05:29 -0400 |
parents | 2ee7db420643 |
children | 3e7e696fe558 |
comparison
equal
deleted
inserted
replaced
170:2ee7db420643 | 171:5922e6ca6b80 |
---|---|
49 DEFARRAY(expansionitem, static); | 49 DEFARRAY(expansionitem, static); |
50 | 50 |
51 struct macro { | 51 struct macro { |
52 struct place defplace; | 52 struct place defplace; |
53 struct place expansionplace; | 53 struct place expansionplace; |
54 unsigned hash; | |
55 char *name; | |
56 bool hasparams; | |
54 struct stringarray params; | 57 struct stringarray params; |
55 struct expansionitemarray expansion; | 58 struct expansionitemarray expansion; |
56 char *name; | |
57 unsigned hash; | |
58 bool hasparams; | |
59 bool inuse; | 59 bool inuse; |
60 }; | 60 }; |
61 DECLARRAY(macro, static UNUSED); | 61 DECLARRAY(macro, static UNUSED); |
62 DEFARRAY(macro, static); | 62 DEFARRAY(macro, static); |
63 DECLARRAY(macroarray, static UNUSED); | 63 DECLARRAY(macroarray, static UNUSED); |