summaryrefslogtreecommitdiff
path: root/src/core.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.sml')
-rw-r--r--src/core.sml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core.sml b/src/core.sml
index 448113cc..ffd149f3 100644
--- a/src/core.sml
+++ b/src/core.sml
@@ -80,11 +80,15 @@ datatype exp' =
withtype exp = exp' located
+datatype export_kind =
+ Link
+ | Action
+
datatype decl' =
DCon of string * int * kind * con
| DVal of string * int * con * exp * string
| DValRec of (string * int * con * exp * string) list
- | DExport of int
+ | DExport of export_kind * int
withtype decl = decl' located