projects
/
SXSI
/
xpathcomp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef12bb
)
Add support for multiline XPath queries.
author
Kim Nguyễn
<kn@lri.fr>
Fri, 4 May 2012 12:57:57 +0000
(14:57 +0200)
committer
Kim Nguyễn
<kn@lri.fr>
Fri, 4 May 2012 12:57:57 +0000
(14:57 +0200)
src/ulexer.ml
patch
|
blob
|
history
diff --git
a/src/ulexer.ml
b/src/ulexer.ml
index
a7d75ed
..
157e7d2
100644
(file)
--- a/
src/ulexer.ml
+++ b/
src/ulexer.ml
@@
-185,7
+185,7
@@
let parse_char lexbuf base i =
!r
let rec token = lexer
- | [' ' '\t'] -> token lexbuf
+ | [' ' '\t'
'\n'
] -> token lexbuf
| "and" | "not" | "or" | "text()" | "node()"
| "self" | "descendant" | "child" | "descendant-or-self"
| "attribute" | "following-sibling" | "preceding-sibling"