aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmParser.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-09 20:44:38 +0800
committerchriseth <chris@ethereum.org>2017-06-09 21:17:29 +0800
commitbf2b5c746ab92d1227c5a4d1f6c7458b2450faa1 (patch)
treea04b171563aff8bfb53e00403b2bcd6681fc6027 /libsolidity/inlineasm/AsmParser.h
parent76667fed4f9865c4a3a5a267c469446f8bce1bef (diff)
downloaddexon-solidity-bf2b5c746ab92d1227c5a4d1f6c7458b2450faa1.tar.gz
dexon-solidity-bf2b5c746ab92d1227c5a4d1f6c7458b2450faa1.tar.zst
dexon-solidity-bf2b5c746ab92d1227c5a4d1f6c7458b2450faa1.zip
Use lowercase when reporting instruction error.
Diffstat (limited to 'libsolidity/inlineasm/AsmParser.h')
-rw-r--r--libsolidity/inlineasm/AsmParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/inlineasm/AsmParser.h b/libsolidity/inlineasm/AsmParser.h
index e32b1d25..5fafad23 100644
--- a/libsolidity/inlineasm/AsmParser.h
+++ b/libsolidity/inlineasm/AsmParser.h
@@ -65,7 +65,8 @@ protected:
Case parseCase();
/// Parses a functional expression that has to push exactly one stack element
Statement parseExpression();
- std::map<std::string, dev::solidity::Instruction> const& instructions();
+ static std::map<std::string, dev::solidity::Instruction> const& instructions();
+ static std::map<dev::solidity::Instruction, std::string> const& instructionNames();
Statement parseElementaryOperation(bool _onlySinglePusher = false);
VariableDeclaration parseVariableDeclaration();
FunctionDefinition parseFunctionDefinition();