Fixed #1051 (segmentation fault when there is syntax error)
This commit is contained in:
parent
75f6e20e61
commit
a5e43b4be5
|
@ -4616,6 +4616,8 @@ void Tokenizer::simplifyComma()
|
||||||
startFrom->previous()->deleteThis();
|
startFrom->previous()->deleteThis();
|
||||||
|
|
||||||
tok = endAt;
|
tok = endAt;
|
||||||
|
if (!tok)
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue