This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r142951 - in /trunk/gcc: cp/ChangeLog cp/parser...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 29 Dec 2008 18:27:04 -0000
- Subject: r142951 - in /trunk/gcc: cp/ChangeLog cp/parser...
Author: jakub
Date: Mon Dec 29 18:27:03 2008
New Revision: 142951
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142951
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/parse/cond4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog