* parser.c (cp_parser_template_id): Revert comment patch too.
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 1 Feb 2005 06:07:14 +0000 (06:07 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 1 Feb 2005 06:07:14 +0000 (06:07 +0000)
From-SVN: r94521

gcc/cp/ChangeLog
gcc/cp/parser.c

index 2aa42c19e3fd999c6596aeb909eb29e15f2478a2..2ed087fee358742d4f29d97d3ee0eab06929cdfe 100644 (file)
@@ -1,5 +1,7 @@
 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
index 473d2059a569744a3d3b41051432b85b756e72af..13fdd4b1f330637c28af3801d7495b568cd07f38 100644 (file)
@@ -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);