aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2019-07-03 08:16:34 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-03 08:16:34 +0000
commit49d0d5fc6f893804061894202596933e0c396705 (patch)
tree83d9fdc3ae759f08834740926a3f40f8403281f6
parent76b4158b8fee22fd85d98e760cf4d12d7ae50051 (diff)
downloadgcc-49d0d5fc6f893804061894202596933e0c396705.zip
gcc-49d0d5fc6f893804061894202596933e0c396705.tar.gz
gcc-49d0d5fc6f893804061894202596933e0c396705.tar.bz2
[Ada] Document new flags in GNATpp
2019-07-03 Bob Duff <duff@adacore.com> gcc/ada/ * doc/gnat_ugn/gnat_utility_programs.rst: Document new flags in GNATpp. From-SVN: r272988
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst37
2 files changed, 37 insertions, 5 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 8a774fd..c28a942 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2019-07-03 Bob Duff <duff@adacore.com>
+
+ * doc/gnat_ugn/gnat_utility_programs.rst: Document new flags in
+ GNATpp.
+
2019-07-03 Hristian Kirtchev <kirtchev@adacore.com>
* binde.adb: Remove with clause for System.OS_Lib.
diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
index e4eff72..53904b1 100644
--- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
+++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
@@ -3181,20 +3181,47 @@ Alternatively, you may run the script using the following command line:
Do not place the keyword ``is`` on a separate line in a subprogram body in
case if the spec occupies more than one line.
+ .. index:: --separate-loop (gnatpp)
+
+
+ :switch:`--separate-loop`
+ Place the keyword ``loop`` in FOR and WHILE loop statements
+ on a separate line.
+
+ .. index:: --no-separate-then (gnatpp)
+
+
+ :switch:`--separate-then`
+ Place the keyword ``then`` in IF statements
+ on a separate line.
+
+ .. index:: --no-separate-loop (gnatpp)
+
+
+ :switch:`--no-separate-loop`
+ Do not place the keyword ``loop`` in FOR and WHILE loop statements
+ on a separate line. This option is
+ incompatible with the :switch:`--separate-loop` option.
+
+ .. index:: --no-separate-then (gnatpp)
+
+
+ :switch:`--no-separate-then`
+ Do not place the keyword ``then`` in IF statements
+ on a separate line. This option is
+ incompatible with the :switch:`--separate-then` option.
+
.. index:: --separate-loop-then (gnatpp)
:switch:`--separate-loop-then`
- Place the keyword ``loop`` in FOR and WHILE loop statements and the
- keyword ``then`` in IF statements on a separate line.
+ Equivalent to :switch:`--separate-loop` :switch:`--separate-then`.
.. index:: --no-separate-loop-then (gnatpp)
:switch:`--no-separate-loop-then`
- Do not place the keyword ``loop`` in FOR and WHILE loop statements and the
- keyword ``then`` in IF statements on a separate line. This option is
- incompatible with the :switch:`--separate-loop-then` option.
+ Equivalent to :switch:`--no-separate-loop` :switch:`--no-separate-then`.
.. index:: --use-on-new-line (gnatpp)