diff options
Diffstat (limited to 'src/flat_print.sml')
-rw-r--r-- | src/flat_print.sml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/flat_print.sml b/src/flat_print.sml index e9697adf..b6c467e1 100644 --- a/src/flat_print.sml +++ b/src/flat_print.sml @@ -136,6 +136,16 @@ fun p_exp' par env (e, _) = string "end"] end + | EStrcat (e1, e2) => box [p_exp' true env e1, + space, + string "^", + space, + p_exp' true env e2] + + | EWrite e => box [string "write(", + p_exp env e, + string ")"] + and p_exp env = p_exp' false env fun p_decl env ((d, _) : decl) = |