Preprocessor macro expanding to structure entries
#include <SPAD/AC.H>
struct s { AST_HEAD; more entries ...; }; This macro can be prepended at the beginning of a structure to add AST entries. The strucure with AST_HEAD at the beginning can be cast to structure AST and can be passed to functions and macros that expect AST.
AST_HEAD adds an entry with name fn to the structure. It can add more architecture-specific entries.