projects
/
tatoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65a13f0
)
Fix a bug in the parser where a leading '//' would be parsed incorectly.
author
Kim Nguyễn
<kn@lri.fr>
Sat, 9 Mar 2013 16:19:23 +0000
(17:19 +0100)
committer
Kim Nguyễn
<kn@lri.fr>
Sat, 9 Mar 2013 16:19:23 +0000
(17:19 +0100)
src/xpath/xpath_internal_parser.mly
patch
|
blob
|
history
diff --git
a/src/xpath/xpath_internal_parser.mly
b/src/xpath/xpath_internal_parser.mly
index
a05beb2
..
de63cdf
100644
(file)
--- a/
src/xpath/xpath_internal_parser.mly
+++ b/
src/xpath/xpath_internal_parser.mly
@@
-15,7
+15,7
@@
(***********************************************************************)
(*
- Time-stamp: <Last modified on 2013-0
2-14 14:18:34
CET by Kim Nguyen>
+ Time-stamp: <Last modified on 2013-0
3-09 16:56:45
CET by Kim Nguyen>
*)
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: