[COMMITTED] ada: Fix minor documentation formatting issue

Message ID 20230515094310.1408030-1-poulhies@adacore.com
State Accepted
Headers
Series [COMMITTED] ada: Fix minor documentation formatting issue |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Marc Poulhiès May 15, 2023, 9:43 a.m. UTC
  From: Ronan Desplanques <desplanques@adacore.com>

gcc/ada/

	* doc/gnat_rm/implementation_defined_characteristics.rst: Fix
	minor documentation formatting issue.
	* gnat_rm.texi: Regenerate.
	* gnat_ugn.texi: Regenerate.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 .../gnat_rm/implementation_defined_characteristics.rst    | 6 +++---
 gcc/ada/gnat_rm.texi                                      | 8 ++++++++
 gcc/ada/gnat_ugn.texi                                     | 2 +-
 3 files changed, 12 insertions(+), 4 deletions(-)
  

Patch

diff --git a/gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst b/gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst
index fb6a63ced2c..0d3f340f1c7 100644
--- a/gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst
+++ b/gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst
@@ -820,7 +820,7 @@  This definition is determined by the underlying operating system.
   "The circumstances where an environment variable cannot be defined.
   See A.17(16)."
 
-  There are no such implementation-defined circumstances.
+There are no such implementation-defined circumstances.
 
 *
   "Environment names for which Set has the effect of Clear.  See A.17(17)."
@@ -1154,8 +1154,8 @@  Execution is erroneous in that case.
 * "Whether the use of pragma Restrictions results in a reduction in program
   code or data size or execution time.  See D.7(20)."
 
-  Yes it can, but the precise circumstances and properties of such reductions
-  are difficult to characterize.
+Yes it can, but the precise circumstances and properties of such reductions
+are difficult to characterize.
 
 *
   "The value of Barrier_Limit'Last in Synchronous_Barriers.  See D.10.1(4)."
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
index 81b36b87288..5e05287d6d8 100644
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -17255,9 +17255,13 @@  This definition is determined by the underlying operating system.
 @item 
 “The circumstances where an environment variable cannot be defined.
 See A.17(16).”
+@end itemize
 
 There are no such implementation-defined circumstances.
 
+
+@itemize *
+
 @item 
 “Environment names for which Set has the effect of Clear.  See A.17(17).”
 @end itemize
@@ -17920,10 +17924,14 @@  Execution is erroneous in that case.
 @item 
 “Whether the use of pragma Restrictions results in a reduction in program
 code or data size or execution time.  See D.7(20).”
+@end itemize
 
 Yes it can, but the precise circumstances and properties of such reductions
 are difficult to characterize.
 
+
+@itemize *
+
 @item 
 “The value of Barrier_Limit’Last in Synchronous_Barriers.  See D.10.1(4).”
 @end itemize
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 134a42e3df9..e8512cb0471 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -29433,8 +29433,8 @@  to permit their use in free software.
 
 @printindex ge
 
-@anchor{cf}@w{                              }
 @anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
+@anchor{cf}@w{                              }
 
 @c %**end of body
 @bye