Commit e69044cb by Ralf Wildenhues Committed by Ralf Wildenhues

re PR ada/15479 (Ada manual problems)

gcc/ada/:
PR documentation/15479
* gnat_ugn.texi: In non-code, avoid space before colon.
(Regular Expressions in gnatfind and gnatxref): Fix indentation.
(Examples of gnatxref Usage): Use @command{vi} instead of
@file{vi}.
(Character Set Control): Do not use @code for UTF-8.
(Validity Checking): Fix typo "NaNs" instead of "NaN's".  Do not
use @code for IEEE.
* gnat_rm.texi (Aggregates with static bounds): Fix typo in code
sample.
* gnat_rm.texi, gnat_ugn.texi: Fix typos.  Bump copyright years.

From-SVN: r132382
parent 923158be
2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR documentation/15479
* gnat_ugn.texi: In non-code, avoid space before colon.
(Regular Expressions in gnatfind and gnatxref): Fix indentation.
(Examples of gnatxref Usage): Use @command{vi} instead of
@file{vi}.
(Character Set Control): Do not use @code for UTF-8.
(Validity Checking): Fix typo "NaNs" instead of "NaN's". Do not
use @code for IEEE.
* gnat_rm.texi (Aggregates with static bounds): Fix typo in code
sample.
* gnat_rm.texi, gnat_ugn.texi: Fix typos. Bump copyright years.
2008-02-11 Joel Sherrill <joel.sherrill@oarcorp.com> 2008-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
PR ada/35143 PR ada/35143
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
@end direntry @end direntry
@copying @copying
Copyright @copyright{} 1995-2007, Free Software Foundation Copyright @copyright{} 1995-2007, 2008 Free Software Foundation
Permission is granted to copy, distribute and/or modify this document Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 under the terms of the GNU Free Documentation License, Version 1.2
...@@ -1745,7 +1745,7 @@ region as the function to which they apply. ...@@ -1745,7 +1745,7 @@ region as the function to which they apply.
pragma applies. If more than one function name exists of this name in pragma applies. If more than one function name exists of this name in
the declarative part you must use the @code{Parameter_Types} and the declarative part you must use the @code{Parameter_Types} and
@code{Result_Type} parameters is mandatory to achieve the required @code{Result_Type} parameters is mandatory to achieve the required
unique designation. @var{subtype_ mark}s in these parameters must unique designation. @var{subtype_mark}s in these parameters must
exactly match the subtypes in the corresponding function specification, exactly match the subtypes in the corresponding function specification,
using positional notation to match parameters with subtype marks. using positional notation to match parameters with subtype marks.
The form with an @code{'Access} attribute can be used to match an The form with an @code{'Access} attribute can be used to match an
...@@ -3151,7 +3151,7 @@ the compiler as indicating that no body is logically present. ...@@ -3151,7 +3151,7 @@ the compiler as indicating that no body is logically present.
This is particularly useful during maintenance when a package is modified in This is particularly useful during maintenance when a package is modified in
such a way that a body needed before is no longer needed. The provision of a such a way that a body needed before is no longer needed. The provision of a
dummy body with a No_Body pragma ensures that there is no inteference from dummy body with a No_Body pragma ensures that there is no interference from
earlier versions of the package body. earlier versions of the package body.
@node Pragma No_Return @node Pragma No_Return
...@@ -7157,7 +7157,7 @@ See separate section on source representation. ...@@ -7157,7 +7157,7 @@ See separate section on source representation.
length. See 2.2(15). length. See 2.2(15).
@end cartouche @end cartouche
@noindent @noindent
The maximum line length is 255 characters an the maximum length of a The maximum line length is 255 characters and the maximum length of a
lexical element is also 255 characters. lexical element is also 255 characters.
@sp 1 @sp 1
...@@ -7921,7 +7921,7 @@ or by rejecting any construct that would otherwise generate an implicit ...@@ -7921,7 +7921,7 @@ or by rejecting any construct that would otherwise generate an implicit
@code{for} loop. If this restriction is active, it is possible to build @code{for} loop. If this restriction is active, it is possible to build
large array aggregates with all static components without generating an large array aggregates with all static components without generating an
intermediate temporary, and without generating a loop to initialize individual intermediate temporary, and without generating a loop to initialize individual
components..Otherwise, a loop is created for arrays larger than about 5000 components. Otherwise, a loop is created for arrays larger than about 5000
scalar components. scalar components.
@item No_Initialize_Scalars @item No_Initialize_Scalars
...@@ -8355,7 +8355,7 @@ pragma Linker_Options ("-labc" & ASCII.Nul & "-ldef"); ...@@ -8355,7 +8355,7 @@ pragma Linker_Options ("-labc" & ASCII.Nul & "-ldef");
causes two separate arguments @code{-labc} and @code{-ldef} to be passed to the causes two separate arguments @code{-labc} and @code{-ldef} to be passed to the
linker. The order of linker options is preserved for a given unit. The final linker. The order of linker options is preserved for a given unit. The final
list of options passed to the linker is in reverse order of the elaboration list of options passed to the linker is in reverse order of the elaboration
order. For example, linker options fo a body always appear before the options order. For example, linker options for a body always appear before the options
from the corresponding package spec. from the corresponding package spec.
@sp 1 @sp 1
...@@ -13360,7 +13360,7 @@ for hexadecimal literals. ...@@ -13360,7 +13360,7 @@ for hexadecimal literals.
@cindex @code{GNAT.Decode_String} (@file{g-decstr.ads}) @cindex @code{GNAT.Decode_String} (@file{g-decstr.ads})
@cindex Decoding strings @cindex Decoding strings
@cindex String decoding @cindex String decoding
@cindex Wide chararacter encoding @cindex Wide character encoding
@cindex UTF-8 @cindex UTF-8
@cindex Unicode @cindex Unicode
...@@ -13370,7 +13370,7 @@ character strings encoded as sequences of 8-bit characters using a specified ...@@ -13370,7 +13370,7 @@ character strings encoded as sequences of 8-bit characters using a specified
encoding method. Includes validation routines, and also routines for stepping encoding method. Includes validation routines, and also routines for stepping
to next or previous encoded character in an encoded string. to next or previous encoded character in an encoded string.
Useful in conjunction with Unicode character coding. Note there is a Useful in conjunction with Unicode character coding. Note there is a
preinstiation for UTF-8. See next entry. preinstantiation for UTF-8. See next entry.
@node GNAT.Decode_UTF8_String (g-deutst.ads) @node GNAT.Decode_UTF8_String (g-deutst.ads)
@section @code{GNAT.Decode_UTF8_String} (@file{g-deutst.ads}) @section @code{GNAT.Decode_UTF8_String} (@file{g-deutst.ads})
...@@ -13378,12 +13378,12 @@ preinstiation for UTF-8. See next entry. ...@@ -13378,12 +13378,12 @@ preinstiation for UTF-8. See next entry.
@cindex Decoding strings @cindex Decoding strings
@cindex Decoding UTF-8 strings @cindex Decoding UTF-8 strings
@cindex UTF-8 string decoding @cindex UTF-8 string decoding
@cindex Wide chararacter decoding @cindex Wide character decoding
@cindex UTF-8 @cindex UTF-8
@cindex Unicode @cindex Unicode
@noindent @noindent
A preinstantion of GNAT.Decode_Strings for UTF-8 encoding. A preinstantiation of GNAT.Decode_Strings for UTF-8 encoding.
@node GNAT.Directory_Operations (g-dirope.ads) @node GNAT.Directory_Operations (g-dirope.ads)
@section @code{GNAT.Directory_Operations} (@file{g-dirope.ads}) @section @code{GNAT.Directory_Operations} (@file{g-dirope.ads})
...@@ -13441,7 +13441,7 @@ dynamic instances of the table, while an instantiation of ...@@ -13441,7 +13441,7 @@ dynamic instances of the table, while an instantiation of
@cindex @code{GNAT.Encode_String} (@file{g-encstr.ads}) @cindex @code{GNAT.Encode_String} (@file{g-encstr.ads})
@cindex Encoding strings @cindex Encoding strings
@cindex String encoding @cindex String encoding
@cindex Wide chararacter encoding @cindex Wide character encoding
@cindex UTF-8 @cindex UTF-8
@cindex Unicode @cindex Unicode
...@@ -13449,7 +13449,7 @@ dynamic instances of the table, while an instantiation of ...@@ -13449,7 +13449,7 @@ dynamic instances of the table, while an instantiation of
A generic package providing routines for encoding wide character and wide A generic package providing routines for encoding wide character and wide
wide character strings as sequences of 8-bit characters using a specified wide character strings as sequences of 8-bit characters using a specified
encoding method. Useful in conjunction with Unicode character coding. encoding method. Useful in conjunction with Unicode character coding.
Note there is a preinstiation for UTF-8. See next entry. Note there is a preinstantiation for UTF-8. See next entry.
@node GNAT.Encode_UTF8_String (g-enutst.ads) @node GNAT.Encode_UTF8_String (g-enutst.ads)
@section @code{GNAT.Encode_UTF8_String} (@file{g-enutst.ads}) @section @code{GNAT.Encode_UTF8_String} (@file{g-enutst.ads})
...@@ -13457,12 +13457,12 @@ Note there is a preinstiation for UTF-8. See next entry. ...@@ -13457,12 +13457,12 @@ Note there is a preinstiation for UTF-8. See next entry.
@cindex Encoding strings @cindex Encoding strings
@cindex Encoding UTF-8 strings @cindex Encoding UTF-8 strings
@cindex UTF-8 string encoding @cindex UTF-8 string encoding
@cindex Wide chararacter encoding @cindex Wide character encoding
@cindex UTF-8 @cindex UTF-8
@cindex Unicode @cindex Unicode
@noindent @noindent
A preinstantion of GNAT.Encode_Strings for UTF-8 encoding. A preinstantiation of GNAT.Encode_Strings for UTF-8 encoding.
@node GNAT.Exception_Actions (g-excact.ads) @node GNAT.Exception_Actions (g-excact.ads)
@section @code{GNAT.Exception_Actions} (@file{g-excact.ads}) @section @code{GNAT.Exception_Actions} (@file{g-excact.ads})
...@@ -14876,7 +14876,7 @@ generate the equivalent of ...@@ -14876,7 +14876,7 @@ generate the equivalent of
Cr_Var1 (4) := 11; Cr_Var1 (4) := 11;
for I in Cr_Var2'range loop for I in Cr_Var2'range loop
Cr_Var2 (I) := =-1; Cr_Var2 (I) := -1;
end loop; end loop;
@end smallexample @end smallexample
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment