summaryrefslogtreecommitdiff
path: root/src/source_print.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/source_print.sml')
-rw-r--r--src/source_print.sml10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/source_print.sml b/src/source_print.sml
index a16b5bb1..7ec584d7 100644
--- a/src/source_print.sml
+++ b/src/source_print.sml
@@ -338,9 +338,13 @@ and p_exp e = p_exp' false e
and p_edecl (d, _) =
case d of
- EDVal vi => box [string "val",
- space,
- p_vali vi]
+ EDVal (p, e) => box [string "val",
+ space,
+ p_pat p,
+ space,
+ string "=",
+ space,
+ p_exp e]
| EDValRec vis => box [string "val",
space,
string "rec",