X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Flexicon%2FlexiconSync.ml;h=ed243fe196c48a9ff5e7499f7bdce28ed91e0432;hb=1d212933a86f2820a151555516f7a53ab1c9f8e7;hp=f88a79971b32919e0441a31f85bf8999840376bd;hpb=004fbb54bc0a2b971f08bcf830ac8cbdafcdbe57;p=helm.git diff --git a/helm/software/components/lexicon/lexiconSync.ml b/helm/software/components/lexicon/lexiconSync.ml index f88a79971..ed243fe19 100644 --- a/helm/software/components/lexicon/lexiconSync.ml +++ b/helm/software/components/lexicon/lexiconSync.ml @@ -41,7 +41,7 @@ let alias_diff ~from status = status.LexiconEngine.aliases [] let alias_diff = - let profiler = HExtlib.profile "alias_diff (conteggiato anche in include)" in + let profiler = HExtlib.profile "alias_diff(conteg. anche in include)" in fun ~from status -> profiler.HExtlib.profile (alias_diff ~from) status (** given a uri and a type list (the contructors types) builds a list of pairs @@ -83,13 +83,13 @@ let add_aliases_for_object status uri = let add_aliases_for_objs = List.fold_left (fun status uri -> - let obj,_ = CicEnvironment.get_obj CicUniv.empty_ugraph uri in + let obj,_ = CicEnvironment.get_obj CicUniv.oblivion_ugraph uri in add_aliases_for_object status uri obj) module OrderedId = struct type t = CicNotation.notation_id - let compare = Pervasives.compare + let compare = CicNotation.compare_notation_id end module IdSet = Set.Make (OrderedId) @@ -109,3 +109,5 @@ let time_travel ~present ~past = in List.iter CicNotation.remove_notation notation_to_remove +let push () = CicNotation.push ();; +let pop () = CicNotation.pop ();;