X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql_generator%2FcGMatchConclusion.ml;h=42d52a7ac9c6e873fccc950b2b9f28bf6ee93434;hb=b38de2d3fa8bbe346c59c18bbeb889f29e493f63;hp=28639c8f72a444044a633d5cd7ebfa9b347d159a;hpb=506b4b7597021c98e34fb65cf9d0bb7879f06e92;p=helm.git diff --git a/helm/ocaml/mathql_generator/cGMatchConclusion.ml b/helm/ocaml/mathql_generator/cGMatchConclusion.ml index 28639c8f7..42d52a7ac 100644 --- a/helm/ocaml/mathql_generator/cGMatchConclusion.ml +++ b/helm/ocaml/mathql_generator/cGMatchConclusion.ml @@ -43,7 +43,7 @@ let sort_entries entries = let levels_of_term metasenv context term = let module TC = CicTypeChecker in let module Red = CicReduction in - let module Util = MQueryUtil in + let module Misc = MQueryMisc in let degree t = let rec degree_aux = function | Cic.Sort _ -> 1 @@ -64,13 +64,13 @@ let levels_of_term metasenv context term = in let inspect_uri main l uri tc v term = let d = degree term in - entry_in (Util.string_of_uriref (uri, tc), main, 2 * v + d - 1) l + entry_in (Misc.string_of_uriref (uri, tc), main, 2 * v + d - 1) l in let rec inspect_term main l v term = match term with Cic.Rel _ -> l | Cic.Meta _ -> l | Cic.Sort _ -> l - | Cic.Implicit -> l + | Cic.Implicit _ -> l | Cic.Var (u,exp_named_subst) -> let l' = inspect_uri main l u [] v term in inspect_exp_named_subst l' (succ v) exp_named_subst