Tokenizer: give dead pointer a value
This commit is contained in:
parent
78614b8dc1
commit
8d2e4bc553
|
@ -6887,6 +6887,7 @@ void Tokenizer::simplifyComma()
|
||||||
|
|
||||||
// delete old "return"
|
// delete old "return"
|
||||||
startFrom->previous()->deleteThis();
|
startFrom->previous()->deleteThis();
|
||||||
|
startFrom = 0; // give dead pointer a value
|
||||||
|
|
||||||
tok = endAt;
|
tok = endAt;
|
||||||
if (!tok)
|
if (!tok)
|
||||||
|
|
Loading…
Reference in New Issue