summaryrefslogtreecommitdiff
path: root/src/source_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-24 10:09:21 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-24 10:09:21 -0400
commit9e860c86c7d9c763deb9d51490a6766d9c72ed25 (patch)
tree7ba7c7cada5e7afa00c3e46879eb9974849286cf /src/source_print.sml
parentf19ae3bb20fa0c60e737606949b2bec6e3ae04f9 (diff)
Record cut
Diffstat (limited to 'src/source_print.sml')
-rw-r--r--src/source_print.sml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/source_print.sml b/src/source_print.sml
index 245ee79e..ba9219be 100644
--- a/src/source_print.sml
+++ b/src/source_print.sml
@@ -232,6 +232,11 @@ fun p_exp' par (e, _) =
| EField (e, c) => box [p_exp' true e,
string ".",
p_con' true c]
+ | ECut (e, c) => parenIf par (box [p_exp' true e,
+ space,
+ string "--",
+ space,
+ p_con' true c])
| EFold => string "fold"
and p_exp e = p_exp' false e