From: Simon Wright <simon@pushface.org>
Subject: Re: gnatpp parameter alignment
Date: Wed, 28 Nov 2018 13:50:47 +0000
Date: 2018-11-28T13:50:47+00:00 [thread overview]
Message-ID: <ly4lc12tvs.fsf@pushface.org> (raw)
In-Reply-To: ly8t1d3786.fsf@pushface.org
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;
next prev parent reply other threads:[~2018-11-28 13:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 0:34 gnatpp parameter alignment julian.fondren
2018-11-28 7:37 ` briot.emmanuel
2018-11-28 7:56 ` Mark Lorenzen
2018-11-28 8:42 ` Simon Wright
2018-11-28 9:02 ` Simon Wright
2018-11-28 13:50 ` Simon Wright [this message]
2018-11-28 14:19 ` julian.fondren
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox