From 941c77c8fadd6195809cd2d572feb64478c4fb20 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 22 Jan 2015 01:02:38 +0100 Subject: Type resolution for function modifiers. --- NameAndTypeResolver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NameAndTypeResolver.h') diff --git a/NameAndTypeResolver.h b/NameAndTypeResolver.h index f97c7ae5..ba327a59 100644 --- a/NameAndTypeResolver.h +++ b/NameAndTypeResolver.h @@ -100,6 +100,8 @@ private: void endVisit(StructDefinition& _struct); bool visit(FunctionDefinition& _function); void endVisit(FunctionDefinition& _function); + bool visit(ModifierDefinition& _modifier); + void endVisit(ModifierDefinition& _modifier); void endVisit(VariableDefinition& _variableDefinition); bool visit(VariableDeclaration& _declaration); @@ -109,7 +111,7 @@ private: std::map& m_scopes; Declaration const* m_currentScope; - FunctionDefinition* m_currentFunction; + VariableScope* m_currentFunction; }; /** -- cgit