mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
This is needed to prepare a forthcoming patch that fuses the three stacks into one. * data/lalr1.cc (parser::yypush_): New. (parser::yynewstate): Change the semantics: instead of arriving to this label when value and location have been pushed, but yystate is to be pushed on the state stack, now the three of them must have been pushed before. yystate still must be the new state. This allows to use yypush_ everywhere instead of individual handling of the stacks.
34 KiB
34 KiB