This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Don't commit to tentative parse in cp_parser_simple_declaration if there were parse errors (PR c++/34269)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 12 Nov 2008 09:11:22 -0800
- Subject: Re: [C++ PATCH] Don't commit to tentative parse in cp_parser_simple_declaration if there were parse errors (PR c++/34269)
- References: <20081112143008.GP3572@tyan-ft48-01.lab.bos.redhat.com>
Jakub Jelinek wrote:
> 2008-11-12 Jakub Jelinek <jakub@redhat.com>
>
> PR c++/34269
> * parser.c (cp_parser_simple_declaration): Don't commit
> to tentative parse if parse errors were seen.
>
> * g++.dg/cpp0x/decltype13.C: New test.
> * g++.dg/cpp0x/decltype-33837.C: Adjust dg-error pattern.
> * g++.dg/cpp0x/pr33839.C: Likewise.
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713