r123151 - in /branches/gcc-4_2-branch/gcc: cp/C...

mmitchel@gcc.gnu.org mmitchel@gcc.gnu.org
Fri Mar 23 04:36:00 GMT 2007


Author: mmitchel
Date: Fri Mar 23 04:36:33 2007
New Revision: 123151

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123151
Log:
	PR c++/30863
	* parser.c (cp_parser_parse_and_diagnose_invalid_type_name): Do
	not consume tokens when failing.
	PR c++/30863
	* g++.dg/template/error24.C: New test.
	* g++.dg/parse/tmpl-outside1.C: Tweak error markers.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/error24.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/parser.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/parse/tmpl-outside1.C



More information about the Gcc-cvs mailing list