diff src/mono_shake.sml @ 273:09c66a30ef32

Table declarations pushed to Cjr
author Adam Chlipala <adamc@hcoop.net>
date Tue, 02 Sep 2008 13:09:54 -0400
parents 42dfb0d61cf0
children e976b187d73a
line wrap: on
line diff
--- a/src/mono_shake.sml	Tue Sep 02 11:57:25 2008 -0400
+++ b/src/mono_shake.sml	Tue Sep 02 13:09:54 2008 -0400
@@ -54,6 +54,7 @@
                                    | ((DValRec vis, _), (cdef, edef)) =>
                                      (cdef, foldl (fn ((_, n, t, e, _), edef) => IM.insert (edef, n, (t, e))) edef vis)
                                    | ((DExport _, _), acc) => acc
+                                   | ((DTable _, _), acc) => acc
                                    | ((DDatabase _, _), acc) => acc)
                                  (IM.empty, IM.empty) file
 
@@ -108,6 +109,7 @@
                       | (DVal (_, n, _, _, _), _) => IS.member (#exp s, n)
                       | (DValRec vis, _) => List.exists (fn (_, n, _, _, _) => IS.member (#exp s, n)) vis
                       | (DExport _, _) => true
+                      | (DTable _, _) => true
                       | (DDatabase _, _) => true) file
     end