]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/cicNotation.ml
added ligatures support
[helm.git] / helm / ocaml / cic_notation / cicNotation.ml
index f6ea55a48582957987ee1af6c77b45a1d8418850..9ed0c5038e07c5c5d28792c4bf17233144a0df6e 100644 (file)
@@ -61,10 +61,10 @@ let remove_notation = function
 
 let load_notation fname =
   let ic = open_in fname in
-  let istream = Stream.of_channel ic in
+  let lexbuf = Ulexing.from_utf8_channel ic in
   try
     while true do
-      match GrafiteParser.parse_statement istream with
+      match GrafiteParser.parse_statement lexbuf with
       | Executable (_, Command (_, cmd)) -> ignore (process_notation cmd)
       | _ -> ()
     done