From 25658a4755c86ffbda946fb8b97f882f3ce7a724 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 14 Aug 2008 13:20:29 -0400 Subject: Parsing and elaborating 'table' --- src/source_print.sml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/source_print.sml') 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 -- cgit v1.2.3