diff src/mono_print.sml @ 338:e976b187d73a

SQL sequences
author Adam Chlipala <adamc@hcoop.net>
date Sun, 14 Sep 2008 11:02:18 -0400
parents 41458a694575
children 7abb28e9d51f
line wrap: on
line diff
--- a/src/mono_print.sml	Sat Sep 13 20:15:30 2008 -0400
+++ b/src/mono_print.sml	Sun Sep 14 11:02:18 2008 -0400
@@ -260,6 +260,9 @@
       | EDml e => box [string "dml(",
                        p_exp env e,
                        string ")"]
+      | ENextval e => box [string "nextval(",
+                           p_exp env e,
+                           string ")"]
 
 and p_exp env = p_exp' false env
 
@@ -348,6 +351,9 @@
                                                           p_typ env t]) xts,
                                 space,
                                 string "*)"]
+      | DSequence s => box [string "(* SQL sequence ",
+                            string s,
+                            string "*)"]
       | DDatabase s => box [string "database",
                             space,
                             string s]