summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-05 08:41:44 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-05 08:41:44 +0000
commit9abe66a77ccab7e9ed4178b9840186fefacf36ff (patch)
treed8bf0991543309573777795e8917ecc6007b1833
parent21e0fe6156e1100c79beb92299b60d2c1be634b1 (diff)
downloadppe42-gcc-9abe66a77ccab7e9ed4178b9840186fefacf36ff.tar.gz
ppe42-gcc-9abe66a77ccab7e9ed4178b9840186fefacf36ff.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36722 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/ChangeLog7
-rw-r--r--gcc/cp/cp-tree.h2
-rw-r--r--gcc/cp/decl2.c2
-rw-r--r--gcc/cp/semantics.c4
4 files changed, 11 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 960f17d0309..34389c50c9c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,12 @@
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
tsubsting fails.
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 2516e89532a..1156495f22b 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -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. */
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index a9dc4132fa3..42493ade77f 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -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)");
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 2f4432f5a18..5c5756775e8 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -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. */
OpenPOWER on IntegriCloud