diff options
author | chriseth <chris@ethereum.org> | 2017-05-26 17:13:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-26 17:13:32 +0800 |
commit | 40d5d5a956ab8ace804597e7af29397f477eaf40 (patch) | |
tree | 790fa849c7db4f860a6b812de33b5ff9f16ba374 /libsolidity | |
parent | 8c3ec16132e77084c8a08b79b90922b82ec8e1cd (diff) | |
download | dexon-solidity-40d5d5a956ab8ace804597e7af29397f477eaf40.tar dexon-solidity-40d5d5a956ab8ace804597e7af29397f477eaf40.tar.gz dexon-solidity-40d5d5a956ab8ace804597e7af29397f477eaf40.tar.bz2 dexon-solidity-40d5d5a956ab8ace804597e7af29397f477eaf40.tar.lz dexon-solidity-40d5d5a956ab8ace804597e7af29397f477eaf40.tar.xz dexon-solidity-40d5d5a956ab8ace804597e7af29397f477eaf40.tar.zst dexon-solidity-40d5d5a956ab8ace804597e7af29397f477eaf40.zip |
Also change error message.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/interface/CompilerStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp index be0d060e..328df91f 100644 --- a/libsolidity/interface/CompilerStack.cpp +++ b/libsolidity/interface/CompilerStack.cpp @@ -508,7 +508,7 @@ string const& CompilerStack::onChainMetadata(string const& _contractName) const Scanner const& CompilerStack::scanner(string const& _sourceName) const { if (m_stackState < SourcesSet) - BOOST_THROW_EXCEPTION(CompilerError() << errinfo_comment("Parsing was not successful.")); + BOOST_THROW_EXCEPTION(CompilerError() << errinfo_comment("No sources set.")); return *source(_sourceName).scanner; } |