Reformatting C/C++/Java code (RE: proposed sync() patch)
Hannu E K Nevalainen
garbage_collector@telia.com
Thu Apr 15 19:35:00 GMT 2004
> From: Robert Collins
> On Thu, 2004-04-15 at 04:29, Hannu E K Nevalainen wrote:
> > Assuming you do not use strange formatting/style - the
> > output of indent will be perfectly acceptable, I presume.
>
> indent breaks nastily on C++. - it appears to work, but actually gets a
> number of things wrong.
>
> Just FYI.
>
> Rob
Argh! How is it that I always hit this kind of stuff? (NO don't answer
that; i don't really want to know)
I've been using indent occassionally on my C-code only.
Anyone tried astyle on a larger scale?
(Not cygwin, yes I know - sorry for that)
/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E
** on a mailing list; please keep replies on that particular list **
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list