From 27ab0504a862cd9441a549c288d6b9716306de8f Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 19 Aug 2004 05:08:09 +0000 Subject: [PATCH] * pt.c (dependent_template_p): Fix typo in commment. From-SVN: r86233 --- gcc/cp/ChangeLog | 2 ++ gcc/cp/pt.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0ba2415b4a4..eb271e5b2b6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2004-08-18 Mark Mitchell + * pt.c (dependent_template_p): Fix typo in commment. + PR c++/17068 * pt.c (dependent_template_p): Treat IDENTIFIER_NODEs as dependent. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 5175eb1e705..4107d1ca1c6 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -12033,7 +12033,7 @@ dependent_template_p (tree tmpl) if (DECL_TEMPLATE_TEMPLATE_PARM_P (tmpl) || TREE_CODE (tmpl) == TEMPLATE_TEMPLATE_PARM) return true; - /* So arenames that have not been looked up. */ + /* So are names that have not been looked up. */ if (TREE_CODE (tmpl) == SCOPE_REF || TREE_CODE (tmpl) == IDENTIFIER_NODE) return true; -- 2.30.2