astyle formatting
This commit is contained in:
parent
8ed8206b44
commit
6a4b1127aa
|
@ -7833,7 +7833,7 @@ bool Tokenizer::duplicateDefinition(Token ** tokPtr, const Token * name)
|
||||||
// find end of definition
|
// find end of definition
|
||||||
int level = 0;
|
int level = 0;
|
||||||
while (end->next() && (!Token::Match(end->next(), ";|)|>") ||
|
while (end->next() && (!Token::Match(end->next(), ";|)|>") ||
|
||||||
(end->next()->str() == ")" && level == 0))) {
|
(end->next()->str() == ")" && level == 0))) {
|
||||||
if (end->next()->str() == "(")
|
if (end->next()->str() == "(")
|
||||||
++level;
|
++level;
|
||||||
else if (end->next()->str() == ")")
|
else if (end->next()->str() == ")")
|
||||||
|
|
Loading…
Reference in New Issue