glr2.cc: make yyreportTree a member function of semantic_option
commitbb97a2a37b891998642781054fa0a4b91641342f
authorAkim Demaille <akim.demaille@gmail.com>
Sat, 26 Dec 2020 13:24:00 +0000 (26 14:24 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Sat, 26 Dec 2020 14:40:36 +0000 (26 15:40 +0100)
treec65e8e173eb43a6c3d1d265280d5b699e8d65fad
parent8a22b557b9de21a04742fe67466008c62768e7db
glr2.cc: make yyreportTree a member function of semantic_option

* data/skeletons/glr2.cc (yy_accessing_symbol, yylhsNonterm): Define
ealier.
(state_stack::yyreportTree): Move to...
(semantic_option::yyreportTree): here.
Adjust dependencies.
data/skeletons/glr2.cc