mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Currently glr2.cc does not use 'symbol's everywhere, in various places it also uses yykind, yyval and yyloc "by hand". So we need two different calls for user-defined constructors: once for ~symbol, another for yy_destroy_. Both need to call the user destructors with different calling conventions. * data/skeletons/glr2.cc (b4_symbol_action): Rename as... (b4_symbol_action_for_yyval): this. (b4_symbol_action): New, taken from lalr1.cc. (yy_destroy_, yy_symbol_value_print_): Use b4_symbol_action_for_yyval.