Mercurial > urweb
diff src/cjr_print.sml @ 106:d101cb1efe55
More with attributes and efficient serialization
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 10 Jul 2008 15:49:14 -0400 |
parents | 5f04adf47f48 |
children | 813e5a52063d |
line wrap: on
line diff
--- a/src/cjr_print.sml Thu Jul 10 15:19:06 2008 -0400 +++ b/src/cjr_print.sml Thu Jul 10 15:49:14 2008 -0400 @@ -146,6 +146,13 @@ p_exp env e, string "), lw_unit_v)"] + | ESeq (e1, e2) => box [string "(", + p_exp env e1, + string ",", + space, + p_exp env e2, + string ")"] + and p_exp env = p_exp' false env fun p_decl env ((d, _) : decl) = @@ -177,7 +184,9 @@ let val env' = E.pushERel env x dom in - box [p_typ env ran, + box [string "static", + space, + p_typ env ran, space, string ("__lwc_" ^ Int.toString n), string "(",