aboutsummaryrefslogtreecommitdiffstats
path: root/src/resp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resp.hpp')
-rw-r--r--src/resp.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resp.hpp b/src/resp.hpp
index d429168..d9c85fe 100644
--- a/src/resp.hpp
+++ b/src/resp.hpp
@@ -786,8 +786,8 @@ struct Engine {
virtual CVal compileString(CEnv& cenv, const char* str) = 0;
virtual CVal compileCall(CEnv& cenv, CFunc f, const AType* fT, ValVec& args) = 0;
virtual CVal compilePrimitive(CEnv& cenv, const APrimitive* prim) = 0;
- virtual CVal compileIf(CEnv& cenv, const AIf* aif) = 0;
- virtual CVal compileMatch(CEnv& cenv, const AMatch* match) = 0;
+ virtual CVal compileIf(CEnv& cenv, const ACall* aif) = 0;
+ virtual CVal compileMatch(CEnv& cenv, const ACall* match) = 0;
virtual CVal compileGlobal(CEnv& cenv, const AType* t, const string& sym, CVal val) = 0;
virtual CVal getGlobal(CEnv& cenv, const string& sym, CVal val) = 0;
virtual void writeModule(CEnv& cenv, std::ostream& os) = 0;