diff options
Diffstat (limited to 'src/tag.sml')
-rw-r--r-- | src/tag.sml | 1 |
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 |