X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Foptions.ml;h=197982d3def88b5d443d60bd0156d71f20c60410;hb=38a3c71734760b87bd2ee9a5f80c8aaeadc9ee54;hp=4a7a0c768dff54cc3f750364b651e5e98ec1baf3;hpb=c560c779122e09b6c38c3167623c3e6e40abe7fc;p=SXSI%2Fxpathcomp.git diff --git a/src/options.ml b/src/options.ml index 4a7a0c7..197982d 100644 --- a/src/options.ml +++ b/src/options.ml @@ -1,4 +1,3 @@ -open Utils open Format let index_empty_texts = ref true @@ -43,13 +42,13 @@ let set_logger s = List.iter (fun t -> if t = "" then () else - match String.explode t ':' with + match Utils.String.explode t ':' with [ tr; lvl ] -> let l = try int_of_string lvl with _ -> raise (Arg.Bad (lvl)) in if Logger.is_logger tr then Logger.activate tr l else raise (Arg.Bad (t)) | _ -> raise (Arg.Bad (t)) - ) (String.explode s ',') + ) (Utils.String.explode s ',') let pretty_loggers () = ignore(flush_str_formatter());