X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmathql%2FmQueryTLexer.mll;h=770f4d86d1313652244afcc3556d23e55dc15e42;hb=89262281b6e83bd2321150f81f1a0583645eb0c8;hp=60c561fb5783b4e144b667449d900a372dc15880;hpb=5a2cbbde3b9d995be4635df163b287635e39f5d7;p=helm.git diff --git a/helm/ocaml/mathql/mQueryTLexer.mll b/helm/ocaml/mathql/mQueryTLexer.mll index 60c561fb5..770f4d86d 100644 --- a/helm/ocaml/mathql/mQueryTLexer.mll +++ b/helm/ocaml/mathql/mQueryTLexer.mll @@ -42,7 +42,7 @@ } let SPC = [' ' '\t' '\n']+ -let ALPHA = ['A'-'Z' 'a'-'z'] +let ALPHA = ['A'-'Z' 'a'-'z' '_'] let NUM = ['0'-'9'] let IDEN = ALPHA (NUM | ALPHA)* let QSTR = [^ '"' '\\']+ @@ -87,7 +87,7 @@ and query_token = parse | "not" { out "NOT" ; NOT } | "or" { out "OR" ; OR } | "pattern" { out "PAT" ; PAT } - | "ptoperty" { out "PROP" ; PROP } + | "property" { out "PROP" ; PROP } | "ref" { out "REF" ; REF } | "refof" { out "REFOF" ; REFOF } | "relation" { out "REL" ; REL }