Print

Print


David Weller <[log in to unmask]> writes:

>
> > Anyone aware of a tool to compare Ada files for syntax differences?
>
> Hmm...it wouldn't be too hard to write...a Perl script that strips
> comments and stores the files into a temp location, then something
> like xdiff -wi on the offending files.
>
> The other option is to use ediff under Xemacs/GNU-Emacs.  It'll ignore
> whitespace, but not comments (there again, you could write elisp code
> to hide all comments in an Ada buffer (that's probably a good one to
> suggest to Rolf Ebert!), then run ediff.
>
> Both solutions are free.

Suggesting it to me is free of course :).  But that is not necessary
anymore as I added the suggestion to my TODO file.  I don't know when I
shall have time again to work on emacs-ada-mode, though.

>
> > Preferably not affected by line breaks either.
> >
> That's a little tougher.
>
> > Finally (if wishes were horses) has to be "free" software...
> >
> I know my solutions aren't "labor free", but we're talking less than
> 15 minutes of work, tops (unless, of course, you don't know Perl or
> elisp :-)
>
> --
> The Ada 95 Booch Components Homepage: www.rivatech.com << Note new URL!
>                    www.adahome.com: All Things Ada
>

        Rolf