summaryrefslogtreecommitdiff
path: root/src/cjr.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/cjr.sml')
-rw-r--r--src/cjr.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cjr.sml b/src/cjr.sml
index 129ff4e9..621ccf45 100644
--- a/src/cjr.sml
+++ b/src/cjr.sml
@@ -56,6 +56,7 @@ withtype exp = exp' located
datatype decl' =
DStruct of int * (string * typ) list
+ | DDatatype of string * int * (string * int * typ option) list
| DVal of string * int * typ * exp
| DFun of string * int * (string * typ) list * typ * exp
| DFunRec of (string * int * (string * typ) list * typ * exp) list