aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/c.cpp b/src/c.cpp
index 6bd3a2d..e8f7c2a 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -154,12 +154,13 @@ struct CEngine : public Engine {
return varname;
}
- CVal compileTup(CEnv& cenv, const AType* type, const vector<CVal>& fields);
+ CVal compileTup(CEnv& cenv, const AType* type, CVal rtti, const vector<CVal>& fields);
CVal compileDot(CEnv& cenv, CVal tup, int32_t index);
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 compileGlobal(CEnv& cenv, const AType* type, const string& sym, CVal val);
CVal getGlobal(CEnv& cenv, const string& sym, CVal val);
@@ -186,7 +187,7 @@ resp_new_c_engine()
***************************************************************************/
CVal
-CEngine::compileTup(CEnv& cenv, const AType* type, const vector<CVal>& fields)
+CEngine::compileTup(CEnv& cenv, const AType* type, CVal rtti, const vector<CVal>& fields)
{
return NULL;
}
@@ -261,6 +262,12 @@ CEngine::compileIf(CEnv& cenv, const AIf* aif)
}
CVal
+CEngine::compileMatch(CEnv& cenv, const AMatch* match)
+{
+ return NULL;
+}
+
+CVal
CEngine::compilePrimitive(CEnv& cenv, const APrimitive* prim)
{
APrimitive::const_iterator i = prim->begin();