diff options
author | Ronan Desplanques <desplanques@adacore.com> | 2024-07-05 10:52:58 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-08-02 09:08:03 +0200 |
commit | b1dc668b71bf64046b65b508f43157fcaa095ea9 (patch) | |
tree | 3cbef92294b56a8a64ee5d40b17c62ae5d7e0d8d /gcc/ada | |
parent | 058e5fd2bd1f18e2c1b6bd1fc02e77560d99f8e8 (diff) | |
download | gcc-b1dc668b71bf64046b65b508f43157fcaa095ea9.zip gcc-b1dc668b71bf64046b65b508f43157fcaa095ea9.tar.gz gcc-b1dc668b71bf64046b65b508f43157fcaa095ea9.tar.bz2 |
ada: Fix layout of GNAT reference manual section
gcc/ada/
* doc/gnat_rm/gnat_language_extensions.rst: Fix layout of section.
* gnat_rm.texi: Regenerate.
* gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/doc/gnat_rm/gnat_language_extensions.rst | 5 | ||||
-rw-r--r-- | gcc/ada/gnat_rm.texi | 5 | ||||
-rw-r--r-- | gcc/ada/gnat_ugn.texi | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst b/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst index 0f001c4..efda4af 100644 --- a/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst +++ b/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst @@ -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 --------------------------- diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi index b27bd62..d15d620 100644 --- a/gcc/ada/gnat_rm.texi +++ b/gcc/ada/gnat_rm.texi @@ -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 diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index ea1d2f9..0e3ee93 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -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 |