mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
* data/lalr1.cc (parser::parse): Return a bool instead of an int.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2004-12-21 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* data/lalr1.cc (parser::parse): Return a bool instead of an int.
|
||||||
|
|
||||||
2004-12-21 Akim Demaille <akim@epita.fr>
|
2004-12-21 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
Don't impose std::string for filenames.
|
Don't impose std::string for filenames.
|
||||||
@@ -7,6 +11,9 @@
|
|||||||
(parser.hh): Move the inclusion of stack.hh and location.hh below
|
(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
|
the user code, so that needed headers for the filename type can be
|
||||||
included first.
|
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 <akim@epita.fr>
|
2004-12-20 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ namespace yy
|
|||||||
|
|
||||||
/// Parse.
|
/// Parse.
|
||||||
/// \returns 0 iff parsing succeeded.
|
/// \returns 0 iff parsing succeeded.
|
||||||
virtual int parse ();
|
virtual bool parse ();
|
||||||
|
|
||||||
/// The current debugging stream.
|
/// The current debugging stream.
|
||||||
std::ostream& debug_stream () const;
|
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 ()
|
yy::]b4_parser_class_name[::parse ()
|
||||||
{
|
{
|
||||||
YYCDEBUG << "Starting parse" << std::endl;
|
YYCDEBUG << "Starting parse" << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user