* pt.c (dependent_template_p): Fix typo in commment.

From-SVN: r86233
This commit is contained in:
Mark Mitchell 2004-08-19 05:08:09 +00:00 committed by Mark Mitchell
parent ecc75a199f
commit 27ab0504a8
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2004-08-18 Mark Mitchell <mark@codesourcery.com>
* pt.c (dependent_template_p): Fix typo in commment.
PR c++/17068
* pt.c (dependent_template_p): Treat IDENTIFIER_NODEs as
dependent.

View File

@ -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;