aboutsummaryrefslogtreecommitdiffstats
path: root/src/cps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cps.cpp')
-rw-r--r--src/cps.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cps.cpp b/src/cps.cpp
index 831f53f..aed7c33 100644
--- a/src/cps.cpp
+++ b/src/cps.cpp
@@ -120,6 +120,18 @@ ADef::cps(TEnv& tenv, AST* cont) const
return tup<ADef>(loc, tenv.penv.sym("def"), sym(), *++i, 0);
}
+AST*
+ADefType::cps(TEnv& tenv, AST* cont) const
+{
+ return new ADefType(*this);
+}
+
+AST*
+AMatch::cps(TEnv& tenv, AST* cont) const
+{
+ return new AMatch(*this);
+}
+
/** (cps (if c t ... e)) => */
AST*
AIf::cps(TEnv& tenv, AST* cont) const