]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/cic2Xml.ml
* added mysterious function (Claudio can detail on it)
[helm.git] / helm / gTopLevel / cic2Xml.ml
index 6bef2dd439c6ebe5f223649c9f9f101644357745..b4b1f239ab888476836dd298c0769c94c4c25b93 100644 (file)
@@ -89,7 +89,7 @@ let print_term ~ids_to_inner_sorts =
            X.xml_nempty "PROD" ["type",sort]
             [< List.fold_left
                 (fun i (id,binder,s) ->
-                  let sort = Hashtbl.find ids_to_inner_sorts id in
+                  let sort = Hashtbl.find ids_to_inner_sorts (Cic2acic.source_id_of_id id) in
                    let attrs =
                     ("id",id)::("type",sort)::
                     match binder with
@@ -120,7 +120,6 @@ let print_term ~ids_to_inner_sorts =
             [< List.fold_left
                 (fun i (id,binder,s) ->
                   let sort = Hashtbl.find ids_to_inner_sorts (Cic2acic.source_id_of_id id) in
-                 let _ = prerr_endline ("AHHHHHHHHHHHHHHHHH" ^ sort) in
                    let attrs =
                     ("id",id)::("type",sort)::
                     match binder with