]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaMisc.ml
ported to the new parser interface (Ulexing.lexbuf instead of char Stream.t)
[helm.git] / helm / matita / matitaMisc.ml
index 97d6cac4738b2b0a12c53ceaaad7cfc99d19dda5..c67602dbac3065f00745a9c4aea2fe1fae0c5a55 100644 (file)
@@ -41,7 +41,7 @@ let baseuri_of_baseuri_decl st =
 let baseuri_of_file file = 
   let uri = ref None in
   let ic = open_in file in
-  let istream = Stream.of_channel ic in
+  let istream = Ulexing.from_utf8_channel ic in
   (try
     while true do
       try