https://gcc.gnu.org/g:ab5ec7d5dfbd92ef304eaad98409311b8c921d0a
commit r16-9016-gab5ec7d5dfbd92ef304eaad98409311b8c921d0a 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 3381c21039f4..e3d1527657a9 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 @@ -30269,8 +30269,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
