summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-01 06:07:14 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-01 06:07:14 +0000
commit459742a65dd92ea223cdbc6da9e1681c2b119ee8 (patch)
tree5ccc787bf92443806951d2f0a9b524dcefe0a35c /gcc
parent6763510357066c755c33a2d025e5f3802cc93363 (diff)
downloadgcc-459742a65dd92ea223cdbc6da9e1681c2b119ee8.tar.gz
* parser.c (cp_parser_template_id): Revert comment patch too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94521 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/parser.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2aa42c19e3f..2ed087fee35 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 473d2059a56..13fdd4b1f33 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -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);