* decl.c, tree.c: Fix comment typos.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Feb 2007 00:59:36 +0000 (00:59 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Feb 2007 00:59:36 +0000 (00:59 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122081 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 6e7f84f..a1f948d 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-18  Kazu Hirata  <kazu@codesourcery.com>
+
+       * decl.c, tree.c: Fix comment typos.
+
 2007-02-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
        PR C++/30158
index 2212254..9ad9e3a 100644 (file)
@@ -1065,7 +1065,7 @@ warn_extern_redeclared_static (tree newdecl, tree olddecl)
 
 /* NEW_DECL is a redeclaration of OLD_DECL; both are functions or
    function templates.  If their exception specifications do not
-   match, issue an a diagnostic.  */
+   match, issue a diagnostic.  */
 
 static void
 check_redeclaration_exception_specification (tree new_decl,
@@ -4729,7 +4729,7 @@ check_initializer (tree decl, tree init, int flags, tree *cleanup)
          error ("elements of array %q#D have incomplete type", decl);
          return NULL_TREE;
        }
-      /* It is not valid to initialize an a VLA.  */
+      /* It is not valid to initialize a VLA.  */
       if (init
          && ((COMPLETE_TYPE_P (type) && !TREE_CONSTANT (TYPE_SIZE (type)))
              || !TREE_CONSTANT (TYPE_SIZE (element_type))))
index 7c5a4dc..a5fac29 100644 (file)
@@ -1033,7 +1033,7 @@ build_qualified_name (tree type, tree scope, tree name, bool template_p)
    function.  If "f" is a function or function template, "f", "c->f",
    "c.f", "C::f", and "f<int>" will all be considered possibly
    overloaded functions.  Returns 2 if the function is actually
-   overloaded, i.e., if it is impossible to know the the type of the
+   overloaded, i.e., if it is impossible to know the type of the
    function without performing overload resolution.  */
  
 int