]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/dump_moo.ml
changes location of coq.ma (now "legacy/coq.ma")
[helm.git] / helm / matita / dump_moo.ml
index cf872bdebcd4c02e812b294a716c1105cd171aa7..05c21d40d51f18c008797bc58800117a0721b28e 100644 (file)
@@ -23,6 +23,8 @@
  * http://helm.cs.unibo.it/
  *)
 
+(* $Id$ *)
+
 open Printf
 
 let arg_spec =
@@ -45,15 +47,12 @@ let _ =
         HLog.error (sprintf "Can't find moo '%s', skipping it." fname)
       else begin
         printf "%s:\n" fname; flush stdout;
-        let commands, metadata = GrafiteMarshal.load_moo ~fname in
+        let commands = GrafiteMarshal.load_moo ~fname in
         List.iter
           (fun cmd ->
-            printf "  %s\n" (GrafiteAstPp.pp_cic_command cmd); flush stdout)
+            printf "  %s\n%!"
+              (GrafiteAstPp.pp_command ~obj_pp:(fun _ -> assert false) cmd))
           commands;
-        List.iter
-          (fun m ->
-            printf "  %s\n" (GrafiteAstPp.pp_metadata m); flush stdout)
-          metadata
       end)
     (List.rev !moos)