[go: up one dir, main page]

Skip to content

continued string literal indent overrides function argument indent in nested function argument

test.cpp:

aaaaaaaaaa( b,
            xxx( "c"
                 "d" ) );

astyle test.cpp produces this diff:

 aaaaaaaaaa( b,
             xxx( "c"
-                 "d" ) );
+     "d" ) );

The indenting being applied to the last line is the same width as xxx( which is one of two indents that should be applied, but the indent prior to xxx has been lost.

This bug appears to have been introduced in feffdd9f