]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix reStructuredText markup
authorRonan Desplanques <desplanques@adacore.com>
Thu, 12 Mar 2026 14:35:55 +0000 (15:35 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 29 May 2026 08:49:47 +0000 (10:49 +0200)
gcc/ada/ChangeLog:

* doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix
markup.
* gnat_ugn.texi: Regenerate.

gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
gcc/ada/gnat_ugn.texi

index b339d2579dd33ceba78a89efee97334b388c3fe6..9603baad95a295d6361e47515785441a32035fff 100644 (file)
@@ -7345,9 +7345,9 @@ correctly, the two variables
 
 are declared in one of the GNAT library routines. These variables must
 be set from the actual ``argc`` and ``argv`` values passed to the
-main program. With no *n* present, ``gnatbind``
+main program. With no :switch:`-n` present, ``gnatbind``
 generates the C main program to automatically set these variables.
-If the *n* switch is used, there is no automatic way to
+If the :switch:`-n` switch is used, there is no automatic way to
 set these variables. If they are not set, the procedures in
 ``Ada.Command_Line`` will not be available, and any attempt to use
 them will raise ``Constraint_Error``. If command line access is
index f44b727ad4a7ba75379fec2442bd4d2c6837bc25..aff7b50426e6e5b1fd9b7b1b99c6648f9ebebb03 100644 (file)
@@ -16826,9 +16826,9 @@ char **gnat_argv;
 
 are declared in one of the GNAT library routines. These variables must
 be set from the actual @code{argc} and @code{argv} values passed to the
-main program. With no `n' present, @code{gnatbind}
+main program. With no @code{-n} present, @code{gnatbind}
 generates the C main program to automatically set these variables.
-If the `n' switch is used, there is no automatic way to
+If the @code{-n} switch is used, there is no automatic way to
 set these variables. If they are not set, the procedures in
 @code{Ada.Command_Line} will not be available, and any attempt to use
 them will raise @code{Constraint_Error}. If command line access is
@@ -30275,8 +30275,8 @@ to permit their use in free software.
 
 @printindex ge
 
-@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 @anchor{d2}@w{                              }
+@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 
 @c %**end of body
 @bye