X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_cic_content%2Fncic2astMatcher.ml;h=4f65e9c03abb070f9ec9a01da572f17f26c23789;hb=dd627e471392375ca7b6dad78a931a8682e06dbe;hp=f6617451ddecc98a3b751fa95997255a9b906344;hpb=f6b7c6ae353e014761a3d24dbc87e00d828d7f2d;p=helm.git diff --git a/matita/components/ng_cic_content/ncic2astMatcher.ml b/matita/components/ng_cic_content/ncic2astMatcher.ml index f6617451d..4f65e9c03 100644 --- a/matita/components/ng_cic_content/ncic2astMatcher.ml +++ b/matita/components/ng_cic_content/ncic2astMatcher.ml @@ -59,10 +59,10 @@ struct type pattern_t = Ast.cic_appl_pattern type term_t = NCic.term + (* Debugging functions only *) let string_of_pattern = NotationPp.pp_cic_appl_pattern let string_of_term t = - (*CSC: ??? *) - NCicPp.ppterm ~metasenv:[] ~subst:[] ~context:[] t + (new NCicPp.status)#ppterm ~metasenv:[] ~subst:[] ~context:[] t let classify = function | Ast.ImplicitPattern @@ -73,7 +73,7 @@ struct module M = PatternMatcher.Matcher (Pattern32) - let compiler rows = + let compiler status rows = let match_cb rows matched_terms constructors = HExtlib.list_findopt (fun (pl,pid) _ -> @@ -93,7 +93,7 @@ struct | (name,t)::tl -> List.for_all (fun (name',t') -> - name <> name' || NCicReduction.alpha_eq [] [] [] t t' + name <> name' || NCicReduction.alpha_eq status [] [] [] t t' ) tl && check_non_linear_patterns tl in if check_non_linear_patterns env then