summaryrefslogtreecommitdiff
path: root/src/elaborate.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-02 10:51:41 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-02 10:51:41 -0400
commitb4398c433195b75d5e03d0774b1128fae14e9f41 (patch)
tree70e65dddc4c89b8cd1e13fce0d0c2ce21f50d67a /src/elaborate.sml
parent8a494ef37c4f4f7e15bbf173f44f81d12a60b91b (diff)
'database' declaration threaded through compiler
Diffstat (limited to 'src/elaborate.sml')
-rw-r--r--src/elaborate.sml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/elaborate.sml b/src/elaborate.sml
index 27b3e3fe..d4b71b80 100644
--- a/src/elaborate.sml
+++ b/src/elaborate.sml
@@ -2361,6 +2361,7 @@ fun sgiOfDecl (d, loc) =
| L'.DExport _ => []
| L'.DTable (tn, x, n, c) => [(L'.SgiTable (tn, x, n, c), loc)]
| L'.DClass (x, n, c) => [(L'.SgiClass (x, n, c), loc)]
+ | L'.DDatabase _ => []
fun sgiBindsD (env, denv) (sgi, _) =
case sgi of
@@ -3109,6 +3110,8 @@ fun elabDecl ((d, loc), (env, denv, gs : constraint list)) =
checkKind env c' ck k;
([(L'.DClass (x, n, c'), loc)], (env, denv, []))
end
+
+ | L.DDatabase s => ([(L'.DDatabase s, loc)], (env, denv, []))
in
r
end