X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fxpath%2Fxpath_internal_parser.mly;h=de63cdf94c54d9400683e208e1a4201133cd458c;hp=a05beb28a91d55310da1a1877902fd3671cfcf64;hb=7eb78333c3dcc85a1723bc0fe2c2e2703d27e418;hpb=65a13f009fb2952814a87dd9edaf9bcfc0a03635 diff --git a/src/xpath/xpath_internal_parser.mly b/src/xpath/xpath_internal_parser.mly index a05beb2..de63cdf 100644 --- a/src/xpath/xpath_internal_parser.mly +++ b/src/xpath/xpath_internal_parser.mly @@ -15,7 +15,7 @@ (***********************************************************************) (* - Time-stamp: + Time-stamp: *) open Ast @@ -68,7 +68,7 @@ simple_path: absolute_path: SLASH relative_path { $2 } -| SLASHSLASH relative_path { (Descendant true, node, []) :: $2 } +| SLASHSLASH relative_path { $2 @ [(Descendant true, node, [])] } ; relative_path: