diff options
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r-- | src/cjr_print.sml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml index 91e5060c..44e9f847 100644 --- a/src/cjr_print.sml +++ b/src/cjr_print.sml @@ -146,6 +146,13 @@ fun p_exp' par env (e, _) = 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 @@ fun p_decl env ((d, _) : decl) = 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 "(", |