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] Fix error recovery in cp_parser_condition (PR c++/38635)


Jakub Jelinek wrote:

> 2008-12-28  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR c++/38635
> 	* parser.c (cp_parser_condition): Use cp_parser_require
> 	instead of cp_lexer_consume_token to consume =.
> 
> 	* g++.dg/parse/cond4.C: New test.

OK.  This isn't going to give a great error message for the case you
posted, but if someone wants to work on that, you've not made things any
harder.

Thanks,

-- 
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]