diff options
Diffstat (limited to 'libsolidity/Parser.cpp')
-rw-r--r-- | libsolidity/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/Parser.cpp b/libsolidity/Parser.cpp index 491af369..58632b85 100644 --- a/libsolidity/Parser.cpp +++ b/libsolidity/Parser.cpp @@ -87,7 +87,7 @@ ASTPointer<SourceUnit> Parser::parse(shared_ptr<Scanner> const& _scanner) } return nodeFactory.createNode<SourceUnit>(nodes); } - catch(fatalError const& _error) + catch(FatalError const& _error) { return nullptr; } @@ -1179,7 +1179,7 @@ void Parser::parserError(string const& _description) void Parser::fatalParserError(string const& _description) { parserError(_description); - BOOST_THROW_EXCEPTION(fatalError()); + BOOST_THROW_EXCEPTION(FatalError()); } } |