Tokenizer::setVarId: Made it ~5% faster
This commit is contained in:
parent
0197343e0c
commit
ecccce0608
|
@ -2587,6 +2587,8 @@ void Tokenizer::setVarIdPass1()
|
|||
bool initlist = false;
|
||||
bool inlineFunction = false;
|
||||
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
||||
if (tok->isOp())
|
||||
continue;
|
||||
if (!functionDeclEndStack.empty() && tok == functionDeclEndStack.top()) {
|
||||
functionDeclEndStack.pop();
|
||||
if (tok->str() == ":")
|
||||
|
|
Loading…
Reference in New Issue