Tokenizer: 'simplifyCalculations();' should have the same results as 'while (simplifyCalculations());'
This commit is contained in:
parent
5d1e85dde1
commit
5a8181d425
|
@ -3579,8 +3579,7 @@ bool Tokenizer::simplifyTokenList()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Simplify simple calculations..
|
// Simplify simple calculations..
|
||||||
while (simplifyCalculations())
|
simplifyCalculations();
|
||||||
;
|
|
||||||
|
|
||||||
// Replace "*(str + num)" => "str[num]"
|
// Replace "*(str + num)" => "str[num]"
|
||||||
for (Token *tok = _tokens; tok; tok = tok->next())
|
for (Token *tok = _tokens; tok; tok = tok->next())
|
||||||
|
|
Loading…
Reference in New Issue