X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fmatita%2Fdump_moo.ml;h=05c21d40d51f18c008797bc58800117a0721b28e;hb=d34d9154b7ab1ce716d66e5beb370fb44748d423;hp=43d11f9bc63ff9f8c147c59d02f147c3bfba13e7;hpb=b2f2e47efe1e01df81cb7659c30eeb76f1f830da;p=helm.git diff --git a/helm/matita/dump_moo.ml b/helm/matita/dump_moo.ml index 43d11f9bc..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 = @@ -42,14 +44,15 @@ let _ = List.iter (fun fname -> if not (Sys.file_exists fname) then - MatitaLog.error (sprintf "Can't find moo '%s', skipping it." fname) + HLog.error (sprintf "Can't find moo '%s', skipping it." fname) else begin printf "%s:\n" fname; flush stdout; - let commands = MatitaMoo.load_moo ~fname in + let commands = GrafiteMarshal.load_moo ~fname in List.iter (fun cmd -> - printf " %s\n" (GrafiteAstPp.pp_command cmd); flush stdout) - commands + printf " %s\n%!" + (GrafiteAstPp.pp_command ~obj_pp:(fun _ -> assert false) cmd)) + commands; end) (List.rev !moos)