struct right after if block with parenthesis makes every line break after them
struct
if
for example
if (expr) { } struct some_struct s; a = 1; b = 1; c = 1;
becomes with astyle --break-blocks
astyle --break-blocks
version is 3.1, (reproduced on mac)
Can be reproduced on windows, too.
I think there is something wrong around line 1479.
The attached patch fixes the problem but I'm not sure about any side effects. Maybe Jim Pattee find some time to have a short look at it? Thank you very much in advance!
Fixed in 3.2.1
Log in to post a comment.
version is 3.1, (reproduced on mac)
Can be reproduced on windows, too.
I think there is something wrong around line 1479.
The attached patch fixes the problem but I'm not sure about any side effects. Maybe Jim Pattee find some time to have a short look at it?
Thank you very much in advance!
Fixed in 3.2.1