aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-26 20:52:02 +0800
committerchriseth <c@ethdev.com>2017-01-26 20:52:02 +0800
commit873f2dddd635cb246af4368b9950123fb36d9b28 (patch)
tree2bf3c39a5478da864aed34cc7d120facc562681e /libsolidity/inlineasm
parent525758a130941c6f1dfde8a0f884a550e7a7bb50 (diff)
downloaddexon-solidity-873f2dddd635cb246af4368b9950123fb36d9b28.tar.gz
dexon-solidity-873f2dddd635cb246af4368b9950123fb36d9b28.tar.zst
dexon-solidity-873f2dddd635cb246af4368b9950123fb36d9b28.zip
Update error message.
Diffstat (limited to 'libsolidity/inlineasm')
-rw-r--r--libsolidity/inlineasm/AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp
index 7ddc6d04..fcc92dbb 100644
--- a/libsolidity/inlineasm/AsmParser.cpp
+++ b/libsolidity/inlineasm/AsmParser.cpp
@@ -72,7 +72,7 @@ assembly::Statement Parser::parseStatement()
assignment.variableName.location = location();
assignment.variableName.name = m_scanner->currentLiteral();
if (instructions().count(assignment.variableName.name))
- fatalParserError("Identifier expected.");
+ fatalParserError("Identifier expected, got instruction name.");
assignment.location.end = endPosition();
expectToken(Token::Identifier);
return assignment;