Fix muparser (#9006)

The recent versions of muparser are using `mu::ParserError`.

Co-authored-by: Julien Voisin <jvoisin@google.com>
This commit is contained in:
Julien Voisin 2022-11-17 18:35:12 +01:00 committed by GitHub
parent 3ff681232d
commit 31f6eba0c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -26,8 +26,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
parser.SetExpr(line_string);
parser.Eval();
} catch (mu::Parser::exception_type &e) {
// Skip logging errors to avoid log spam.
// std::cout << e.GetMsg() << std::endl;
} catch (mu::ParserError &e) {
}
return 0;
}