diff options
author | chriseth <c@ethdev.com> | 2017-01-26 00:24:43 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-26 00:24:43 +0800 |
commit | 27ba665694c4a961e098559cb36176aeafd5ec44 (patch) | |
tree | 7828322e631072a216915f4dd938ed53c2cac279 /libsolidity/inlineasm/AsmParser.cpp | |
parent | 8e318181e9719fda44899a402038013b757a4a60 (diff) | |
download | dexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.tar.gz dexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.tar.zst dexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.zip |
Moved test.
Diffstat (limited to 'libsolidity/inlineasm/AsmParser.cpp')
-rw-r--r-- | libsolidity/inlineasm/AsmParser.cpp | 2 |
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); |