* pt.c (instantiate_template): Fix typo in comment.

From-SVN: r114788
This commit is contained in:
Mark Mitchell 2006-06-19 21:40:05 +00:00 committed by Mark Mitchell
parent ca84a9a2e3
commit a1d0899101
2 changed files with 8 additions and 3 deletions

View File

@ -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> 2006-06-19 Richard Guenther <rguenther@suse.de>
* parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near * parser.c (CP_LEXER_BUFFER_SIZE): Adjust to assure near

View File

@ -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 /* Although PROCESSING_TEMPLATE_DECL may be true at this point
(because, for example, we have encountered a non-dependent (because, for example, we have encountered a non-dependent
function call in the body of a template function must determine function call in the body of a template function and must now
which of several overloaded functions will be called), within the determine which of several overloaded functions will be called),
instantiation itself we are not processing a template. */ within the instantiation itself we are not processing a
template. */
saved_processing_template_decl = processing_template_decl; saved_processing_template_decl = processing_template_decl;
processing_template_decl = 0; processing_template_decl = 0;
/* Substitute template parameters to obtain the specialization. */ /* Substitute template parameters to obtain the specialization. */