Fix: make .cpp files *really* depend on the local .hpp file they include.
[SXSI/xpathcomp.git] / src / main.ml
index 3932be6..76e321d 100644 (file)
@@ -20,30 +20,6 @@ let tuned_gc = { default_gc with
               }
 
 
-
-let pr_mat v r =
-  let () =
-    Printf.eprintf "Number of nodes in the result set : %i\n%!"
-      (NodeSet.Mat.length r);
-  in
-  if !Options.verbose then Printf.eprintf "Size of result set: %i kb\n"
-    (Ocaml.size_w r);
-  match !Options.output_file with
-    | None -> ()
-    | Some f ->
-      let fd, finish =
-       if f = "-" then Unix.stdout, ignore
-       else
-         Unix.openfile f [ Unix.O_WRONLY; Unix.O_TRUNC; Unix.O_CREAT ] 0o666,
-         Unix.close
-      in
-      let () =
-       time ~msg:"Serializing results"
-         (NodeSet.Mat.iter (fun node -> Tree.print_xml v node fd)) r
-      in
-      Tree.flush v fd;
-      finish fd
-
 let mk_runtime run auto doc arg count print outfile =
   fun () ->
     let r = time ~count:1 ~msg:"Execution time" (run auto doc) arg in