* cp-tree.h, error.c: Fix comment typos.

From-SVN: r123846
This commit is contained in:
Kazu Hirata 2007-04-15 14:37:02 +00:00 committed by Kazu Hirata
parent 71172460b6
commit a57a55dec3
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-04-15 Kazu Hirata <kazu@codesourcery.com>
* cp-tree.h, error.c: Fix comment typos.
2007-04-13 Jason Merrill <jason@redhat.com>
PR c++/31074

View File

@ -788,7 +788,7 @@ struct saved_scope GTY(())
#define current_lang_name scope_chain->lang_name
/* When parsing a template declaration, a TREE_LIST representing the
active template parametesr. Each node in the list represents one
active template parameters. Each node in the list represents one
level of template parameters. The innermost level is first in the
list. The depth of each level is stored as an INTEGER_CST in the
TREE_PURPOSE of each node. The parameters for that level are

View File

@ -2529,7 +2529,7 @@ void
maybe_warn_variadic_templates (void)
{
if ((!flag_cpp0x || flag_iso) && !in_system_header)
/* We really want to surpress this warning in system headers,
/* We really want to suppress this warning in system headers,
because libstdc++ uses variadic templates even when we aren't
in C++0x mode. */
pedwarn ("ISO C++ does not include variadic templates");