+2018-05-22 Bob Duff <duff@adacore.com>
+
+ * doc/gnat_ugn/gnat_utility_programs.rst: Add documentation for
+ the new --split-line-before-record, --indent-named-statements and
+ --no-align-modes gnatpp switches.
+
2018-05-22 Ed Schonberg <schonberg@adacore.com>
* sem_prag.adb (Process_Compile_Time_Warning_Or_Error): Handle properly
* ``=>`` in associations, and
* ``at`` keywords in the component clauses in record representation clauses.
+ In addition, ``in`` and ``out`` in parameter specifications are lined up.
.. index:: --no-alignment (gnatpp)
.. index:: --alignment (gnatpp)
+ .. index:: --no-align-modes (gnatpp)
:switch:`--no-alignment`
:switch:`--alignment`
Set alignment to ON
+
+ :switch:`--no-align-modes`
+ Do not line up ``in`` and ``out`` in parameter specifications.
+
.. _Casing_Control:
Pragma names are mixed case (this is the default)
+ .. index:: --syntax-only (gnatpp)
+
+ :switch:`--syntax-only`
+ Disable the semantic analysis (name resolution) done by libadalang.
+ This means gnatpp will not be able to support any of the
+ "as-declared" switches.
+
+
.. index:: --dictionary (gnatpp)
:switch:`--dictionary={file}`
changed to ``16#0001_FFFE#``.
+ .. index:: --split-line-before-record (gnatpp)
+
+ :switch:`--split-line-before-record`
+ Split the line just before ``record`` in a record type declaration.
+
+
+ .. index:: --indent-named-statements (gnatpp)
+
+ :switch:`--indent-named-statements`
+ Named block and loop statements are indented with respect to
+ the name.
+
+
.. index:: --split-line-before-op (gnatpp)
:switch:`--split-line-before-op`