diff options
author | 2015-09-21 10:16:55 -0400 | |
---|---|---|
committer | 2015-09-21 10:16:55 -0400 | |
commit | 3e42cccfaef1157ca14cd102959b867c996503a9 (patch) | |
tree | f6f9a9c57702517edc66c096a50efe0a6e7dca46 /src/sigcheck.sml | |
parent | 68879bbb4bf58e4709c96ba6904071ce5d24a906 (diff) |
Revert to revision 2222.
Diffstat (limited to 'src/sigcheck.sml')
-rw-r--r-- | src/sigcheck.sml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sigcheck.sml b/src/sigcheck.sml index 35302bae..a6ed7653 100644 --- a/src/sigcheck.sml +++ b/src/sigcheck.sml @@ -16,7 +16,7 @@ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN @@ -32,7 +32,7 @@ open Mono structure IS = IntBinarySet structure E = ErrorMsg -fun check (file : file) = +fun check (ds, sl) = let fun isSiggy siggers = MonoUtil.Decl.exists {typ = fn _ => false, @@ -89,9 +89,9 @@ fun check (file : file) = (sigify sigdecs d, (siggers, sigdecs)) | _ => (sigify sigdecs d, (siggers, sigdecs)) - val (ds, _) = ListUtil.foldlMap doDecl (IS.empty, IS.empty) (#decls file) + val (ds, _) = ListUtil.foldlMap doDecl (IS.empty, IS.empty) ds in - {decls = ds, sideInfo = #sideInfo file} + (ds, sl) end end |