summaryrefslogtreecommitdiff
path: root/src/mono_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-29 13:30:01 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-29 13:30:01 -0400
commitcd8701d5e602f64cf05c0e34841431d7bbe8e671 (patch)
tree3bd72d9c87173e9ba21a556e5b90841f36e24651 /src/mono_print.sml
parent843fcc973f4cf7b149d4f57732fb66f812115320 (diff)
Expunging non-nullable rows
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r--src/mono_print.sml10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml
index cbe90371..23b32a72 100644
--- a/src/mono_print.sml
+++ b/src/mono_print.sml
@@ -413,9 +413,13 @@ fun p_decl env (dAll as (d, _) : decl) =
| DSequence s => box [string "(* SQL sequence ",
string s,
string "*)"]
- | DDatabase s => box [string "database",
- space,
- string s]
+ | DDatabase (s, n) => box [string "database",
+ space,
+ string s,
+ space,
+ string "(",
+ p_enamed env n,
+ string ")"]
| DJavaScript s => box [string "JavaScript(",
string s,
string ")"]