[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
This commit is contained in:
Bob Duff 2019-07-03 08:16:34 +00:00 committed by Pierre-Marie de Rodat
parent 76b4158b8f
commit 49d0d5fc6f
2 changed files with 37 additions and 5 deletions

View File

@ -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.

View File

@ -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)