gcc/gcc/cp ChangeLog parser.c
giovannibajo@gcc.gnu.org
giovannibajo@gcc.gnu.org
Thu Dec 18 11:50:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: giovannibajo@gcc.gnu.org 2003-12-18 11:50:58
Modified files:
gcc/cp : ChangeLog parser.c
Log message:
PR c++/9154
* parser.c (cp_parser_template_argument): A type-id followed by '>>'
is just an user typo, and should be accepted as last resort if any
other parsing fails.
(cp_parser_enclosed_template_argument_list): If the argument list is
parsed correctly, but the next token is '>>', emit a diagnostic.
(cp_parser_next_token_ends_template_argument): Accept '>>' as
delimiter of template argument, it will be later detected as a typo.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3817&r2=1.3818
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.136&r2=1.137
More information about the Gcc-cvs
mailing list