]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/components/content_pres/content2presMatcher.ml
Matitaweb: Fixed long-time bug with dependencies and makefiles.
[helm.git] / matitaB / components / content_pres / content2presMatcher.ml
index cf5d66b6a9bd9c5f3c911d83194334efc2a248af..5eeed2667689d7e830bff041654d1bf1bee331ad 100644 (file)
@@ -40,6 +40,7 @@ let get_tag term0 =
   in
   let rec aux t = 
     NotationUtil.visit_ast 
+      ~clear_interpretation:true
       ~map_xref_option:(fun _ -> None)
       ~map_case_indty:(fun _ -> None)
       ~map_case_outtype:(fun _ _ -> None)
@@ -70,8 +71,9 @@ struct
 
     (* Debugging only *)
     (*CSC: new NCicPp.status is the best I can do now *)
-    let string_of_term = NotationPp.pp_term (new NCicPp.status)
-    let string_of_pattern = NotationPp.pp_term (new NCicPp.status)
+    (*WR: can't guess a user id so I must use None *)
+    let string_of_term = NotationPp.pp_term (new NCicPp.status None)
+    let string_of_pattern = NotationPp.pp_term (new NCicPp.status None)
   end
 
   module M = PatternMatcher.Matcher (Pattern21)