lalr1.cc: fix LAC support

* data/skeletons/lalr1.cc (ctor): Initialize yy_lac_established_.
This is quite painful to write, and ugly to read.
This commit is contained in:
Akim Demaille
2019-09-05 13:22:32 +02:00
parent 3953c61362
commit 61c2c40092

View File

@@ -576,12 +576,14 @@ m4_if(b4_prefix, [yy], [],
]])[ ]])[
/// Build a parser object. /// Build a parser object.
]b4_parser_class::b4_parser_class[ (]b4_parse_param_decl[)]m4_ifset([b4_parse_param], [ ]b4_parser_class::b4_parser_class[ (]b4_parse_param_decl[)
:])[
#if ]b4_api_PREFIX[DEBUG #if ]b4_api_PREFIX[DEBUG
]m4_ifset([b4_parse_param], [ ], [ :])[yydebug_ (false), : yydebug_ (false),
yycdebug_ (&std::cerr)]m4_ifset([b4_parse_param], [,])[ yycdebug_ (&std::cerr)]b4_lac_if([,], [m4_ifset([b4_parse_param], [,])])[
#endif]b4_parse_param_cons[ #else
]b4_lac_if([ :], [m4_ifset([b4_parse_param], [ :])])[
#endif]b4_lac_if([[
yy_lac_established_ (false)]m4_ifset([b4_parse_param], [,])])[]b4_parse_param_cons[
{} {}
]b4_parser_class::~b4_parser_class[ () ]b4_parser_class::~b4_parser_class[ ()