]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix layout of GNAT reference manual section
authorRonan Desplanques <desplanques@adacore.com>
Fri, 5 Jul 2024 08:52:58 +0000 (10:52 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 2 Aug 2024 07:08:03 +0000 (09:08 +0200)
gcc/ada/

* doc/gnat_rm/gnat_language_extensions.rst: Fix layout of section.
* gnat_rm.texi: Regenerate.
* gnat_ugn.texi: Regenerate.

gcc/ada/doc/gnat_rm/gnat_language_extensions.rst
gcc/ada/gnat_rm.texi
gcc/ada/gnat_ugn.texi

index 0f001c4aca9144800cd825549c9e1c527a6ebbd1..efda4afb7427b52373598d8b1a01038941c1232e 100644 (file)
@@ -53,8 +53,6 @@ A basic_declarative_item may appear at the place of any statement.
 This avoids the heavy syntax of block_statements just to declare
 something locally.
 
-Link to the original RFC:
-https://github.com/AdaCore/ada-spark-rfcs/blob/master/prototyped/rfc-local-vars-without-block.md
 For example:
 
 .. code-block:: ada
@@ -67,6 +65,9 @@ For example:
       X := X + Squared;
    end if;
 
+Link to the original RFC:
+https://github.com/AdaCore/ada-spark-rfcs/blob/master/prototyped/rfc-local-vars-without-block.md
+
 Conditional when constructs
 ---------------------------
 
index b27bd627c17f5ee7b3b671a71dc43cc2efa5fb17..d15d6204cd8f36e485ac1eeaae3a6c81304c5876 100644 (file)
@@ -28850,8 +28850,6 @@ A basic_declarative_item may appear at the place of any statement.
 This avoids the heavy syntax of block_statements just to declare
 something locally.
 
-Link to the original RFC:
-@indicateurl{https://github.com/AdaCore/ada-spark-rfcs/blob/master/prototyped/rfc-local-vars-without-block.md}
 For example:
 
 @example
@@ -28864,6 +28862,9 @@ if X > 5 then
 end if;
 @end example
 
+Link to the original RFC:
+@indicateurl{https://github.com/AdaCore/ada-spark-rfcs/blob/master/prototyped/rfc-local-vars-without-block.md}
+
 @node Conditional when constructs,Fixed lower bounds for array types and subtypes,Local Declarations Without Block,Curated Extensions
 @anchor{gnat_rm/gnat_language_extensions conditional-when-constructs}@anchor{443}
 @subsection Conditional when constructs
index ea1d2f9d71a8c922b277cef76f20b827105ccb90..0e3ee935552d6c26f65c4c14fcd797d7ef7683a6 100644 (file)
@@ -29670,8 +29670,8 @@ to permit their use in free software.
 
 @printindex ge
 
-@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 @anchor{d1}@w{                              }
+@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 
 @c %**end of body
 @bye