aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-26 00:24:43 +0800
committerchriseth <c@ethdev.com>2017-01-26 00:24:43 +0800
commit27ba665694c4a961e098559cb36176aeafd5ec44 (patch)
tree7828322e631072a216915f4dd938ed53c2cac279 /libsolidity
parent8e318181e9719fda44899a402038013b757a4a60 (diff)
downloaddexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.tar.gz
dexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.tar.zst
dexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.zip
Moved test.
Diffstat (limited to 'libsolidity')
-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 c0efb651..cd3ea0da 100644
--- a/libsolidity/inlineasm/AsmParser.cpp
+++ b/libsolidity/inlineasm/AsmParser.cpp
@@ -215,7 +215,7 @@ assembly::VariableDeclaration Parser::parseVariableDeclaration()
expectToken(Token::Let);
varDecl.name = m_scanner->currentLiteral();
if (s_instructions.count(varDecl.name))
- fatalParserError("Cannot shadow instructions with variable declaration.");
+ fatalParserError("Cannot use instruction names for identifier names.");
expectToken(Token::Identifier);
expectToken(Token::Colon);
expectToken(Token::Assign);