From b5080860d5f2d141b8fccceaa635378a86c996a8 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 28 Apr 2017 14:27:56 +0100 Subject: Implement switch statement in the assembly parser/printer --- libsolidity/inlineasm/AsmScopeFiller.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libsolidity/inlineasm/AsmScopeFiller.h') diff --git a/libsolidity/inlineasm/AsmScopeFiller.h b/libsolidity/inlineasm/AsmScopeFiller.h index b1b0833b..0f5a5dd6 100644 --- a/libsolidity/inlineasm/AsmScopeFiller.h +++ b/libsolidity/inlineasm/AsmScopeFiller.h @@ -46,6 +46,7 @@ struct Identifier; struct StackAssignment; struct FunctionDefinition; struct FunctionCall; +struct Switch; struct Scope; @@ -69,6 +70,7 @@ public: bool operator()(assembly::VariableDeclaration const& _variableDeclaration); bool operator()(assembly::FunctionDefinition const& _functionDefinition); bool operator()(assembly::FunctionCall const&) { return true; } + bool operator()(assembly::Switch const&) { return true; }; bool operator()(assembly::Block const& _block); private: -- cgit