]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Fix formatting glitches in GNAT User's Guide
authorPiotr Trojanek <trojanek@adacore.com>
Sun, 30 Jan 2022 17:41:16 +0000 (18:41 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 11 May 2022 08:53:19 +0000 (08:53 +0000)
Only enhancement of formatting.

gcc/ada/

* doc/gnat_ugn/gnat_and_program_execution.rst,
doc/gnat_ugn/gnat_utility_programs.rst,
doc/gnat_ugn/inline_assembler.rst: Fix typos and formatting
glitches.
* gnat_ugn.texi: Regenerate.

gcc/ada/doc/gnat_ugn/gnat_and_program_execution.rst
gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
gcc/ada/doc/gnat_ugn/inline_assembler.rst
gcc/ada/gnat_ugn.texi

index 24ef9d6ca41ea697ecb90209ef7c088a7e00ab06..ce3886970eb653ff4346b9715b32dd3377443fb0 100644 (file)
@@ -433,7 +433,7 @@ Ada Tasks
 
 .. index:: Breakpoints and tasks
 
-* ``break``*linespec* ``task`` *taskid*, ``break`` *linespec* ``task`` *taskid* ``if`` ...
+* ``break`` *linespec* ``task`` *taskid*, ``break`` *linespec* ``task`` *taskid* ``if`` ...
 
     These commands are like the ``break ... thread ...``.
     *linespec* specifies source lines.
@@ -1306,7 +1306,7 @@ or simply:
 
   ::
 
-    $  gprof my_prog
+    $ gprof my_prog
 
 The complete form of the gprof command line is the following:
 
index def11a6b1206f79383f75bb8b9e3d8316f9dcd42..d67083979ccc5f2052fa98fa4fc4d717ef64f176 100644 (file)
@@ -630,13 +630,13 @@ building specialized scripts.
 
    .. index:: --wide-character-encoding (gnatmetric)
 
-   :switch:`--wide-character-encoding={e}`
-     Specify the wide character encoding method for the input and output
-     files. ``e`` is one of the following:
+  :switch:`--wide-character-encoding={e}`
+    Specify the wide character encoding method for the input and output
+    files. ``e`` is one of the following:
 
-     * *8* - UTF-8 encoding
+    * *8* - UTF-8 encoding
 
-     * *b* - Brackets encoding (default value)
+    * *b* - Brackets encoding (default value)
 
 
   .. index:: Disable Metrics For Local Units in gnatmetric
@@ -1161,7 +1161,7 @@ building specialized scripts.
     Report maximal loop nesting level
 
 
-  :switch:`-no-loop-nesting`
+  :switch:`--no-loop-nesting`
     Do not report maximal loop nesting level
 
 
index b539e1754251916613fcbab80863c4ff6d2b413e..4f878c28c5d66aade2c227c7566b6c81c87a175b 100644 (file)
@@ -138,7 +138,7 @@ To see this output, invoke the compiler as follows:
 
   ::
 
-     $  gcc -c -S -fomit-frame-pointer -gnatp nothing.adb
+     $ gcc -c -S -fomit-frame-pointer -gnatp nothing.adb
 
 where the options are:
 
index f52a069ed321fe53425cdea27a1f128d7e000ecb..142cdde28ece52a5b81ef0f39890af50581aecf7 100644 (file)
@@ -18498,7 +18498,7 @@ to refer to tasks in the following commands.
 @itemize *
 
 @item 
-@code{break`@w{`}*linespec* `@w{`}task} @emph{taskid}, @code{break} @emph{linespec} @code{task} @emph{taskid} @code{if} …
+@code{break} @emph{linespec} @code{task} @emph{taskid}, @code{break} @emph{linespec} @code{task} @emph{taskid} @code{if} …
 
 @quotation
 
@@ -19517,7 +19517,7 @@ or simply:
 @quotation
 
 @example
-$  gprof my_prog
+$ gprof my_prog
 @end example
 @end quotation
 
@@ -28015,7 +28015,7 @@ To see this output, invoke the compiler as follows:
 @quotation
 
 @example
-$  gcc -c -S -fomit-frame-pointer -gnatp nothing.adb
+$ gcc -c -S -fomit-frame-pointer -gnatp nothing.adb
 @end example
 @end quotation