summaryrefslogtreecommitdiff
path: root/src/cjr_print.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/cjr_print.sml')
-rw-r--r--src/cjr_print.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml
index 6a5116ce..2d547519 100644
--- a/src/cjr_print.sml
+++ b/src/cjr_print.sml
@@ -2099,7 +2099,7 @@ fun p_decl env (dAll as (d, _) : decl) =
space,
string "*/"]
- | DInitializer _ => box []
+ | DTask _ => box []
datatype 'a search =
Found of 'a
@@ -2733,7 +2733,7 @@ fun p_file env (ds, ps) =
string "}",
newline]
- val initializers = List.mapPartial (fn (DInitializer e, _) => SOME e | _ => NONE) ds
+ val initializers = List.mapPartial (fn (DTask (Initialize, e), _) => SOME e | _ => NONE) ds
in
box [string "#include <stdio.h>",
newline,