From 4d83cf46590e7c48581612fd9fe6218b896b89b8 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 2 Sep 2008 13:09:54 -0400 Subject: Table declarations pushed to Cjr --- src/mono_util.sml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mono_util.sml') 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', -- cgit v1.2.3