summaryrefslogtreecommitdiff
path: root/src/source_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-12-15 10:19:05 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-12-15 10:19:05 -0500
commit6179a09d47c5af4db1ac41d00b8cb7ec36741c3e (patch)
tree0912963011416a0f1132c07d44c3eca8b6545d54 /src/source_print.sml
parent1589307fcb887ec55b5baea7445747b479a665d2 (diff)
Convert to task syntax
Diffstat (limited to 'src/source_print.sml')
-rw-r--r--src/source_print.sml8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/source_print.sml b/src/source_print.sml
index 31fc2500..e3b4fe94 100644
--- a/src/source_print.sml
+++ b/src/source_print.sml
@@ -662,9 +662,13 @@ fun p_decl ((d, _) : decl) =
| DStyle x => box [string "style",
space,
string x]
- | DInitializer e => box [string "initializer",
+ | DTask (e1, e2) => box [string "task",
space,
- p_exp e]
+ p_exp e1,
+ space,
+ string "=",
+ space,
+ p_exp e2]
and p_str (str, _) =
case str of