From bf44027a464e71142999f1ba454469fc80453fd9 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Thu, 6 Feb 2020 11:12:45 +0100 Subject: [PATCH] [Ada] Fix punctuation in description of Enum_Rep attribute 2020-06-05 Piotr Trojanek gcc/ada/ * doc/gnat_rm/implementation_defined_attributes.rst (Enum_Rep): Remove extra colon. * gnat_rm.texi: Regenerate. --- gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst | 2 +- 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 db75ea73d8b..76bb1575411 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 5d98079e94f..d6016425c5b 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 -- 2.30.2