]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/dump_moo.ml
added contextual menu to act over selected terms
[helm.git] / helm / matita / dump_moo.ml
index 045a7b91bb456ae60981a6e5065fa7a8d110d76b..25b98f42487b7275944c0ddbbf7db6ec63ba5484 100644 (file)
@@ -45,15 +45,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_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)