diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 20:27:58 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 20:35:52 +0800 |
commit | 338202ea96e0af8822dde3acc27aa45f79c8780b (patch) | |
tree | 404fd5f4f71b470c7172a36d2fc35ffbe601b2b1 /libsolidity | |
parent | 130f7419fb4b7d40a212454fe870e9e135813bf1 (diff) | |
download | dexon-solidity-338202ea96e0af8822dde3acc27aa45f79c8780b.tar dexon-solidity-338202ea96e0af8822dde3acc27aa45f79c8780b.tar.gz dexon-solidity-338202ea96e0af8822dde3acc27aa45f79c8780b.tar.bz2 dexon-solidity-338202ea96e0af8822dde3acc27aa45f79c8780b.tar.lz dexon-solidity-338202ea96e0af8822dde3acc27aa45f79c8780b.tar.xz dexon-solidity-338202ea96e0af8822dde3acc27aa45f79c8780b.tar.zst dexon-solidity-338202ea96e0af8822dde3acc27aa45f79c8780b.zip |
Uniform error messages
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/inlineasm/AsmParser.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp index 519bfa2e..530cd726 100644 --- a/libsolidity/inlineasm/AsmParser.cpp +++ b/libsolidity/inlineasm/AsmParser.cpp @@ -324,10 +324,11 @@ assembly::Statement Parser::parseCall(assembly::Statement&& _instruction) /// check for premature closing parentheses if (m_scanner->currentToken() == Token::RParen) fatalParserError(string( - "Expected " + + "Expected expression (" + + instrInfo.name + + " expects " + boost::lexical_cast<string>(args) + - " arguments, but received " + - boost::lexical_cast<string>(i) + " arguments)" )); ret.arguments.emplace_back(parseExpression()); |