Fixed #1326 (remove simplified enum definitions)
This commit is contained in:
parent
7cbdb9f8a1
commit
630d9ba552
|
@ -5004,12 +5004,14 @@ void Tokenizer::simplifyEnum()
|
||||||
}
|
}
|
||||||
|
|
||||||
tok1 = start;
|
tok1 = start;
|
||||||
while (tok1->next() && tok1->next() != end->next())
|
while (tok1->next() && tok1->next() != end)
|
||||||
tok1->deleteNext();
|
tok1->deleteNext();
|
||||||
|
tok1->deleteNext();
|
||||||
if (start != _tokens)
|
if (start != _tokens)
|
||||||
{
|
{
|
||||||
tok1 = start->previous();
|
tok1 = start->previous();
|
||||||
tok1->deleteNext();
|
tok1->deleteNext();
|
||||||
|
tok = tok1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
_tokens->deleteThis();
|
_tokens->deleteThis();
|
||||||
|
|
Loading…
Reference in New Issue