* cp-tree.h, error.c: Fix comment typos.
authorKazu Hirata <kazu@codesourcery.com>
Sun, 15 Apr 2007 14:37:02 +0000 (14:37 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 15 Apr 2007 14:37:02 +0000 (14:37 +0000)
From-SVN: r123846

gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/error.c

index 9d0ac8cc9dc0467fba8e378db833b7e23235c358..a0b9bd2a8f03e9bd1c82aa7c2823073ffd27cc06 100644 (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
index 68d8f5ad88970f3bf670d0afdb7d5818ceeaa083..40911b586212561dcd58f88a5fbdb9f45616ce81 100644 (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
index 27bcecf9ee477c54672ec59c976034975b351696..e393007e11dbe00f95c3a3aada5446b42bb05064 100644 (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");