X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Facic_content%2Facic2astMatcher.ml;h=2062b6c0651800235dd089d326e71b966f762b8e;hb=ec07ff398325533d848da92e9dc69852d24b78a5;hp=908aa942f8b34d7569e417a3fadc0d11e97d7282;hpb=987627a48b2a3c2345d1af2c2a6b1ab78aa90b58;p=helm.git diff --git a/helm/software/components/acic_content/acic2astMatcher.ml b/helm/software/components/acic_content/acic2astMatcher.ml index 908aa942f..2062b6c06 100644 --- a/helm/software/components/acic_content/acic2astMatcher.ml +++ b/helm/software/components/acic_content/acic2astMatcher.ml @@ -35,6 +35,7 @@ struct type cic_mask_t = Blob | Uri of UriManager.uri + | NRef of NReference.reference | Appl of cic_mask_t list let uri_of_term t = CicUtil.uri_of_term (Deannotate.deannotate_term t) @@ -52,6 +53,7 @@ struct Hashtbl.hash mask, tl let mask_of_appl_pattern = function + | Ast.NRefPattern nref -> NRef nref, [] | Ast.UriPattern uri -> Uri uri, [] | Ast.ImplicitPattern | Ast.VarPattern _ -> Blob, [] @@ -71,6 +73,7 @@ struct | Ast.ImplicitPattern | Ast.VarPattern _ -> PatternMatcher.Variable | Ast.UriPattern _ + | Ast.NRefPattern _ | Ast.ApplPattern _ -> PatternMatcher.Constructor end