X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Finterface%2Fannotation2Xml.ml;h=4bcdcdaf1501cc068f9a716e75e5fdb64dd7d055;hb=1b440a95339d60002dcd915dfaead012c08c30d4;hp=a9fca071ab02f77e9a751e64b3207984ff440ce3;hpb=c01d2aaea05f7385bee46addd900cd0397756389;p=helm.git diff --git a/helm/interface/annotation2Xml.ml b/helm/interface/annotation2Xml.ml index a9fca071a..4bcdcdaf1 100644 --- a/helm/interface/annotation2Xml.ml +++ b/helm/interface/annotation2Xml.ml @@ -61,6 +61,15 @@ let print_term = aux s ; aux t >] + | C.ALetIn (id,ann,_,s,t) -> + [< (match !ann with + None -> [<>] + | Some ann -> + (X.xml_nempty "Annotation" ["of", id] (X.xml_cdata ann)) + ) ; + aux s ; + aux t + >] | C.AAppl (id,ann,li) -> [< (match !ann with None -> [<>] @@ -155,12 +164,16 @@ let pp_annotation obj curi = ) ; print_term ty >] - | C.AVariable (xid, ann, _, ty) -> + | C.AVariable (xid, ann, _, bo, ty) -> [< (match !ann with None -> [<>] | Some ann -> X.xml_nempty "Annotation" ["of", xid] (X.xml_cdata ann) ) ; + (match bo with + None -> [<>] + | Some bo -> print_term bo + ) ; print_term ty >] | C.ACurrentProof (xid, ann, _, conjs, bo, ty) ->