diff src/source_print.sml @ 707:d8217b4cb617

PRIMARY KEY
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 16:14:31 -0400
parents 1fb318c17546
children f152f215a02c
line wrap: on
line diff
--- a/src/source_print.sml	Tue Apr 07 15:04:07 2009 -0400
+++ b/src/source_print.sml	Tue Apr 07 16:14:31 2009 -0400
@@ -417,17 +417,21 @@
                               string ":",
                               space,
                               p_con c]
-      | SgiTable (x, c, e) => box [string "table",
-                                space,
-                                string x,
-                                space,
-                                string ":",
-                                space,
-                                p_con c,
-                                space,
-                                string "constraints",
-                                space,
-                                p_exp e]
+      | SgiTable (x, c, pe, ce) => box [string "table",
+                                        space,
+                                        string x,
+                                        space,
+                                        string ":",
+                                        space,
+                                        p_con c,
+                                        space,
+                                        string "keys",
+                                        space,
+                                        p_exp pe,
+                                        space,
+                                        string "constraints",
+                                        space,
+                                        p_exp ce]
       | SgiStr (x, sgn) => box [string "structure",
                                 space,
                                 string x,
@@ -599,17 +603,21 @@
       | DExport str => box [string "export",
                             space,
                             p_str str]
-      | DTable (x, c, e) => box [string "table",
-                                 space,
-                                 string x,
-                                 space,
-                                 string ":",
-                                 space,
-                                 p_con c,
-                                 space,
-                                 string "constraints",
-                                 space,
-                                 p_exp e]
+      | DTable (x, c, pe, ce) => box [string "table",
+                                      space,
+                                      string x,
+                                      space,
+                                      string ":",
+                                      space,
+                                      p_con c,
+                                      space,
+                                      string "keys",
+                                      space,
+                                      p_exp pe,
+                                      space,
+                                      string "constraints",
+                                      space,
+                                      p_exp ce]
       | DSequence x => box [string "sequence",
                             space,
                             string x]