X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matitaB%2Fcomponents%2Fcontent%2FnotationUtil.ml;fp=matitaB%2Fcomponents%2Fcontent%2FnotationUtil.ml;h=dc914932a62bc60085b0d9c3e7e9ddfc62aaff30;hb=c81b0e8dbfe80e2350e9322afa8316f39f98c3b3;hp=d047eb58e17f66a649ca89276c0ebacf6cc8c715;hpb=935c8d1b73726bb49b99e5c2dbebdea0d617fa1a;p=helm.git diff --git a/matitaB/components/content/notationUtil.ml b/matitaB/components/content/notationUtil.ml index d047eb58e..dc914932a 100644 --- a/matitaB/components/content/notationUtil.ml +++ b/matitaB/components/content/notationUtil.ml @@ -157,7 +157,7 @@ let keywords_of_term t = let rec aux = function | Ast.AttributedTerm (_, t) -> aux t | Ast.Layout l -> Ast.Layout (visit_layout aux l) - | Ast.Literal (`Keyword (k,_)) as t -> + | Ast.Literal (_,`Keyword (k,_)) as t -> add_keyword k; t | Ast.Literal _ as t -> t @@ -179,7 +179,7 @@ let rec strip_attributes t = let rec get_idrefs = function - | Ast.Symbol (_,Some (_,desc)) -> [desc] + | Ast.Symbol (csym,Some (uri,desc)) -> [csym,uri,desc] | _ -> [] let meta_names_of_term term =