X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Fdump_moo.ml;h=05c21d40d51f18c008797bc58800117a0721b28e;hb=be5869cd0bbe16c8a67827723c97d2d4fce4c0bc;hp=045a7b91bb456ae60981a6e5065fa7a8d110d76b;hpb=0ac236dda6f80f6dc86a7f12d8c88b25e64e3251;p=helm.git diff --git a/helm/matita/dump_moo.ml b/helm/matita/dump_moo.ml index 045a7b91b..05c21d40d 100644 --- a/helm/matita/dump_moo.ml +++ b/helm/matita/dump_moo.ml @@ -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_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)