diff options
author | Giovanni Bajo <giovannibajo@gcc.gnu.org> | 2003-12-18 11:50:58 +0000 |
---|---|---|
committer | Giovanni Bajo <giovannibajo@gcc.gnu.org> | 2003-12-18 11:50:58 +0000 |
commit | 4d5297fad469676a2ac36f512fdcc6ef9eb7e251 (patch) | |
tree | 903a3d5514be16a67cf897721d58405cffb064fb /libjava/java/util/TimeZone.java | |
parent | a21f130e82ebee7ccdee1e89d45fbb1969555a81 (diff) | |
download | gcc-4d5297fad469676a2ac36f512fdcc6ef9eb7e251.zip gcc-4d5297fad469676a2ac36f512fdcc6ef9eb7e251.tar.gz gcc-4d5297fad469676a2ac36f512fdcc6ef9eb7e251.tar.bz2 |
re PR c++/9154 (poor error message for ">>" vs. "> >" for nested template args)
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.
From-SVN: r74776
Diffstat (limited to 'libjava/java/util/TimeZone.java')
0 files changed, 0 insertions, 0 deletions