diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-09-02 13:09:54 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-09-02 13:09:54 -0400 |
commit | 4d83cf46590e7c48581612fd9fe6218b896b89b8 (patch) | |
tree | 9fcd1257c4b88ede3b3c1675121221c89e46d60e /src/mono_shake.sml | |
parent | 48a39b87c0f2b01c85e1bb78072387e30ab0f235 (diff) |
Table declarations pushed to Cjr
Diffstat (limited to 'src/mono_shake.sml')
-rw-r--r-- | src/mono_shake.sml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mono_shake.sml b/src/mono_shake.sml index 8276b4d6..dddb1d9a 100644 --- a/src/mono_shake.sml +++ b/src/mono_shake.sml @@ -54,6 +54,7 @@ fun shake file = | ((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 @@ fun shake file = | (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 |