aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/source_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-14 13:20:29 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-14 13:20:29 -0400
commit25658a4755c86ffbda946fb8b97f882f3ce7a724 (patch)
tree4ef4c28ab7483566127b841e2396bcc05d98e23d /src/source_print.sml
parent4a22e79410139a25a9615275c3b9adcd165a5988 (diff)
Parsing and elaborating 'table'
Diffstat (limited to 'src/source_print.sml')
-rw-r--r--src/source_print.sml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/source_print.sml b/src/source_print.sml
index 15bb6015..75c8ad3a 100644
--- a/src/source_print.sml
+++ b/src/source_print.sml
@@ -360,6 +360,13 @@ fun p_sgn_item (sgi, _) =
string "~",
space,
p_con c2]
+ | SgiTable (x, c) => box [string "table",
+ space,
+ string x,
+ space,
+ string ":",
+ space,
+ p_con c]
and p_sgn (sgn, _) =
case sgn of
@@ -505,6 +512,13 @@ fun p_decl ((d, _) : decl) =
| DExport str => box [string "export",
space,
p_str str]
+ | DTable (x, c) => box [string "table",
+ space,
+ string x,
+ space,
+ string ":",
+ space,
+ p_con c]
and p_str (str, _) =
case str of