Add the compilation from existential XPath to automata.
[tatoo.git] / src / xpath / xpath_internal_parser.mly
index 04ecf36..a05beb2 100644 (file)
@@ -15,7 +15,7 @@
 (***********************************************************************)
 
 (*
-  Time-stamp: <Last modified on 2013-02-07 10:31:01 CET by Kim Nguyen>
+  Time-stamp: <Last modified on 2013-02-14 14:18:34 CET by Kim Nguyen>
 *)
 
   open Ast
@@ -68,14 +68,14 @@ simple_path:
 
 absolute_path:
   SLASH relative_path { $2 }
-| SLASHSLASH relative_path { (DescendantOrSelf, node, []) :: $2 }
+| SLASHSLASH relative_path { (Descendant true, node, []) :: $2 }
 ;
 
 relative_path:
   step { [ $1 ] }
 | relative_path SLASH step { $3 :: $1 }
 | relative_path SLASHSLASH step { $3
-                                  :: (DescendantOrSelf, node, [])
+                                  :: (Descendant true, node, [])
                                   :: $1 }
 ;