Le 19 oct. 2013 à 14:12, Ken Moffat <[email protected]> a écrit :
> On Fri, Oct 18, 2013 at 04:28:56PM +0200, Akim Demaille wrote: >> Could you please confirm that the bug is fixed with this tarball? >> >> Thanks! >> >> http://www.lrde.epita.fr/~akim/download/bison-3.0.22-fc8c9.tar.gz >> http://www.lrde.epita.fr/~akim/download/bison-3.0.22-fc8c9.tar.xz > > ## ------------- ## > ## Test results. ## > ## ------------- ## > > 410 tests were successful. > 23 tests were skipped. > > The skipped tests are for Doxygen and java, neither of which are > installed. > > Thanks for fixing it. Good. I installed the following in maint. Thanks! commit 39bace5da815c0290ce5e84628ca7615307b8349 Author: Akim Demaille <[email protected]> Date: Fri Oct 18 16:22:23 2013 +0200 tests: fix incorrect object construction Reported by Ken Moffat. http://lists.gnu.org/archive/html/bug-bison/2013-10/msg00009.html * tests/c++.at (Exception safety): Here. diff --git a/NEWS b/NEWS index e01198d..6a423ad 100644 --- a/NEWS +++ b/NEWS @@ -4,7 +4,9 @@ GNU Bison NEWS ** Bug fixes -*** Portability issues in the test suite. +*** Errors in caret diagnostics + + On some platforms, some errors could result in endless diagnostics. *** Fixes of the -Werror option @@ -20,6 +22,10 @@ GNU Bison NEWS As demonstrated in the documentation, one can now leave spaces between "%?" and its "{". +*** Fixes in the test suite + + Bugs and portability issues. + * Noteworthy changes in release 3.0 (2013-07-25) [stable] ** WARNING: Future backward-incompatibilities! diff --git a/THANKS b/THANKS index 0ffa8b6..9b7a896 100644 --- a/THANKS +++ b/THANKS @@ -66,6 +66,7 @@ Johan van Selst [email protected] Jonathan Fabrizio [email protected] Jonathan Nieder [email protected] Juan Manuel Guerrero [email protected] +Ken Moffat [email protected] Kees Zeelenberg [email protected] Keith Browne [email protected] Laurent Mascherpa [email protected] @@ -79,6 +80,7 @@ Martin Mokrejs [email protected] Martin Nylin [email protected] Matt Kraai [email protected] Matt Rosing [email protected] +Michael Felt [email protected] Michael Hayes [email protected] Michael Raskin [email protected] Michiel De Wilde [email protected] diff --git a/tests/c++.at b/tests/c++.at index e4c527c..39c13f8 100644 --- a/tests/c++.at +++ b/tests/c++.at @@ -818,7 +818,8 @@ yylex (yy::parser::semantic_type *lvalp) case 'l': throw std::runtime_error ("yylex"); default: - lvalp]AT_VARIANT_IF([->build (res)], [->obj = new Object (res)])[; + lvalp->]AT_VARIANT_IF([build (Object (res))], + [obj = new Object (res)])[; // Fall through. case 0: return res;
