From 50da4f8d437372ae53be11a68beb424b35b28966 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Fri, 4 May 2012 14:57:57 +0200 Subject: [PATCH] Add support for multiline XPath queries. --- src/ulexer.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ulexer.ml b/src/ulexer.ml index a7d75ed..157e7d2 100644 --- 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" -- 2.17.1