aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmAnalysis.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-01 21:31:07 +0800
committerchriseth <chris@ethereum.org>2017-06-01 21:31:07 +0800
commit40f3e4413b7eb36d32ab314dc1d854d8428116e6 (patch)
tree3272f92771aee14b69bc0f87e6c500808827e38e /libsolidity/inlineasm/AsmAnalysis.cpp
parent05004253ba9f7bf5a3d71d8ed590367619ebbe4f (diff)
downloaddexon-solidity-40f3e4413b7eb36d32ab314dc1d854d8428116e6.tar.gz
dexon-solidity-40f3e4413b7eb36d32ab314dc1d854d8428116e6.tar.zst
dexon-solidity-40f3e4413b7eb36d32ab314dc1d854d8428116e6.zip
Improved error message.
Diffstat (limited to 'libsolidity/inlineasm/AsmAnalysis.cpp')
-rw-r--r--libsolidity/inlineasm/AsmAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.cpp b/libsolidity/inlineasm/AsmAnalysis.cpp
index 8ed59bc9..8fa72d7e 100644
--- a/libsolidity/inlineasm/AsmAnalysis.cpp
+++ b/libsolidity/inlineasm/AsmAnalysis.cpp
@@ -345,7 +345,7 @@ bool AsmAnalyzer::expectExpression(Statement const& _statement)
{
m_errorReporter.typeError(
locationOf(_statement),
- "Expected instruction(s) to deposit one item to the stack but did deposit " +
+ "Expected expression to return one item to the stack but did return " +
boost::lexical_cast<string>(m_stackHeight - initialHeight) +
" items."
);