input:
int main()
{
if( foo == bar )
{ /* this works */
}else
if( ranz != bar )
{ /* this works too */
}else
{ /* this is broken */
}
}
output:
int main()
{
if( foo == bar )
{ /* this works */
}else
if( ranz != bar )
{ /* this works too */
}else
{
/* this is broken */
}
}
expected: like input
config file, input and output attached.
2009-10-31 06:12:13 UTC in Uncrustify Code Beautifier