aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-24 20:27:58 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-24 20:35:52 +0800
commit338202ea96e0af8822dde3acc27aa45f79c8780b (patch)
tree404fd5f4f71b470c7172a36d2fc35ffbe601b2b1 /libsolidity
parent130f7419fb4b7d40a212454fe870e9e135813bf1 (diff)
downloaddexon-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.cpp7
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());