use cppcheckError to report Tokenizer/Preprocessor error instead of std::cerr
This commit is contained in:
parent
a4b887f21a
commit
020a8a965c
|
@ -359,7 +359,7 @@ void Tokenizer::createTokens(std::istream &code)
|
|||
{
|
||||
if (lineNumbers.empty() || fileIndexes.empty())
|
||||
{
|
||||
std::cerr << "####### Preprocessor bug! #######\n";
|
||||
cppcheckError(0);
|
||||
deallocateTokens();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue