mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 05:43:03 +00:00
* data/lalr1.cc (parser::parse): Return a bool instead of an int.
This commit is contained in:
@@ -245,7 +245,7 @@ namespace yy
|
||||
|
||||
/// Parse.
|
||||
/// \returns 0 iff parsing succeeded.
|
||||
virtual int parse ();
|
||||
virtual bool parse ();
|
||||
|
||||
/// The current debugging stream.
|
||||
std::ostream& debug_stream () const;
|
||||
@@ -538,7 +538,7 @@ yy::]b4_parser_class_name[::set_debug_level (debug_level_type l)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
bool
|
||||
yy::]b4_parser_class_name[::parse ()
|
||||
{
|
||||
YYCDEBUG << "Starting parse" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user