cp-tree.h (access_kind): Fix comment typo.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 5 Oct 2000 08:41:44 +0000 (08:41 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 5 Oct 2000 08:41:44 +0000 (08:41 +0000)
* 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

gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/semantics.c

index 960f17d03098ccdf88309f69f34715710e361b45..34389c50c9c0e900671ab2f39a1b26c1bf7bf1e1 100644 (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
index 2516e89532a0ed074db883465d7dd06f5d83c9ef..1156495f22bc5c348fe706df3639e64cd38ee58c 100644 (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.  */
index a9dc4132fa3bbae9e260a4b3b45b80977f54f6bb..42493ade77f21f86670f3a76e9127e3f813251ed 100644 (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)");
index 2f4432f5a18a6c14211747b1af1078dd9bd3c1d8..5c5756775e8f4da1eb95946a1810aaa48b3c4e55 100644 (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 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.  */