diff options
author | 2008-11-06 10:29:55 -0500 | |
---|---|---|
committer | 2008-11-06 10:29:55 -0500 | |
commit | cf761fbfd28af10fb6e11bdf583f2821abecfe44 (patch) | |
tree | 5857f5dc14c0b71b191d1a267c9a8fdfcee03810 /src/source_print.sml | |
parent | 52bcb1e926570966efe93672e968999f4f2e14f8 (diff) |
Cookies through elaborate
Diffstat (limited to 'src/source_print.sml')
-rw-r--r-- | src/source_print.sml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/source_print.sml b/src/source_print.sml index 9e6608df..d33fb38d 100644 --- a/src/source_print.sml +++ b/src/source_print.sml @@ -428,6 +428,13 @@ fun p_sgn_item (sgi, _) = string "=", space, p_con c] + | SgiCookie (x, c) => box [string "cookie", + space, + string x, + space, + string ":", + space, + p_con c] and p_sgn (sgn, _) = case sgn of @@ -579,6 +586,14 @@ fun p_decl ((d, _) : decl) = space, string s] + | DCookie (x, c) => box [string "cookie", + space, + string x, + space, + string ":", + space, + p_con c] + and p_str (str, _) = case str of StrConst ds => box [string "struct", |