X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_cache%2FcicCache.ml;h=adfeb0575dcbe909d75895eb6e957ee3d7221726;hb=ae326f646ef4c01b43d6da04201b427d1e175400;hp=7dfd8242d1ff724f06d75ce0a5fdf35b89df0cc2;hpb=538b694e70fafbf298f27cf57cae13928bac95af;p=helm.git diff --git a/helm/ocaml/cic_cache/cicCache.ml b/helm/ocaml/cic_cache/cicCache.ml index 7dfd8242d..adfeb0575 100644 --- a/helm/ocaml/cic_cache/cicCache.ml +++ b/helm/ocaml/cic_cache/cicCache.ml @@ -39,11 +39,12 @@ let get_annobj uri = let module G = Getter in let module U = UriManager in let cicfilename = G.getxml (U.cicuri_of_uri uri) in - match CicParser.term_of_xml cicfilename uri false with - (_, Some _) -> assert false - | (annobj, None) -> annobj + CicParser.annobj_of_xml cicfilename uri ;; let get_obj uri = - Deannotate.deannotate_obj (get_annobj uri) + let module G = Getter in + let module U = UriManager in + let cicfilename = G.getxml (U.cicuri_of_uri uri) in + CicParser.obj_of_xml cicfilename uri ;;