diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-08-19 05:08:09 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-08-19 05:08:09 +0000 |
commit | 27ab0504a862cd9441a549c288d6b9716306de8f (patch) | |
tree | 12909e3a45698c0268a57cee497be39ba65bc532 | |
parent | ecc75a199f4c5d778f74a877c6f8651267a6c5fb (diff) | |
download | gcc-27ab0504a862cd9441a549c288d6b9716306de8f.zip gcc-27ab0504a862cd9441a549c288d6b9716306de8f.tar.gz gcc-27ab0504a862cd9441a549c288d6b9716306de8f.tar.bz2 |
* pt.c (dependent_template_p): Fix typo in commment.
From-SVN: r86233
-rw-r--r-- | gcc/cp/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/cp/pt.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0ba2415..eb271e5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 5175eb1..4107d1c 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; |