summaryrefslogtreecommitdiff
path: root/src/core_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-28 15:04:37 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-28 15:04:37 -0400
commit51f2a80dac5c3cd25a27fb5abfdfa50d813ab0b2 (patch)
treee4e2246dc15a7cbbf067401a21197b6fd17ea95b /src/core_print.sml
parentcaf010bca085bea65037d194c3eb21ca8b83c23b (diff)
A view query works
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]