public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/guojiufu/heads/personal-branch)] [Ada] Fix punctuation in description of Enum_Rep attribute
@ 2020-06-10 3:41 Jiu Fu Guo
0 siblings, 0 replies; only message in thread
From: Jiu Fu Guo @ 2020-06-10 3:41 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:bf44027a464e71142999f1ba454469fc80453fd9
commit bf44027a464e71142999f1ba454469fc80453fd9
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Thu Feb 6 11:12:45 2020 +0100
[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.
Diff:
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-10 3:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10 3:41 [gcc(refs/users/guojiufu/heads/personal-branch)] [Ada] Fix punctuation in description of Enum_Rep attribute Jiu Fu Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).