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
Received on Sat Feb 22 2003 - 08:26:52 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:17 MST