From: Akim Demaille Date: Tue, 21 Dec 2004 12:49:39 +0000 (+0000) Subject: * data/lalr1.cc (parser::parse): Return a bool instead of an int. X-Git-Tag: BISON-2_0~13 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/72731bb70bdbd8fe7cc178214b255e6425a04c6d * data/lalr1.cc (parser::parse): Return a bool instead of an int. --- diff --git a/ChangeLog b/ChangeLog index eda08019..27448385 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-12-21 Akim Demaille + + * data/lalr1.cc (parser::parse): Return a bool instead of an int. + 2004-12-21 Akim Demaille Don't impose std::string for filenames. @@ -7,6 +11,9 @@ (parser.hh): Move the inclusion of stack.hh and location.hh below the user code, so that needed headers for the filename type can be included first. + Forward declare them before the user code. + * tests/Makefile.am (check-local, installcheck-local): Pass + TESTSUITEFLAGS to the TESTSUITE. 2004-12-20 Akim Demaille diff --git a/data/lalr1.cc b/data/lalr1.cc index 35606d60..bf71ade5 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -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;