From: Claudio Sacerdoti Coen Date: Mon, 4 Sep 2006 13:40:01 +0000 (+0000) Subject: Aliases are now wrote down even during the first pass. X-Git-Tag: make_still_working~6947 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=7c24781a5668273116bb64e93e56f4ab1ab3fede;p=helm.git Aliases are now wrote down even during the first pass. The only case they are not written down is that of multiple passes. This makes the scripts more robusts and faster. We still need (more and more) one shot aliases. --- diff --git a/helm/software/components/grafite_parser/grafiteDisambiguator.ml b/helm/software/components/grafite_parser/grafiteDisambiguator.ml index 76d44421c..181532462 100644 --- a/helm/software/components/grafite_parser/grafiteDisambiguator.ml +++ b/helm/software/components/grafite_parser/grafiteDisambiguator.ml @@ -108,8 +108,8 @@ let disambiguate_thing ~aliases ~universe f ~fresh_instances ~aliases ~universe thing in let set_aliases (instances,(use_mono_aliases,_,_),_) (_, user_asked as res) = - if use_mono_aliases && not instances then - drop_aliases res + if use_mono_aliases then + drop_aliases ~minimize_instances:true res (* one shot aliases *) else if user_asked then drop_aliases ~minimize_instances:true res (* one shot aliases *) else