summaryrefslogtreecommitdiff
path: root/src/expl_env.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/expl_env.sml')
-rw-r--r--src/expl_env.sml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/expl_env.sml b/src/expl_env.sml
index 1e99b36b..2bb049a3 100644
--- a/src/expl_env.sml
+++ b/src/expl_env.sml
@@ -312,6 +312,13 @@ fun declBinds env (d, loc) =
in
pushENamed env x n t
end
+ | DView (tn, x, n, _, c) =>
+ let
+ val ct = (CModProj (tn, [], "sql_view"), loc)
+ val ct = (CApp (ct, c), loc)
+ in
+ pushENamed env x n ct
+ end
| DDatabase _ => env
| DCookie (tn, x, n, c) =>
let