X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_annotations%2FcicAnnotation2Xml.ml;h=7ea0b7b6309937574d1cae19e93d9345928aed46;hb=b57c31a1593872c181249135bc05ebd9a72f523b;hp=8fb002f3f0d87286dd7a182fa215276ceee8a1cd;hpb=82466efd82082c6101d1c2c0c217f681b37160e8;p=helm.git diff --git a/helm/ocaml/cic_annotations/cicAnnotation2Xml.ml b/helm/ocaml/cic_annotations/cicAnnotation2Xml.ml index 8fb002f3f..7ea0b7b63 100644 --- a/helm/ocaml/cic_annotations/cicAnnotation2Xml.ml +++ b/helm/ocaml/cic_annotations/cicAnnotation2Xml.ml @@ -119,10 +119,12 @@ let pp_annotation obj i2a curi = | C.ACurrentProof (xid, _, conjs, bo, ty) -> [< print_ann i2a xid ; List.fold_right - (fun (_, context, t) i -> - [< List.fold_right - (fun context_entry i -> - [<(match context_entry with + (fun (cid, _, context, t) i -> + [< print_ann i2a cid ; + List.fold_right + (fun (hid,context_entry) i -> + [ print_term i2a at | Some (_,C.ADef at) -> print_term i2a at | None -> [< >]