X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fmatita.ml;h=46926ea9b387e75a32d0d9c213030136459485d2;hb=77d56df4d446307199a9d4e03478260c6c63baf8;hp=783b8c0231ed14654b623dd93891c248ca861e9c;hpb=b9abc92648bccc93a8abfaca299953d06f30e671;p=helm.git diff --git a/helm/software/matita/matita.ml b/helm/software/matita/matita.ml index 783b8c023..46926ea9b 100644 --- a/helm/software/matita/matita.ml +++ b/helm/software/matita/matita.ml @@ -167,22 +167,22 @@ let _ = (MatitaScript.current ())#grafite_status.GrafiteTypes.proof_status with | GrafiteTypes.No_proof -> (Cic.Implicit None) - | Incomplete_proof i -> let _,_,p,_ = i.GrafiteTypes.proof in p - | Proof p -> let _,_,p,_ = p in p + | Incomplete_proof i -> let _,_,p,_, _ = i.GrafiteTypes.proof in p + | Proof p -> let _,_,p,_, _ = p in p | Intermediate _ -> assert false))); addDebugItem "Print current proof (natural language) to stderr" (fun _ -> prerr_endline - (ObjPp.obj_to_string 120 + (ObjPp.obj_to_string 120 GrafiteAst.Declarative "" (match (MatitaScript.current ())#grafite_status.GrafiteTypes.proof_status with | GrafiteTypes.No_proof -> assert false | Incomplete_proof i -> - let _,m,p,ty = i.GrafiteTypes.proof in - Cic.CurrentProof ("current (incomplete) proof",m,p,ty,[],[]) - | Proof (_,m,p,ty) -> - Cic.CurrentProof ("current proof",m,p,ty,[],[]) + let _,m,p,ty, attrs = i.GrafiteTypes.proof in + Cic.CurrentProof ("current (incomplete) proof",m,p,ty,[],attrs) + | Proof (_,m,p,ty, attrs) -> + Cic.CurrentProof ("current proof",m,p,ty,[],attrs) | Intermediate _ -> assert false))); (* addDebugItem "ask record choice" (fun _ ->