Robert Collins wrote:
> 
> On Sun, 2003-02-23 at 01:21, Henrik Nordstrom wrote:
> > There seems to be a couple very annoying bugs in the astyle styling...
> 
> Urk. Ok.
> 
> > 1. bitfields
> >
> > unsigned int transparent:
> >     1;  /* transparent proxy */
> >
> > Issues:
> >       Broken into multiple lines after the :
> >       Always flushed fully to the left, not indented.
> >
> > Should read:
> >     unsigned int transparent:1   /* transparent proxy */
> 
> Does one of the astyle patches you mentioned address this?

Don't know. Have not looked at them, only saw that there is a bunch.
 
> IIRC it's the break-blocks flag that causes this. The reason we use that
> flag is to separate functions:

Which is good, when applied to blocks.

Structures/classes is not blocks even if they also use { } syntax.

Regards
Henrik

Reply via email to