diff src/elab_print.sml @ 203:dd82457fda82

Parsing and elaborating 'table'
author Adam Chlipala <adamc@hcoop.net>
date Thu, 14 Aug 2008 13:20:29 -0400
parents aa54250f58ac
children cb8f69556975
line wrap: on
line diff
--- a/src/elab_print.sml	Tue Aug 12 14:55:05 2008 -0400
+++ b/src/elab_print.sml	Thu Aug 14 13:20:29 2008 -0400
@@ -447,6 +447,13 @@
                                        string "~",
                                        space,
                                        p_con env c2]
+      | SgiTable (x, n, c) => box [string "table",
+                                   space,
+                                   p_named x n,
+                                   space,
+                                   string ":",
+                                   space,
+                                   p_con env c]
 
 and p_sgn env (sgn, _) =
     case sgn of
@@ -596,6 +603,13 @@
                                       string ":",
                                       space,
                                       p_sgn env sgn]
+      | DTable (x, n, c) => box [string "table",
+                                 space,
+                                 p_named x n,
+                                 space,
+                                 string ":",
+                                 space,
+                                 p_con env c]
 
 and p_str env (str, _) =
     case str of