diff options
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r-- | src/mono_print.sml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml index 0b85e1c4..40abf7d7 100644 --- a/src/mono_print.sml +++ b/src/mono_print.sml @@ -193,11 +193,11 @@ fun p_exp' par env (e, _) = p_typ env t, string ")"] - | EStrcat (e1, e2) => box [p_exp' true env e1, - space, - string "^", - space, - p_exp' true env e2] + | EStrcat (e1, e2) => parenIf par (box [p_exp' true env e1, + space, + string "^", + space, + p_exp env e2]) | EWrite e => box [string "write(", p_exp env e, |