WIP on beautyfying the pretty-printing module.
[SXSI/xpathcomp.git] / src / options.ml
index 4a7a0c7..197982d 100644 (file)
@@ -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());