collelem
RB_ENTRY(collelem) rb_bysymbol;
RB_ENTRY(collelem) rb_byexpand;
static RB_HEAD(elem_by_symbol, collelem) elem_by_symbol;
static RB_HEAD(elem_by_expand, collelem) elem_by_expand;
RB_GENERATE_STATIC(elem_by_symbol, collelem, rb_bysymbol, element_compare_symbol);
RB_GENERATE_STATIC(elem_by_expand, collelem, rb_byexpand, element_compare_expand);
typedef struct collelem collelem_t;
%token <collelem> T_COLLELEM
collelem_t *collelem;
if ((yylval.collelem = lookup_collelem(token)) !=