X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Fmatitadep.ml;h=40f91235a5a9e9ac82ae6d7e9c66f5253034a8f4;hb=0bf96cb668cdd8d14b1c66f8a5241f12c5df9e3a;hp=9fafa4907f3dd54f83c20777e69baf44363cc038;hpb=3b6a37cbbfe7d1535080be0e728dd8aa3c112880;p=helm.git diff --git a/helm/matita/matitadep.ml b/helm/matita/matitadep.ml index 9fafa4907..40f91235a 100644 --- a/helm/matita/matitadep.ml +++ b/helm/matita/matitadep.ml @@ -74,7 +74,7 @@ let main () = List.iter (fun file -> let ic = open_in file in - let istream = Stream.of_channel ic in + let istream = Ulexing.from_utf8_channel ic in let dependencies = GrafiteParser.parse_dependencies istream in close_in ic; List.iter @@ -107,7 +107,7 @@ let main () = (fun file -> let deps = Hashtbl.find_all include_deps file in let deps = List.fast_sort Pervasives.compare deps in - let deps = MatitaMisc.list_uniq deps in + let deps = HExtlib.list_uniq deps in let deps = file :: deps in let moo = MatitaMisc.obj_file_of_script file in Printf.printf "%s: %s\n" moo (String.concat " " deps);