Mercurial > urweb
diff src/shake.sml @ 461:5c9606deacb6
Cookies through shake2
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 06 Nov 2008 10:48:02 -0500 |
parents | 787d4931fb07 |
children | 0dd40b6bfdf3 |
line wrap: on
line diff
--- a/src/shake.sml Thu Nov 06 10:43:48 2008 -0500 +++ b/src/shake.sml Thu Nov 06 10:48:02 2008 -0500 @@ -68,7 +68,9 @@ (cdef, IM.insert (edef, n, ([], c, dummye))) | ((DSequence (_, n, _), _), (cdef, edef)) => (cdef, IM.insert (edef, n, ([], dummyt, dummye))) - | ((DDatabase _, _), acc) => acc) + | ((DDatabase _, _), acc) => acc + | ((DCookie (_, n, c, _), _), (cdef, edef)) => + (cdef, IM.insert (edef, n, ([], c, dummye)))) (IM.empty, IM.empty) file fun kind (_, s) = s @@ -136,7 +138,8 @@ | (DExport _, _) => true | (DTable _, _) => true | (DSequence _, _) => true - | (DDatabase _, _) => true) file + | (DDatabase _, _) => true + | (DCookie _, _) => true) file end end