summaryrefslogtreecommitdiff
path: root/src/shake.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 10:48:02 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 10:48:02 -0500
commit6b020742f893fed869a9473680271b6a68e1ce09 (patch)
tree020f1384d2aab1de4782d6f08180d28df08cf2e9 /src/shake.sml
parent3c9155ead1004bd305ed8bd990fcfd9904ac6629 (diff)
Cookies through shake2
Diffstat (limited to 'src/shake.sml')
-rw-r--r--src/shake.sml7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/shake.sml b/src/shake.sml
index 4ebd1b0b..e062743d 100644
--- a/src/shake.sml
+++ b/src/shake.sml
@@ -68,7 +68,9 @@ fun shake file =
(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 @@ fun shake file =
| (DExport _, _) => true
| (DTable _, _) => true
| (DSequence _, _) => true
- | (DDatabase _, _) => true) file
+ | (DDatabase _, _) => true
+ | (DCookie _, _) => true) file
end
end