summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-19 21:40:05 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-19 21:40:05 +0000
commit21d0dc67e5a03697cffb9e073db6284c7089227f (patch)
treedf203440d76e7188ef1c27ba59580bdcfe54597a
parentde8dea22ca5dc050cc60e846ea91876bf379f5f0 (diff)
downloadppe42-gcc-21d0dc67e5a03697cffb9e073db6284c7089227f.tar.gz
ppe42-gcc-21d0dc67e5a03697cffb9e073db6284c7089227f.zip
* pt.c (instantiate_template): Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114788 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/pt.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index db7eb37c74b..72a723f51cb 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-19 Mark Mitchell <mark@codesourcery.com>
+
+ * pt.c (instantiate_template): Fix typo in comment.
+
2006-06-19 Richard Guenther <rguenther@suse.de>
* parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 79183f55ed0..08bda26d6b8 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -9295,9 +9295,10 @@ instantiate_template (tree tmpl, tree targ_ptr, tsubst_flags_t complain)
/* Although PROCESSING_TEMPLATE_DECL may be true at this point
(because, for example, we have encountered a non-dependent
- function call in the body of a template function must determine
- which of several overloaded functions will be called), within the
- instantiation itself we are not processing a template. */
+ function call in the body of a template function and must now
+ determine which of several overloaded functions will be called),
+ within the instantiation itself we are not processing a
+ template. */
saved_processing_template_decl = processing_template_decl;
processing_template_decl = 0;
/* Substitute template parameters to obtain the specialization. */
OpenPOWER on IntegriCloud