[patch] ada/*.c: Fix comment typos.

Kazu Hirata kazu@codesourcery.com
Tue Oct 3 16:29:00 GMT 2006


Hi,

Committed as obvious.

Kazu Hirata

2006-10-03  Kazu Hirata  <kazu@codesourcery.com>

	* decl.c, utils.c: Fix comment typos.

Index: ada/decl.c
===================================================================
--- ada/decl.c	(revision 117403)
+++ ada/decl.c	(working copy)
@@ -2440,7 +2440,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entit
 	       To break the circle we first build a dummy COMPONENT_REF which
 	       represents the "get to the parent" operation and initialize
 	       each of those discriminants to a COMPONENT_REF of the above
-	       dummy parent referencing the corresponding discrimant of the
+	       dummy parent referencing the corresponding discriminant of the
 	       base type of the parent subtype.  */
 	    gnu_get_parent = build3 (COMPONENT_REF, void_type_node,
 				     build0 (PLACEHOLDER_EXPR, gnu_type),
Index: ada/utils.c
===================================================================
--- ada/utils.c	(revision 117403)
+++ ada/utils.c	(working copy)
@@ -84,7 +84,7 @@ static tree handle_const_attribute (tree
 static tree handle_nothrow_attribute (tree *, tree, tree, int, bool *);
 
 /* Table of machine-independent internal attributes for Ada.  We support
-   this minimal set ot attributes to accomodate the Alpha back-end which
+   this minimal set ot attributes to accommodate the Alpha back-end which
    unconditionally puts them on its builtins.  */
 const struct attribute_spec gnat_internal_attribute_table[] =
 {



More information about the Gcc-patches mailing list