summaryrefslogtreecommitdiff
path: root/src/mono.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2013-03-15 16:09:55 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2013-03-15 16:09:55 -0400
commit115361547594fd6773de3a0c9235fccd9962dd9c (patch)
tree23527da3ec268f47015698c307c3d19f5c35b594 /src/mono.sml
parent27dcf1a2bd96d9b1b4cd77674da115e38ff098d4 (diff)
Make Scriptcheck catch more script/message-passing uses, and move the phase earlier in compilation
Diffstat (limited to 'src/mono.sml')
-rw-r--r--src/mono.sml7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mono.sml b/src/mono.sml
index 4a0278fd..f269c52d 100644
--- a/src/mono.sml
+++ b/src/mono.sml
@@ -157,6 +157,11 @@ datatype decl' =
withtype decl = decl' located
-type file = decl list
+datatype sidedness =
+ ServerOnly
+ | ServerAndPull
+ | ServerAndPullAndPush
+
+type file = decl list * (int * sidedness) list
end