cp-tree.h (access_kind): Fix comment typo.

* cp-tree.h (access_kind): Fix comment typo.
	* decl2.c (grokfield): Fix diagnostic typo.
	* semantics.c (finish_template_type): Fix comment typo.
	(finish_qualified_object_call_expr): Likewise.

From-SVN: r36722
This commit is contained in:
Nathan Sidwell 2000-10-05 08:41:44 +00:00 committed by Nathan Sidwell
parent b2f9816ffd
commit 509fc2779a
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2000-10-05 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.h (access_kind): Fix comment typo.
* decl2.c (grokfield): Fix diagnostic typo.
* semantics.c (finish_template_type): Fix comment typo.
(finish_qualified_object_call_expr): Likewise.
2000-10-05 Nathan Sidwell <nathan@codesourcery.com>
* pt.c (tsubst_expr, DECL_STMT case): Don't process if

View File

@ -3126,7 +3126,7 @@ typedef enum tmpl_spec_kind {
/* The various kinds of access. BINFO_ACCESS depends on these being
two bit quantities. The numerical values are important; they are
used to initialize RTTI data structures, so chaning them changes
used to initialize RTTI data structures, so changing them changes
the ABI. */
typedef enum access_kind {
ak_none = 0, /* Inaccessible. */

View File

@ -1652,7 +1652,7 @@ grokfield (declarator, declspecs, init, asmspec_tree, attrlist)
Explain that to the user. */
static int explained;
cp_error ("invalid data member initiailization");
cp_error ("invalid data member initialization");
if (!explained)
{
cp_error ("(use `=' to initialize static data members)");

View File

@ -1430,7 +1430,7 @@ finish_object_call_expr (fn, object, args)
}
/* Finish a qualified member function call using OBJECT and ARGS as
arguments to FN. Returns an expressino for the call. */
arguments to FN. Returns an expression for the call. */
tree
finish_qualified_object_call_expr (fn, object, args)
@ -2007,7 +2007,7 @@ finish_template_decl (parms)
end_specialization ();
}
/* Finish processing a a template-id (which names a type) of the form
/* Finish processing a template-id (which names a type) of the form
NAME < ARGS >. Return the TYPE_DECL for the type named by the
template-id. If ENTERING_SCOPE is non-zero we are about to enter
the scope of template-id indicated. */