1 (***********************************************************************)
5 (* Kim Nguyen, LRI UMR8623 *)
6 (* Université Paris-Sud & CNRS *)
8 (* Copyright 2010-2013 Université Paris-Sud and Centre National de la *)
9 (* Recherche Scientifique. All rights reserved. This file is *)
10 (* distributed under the terms of the GNU Lesser General Public *)
11 (* License, with the special exception on linking described in file *)
14 (***********************************************************************)
17 Time-stamp: <Last modified on 2013-04-22 16:23:46 CEST by Kim Nguyen>
20 include Xpath_internal_parser
22 let parse (l : Ulexing.lexbuf) =
24 xpath_query (fun _ -> Ulexer.token l) (Lexing.from_string "!!dummy!!")
26 Parsing.Parse_error ->
27 Ulexer.error (Ulexing.lexeme_start l) (Ulexing.lexeme_end l) "syntax error"