diff options
author | Akim Demaille <akim@epita.fr> | 2004-12-21 12:49:39 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2004-12-21 12:49:39 +0000 |
commit | 72731bb70bdbd8fe7cc178214b255e6425a04c6d (patch) | |
tree | 6b82f5a9ae95f6503157d960ad490c917b3fdfad | |
parent | d390b02b8eb0e5d96a0e27364f656ebd4ae0b49c (diff) | |
download | bison-72731bb70bdbd8fe7cc178214b255e6425a04c6d.tar.gz |
* data/lalr1.cc (parser::parse): Return a bool instead of an int.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | data/lalr1.cc | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,9 @@ 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> + Don't impose std::string for filenames. * data/lalr1.cc (b4_filename_type): New. @@ -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 <akim@epita.fr> 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; |