diff options
Diffstat (limited to 'libsolidity/CompilerStack.cpp')
-rw-r--r-- | libsolidity/CompilerStack.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libsolidity/CompilerStack.cpp b/libsolidity/CompilerStack.cpp index f46febfb..53ac5344 100644 --- a/libsolidity/CompilerStack.cpp +++ b/libsolidity/CompilerStack.cpp @@ -339,9 +339,11 @@ void CompilerStack::resolveImports() { string const& id = import->identifier(); if (!m_sources.count(id)) - BOOST_THROW_EXCEPTION(ParserError() - << errinfo_sourceLocation(import->location()) - << errinfo_comment("Source not found.")); + BOOST_THROW_EXCEPTION( + ParserError() + << errinfo_sourceLocation(import->location()) + << errinfo_comment("Source not found.") + ); toposort(&m_sources[id]); } sourceOrder.push_back(_source); |