| 99 | } |
| 100 | |
| 101 | void cmListFileParser::IssueError(std::string const& text) const |
| 102 | { |
| 103 | cmListFileContext lfc; |
| 104 | lfc.FilePath = this->FileName; |
| 105 | lfc.Line = cmListFileLexer_GetCurrentLine(this->Lexer.get()); |
| 106 | cmListFileBacktrace lfbt = this->Backtrace; |
| 107 | lfbt = lfbt.Push(lfc); |
| 108 | this->Messenger->IssueMessage(MessageType::FATAL_ERROR, text, lfbt); |
| 109 | cmSystemTools::SetFatalErrorOccurred(); |
| 110 | } |
| 111 | |
| 112 | bool cmListFileParser::ParseFile(char const* filename) |
| 113 | { |
no test coverage detected