+2004-01-31 Kazu Hirata <kazu@cs.umass.edu>
+
+ * class.c: Fix comment typos.
+ * decl.c: Likewise.
+ * error.c: Likewise.
+ * parser.c: Likewise.
+ * pt.c: Likewise.
+ * search.c: Likewise.
+ * typeck.c: Likewise.
+
2004-01-30 Richard Henderson <rth@redhat.com>
PR c++/13693
alter_access (t, fdecl, access);
}
\f
-/* Run through the base clases of T, updating
+/* Run through the base classes of T, updating
CANT_HAVE_DEFAULT_CTOR_P, CANT_HAVE_CONST_CTOR_P, and
NO_CONST_ASN_REF_P. Also set flag bits in T based on properties of
the bases. */
error ("invalid in-class initialization of static data member of non-integral type `%T'",
type);
/* If we just return the declaration, crashes will sometimes
- occur. We therefore return void_type_node, as if this was a
+ occur. We therefore return void_type_node, as if this were a
friend declaration, to cause callers to completely ignore
this declaration. */
return 1;
default:
pp_unsupported_tree (cxx_pp, t);
- /* Fallthrough to error. */
+ /* Fall through to error. */
case ERROR_MARK:
pp_identifier (cxx_pp, "<declaration error>");
typedef enum cp_parser_declarator_kind
{
- /* We want an abstract declartor. */
+ /* We want an abstract declarator. */
CP_PARSER_DECLARATOR_ABSTRACT,
/* We want a named declarator. */
CP_PARSER_DECLARATOR_NAMED,
break;
}
}
- /* It is not uncommon to see programs mechanically, errouneously, use
+ /* It is not uncommon to see programs mechanically, erroneously, use
the 'typename' keyword to denote (dependent) qualified types
as base classes. */
if (cp_lexer_next_token_is_keyword (parser->lexer, RID_TYPENAME))
parser->object_scope = NULL_TREE;
}
-/* Add tokens to CACHE until an non-nested END token appears. */
+/* Add tokens to CACHE until a non-nested END token appears. */
static void
cp_parser_cache_group (cp_parser *parser,
If there was a definition for the template, but
not for the specialization, we want this to
- look as if there is no definition, and vice
+ look as if there were no definition, and vice
versa. */
DECL_INITIAL (fn) = NULL_TREE;
duplicate_decls (spec, fn);
{
case USING_DECL:
t = DECL_NAME (t);
- /* Fallthrough. */
+ /* Fall through. */
case IDENTIFIER_NODE:
{
tree decl;
case bk_same_type:
bk = bk_proper_base;
- /* FALLTHROUGH */
+ /* Fall through. */
case bk_proper_base:
my_friendly_assert (found == bk_not_base, 20010723);
found = bk;
given by CST.
??? There is no consistency as to the types returned for the above
- values. Some code acts as if its a sizetype and some as if its
+ values. Some code acts as if it were a sizetype and some as if it were
integer_type_node. */
void