+2005-04-10 Kazu Hirata <kazu@cs.umass.edu>
+
+ * adaint.c, init.c, tracebak.c: Fix comment typos.
+ * gnat-style.texi, gnat_rm.texi, gnat_ugn.texi: Fix typos.
+
2005-04-07 Laurent GUERBY <laurent@guerby.net>
John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
*next = 0;
ile_array[i].len = strlen (curr);
- /* Code 2 from lnmdef.h means its a string. */
+ /* Code 2 from lnmdef.h means it's a string. */
ile_array[i].code = 2;
ile_array[i].adr = curr;
}
/* Translate a VMS syntax file specification into Unix syntax.
- If no indicators of VMS syntax found, check if its an uppercase
+ If no indicators of VMS syntax found, check if it's an uppercase
alphanumeric_ name and if so try it out as an environment
variable (logical name). If all else fails return the
input string. */
@node Declarations and Types, Expressions and Names, Lexical Elements,Top
@section Declarations and Types
@c -------------------------------------------------------------------------
-@cindex Declarationa and Types
+@cindex Declarations and Types
@itemize @bullet
@item
@ref{Obsolescent Features} documents implementation dependent features,
including pragmas and attributes, which are considered obsolescent, since
there are other preferred ways of achieving the same results. These
-obsolescent forms are retained for backwards compatibilty.
+obsolescent forms are retained for backwards compatibility.
@end itemize
@node System.Partition_Interface (s-parint.ads)
@section @code{System.Partition_Interface} (@file{s-parint.ads})
@cindex @code{System.Partition_Interface} (@file{s-parint.ads})
-@cindex Partition intefacing functions
+@cindex Partition interfacing functions
@noindent
This package provides facilities for partition interfacing. It
predefined path; e.g., @code{"gnatls"}, @code{"powerpc-wrs-vxworks-gnatls"}.
@item VCS_Kind
-This is a simple atribute. Is value is a string used to specify the
+This is a simple attribute. Is value is a string used to specify the
Version Control System (VCS) to be used for this project, e.g CVS, RCS
ClearCase or Perforce.
@findex C varargs function
@cindex Intefacing to C varargs function
-@cindex varargs function intefacs
+@cindex varargs function interfaces
@item C varargs function
In C, @code{varargs} allows a function to take a variable number of
arguments. There is no direct equivalent in this to Ada. One
In addition to the above cases, warnings are also generated for
GNAT features that have been provided in past versions but which
-have been superceded (typically by features in the new Ada standard).
+have been superseded (typically by features in the new Ada standard).
For example, @code{pragma Ravenscar} will be flagged since its
function is replaced by @code{pragma Profile(Ravenscar)}.
for all iterations of the loop and avoid the extra memory reference
required to dereference it each time through the loop.
-This kind of optimziation, called strict aliasing analysis, is
+This kind of optimization, called strict aliasing analysis, is
triggered by specifying an optimization level of @option{-O2} or
higher and allows @code{GNAT} to generate more efficient code
when access values are involved.
The @code{Library_Name} attribute has a string value. There is no restriction
on the name of a library. It is the responsability of the developer to
-choose a name that will be accepted by the platform. It is recommanded to
+choose a name that will be accepted by the platform. It is recommended to
choose names that could be Ada identifiers; such names are almost guaranteed
to be acceptable on all platforms.
@item
if the whole name does not contain any ``_'' inside, and if for this name
-the dictionaty contains two entries - one of the form @var{identifier},
+the dictionary contains two entries - one of the form @var{identifier},
and another - of the form *@var{simple_identifier}*, then the first one
is applied to define the casing of this name
@cindex @option{^-v^/VERBOSE^} (@code{gnatmetric})
Verbose mode;
@command{gnatmetric} generates version information and then
-a trace of sources being procesed.
+a trace of sources being processed.
@item ^-dv^/DEBUG_OUTPUT^
@cindex @option{^-dv^/DEBUG_OUTPUT^} (@code{gnatmetric})
still need to be handled by such handlers, however, in which case
__gnat_error_handler needs to return SS$_RESIGNAL. Consider for
instance the use of a third party library compiled with DECAda and
- performing it's own exception handling internally.
+ performing its own exception handling internally.
To allow some user-level flexibility, which conditions should be
resignaled is controlled by a predicate function, provided with the
function is located in it's caller's frame, and the save operation only
takes place if the function performs a call.
- To have __gnat_backtrace retrieve it's own return address, we then
+ To have __gnat_backtrace retrieve its own return address, we then
define ... */
#define FORCE_CALL