Copyright headers in libgfortran
Paul Brook
paul@codesourcery.com
Sat Apr 24 14:34:00 GMT 2004
On Saturday 24 April 2004 01:26, Bud Davis wrote:
> On Fri, 2004-04-23 at 19:22, Scott Robert Ladd wrote:
> > Paul Brook wrote:
> > > If you are making big whitespace changes you'd also want to trim
> > > trailing whitespace, and ensure the correct number of blank lines
> > > between functions. We may as well get all the formatting mess out the
> > > way at once.
> >
> > Surely someone has written a "gnu-ize" script to reformat code according
> > to the putative standard?
> >
> > ..Scott
>
> one would assume it would be gnu indent, but i have never heard anyone
> refer to it on any gcc mailing list.
Last time I tried indent it got confused by some of the idioms used in GCC.
Also it wasn't too good at big conditional expressions.
The idea of automatically running indent over all cvs checkins has been
discussed. However noone came up with a suitable script, and people objected
to it mangling their carefully formatted corner cases.
Paul
More information about the Fortran
mailing list