* decl.c: Fix typos.
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Mon, 5 May 2003 13:26:50 +0000 (13:26 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Mon, 5 May 2003 13:26:50 +0000 (13:26 +0000)
From-SVN: r66477

gcc/cp/ChangeLog
gcc/cp/decl.c

index 0a8d76daa741dac45986ef236dd6a8c346b1146b..f557fe297a89f6ba45fa2dd9e3e7bb7a4b76d934 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-05  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
+
+       * decl.c: Fix typos.
+
 2003-05-05  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
        PR c++/4494
index 34f82bd9d08fc3691c56466cc06a83416a5186d6..225f4154834664444d144c46bb1837922e9f014f 100644 (file)
@@ -1392,7 +1392,7 @@ poplevel (int keep, int reverse, int functionbody)
                 there only for backward compatibility.  */
              DECL_DEAD_FOR_LOCAL (link) = 1;
 
-             /* Keep track of what should of have happenned when we
+             /* Keep track of what should of have happened when we
                 popped the binding.  */
              if (outer_binding && BINDING_VALUE (outer_binding))
                DECL_SHADOWED_FOR_VAR (link)
@@ -2950,7 +2950,7 @@ duplicate_decls (tree newdecl, tree olddecl)
          SET_DECL_RTL (olddecl, DECL_RTL (newdecl));
        }
       /* Even if the types match, prefer the new declarations type
-        for anitipated built-ins, for exception lists, etc...  */
+        for anticipated built-ins, for exception lists, etc...  */
       else if (DECL_ANTICIPATED (olddecl))
        TREE_TYPE (olddecl) = TREE_TYPE (newdecl);
 
@@ -3242,7 +3242,7 @@ duplicate_decls (tree newdecl, tree olddecl)
          && TYPE_LANG_SPECIFIC (newtype) && TYPE_LANG_SPECIFIC (oldtype))
        CLASSTYPE_FRIEND_CLASSES (newtype)
          = CLASSTYPE_FRIEND_CLASSES (oldtype);
-\
+
       DECL_ORIGINAL_TYPE (newdecl) = DECL_ORIGINAL_TYPE (olddecl);
     }