aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cjr.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/cjr.sml')
-rw-r--r--src/cjr.sml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cjr.sml b/src/cjr.sml
index 9be54670..f5392d49 100644
--- a/src/cjr.sml
+++ b/src/cjr.sml
@@ -100,6 +100,8 @@ datatype exp' =
withtype exp = exp' located
+datatype task = Initialize
+
datatype decl' =
DStruct of int * (string * typ) list
| DDatatype of (datatype_kind * string * int * (string * int * typ option) list) list
@@ -118,7 +120,7 @@ datatype decl' =
| DCookie of string
| DStyle of string
- | DInitializer of exp
+ | DTask of task * exp
withtype decl = decl' located