diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2006-05-28 17:53:11 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2006-05-28 17:53:11 +0000 |
commit | ddd0b831ebc6cebb6950b3b7b00348f6bdd47c86 (patch) | |
tree | 5925e6d3c7b082ef91873cbdcb55340f4bb07aae /gcc | |
parent | 6fc0bb99a7d0fcedd1b345da14d4dd16926b5458 (diff) | |
download | gcc-ddd0b831ebc6cebb6950b3b7b00348f6bdd47c86.zip gcc-ddd0b831ebc6cebb6950b3b7b00348f6bdd47c86.tar.gz gcc-ddd0b831ebc6cebb6950b3b7b00348f6bdd47c86.tar.bz2 |
decl.c, [...]: Fix comment typos.
* decl.c, decl2.c, parser.c: Fix comment typos. Follow
spelling conventions.
From-SVN: r114169
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/decl.c | 2 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 2 | ||||
-rw-r--r-- | gcc/cp/parser.c | 2 |
4 files changed, 8 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 45d25bb..ebbca93 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2006-05-28 Kazu Hirata <kazu@codesourcery.com> + + * decl.c, decl2.c, parser.c: Fix comment typos. Follow + spelling conventions. + 2006-05-24 Mark Mitchell <mark@codesourcery.com> PR c++/20103 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index fef09ed..5178bdf 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -217,7 +217,7 @@ struct named_label_entry GTY(()) /* The following bits are set after the label is defined, and are updated as scopes are popped. They indicate that a backward jump - to the label will illegally enter a scope of the given flavour. */ + to the label will illegally enter a scope of the given flavor. */ bool in_try_scope; bool in_catch_scope; bool in_omp_scope; diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index c0bea8c..0949944 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -2106,7 +2106,7 @@ start_objects (int method_type, int initp) /* We cannot allow these functions to be elided, even if they do not have external linkage. And, there's no point in deferring - compilation of thes functions; they're all going to have to be + compilation of these functions; they're all going to have to be out anyhow. */ DECL_INLINE (current_function_decl) = 0; DECL_UNINLINABLE (current_function_decl) = 1; diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 74934fb..60a53c8 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -13107,7 +13107,7 @@ cp_parser_class_head (cp_parser* parser, define a class that has already been declared with this syntax. - The proposed resolution for Core Issue 180 says that whever + The proposed resolution for Core Issue 180 says that wherever you see `class T::X' you should treat `X' as a type-name. It is OK to define an inaccessible class; for example: |