From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: gnatpp parameter alignment Date: Wed, 28 Nov 2018 13:50:47 +0000 Organization: A noiseless patient Spider Message-ID: References: <3bec5f4b-a5e4-408a-b9e8-9bdd18ce0671@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader01.eternal-september.org; posting-host="cc099d671a0d69306f3239b2c3e786e9"; logging-data="22019"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tT3U2NnetjYk/PL1VHHJOhDPhRecRskE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:jni2DVzQZsxoTC7fxi+4GhD+Hi8= sha1:ZFb5h4QZouZjUNiI9+DoBmIK4G4= Xref: reader01.eternal-september.org comp.lang.ada:54922 Date: 2018-11-28T13:50:47+00:00 List-Id: Just built the latest libadalang-tools version, which does not show this behaviour. With the input function & parameters on one line, No switches: $ bin/gnatpp -pipe ~/tmp/cla/waitpid.ads with System; function waitpid (Pid : Integer; Wstatus : System.Address; Options : Integer) return Integer; Limit line length (default is 79): s simon$ bin/gnatpp -pipe --max-line-length=75 ~/tmp/cla/waitpid.ads with System; function waitpid (Pid : Integer; Wstatus : System.Address; Options : Integer) return Integer; If >=3 parameters, place each on separate line: $ bin/gnatpp -pipe --par-threshold=3 ~/tmp/cla/waitpid.ads with System; function waitpid (Pid : Integer; Wstatus : System.Address; Options : Integer) return Integer;