summaryrefslogtreecommitdiff
path: root/src/tag.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-29 13:16:21 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-29 13:16:21 -0400
commit4b511aa7ed5b36cb0a9adb898f881d6db0a89996 (patch)
tree116bd8e11b341df6999ea79432cb4386a48ca9fc /src/tag.sml
parent4cbbb0bb751dd9e9dae9d6b621e563ee5c7ae1b4 (diff)
Datatypes through corify
Diffstat (limited to 'src/tag.sml')
-rw-r--r--src/tag.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tag.sml b/src/tag.sml
index c61fc23f..74f195a9 100644
--- a/src/tag.sml
+++ b/src/tag.sml
@@ -153,6 +153,7 @@ fun tag file =
val count = foldl (fn ((d, _), count) =>
case d of
DCon (_, n, _, _) => Int.max (n, count)
+ | DDatatype (_, n, _) => Int.max (n, count)
| DVal (_, n, _, _, _) => Int.max (n, count)
| DValRec vis => foldl (fn ((_, n, _, _, _), count) => Int.max (n, count)) count vis
| DExport _ => count) 0 file