]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/getter/test.ml
ocaml 3.09 transition
[helm.git] / helm / ocaml / getter / test.ml
index d53e42bbb08868b93c5bc49c1a9a29e4c79c5588..a35ed4d5bb5678141cd690ddf9385276c2f753b2 100644 (file)
@@ -1,15 +1,11 @@
 
 let _ = Helm_registry.load_from "foo.conf.xml"
-let fname =
-  Http_getter.getxml ~format:`Normal ~patch_dtd:true
-    "cic:/Coq/Init/Logic/False.ind"
-in
+let fname = Http_getter.getxml ~format:`Normal ~patch_dtd:true Sys.argv.(1) in
 let ic = open_in fname in
 (try
   while true do
     let line = input_line ic in
     print_endline line
   done
-with End_of_file -> ());
-Sys.remove fname
+with End_of_file -> ())