This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Don't commit to tentative parse in cp_parser_simple_declaration if there were parse errors (PR c++/34269)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]