aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2005-02-01 06:07:14 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2005-02-01 06:07:14 +0000
commite894ab29c7bb872bc9ff2bc79f1b7c05033563cb (patch)
tree5ccc787bf92443806951d2f0a9b524dcefe0a35c /gcc/cp/parser.c
parentc8a7ed431adf3bbadac565ff67c78d0195143f94 (diff)
downloadgcc-e894ab29c7bb872bc9ff2bc79f1b7c05033563cb.zip
gcc-e894ab29c7bb872bc9ff2bc79f1b7c05033563cb.tar.gz
gcc-e894ab29c7bb872bc9ff2bc79f1b7c05033563cb.tar.bz2
* parser.c (cp_parser_template_id): Revert comment patch too.
From-SVN: r94521
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 473d205..13fdd4b 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);