Commit e894ab29 by Alexandre Oliva Committed by Alexandre Oliva

* parser.c (cp_parser_template_id): Revert comment patch too.

From-SVN: r94521
parent c8a7ed43
2005-02-01 Alexandre Oliva <aoliva@redhat.com>
* parser.c (cp_parser_template_id): Revert comment patch too.
PR c++/18757
PR c++/19366
PR c++/19499
......
......@@ -8512,8 +8512,7 @@ cp_parser_template_id (cp_parser *parser,
should we re-parse the token stream, we will not have to repeat
the effort required to do the parse, nor will we issue duplicate
error messages about problems during instantiation of the
template. Do so only if parsing succeeded, otherwise we may
silently accept template arguments with syntax errors. */
template. */
if (start_of_id)
{
cp_token *token = cp_lexer_token_at (parser->lexer, start_of_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment