X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Fulexer.ml;h=a7d75ed241550ed5f9197dd78bb6d983a8e99d0e;hb=fcdb6b70f80c4777e319917e9318fc8d54e3a28f;hp=05ab4aec2eb0ce10b9f3a8a0c4c78f955d98092c;hpb=4c1b85252e5abd40ef544fa9acab3e2c990ad958;p=SXSI%2Fxpathcomp.git diff --git a/src/ulexer.ml b/src/ulexer.ml index 05ab4ae..a7d75ed 100644 --- a/src/ulexer.ml +++ b/src/ulexer.ml @@ -186,7 +186,7 @@ let parse_char lexbuf base i = let rec token = lexer | [' ' '\t'] -> token lexbuf - | "and" | "not" | "or" (* | "text" | "node" *) + | "and" | "not" | "or" | "text()" | "node()" | "self" | "descendant" | "child" | "descendant-or-self" | "attribute" | "following-sibling" | "preceding-sibling" | "parent" | "ancestor" | "ancestor-or-self" | "preceding" | "following"