fixed segmentation fault
This commit is contained in:
parent
c25e1963b1
commit
9569f758f8
|
@ -2880,7 +2880,7 @@ bool Tokenizer::simplifyKnownVariables()
|
|||
bailOutFromLoop = tok3->link();
|
||||
continue;
|
||||
}
|
||||
else if (tok3->str() == "}" && tok3->link()->previous()->str() == ")")
|
||||
else if (tok3->str() == "}" && tok3->link() && tok3->link()->previous()->str() == ")")
|
||||
{
|
||||
// Assignment was in the middle of possible loop, bail out.
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue