This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] ada/*: Fix comment typos.


Hi,

Committed as obvious.

Kazu Hirata

2006-12-02  Kazu Hirata  <kazu@codesourcery.com>

	* Makefile.in, mingw32.h, trans.c: Fix comment typos.
	* gnat_rm.texi, gnat_ugn.texi: Follow spelling conventions.
	Fix typos.

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 119436)
+++ Makefile.in	(working copy)
@@ -1428,7 +1428,7 @@ ifneq ($(EH_MECHANISM),)
 endif
 
 # Use the Ada 2005 version of Ada.Exceptions by default, unless specified
-# explicitely already. The base files (a-except.ad?) are used only for building
+# explicitly already. The base files (a-except.ad?) are used only for building
 # the compiler and other basic tools.
 # These base versions lack Ada 2005 additions which would cause bootstrap
 # problems if included in the compiler and other basic tools.
Index: gnat_rm.texi
===================================================================
--- gnat_rm.texi	(revision 119436)
+++ gnat_rm.texi	(working copy)
@@ -5136,7 +5136,7 @@ prefix) provides the same value as @code
 @findex Stub_Type
 @noindent
 The GNAT implementation of remote access-to-classwide types is
-organised as described in AARM section E.4 (20.t): a value of an RACW type
+organized as described in AARM section E.4 (20.t): a value of an RACW type
 (designating a remote object) is represented as a normal access
 value, pointing to a "stub" object which in turn contains the
 necessary information to contact the designated remote object. A
@@ -10522,7 +10522,7 @@ when one of these values is read, any no
 For 64-bit OpenVMS systems, access types (other than those for unconstrained
 arrays) are 64-bits long. An exception to this rule is for the case of
 C-convention access types where there is no explicit size clause present (or
-inheritied for derived types). In this case, GNAT chooses to make these
+inherited for derived types). In this case, GNAT chooses to make these
 pointers 32-bits, which provides an easier path for migration of 32-bit legacy
 code. size clause specifying 64-bits must be used to obtain a 64-bit pointer.
 
@@ -11754,7 +11754,7 @@ is only used for wide characters with a 
 
 Note that brackets coding is not normally used in the context of
 Wide_Text_IO or Wide_Wide_Text_IO, since it is really just designed as
-a portable way of encoding source files. In the contect of Wide_Text_IO
+a portable way of encoding source files. In the context of Wide_Text_IO
 or Wide_Wide_Text_IO, it can only be used if the file does not contain
 any instance of the left bracket character other than to encode wide
 character values using the brackets encoding method. In practice it is
Index: gnat_ugn.texi
===================================================================
--- gnat_ugn.texi	(revision 119436)
+++ gnat_ugn.texi	(working copy)
@@ -4674,7 +4674,7 @@ A range in a @code{for} loop that is kno
 @noindent
 The following section lists compiler switches that are available
 to control the handling of warning messages. It is also possible
-to excercise much finer control over what warnings are issued and
+to exercise much finer control over what warnings are issued and
 suppressed using the GNAT pragma Warnings, which is documented
 in the GNAT Reference manual.
 
Index: mingw32.h
===================================================================
--- mingw32.h	(revision 119436)
+++ mingw32.h	(working copy)
@@ -48,7 +48,7 @@
 
 #else
 
-/*  Older MingW versions have no defintion for _tfreopen, add it here to have a
+/*  Older MingW versions have no definition for _tfreopen, add it here to have a
     proper build without unicode support.  */
 #ifndef _tfreopen
 #define _tfreopen   freopen
Index: trans.c
===================================================================
--- trans.c	(revision 119436)
+++ trans.c	(working copy)
@@ -1199,7 +1199,7 @@ Case_Statement_to_gnu (Node_Id gnat_node
 
          /* If the case value is a subtype that raises Constraint_Error at
              run-time because of a wrong bound, then gnu_low or gnu_high
-             is not transtaleted into an INTEGER_CST.  In such a case, we need
+             is not translated into an INTEGER_CST.  In such a case, we need
              to ensure that the when statement is not added in the tree,
              otherwise it will crash the gimplifier.  */
          if ((!gnu_low || TREE_CODE (gnu_low) == INTEGER_CST)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]