diff src/mono_util.sml @ 271:42dfb0d61cf0

'database' declaration threaded through compiler
author Adam Chlipala <adamc@hcoop.net>
date Tue, 02 Sep 2008 10:51:41 -0400
parents f31e8da68e90
children 09c66a30ef32
line wrap: on
line diff
--- a/src/mono_util.sml	Tue Sep 02 10:31:16 2008 -0400
+++ b/src/mono_util.sml	Tue Sep 02 10:51:41 2008 -0400
@@ -342,6 +342,7 @@
                 S.map2 (ListUtil.mapfold mft ts,
                         fn ts' =>
                            (DExport (ek, s, n, ts'), loc))
+              | DDatabase _ => S.return2 dAll
 
         and mfvi ctx (x, n, t, e, s) =
             S.bind2 (mft t,
@@ -404,6 +405,7 @@
                                       | DValRec vis => foldl (fn ((x, n, t, e, s), ctx) =>
                                                                  bind (ctx, NamedE (x, n, t, NONE, s))) ctx vis
                                       | DExport _ => ctx
+                                      | DDatabase _ => ctx
                             in
                                 S.map2 (mff ctx' ds',
                                      fn ds' =>