summaryrefslogtreecommitdiff
path: root/src/corify.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/corify.sml')
-rw-r--r--src/corify.sml5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corify.sml b/src/corify.sml
index 50d47068..91c82375 100644
--- a/src/corify.sml
+++ b/src/corify.sml
@@ -863,6 +863,8 @@ fun corifyDecl ((d, loc : EM.span), st) =
([(L'.DTable (x, n, corifyCon st c, s), loc)], st)
end
+ | L.DDatabase s => ([(L'.DDatabase s, loc)], st)
+
and corifyStr ((str, _), st) =
case str of
L.StrConst ds =>
@@ -913,7 +915,8 @@ fun maxName ds = foldl (fn ((d, _), n) =>
| L.DStr (_, n', _, str) => Int.max (n, Int.max (n', maxNameStr str))
| L.DFfiStr (_, n', _) => Int.max (n, n')
| L.DExport _ => n
- | L.DTable (_, _, n', _) => Int.max (n, n'))
+ | L.DTable (_, _, n', _) => Int.max (n, n')
+ | L.DDatabase _ => n)
0 ds
and maxNameStr (str, _) =