aboutsummaryrefslogtreecommitdiffstats
path: root/src/c.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-08 20:36:16 +0000
committerDavid Robillard <d@drobilla.net>2010-12-08 20:36:16 +0000
commit41c9834662fdccfc8ae8abde2d279a70ff17c597 (patch)
treead8bc8d7ba9ea1e2fbe42d0bc3ac62c44f48dfd9 /src/c.cpp
parent1b8528b1abc446b2f36db7650a26a0d629f54f45 (diff)
downloadresp-41c9834662fdccfc8ae8abde2d279a70ff17c597.tar.gz
resp-41c9834662fdccfc8ae8abde2d279a70ff17c597.tar.bz2
resp-41c9834662fdccfc8ae8abde2d279a70ff17c597.zip
Remove Engine::compileIf
git-svn-id: http://svn.drobilla.net/resp/resp@316 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/c.cpp')
-rw-r--r--src/c.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c.cpp b/src/c.cpp
index 4e71eae..afe1132 100644
--- a/src/c.cpp
+++ b/src/c.cpp
@@ -164,6 +164,10 @@ struct CEngine : public Engine {
CVal compileGlobal(CEnv& cenv, const AType* type, const string& sym, CVal val);
CVal compileGlobalGet(CEnv& cenv, const string& sym, CVal val);
+ IfState compileIfStart(CEnv& cenv) { return NULL; }
+ void compileIfBranch(CEnv& cenv, IfState state, CVal condV, const AST* then) {}
+ CVal compileIfEnd(CEnv& cenv, IfState state, CVal elseV, const AType* type) { return NULL; }
+
void writeModule(CEnv& cenv, std::ostream& os) {
os << out;
}