> > A way to get back again on stylish clean ground 0 would be to run the
> > specified astyle command against all .c and .h files. Whichs works
> > quite easy anyway. The only problem is that if we "clean" the source
> > tree that way, we would have a major commit to CVS, since any file
> > would be affected.
> 
> This would also destroy some formatting.  astyle doesn't do everything
> right, and in fact it does some things badly wrong.  (For example, any
> variable name like "return_something" gets changed to "return _something").

Thanks for the objection here Richard. I was not aware of such
effects.
 
> There's no substitute to doing it by hand.  Astyle can help, if you
> then check the diffs to make sure it didn't mess anything up.  Certainly
> I advise against running it blindly.

of course, as you pointed out it would create a logical mess.

Seems we may beautify single source files and then check the diffs to
see nothing is messed up?

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to