X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fgrafite_parser%2FgrafiteDisambiguate.ml;h=42fbabacd600fa3acd796367d482da2f9f4750df;hb=9fce3bebddf47429f6fcab726f11dafbf3295749;hp=65371bc67a85f85ee8a29f30901442ad3857f7c8;hpb=36014ac060f150e7d93f607c914a0b06239715c0;p=helm.git diff --git a/helm/software/components/grafite_parser/grafiteDisambiguate.ml b/helm/software/components/grafite_parser/grafiteDisambiguate.ml index 65371bc67..42fbabacd 100644 --- a/helm/software/components/grafite_parser/grafiteDisambiguate.ml +++ b/helm/software/components/grafite_parser/grafiteDisambiguate.ml @@ -130,6 +130,9 @@ let disambiguate_tactic metasenv,GrafiteAst.Assumption loc | GrafiteAst.Auto (loc,params) -> metasenv,GrafiteAst.Auto (loc,params) + | GrafiteAst.Cases (loc, what, idents) -> + let metasenv,what = disambiguate_term context metasenv what in + metasenv,GrafiteAst.Cases (loc, what, idents) | GrafiteAst.Change (loc, pattern, with_what) -> let with_what = disambiguate_lazy_term with_what in let pattern = disambiguate_pattern pattern in @@ -157,7 +160,7 @@ let disambiguate_tactic metasenv,(GrafiteAst.Type (uri, tyno) :: types) | _ -> raise (GrafiteDisambiguator.DisambiguationError - (0,[[[],[],None,lazy "Decompose works only on inductive types"]]))) + (0,[[[],[],None,lazy "Decompose works only on inductive types",true]]))) in let metasenv,types = List.fold_left disambiguate (metasenv,[]) types