aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core_print.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_print.sml')
-rw-r--r--src/core_print.sml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core_print.sml b/src/core_print.sml
index 9c1c72cd..f2a42a7b 100644
--- a/src/core_print.sml
+++ b/src/core_print.sml
@@ -566,6 +566,13 @@ fun p_decl env (dAll as (d, _) : decl) =
string "as",
space,
string s]
+ | DView (x, n, s, e, _) => box [string "view",
+ space,
+ p_named x n,
+ space,
+ string "as",
+ space,
+ p_exp env e]
| DDatabase s => box [string "database",
space,
string s]