X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Fdump_moo.ml;h=25b98f42487b7275944c0ddbbf7db6ec63ba5484;hb=99b249b23524cda2d91602ee088fef1a7be253ee;hp=cf872bdebcd4c02e812b294a716c1105cd171aa7;hpb=ebe70c001a623e0440f21cd16dc88f585edcf0ea;p=helm.git diff --git a/helm/matita/dump_moo.ml b/helm/matita/dump_moo.ml index cf872bdeb..25b98f424 100644 --- a/helm/matita/dump_moo.ml +++ b/helm/matita/dump_moo.ml @@ -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_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)