diff options
Diffstat (limited to 'src/source_print.sml')
-rw-r--r-- | src/source_print.sml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/source_print.sml b/src/source_print.sml index 4844e508..e1a8de7a 100644 --- a/src/source_print.sml +++ b/src/source_print.sml @@ -267,6 +267,13 @@ fun p_exp' par (e, _) = | EField (e, c) => box [p_exp' true e, string ".", p_con' true c] + | EWith (e1, c, e2) => parenIf par (box [p_exp e1, + space, + string "with", + space, + p_con' true c, + space, + p_exp' true e2]) | ECut (e, c) => parenIf par (box [p_exp' true e, space, string "--", |