| 8339 | //--------------------------------------------------------------------------- |
| 8340 | |
| 8341 | void Tokenizer::syntaxError(const Token *tok, const std::string &code) const |
| 8342 | { |
| 8343 | if (mSettings.debugSimplified || mSettings.debugnormal) |
| 8344 | printDebugOutput(std::cout); |
| 8345 | throw InternalError(tok, code.empty() ? "syntax error" : "syntax error: " + code, InternalError::SYNTAX); |
| 8346 | } |
| 8347 | |
| 8348 | void Tokenizer::unmatchedToken(const Token *tok) const |
| 8349 | { |
no test coverage detected