ui: display fatal errors

* added ErrorCountInfo to incorporate reporting of fatal errors during code analysis.
This commit is contained in:
malte_langkabel
2016-03-02 10:53:04 +01:00
parent 4425b39ea1
commit 2ebfbbf88e
21 changed files with 105 additions and 213 deletions
+3 -3
View File
@@ -2794,14 +2794,14 @@ private:
{
}
virtual void onError(const ParseLocation& location, const std::string& message)
virtual void onError(const ParseLocation& location, const std::string& message, bool fatal)
{
errors.push_back(addLocationSuffix(message, location));
}
virtual size_t getErrorCount() const
virtual ErrorCountInfo getErrorCount() const
{
return 0;
return ErrorCountInfo();
}
virtual Id onTypedefParsed(