[patch] cp/*.c: Fix comment typos.
Kazu Hirata
kazu@codesourcery.com
Sun May 28 19:06:00 GMT 2006
Hi,
Committed as obvious.
Kazu Hirata
2006-05-28 Kazu Hirata <kazu@codesourcery.com>
* decl.c, decl2.c, parser.c: Fix comment typos. Follow
spelling conventions.
Index: cp/decl.c
===================================================================
--- cp/decl.c (revision 114167)
+++ cp/decl.c (working copy)
@@ -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;
Index: cp/decl2.c
===================================================================
--- cp/decl2.c (revision 114167)
+++ cp/decl2.c (working copy)
@@ -2106,7 +2106,7 @@ start_objects (int method_type, int init
/* 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;
Index: cp/parser.c
===================================================================
--- cp/parser.c (revision 114167)
+++ cp/parser.c (working copy)
@@ -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:
More information about the Gcc-patches
mailing list