diff options
Diffstat (limited to 'src/c.cpp')
-rw-r--r-- | src/c.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -159,8 +159,8 @@ struct CEngine : public Engine { CVal compileLiteral(CEnv& cenv, const AST* lit); CVal compileString(CEnv& cenv, const char* str); CVal compilePrimitive(CEnv& cenv, const APrimitive* prim); - CVal compileIf(CEnv& cenv, const AIf* aif); - CVal compileMatch(CEnv& cenv, const AMatch* match); + CVal compileIf(CEnv& cenv, const ACall* aif); + CVal compileMatch(CEnv& cenv, const ACall* match); CVal compileGlobal(CEnv& cenv, const AType* type, const string& sym, CVal val); CVal getGlobal(CEnv& cenv, const string& sym, CVal val); @@ -230,7 +230,7 @@ CEngine::pushFunctionArgs(CEnv& cenv, const AFn* fn, const AType* type, CFunc f) } CVal -CEngine::compileIf(CEnv& cenv, const AIf* aif) +CEngine::compileIf(CEnv& cenv, const ACall* aif) { Value* varname = new string(cenv.penv.gensymstr("if")); out += (format("%s %s;\n") % *llType(cenv.type(aif)) % *varname).str(); @@ -262,7 +262,7 @@ CEngine::compileIf(CEnv& cenv, const AIf* aif) } CVal -CEngine::compileMatch(CEnv& cenv, const AMatch* match) +CEngine::compileMatch(CEnv& cenv, const ACall* match) { return NULL; } |