astyle formatting

This commit is contained in:
Daniel Marjamäki 2011-12-14 17:07:06 +01:00
parent 8ed8206b44
commit 6a4b1127aa
1 changed files with 1 additions and 1 deletions

View File

@ -7833,7 +7833,7 @@ bool Tokenizer::duplicateDefinition(Token ** tokPtr, const Token * name)
// find end of definition
int level = 0;
while (end->next() && (!Token::Match(end->next(), ";|)|>") ||
(end->next()->str() == ")" && level == 0))) {
(end->next()->str() == ")" && level == 0))) {
if (end->next()->str() == "(")
++level;
else if (end->next()->str() == ")")