summaryrefslogtreecommitdiff
path: root/src/untangle.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/untangle.sml')
-rw-r--r--src/untangle.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/untangle.sml b/src/untangle.sml
index 373cfe18..bcb90ed6 100644
--- a/src/untangle.sml
+++ b/src/untangle.sml
@@ -43,7 +43,7 @@ fun exp (e, s) =
| _ => s
-fun untangle file =
+fun untangle (file : file) =
let
fun decl (dAll as (d, loc)) =
case d of
@@ -208,7 +208,7 @@ fun untangle file =
end
| _ => [dAll]
in
- ListUtil.mapConcat decl file
+ (ListUtil.mapConcat decl (#1 file), #2 file)
end
end