aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@adacore.com>2024-10-25 08:02:14 -0400
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-11-12 14:00:51 +0100
commit78b52a0aadddbf7de47d686e7c28da3b5ecf4364 (patch)
tree37ab68843c8066347eab4bd48de833a7529600f6 /gcc
parent2ae3bbe5b8afe60cb13b6a3314f39e6aa99b7e37 (diff)
downloadgcc-78b52a0aadddbf7de47d686e7c28da3b5ecf4364.zip
gcc-78b52a0aadddbf7de47d686e7c28da3b5ecf4364.tar.gz
gcc-78b52a0aadddbf7de47d686e7c28da3b5ecf4364.tar.bz2
ada: Fix markup typos
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst4
-rw-r--r--gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst2
-rw-r--r--gcc/ada/gnat_ugn.texi4
3 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 e6b87bd..51a9201 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
@@ -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
diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
index 4115a40..d1011be 100644
--- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
+++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
@@ -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
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index e4f14d2..1897680 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -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