From bf2b5c746ab92d1227c5a4d1f6c7458b2450faa1 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 9 Jun 2017 14:44:38 +0200 Subject: Use lowercase when reporting instruction error. --- libsolidity/inlineasm/AsmParser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libsolidity/inlineasm/AsmParser.h') 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 const& instructions(); + static std::map const& instructions(); + static std::map const& instructionNames(); Statement parseElementaryOperation(bool _onlySinglePusher = false); VariableDeclaration parseVariableDeclaration(); FunctionDefinition parseFunctionDefinition(); -- cgit