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

reichelt@gcc.gnu.org reichelt@gcc.gnu.org
Fri Sep 8 22:56:00 GMT 2006


Author: reichelt
Date: Fri Sep  8 22:56:44 2006
New Revision: 116788

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116788
Log:
	PR c++/28858
	* parser.c (cp_parser_skip_until_found): Rename to
	cp_parser_skip_to_end_of_template_parameter_list.  Remove last two
	parameters.  Track levels of '< ... >'.  Stop at '{', '}', or ';'.
	Reorganize.  Adjust comment.
	(cp_parser_template_declaration_after_export): Adjust call.
	(cp_parser_enclosed_template_argument_list): Likewise.

	* g++.dg/parse/template20.C: New test.
	* g++.dg/template/operator8.C: Remove obsolete part.
	* g++.dg/parse/def-tmpl-arg1.C: Adjust error-markers.
	* g++.old-deja/g++.pt/crash65.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/parse/template20.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/def-tmpl-arg1.C
    trunk/gcc/testsuite/g++.dg/template/operator8.C
    trunk/gcc/testsuite/g++.old-deja/g++.pt/crash65.C



More information about the Gcc-cvs mailing list