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

jason@gcc.gnu.org jason@gcc.gnu.org
Tue Apr 14 15:29:00 GMT 2015


Author: jason
Date: Tue Apr 14 15:29:21 2015
New Revision: 222094

URL: https://gcc.gnu.org/viewcvs?rev=222094&root=gcc&view=rev
Log:
	PR c++/60994
	* parser.c (cp_parser_class_name): Add enum_ok parameter.
	(cp_parser_qualifying_entity): Use it instead of cp_parser_type_name.
	(cp_parser_diagnose_invalid_type_name): Don't assume a template is
	a class template.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/scoped_enum3.C
    trunk/gcc/testsuite/g++.dg/cpp0x/scoped_enum4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/g++.dg/cpp1y/var-templ23.C



More information about the Gcc-cvs mailing list