diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-12-15 10:19:05 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-12-15 10:19:05 -0500 |
commit | 6179a09d47c5af4db1ac41d00b8cb7ec36741c3e (patch) | |
tree | 0912963011416a0f1132c07d44c3eca8b6545d54 /src/prepare.sml | |
parent | 1589307fcb887ec55b5baea7445747b479a665d2 (diff) |
Convert to task syntax
Diffstat (limited to 'src/prepare.sml')
-rw-r--r-- | src/prepare.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prepare.sml b/src/prepare.sml index 7cbd7d76..2d144c67 100644 --- a/src/prepare.sml +++ b/src/prepare.sml @@ -325,11 +325,11 @@ fun prepDecl (d as (_, loc), st) = | DJavaScript _ => (d, st) | DCookie _ => (d, st) | DStyle _ => (d, st) - | DInitializer e => + | DTask (tk, e) => let val (e, st) = prepExp (e, st) in - ((DInitializer e, loc), st) + ((DTask (tk, e), loc), st) end fun prepare (ds, ps) = |