X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Flexicon%2FlexiconAst.ml;h=0c588d189200d3eb55a0e124269683a361c6e84a;hb=2dd6e8f11fa3ac2995f326ecb742d9b4e8948fce;hp=65bb7ce64657b7a805af49feb64259175972f8b1;hpb=abd2098b6c4a40b36bb4b950c607eb4b4a7852bc;p=helm.git diff --git a/helm/software/components/lexicon/lexiconAst.ml b/helm/software/components/lexicon/lexiconAst.ml index 65bb7ce64..0c588d189 100644 --- a/helm/software/components/lexicon/lexiconAst.ml +++ b/helm/software/components/lexicon/lexiconAst.ml @@ -27,7 +27,7 @@ type direction = [ `LeftToRight | `RightToLeft ] -type loc = Token.flocation +type loc = Stdpp.location type alias_spec = | Ident_alias of string * string (* identifier, uri *) @@ -55,3 +55,8 @@ type command = (* composed magic: term + command magics. No need to change this value *) let magic = magic + 10000 * CicNotationPt.magic +let description_of_alias = + function + Ident_alias (_,desc) + | Symbol_alias (_,_,desc) + | Number_alias (_,desc) -> desc