https://gcc.gnu.org/g:683000b3f11abeed3a8ee042881ad35c988483eb

commit r17-931-g683000b3f11abeed3a8ee042881ad35c988483eb
Author: Ronan Desplanques <[email protected]>
Date:   Thu Mar 12 15:35:55 2026 +0100

    ada: Fix reStructuredText markup
    
    gcc/ada/ChangeLog:
    
            * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix
            markup.
            * gnat_ugn.texi: Regenerate.

Diff:
---
 gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst | 4 ++--
 gcc/ada/gnat_ugn.texi                                           | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst 
b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
index b339d2579dd3..9603baad95a2 100644
--- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
+++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
@@ -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
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index f44b727ad4a7..aff7b50426e6 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -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

Reply via email to