Fixed #1843 (Tokenizer::createTokens() calls std::exit(0))
This commit is contained in:
parent
50b41a25de
commit
a4b887f21a
|
@ -360,7 +360,8 @@ void Tokenizer::createTokens(std::istream &code)
|
||||||
if (lineNumbers.empty() || fileIndexes.empty())
|
if (lineNumbers.empty() || fileIndexes.empty())
|
||||||
{
|
{
|
||||||
std::cerr << "####### Preprocessor bug! #######\n";
|
std::cerr << "####### Preprocessor bug! #######\n";
|
||||||
std::exit(0);
|
deallocateTokens();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
lineno = lineNumbers.back();
|
lineno = lineNumbers.back();
|
||||||
|
|
Loading…
Reference in New Issue