removed redundant set isNumber flag from previous commit
This commit is contained in:
parent
ce00d0d35e
commit
b7f963f701
|
@ -2122,10 +2122,7 @@ bool Tokenizer::tokenize(std::istream &code,
|
||||||
for (Token *tok = _tokens; tok; tok = tok->next())
|
for (Token *tok = _tokens; tok; tok = tok->next())
|
||||||
{
|
{
|
||||||
if (tok->str() == "__LINE__")
|
if (tok->str() == "__LINE__")
|
||||||
{
|
|
||||||
tok->str(MathLib::toString(tok->linenr()));
|
tok->str(MathLib::toString(tok->linenr()));
|
||||||
tok->isNumber(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// token concatenation
|
// token concatenation
|
||||||
|
|
Loading…
Reference in New Issue