astyle formatting

This commit is contained in:
Daniel Marjamäki 2012-04-10 13:45:56 +02:00
parent c7093ca5d6
commit 23c71daf37
1 changed files with 2 additions and 4 deletions

View File

@ -7004,11 +7004,9 @@ void Tokenizer::simplifyGoto()
if (!lev) if (!lev)
break; break;
--lev; --lev;
} } else if (!roundbraces && tok2->str() == "{") {
else if (!roundbraces && tok2->str() == "{") {
++lev; ++lev;
} } else if (!roundbraces && tok2->str() == "return") {
else if (!roundbraces && tok2->str() == "return") {
ret = true; ret = true;
if (indentlevel == 1 && lev == 0) if (indentlevel == 1 && lev == 0)
ret2 = true; ret2 = true;