6 print_endline ("WARNING: " ^ w) ;
7 (raise Warnings : unit)
13 let theory_of_xml filename =
14 let module Y = Pxp_yacc in
17 let config = {Y.default_config with Y.warner = new warner} in
18 Y.parse_document_entity config
19 (*PXP (Y.ExtID (Pxp_types.System filename,
20 new Pxp_reader.resolve_as_file ~url_of_id ()))
21 *) (PxpUriResolver.from_file filename)
24 TheoryParser2.get_theory d#root
27 print_endline (Pxp_types.string_of_exn e) ;