Make --debug-fp work with new exception also.
This commit is contained in:
parent
91e89380c2
commit
7d7d68b192
|
@ -115,7 +115,11 @@ bool CppCheck::findError(std::string code, const char FileName[])
|
|||
// is still there.
|
||||
code = previousCode.substr(found+9);
|
||||
_errorList.clear();
|
||||
checkFile(code, FileName);
|
||||
try {
|
||||
checkFile(code, FileName);
|
||||
} catch (ErrorLogger::ErrorMessage &err) {
|
||||
reportErr(err);
|
||||
}
|
||||
}
|
||||
|
||||
if (_errorList.empty()) {
|
||||
|
|
Loading…
Reference in New Issue