summaryrefslogtreecommitdiff
path: root/src/mono_util.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-02 13:09:54 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-02 13:09:54 -0400
commit4d83cf46590e7c48581612fd9fe6218b896b89b8 (patch)
tree9fcd1257c4b88ede3b3c1675121221c89e46d60e /src/mono_util.sml
parent48a39b87c0f2b01c85e1bb78072387e30ab0f235 (diff)
Table declarations pushed to Cjr
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r--src/mono_util.sml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml
index 9dddb477..2b257641 100644
--- a/src/mono_util.sml
+++ b/src/mono_util.sml
@@ -342,6 +342,7 @@ fun mapfoldB {typ = fc, exp = fe, decl = fd, bind} =
S.map2 (ListUtil.mapfold mft ts,
fn ts' =>
(DExport (ek, s, n, ts'), loc))
+ | DTable _ => S.return2 dAll
| DDatabase _ => S.return2 dAll
and mfvi ctx (x, n, t, e, s) =
@@ -405,6 +406,7 @@ fun mapfoldB (all as {bind, ...}) =
| DValRec vis => foldl (fn ((x, n, t, e, s), ctx) =>
bind (ctx, NamedE (x, n, t, NONE, s))) ctx vis
| DExport _ => ctx
+ | DTable _ => ctx
| DDatabase _ => ctx
in
S.map2 (mff ctx' ds',