r151246 - in /trunk/gcc: cp/ChangeLog cp/parser...

jason@gcc.gnu.org jason@gcc.gnu.org
Mon Aug 31 21:08:00 GMT 2009


Author: jason
Date: Mon Aug 31 21:08:33 2009
New Revision: 151246

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151246
Log:
	PR c++/41127
	* parser.c (cp_parser_enum_specifier): Make sure the : is followed by a
	type-specifier-seq before we commit.

Added:
    trunk/gcc/testsuite/g++.dg/parse/enum5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/enum1.C



More information about the Gcc-cvs mailing list