ui: display fatal errors
* added ErrorCountInfo to incorporate reporting of fatal errors during code analysis.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user