mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 07:43:03 +00:00
Alexandre Duret-Lutz <adl@gnu.org>
* data/lalr1.cc (Parser::yycdebug_): New, a pointer, to allow changes. (YYCDEBUG): Adjust. Use it instead of cdebug_. (Parser::debug_stream, Parser::set_debug_stream): New. (Parser::symprint_): Define cdebug_ for temporary backward compatibility. * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Use debug_stream ().
This commit is contained in:
@@ -196,7 +196,7 @@ m4_ifval([$6], [%union
|
||||
|
||||
%printer
|
||||
{
|
||||
]AT_LALR1_CC_IF([cdebug_ << $$;],
|
||||
]AT_LALR1_CC_IF([debug_stream () << $$;],
|
||||
[fprintf (yyoutput, "%d", $$)])[;
|
||||
}
|
||||
input line thing 'x' 'y'
|
||||
|
||||
Reference in New Issue
Block a user