summaryrefslogtreecommitdiff
path: root/src/core_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/core_print.sml
parent1589307fcb887ec55b5baea7445747b479a665d2 (diff)
Convert to task syntax
Diffstat (limited to 'src/core_print.sml')
-rw-r--r--src/core_print.sml8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core_print.sml b/src/core_print.sml
index 7dd43d56..c1f93587 100644
--- a/src/core_print.sml
+++ b/src/core_print.sml
@@ -611,9 +611,13 @@ fun p_decl env (dAll as (d, _) : decl) =
string "as",
space,
string s]
- | DInitializer e => box [string "initializer",
+ | DTask (e1, e2) => box [string "task",
space,
- p_exp env e]
+ p_exp env e1,
+ space,
+ string "=",
+ space,
+ p_exp env e2]
fun p_file env file =
let