comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Ada Code Formatting
Date: 1996/08/10
Date: 1996-08-10T00:00:00+00:00	[thread overview]
Message-ID: <dewar.839694489@schonberg> (raw)
In-Reply-To: 4ug0pq$q64@zeus.orl.mmc.com


James said

"I'm looking for a product that will re-format ada code written by
different people so that the "style" is the same.  We have some code
that was re-used from one project to the next, but in the process
was "cleaned up" by the second group; mostly indenting, spacing, etc.
that shouldn't really impact the code's function.

I would like to be able to do a diff on the code, but that's not
possible the way it is right now."


Any decent diff program has an option to ignore white space, which will
cure a lot of the bogus differences.

You may still have problems from differences in line splitting, a lot
of diff programs do NOT have the capability of ignoring line feeds.

A diff program that worked only on Ada tokens would be useful





  parent reply	other threads:[~1996-08-10  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-09  0:00 Ada Code Formatting campbell james b0159
1996-08-10  0:00 ` James D. Veale
1996-08-10  0:00 ` John McCabe
1996-08-10  0:00   ` David Weller
1996-08-14  0:00   ` Laurent Gasser
1996-08-10  0:00 ` Robert Dewar [this message]
1996-08-10  0:00 ` Fergus Henderson
1996-08-10  0:00   ` Robert Dewar
1996-08-13  0:00     ` Keith Thompson
1996-08-13  0:00       ` James D. Veale
1996-08-12  0:00 ` Ted Dennison
1996-08-14  0:00 ` Paul Hussein
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox