From: Bob Duff Date: Thu, 11 Jul 2019 08:02:12 +0000 (+0000) Subject: [Ada] Document gnatpp's --spaces-only switch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=852c41d488ce21428ea04999bf16143406460166;p=gcc.git [Ada] Document gnatpp's --spaces-only switch 2019-07-11 Bob Duff gcc/ada/ * doc/gnat_ugn/gnat_utility_programs.rst: Document gnatpp's --spaces-only switch. From-SVN: r273390 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 0a1bd245545..1b338d382b7 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-07-11 Bob Duff + + * doc/gnat_ugn/gnat_utility_programs.rst: Document gnatpp's + --spaces-only switch. + 2019-07-11 Hristian Kirtchev * sem_util.adb (Null_Status): Assume that an erroneous construct diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst index 516c57c8fca..5ad86dc9e16 100644 --- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst +++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst @@ -3257,6 +3257,12 @@ Alternatively, you may run the script using the following command line: Keep the line breaks from the source; do not insert or delete any line breaks. + .. index:: --spaces-only (gnatpp) + + :switch:`--spaces-only` + Disable all formatting except for inserting and removing spaces. + This implies --source-line-breaks. + The ``--comments`` switches are compatible with one another, except that the ``--comments-unchanged`` switch disables all other comment formatting switches.