aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/c.cpp b/src/c.cpp
index 4841247..ae1b71d 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -136,6 +136,7 @@ struct CEngine : public Engine {
CFunc compileFunction(CEnv& cenv, AFn* fn, const AType& argsT);
+ CVal compileTup(CEnv& cenv, const AType* type, const vector<CVal>& fields);
CVal compileLiteral(CEnv& cenv, AST* lit);
CVal compilePrimitive(CEnv& cenv, APrimitive* prim);
CVal compileIf(CEnv& cenv, AIf* aif);
@@ -163,6 +164,12 @@ tuplr_new_c_engine()
***************************************************************************/
CVal
+CEngine::compileTup(CEnv& cenv, const AType* type, const vector<CVal>& fields)
+{
+ return NULL;
+}
+
+CVal
CEngine::compileLiteral(CEnv& cenv, AST* lit)
{
return new Value(lit->str());