aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c.cpp b/src/c.cpp
index 4d53436..7cd72da 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -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;
}