summaryrefslogtreecommitdiff
path: root/src/cjrize.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-13 12:06:47 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-13 12:06:47 -0400
commitb3379c2a4d9b23c49c286b31ab24850129b5bb1e (patch)
tree20b0b499f8ea47e7b6d8f7fad4ac05d24fc4cad3 /src/cjrize.sml
parent95d278b9b8e9c314541b8251a34a32fe6deeb896 (diff)
Closure code generation almost there
Diffstat (limited to 'src/cjrize.sml')
-rw-r--r--src/cjrize.sml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cjrize.sml b/src/cjrize.sml
index 52b1b4ac..558fac0b 100644
--- a/src/cjrize.sml
+++ b/src/cjrize.sml
@@ -155,6 +155,9 @@ fun cifyExp ((e, loc), sm) =
((L'.ESeq (e1, e2), loc), sm)
end
+ | L.EClosure _ => (ErrorMsg.errorAt loc "Nested closure remains in code generation";
+ (dummye, sm))
+
fun cifyDecl ((d, loc), sm) =
case d of
L.DVal (x, n, t, e, _) =>