X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotation.ml;h=9ed0c5038e07c5c5d28792c4bf17233144a0df6e;hb=28ac70d3f475442cda4ef30e0e9c0e6d012b2527;hp=f6ea55a48582957987ee1af6c77b45a1d8418850;hpb=08ecc780b3b0a4cac7ed72cf68c310e4eeffa2c1;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotation.ml b/helm/ocaml/cic_notation/cicNotation.ml index f6ea55a48..9ed0c5038 100644 --- a/helm/ocaml/cic_notation/cicNotation.ml +++ b/helm/ocaml/cic_notation/cicNotation.ml @@ -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