r141429 - in /trunk/gcc: cp/ChangeLog cp/parser...
manu@gcc.gnu.org
manu@gcc.gnu.org
Wed Oct 29 16:05:00 GMT 2008
Author: manu
Date: Wed Oct 29 16:05:27 2008
New Revision: 141429
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141429
Log:
2008-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/26997
cp/
* parser.c (cp_parser_token_starts_cast_expression): New.
(cp_parser_cast_expression): Peek the next token to decide whether
this could be a parenthesized constructor or is definitely an
actual cast.
testsuite/
* g++.dg/parse/pr26997.C: New.
Added:
trunk/gcc/testsuite/g++.dg/parse/pr26997.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list