Commit a57a55de by Kazu Hirata Committed by Kazu Hirata

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

From-SVN: r123846
parent 71172460
2007-04-15 Kazu Hirata <kazu@codesourcery.com>
* cp-tree.h, error.c: Fix comment typos.
2007-04-13 Jason Merrill <jason@redhat.com> 2007-04-13 Jason Merrill <jason@redhat.com>
PR c++/31074 PR c++/31074
......
...@@ -788,7 +788,7 @@ struct saved_scope GTY(()) ...@@ -788,7 +788,7 @@ struct saved_scope GTY(())
#define current_lang_name scope_chain->lang_name #define current_lang_name scope_chain->lang_name
/* When parsing a template declaration, a TREE_LIST representing the /* 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 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 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 TREE_PURPOSE of each node. The parameters for that level are
......
...@@ -2529,7 +2529,7 @@ void ...@@ -2529,7 +2529,7 @@ void
maybe_warn_variadic_templates (void) maybe_warn_variadic_templates (void)
{ {
if ((!flag_cpp0x || flag_iso) && !in_system_header) 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 because libstdc++ uses variadic templates even when we aren't
in C++0x mode. */ in C++0x mode. */
pedwarn ("ISO C++ does not include variadic templates"); pedwarn ("ISO C++ does not include variadic templates");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment