]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix markup typos
authorRichard Kenner <kenner@adacore.com>
Fri, 25 Oct 2024 12:02:14 +0000 (08:02 -0400)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 12 Nov 2024 13:00:51 +0000 (14:00 +0100)
gcc/ada/ChangeLog:

* doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix minor
markup errors.
* doc/gnat_ugn/gnat_utility_programs.rst: Likewise.
* gnat_ugn.texi: Regenerate.

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

index e6b87bddaabaa01c63a75b30543cc5fedaa6dd2d..51a9201bc5b01eaeb367871ccef18456f5cd296a 100644 (file)
@@ -8077,7 +8077,7 @@ is either an ``out`` parameter or the function return value, if any.
 The debug information reflects these transformations and not the original
 Ada source code.
 
-GNAT LLVM doesn't fully implement the :switch:``-fcheck-stack`` switch.
+GNAT LLVM doesn't fully implement the :switch:`-fcheck-stack` switch.
 When you specify it, the code generated by GNAT LLVM tests for allocating
 overly-large items on the stack, but not all cases of stack overflow.  For
 example, if you have a very deep recursion where each call only uses a
@@ -8123,7 +8123,7 @@ We provide two options that you can use to build code with GNAT LLVM:
   *GPRbuild and GPR Companion Tools User's Guide* for details. You
   can determine from the first line of the :file:`.ali` file
   which version of GNAT built that file because it contains either
-  :code:``GNAT`` or :code:``GNAT-LLVM``.
+  :code:`GNAT` or :code:`GNAT-LLVM`.
 
 .. only:: PRO
 
index 4115a402c4d8020481fb5049112e3239ac2ab96b..d1011be2c0b12af33c8ef5908dd7c32fd47cf075 100644 (file)
@@ -1266,7 +1266,7 @@ building specialized scripts.
    defining occurrences appear exactly as in the source file where they
    are declared. The other values for this switch --
    :switch:`--name-upper-case`, :switch:`--name-lower-case`, and
-   :switch:``--name-mixed-case``
+   :switch:`--name-mixed-case`
    -- result in upper, lower, or mixed case, respectively. If
    ``gnatpp`` changes the casing of a defining occurrence, it
    similarly changes the casing of all the usage occurrences of this
index e4f14d231d4f11b017f7c3caf0bdc62cfcefe400..189768050052d83f7a8ad7ca81735f12a5ca688d 100644 (file)
@@ -17594,7 +17594,7 @@ is either an @code{out} parameter or the function return value, if any.
 The debug information reflects these transformations and not the original
 Ada source code.
 
-GNAT LLVM doesn’t fully implement the :switch:@code{-fcheck-stack} switch.
+GNAT LLVM doesn’t fully implement the @code{-fcheck-stack} switch.
 When you specify it, the code generated by GNAT LLVM tests for allocating
 overly-large items on the stack, but not all cases of stack overflow.  For
 example, if you have a very deep recursion where each call only uses a
@@ -17635,7 +17635,7 @@ file with @code{gprconfig} and using it with @code{gprbuild}; see the
 `GPRbuild and GPR Companion Tools User’s Guide' for details. You
 can determine from the first line of the @code{.ali} file
 which version of GNAT built that file because it contains either
-:code:@code{GNAT} or :code:@code{GNAT-LLVM}.
+@code{GNAT} or @code{GNAT-LLVM}.
 @end itemize