fangism/hackt

bison-2.7 produces invalid parser/hackt-union.cc (zero-size array)

Closed this issue · 1 comments

Something went wrong with generating the state link table from bison-2.7 -generated files:

static const yy_state_map_link* yysma[0] = {
 };

Expected output looks like:

static const yy_state_map_link* yysma[937] = {
    &yysml_0_6,
    NULL,
    &yysml_2_0,
    &yysml_3_0,
    NULL,

Fix pending:
Update regex in parser/bison-union-type.awk to match 'State' or 'state'.