diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-02-06 11:12:45 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-05 08:17:52 -0400 |
commit | bf44027a464e71142999f1ba454469fc80453fd9 (patch) | |
tree | a874058cce725992b80cacbfe8e3fbe002779fbe | |
parent | 32115be843e3d7bd344b1e899deee27aef9a3b65 (diff) | |
download | gcc-bf44027a464e71142999f1ba454469fc80453fd9.zip gcc-bf44027a464e71142999f1ba454469fc80453fd9.tar.gz gcc-bf44027a464e71142999f1ba454469fc80453fd9.tar.bz2 |
[Ada] Fix punctuation in description of Enum_Rep attribute
2020-06-05 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* doc/gnat_rm/implementation_defined_attributes.rst (Enum_Rep):
Remove extra colon.
* gnat_rm.texi: Regenerate.
-rw-r--r-- | gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst | 2 | ||||
-rw-r--r-- | gcc/ada/gnat_rm.texi | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst b/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst index db75ea7..76bb157 100644 --- a/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst +++ b/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst @@ -353,7 +353,7 @@ enumeration literal or object. The function returns the representation value for the given enumeration value. This will be equal to value of the ``Pos`` attribute in the absence of an enumeration representation clause. This is a static -attribute (i.e.,:the result is static if the argument is static). +attribute (i.e., the result is static if the argument is static). ``S'Enum_Rep`` can also be used with integer types and objects, in which case it simply returns the integer value. The reason for this diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi index 5d98079..d601642 100644 --- a/gcc/ada/gnat_rm.texi +++ b/gcc/ada/gnat_rm.texi @@ -21,7 +21,7 @@ @copying @quotation -GNAT Reference Manual , May 04, 2020 +GNAT Reference Manual , May 05, 2020 AdaCore @@ -10469,7 +10469,7 @@ enumeration literal or object. The function returns the representation value for the given enumeration value. This will be equal to value of the @code{Pos} attribute in the absence of an enumeration representation clause. This is a static -attribute (i.e.,:the result is static if the argument is static). +attribute (i.e., the result is static if the argument is static). @code{S'Enum_Rep} can also be used with integer types and objects, in which case it simply returns the integer value. The reason for this |