diff options
author | David Robillard <d@drobilla.net> | 2009-10-16 01:53:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-16 01:53:16 +0000 |
commit | c2d75892af2fdc6b9bf25365a15de5dc63bcc852 (patch) | |
tree | 22234de7261ca54f6c1d01e0ff271cbde5af0699 /src/c.cpp | |
parent | 474b2a748bfdb55aac43bba998bc79a5c9d18675 (diff) | |
download | resp-c2d75892af2fdc6b9bf25365a15de5dc63bcc852.tar.gz resp-c2d75892af2fdc6b9bf25365a15de5dc63bcc852.tar.bz2 resp-c2d75892af2fdc6b9bf25365a15de5dc63bcc852.zip |
Cons.
git-svn-id: http://svn.drobilla.net/resp/tuplr@235 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/c.cpp')
-rw-r--r-- | src/c.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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()); |