summaryrefslogtreecommitdiff
path: root/src/source_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-07 16:14:31 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-07 16:14:31 -0400
commit26ad31287745567b98b357de9793a0e795c63334 (patch)
tree6fa2aa05d829b2b71c6e2d778b4898999992a00f /src/source_print.sml
parent98370da7e9f70e3d83f666019b765e15f617b846 (diff)
PRIMARY KEY
Diffstat (limited to 'src/source_print.sml')
-rw-r--r--src/source_print.sml52
1 files changed, 30 insertions, 22 deletions
diff --git a/src/source_print.sml b/src/source_print.sml
index c145dc63..94a175ac 100644
--- a/src/source_print.sml
+++ b/src/source_print.sml
@@ -417,17 +417,21 @@ fun p_sgn_item (sgi, _) =
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 @@ fun p_decl ((d, _) : decl) =
| 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]