diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2007-04-15 14:37:02 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2007-04-15 14:37:02 +0000 |
commit | a57a55dec3932d7d7ea08886300dc23fd2db4058 (patch) | |
tree | 6a3594f1956ba061d37788b6e518e1e808daa84d /gcc/cp | |
parent | 71172460b68e003a9b57486c18816e4ea7ada5cf (diff) | |
download | gcc-a57a55dec3932d7d7ea08886300dc23fd2db4058.zip gcc-a57a55dec3932d7d7ea08886300dc23fd2db4058.tar.gz gcc-a57a55dec3932d7d7ea08886300dc23fd2db4058.tar.bz2 |
* cp-tree.h, error.c: Fix comment typos.
From-SVN: r123846
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 2 | ||||
-rw-r--r-- | gcc/cp/error.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9d0ac8cc..a0b9bd2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 68d8f5a..40911b5 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -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 diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 27bcecf..e393007 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -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"); |