let eof = 0
let invalid = 1
let unicode_baseChar = 2
let ideographic = 3
let extender = 4
let ascii_digit = 5
let unicode_digit = 6
let combiningChar = 7
let otherChar = 8
let char_41 = 9
let char_42 = 10
let char_43 = 11
let char_44 = 12
let char_45 = 13
let char_46 = 14
let char_47 = 15
let char_48 = 16
let char_49 = 17
let char_4a = 18
let char_4b = 19
let char_4c = 20
let char_4d = 21
let char_4e = 22
let char_4f = 23
let char_50 = 24
let char_51 = 25
let char_52 = 26
let char_53 = 27
let char_54 = 28
let char_55 = 29
let char_56 = 30
let char_57 = 31
let char_58 = 32
let char_59 = 33
let char_5a = 34
let char_61 = 35
let char_62 = 36
let char_63 = 37
let char_64 = 38
let char_65 = 39
let char_66 = 40
let char_67 = 41
let char_68 = 42
let char_69 = 43
let char_6a = 44
let char_6b = 45
let char_6c = 46
let char_6d = 47
let char_6e = 48
let char_6f = 49
let char_70 = 50
let char_71 = 51
let char_72 = 52
let char_73 = 53
let char_74 = 54
let char_75 = 55
let char_76 = 56
let char_77 = 57
let char_78 = 58
let char_79 = 59
let char_7a = 60
let char_3c = 61
let char_3e = 62
let char_3f = 63
let char_21 = 64
let char_2d = 65
let char_2f = 66
let char_5b = 67
let char_5d = 68
let char_26 = 69
let char_23 = 70
let char_3b = 71
let char_25 = 72
let char_2b = 73
let char_2a = 74
let char_7c = 75
let char_2c = 76
let char_28 = 77
let char_29 = 78
let char_27 = 79
let char_3d = 80
let char_2e = 81
let char_3a = 82
let char_5f = 83
let char_22 = 84
let char_0a = 85
let char_0d = 86
let char_09 = 87
let char_20 = 88
let one_char_classes = [
(0x41, 09);
(0x42, 10);
(0x43, 11);
(0x44, 12);
(0x45, 13);
(0x46, 14);
(0x47, 15);
(0x48, 16);
(0x49, 17);
(0x4a, 18);
(0x4b, 19);
(0x4c, 20);
(0x4d, 21);
(0x4e, 22);
(0x4f, 23);
(0x50, 24);
(0x51, 25);
(0x52, 26);
(0x53, 27);
(0x54, 28);
(0x55, 29);
(0x56, 30);
(0x57, 31);
(0x58, 32);
(0x59, 33);
(0x5a, 34);
(0x61, 35);
(0x62, 36);
(0x63, 37);
(0x64, 38);
(0x65, 39);
(0x66, 40);
(0x67, 41);
(0x68, 42);
(0x69, 43);
(0x6a, 44);
(0x6b, 45);
(0x6c, 46);
(0x6d, 47);
(0x6e, 48);
(0x6f, 49);
(0x70, 50);
(0x71, 51);
(0x72, 52);
(0x73, 53);
(0x74, 54);
(0x75, 55);
(0x76, 56);
(0x77, 57);
(0x78, 58);
(0x79, 59);
(0x7a, 60);
(0x3c, 61);
(0x3e, 62);
(0x3f, 63);
(0x21, 64);
(0x2d, 65);
(0x2f, 66);
(0x5b, 67);
(0x5d, 68);
(0x26, 69);
(0x23, 70);
(0x3b, 71);
(0x25, 72);
(0x2b, 73);
(0x2a, 74);
(0x7c, 75);
(0x2c, 76);
(0x28, 77);
(0x29, 78);
(0x27, 79);
(0x3d, 80);
(0x2e, 81);
(0x3a, 82);
(0x5f, 83);
(0x22, 84);
(0x0a, 85);
(0x0d, 86);
(0x09, 87);
(0x20, 88);
]
let nb_classes = 89
# 23 "pxp_wlex.mll"
open Pxp_types
open Pxp_lexer_types
open Pxp_lexing
class dummy_entity = object end
let dummy_entity = ( new dummy_entity : entity_id )
(* The following tokens are pre-allocated to reduce the load on the
* GC.
*)
let tok_Doctype__Document_type = Doctype dummy_entity, Document_type
let tok_Ignore__Document = Ignore, Document
let tok_Ignore__Within_tag = Ignore, Within_tag
let tok_IgnoreLineEnd__Within_tag = IgnoreLineEnd, Within_tag
let tok_Ignore__Document_type = Ignore, Document_type
let tok_Ignore__Declaration = Ignore, Declaration
let tok_Ignore__Ignored = Ignore, Ignored_section
let tok_Eof__Document = Eof, Document
let tok_Eof__Content = Eof, Content
let tok_Eof__Within_tag = Eof, Within_tag
let tok_Eof__Document_type = Eof, Document_type
let tok_Eof__Declaration = Eof, Declaration
let tok_Eof__Ignored = Eof, Ignored_section
let tok_LineEndCRLF__Content = LineEnd "\r\n", Content
let tok_LineEndCR__Content = LineEnd "\r", Content
let tok_LineEndLF__Content = LineEnd "\n", Content
let tok_CharDataRBRACKET__Content = CharData "]", Content
let tok_Eq__Within_tag = Eq, Within_tag
let tok_Rangle__Content = Rangle, Content
let tok_Rangle_empty__Content = Rangle_empty, Content
let tok_Dtd_begin__Declaration = Dtd_begin dummy_entity, Declaration
let tok_Doctype_rangle__Document = Doctype_rangle dummy_entity, Document
let tok_Percent__Declaration = Percent, Declaration
let tok_Plus__Declaration = Plus, Declaration
let tok_Star__Declaration = Star, Declaration
let tok_Bar__Declaration = Bar, Declaration
let tok_Comma__Declaration = Comma, Declaration
let tok_Qmark__Declaration = Qmark, Declaration
let tok_Lparen__Declaration = Lparen dummy_entity, Declaration
let tok_RparenPlus__Declaration = RparenPlus dummy_entity, Declaration
let tok_RparenStar__Declaration = RparenStar dummy_entity, Declaration
let tok_RparenQmark__Declaration = RparenQmark dummy_entity, Declaration
let tok_Rparen__Declaration = Rparen dummy_entity, Declaration
let tok_Required__Declaration = Required, Declaration
let tok_Implied__Declaration = Implied, Declaration
let tok_Fixed__Declaration = Fixed, Declaration
let tok_Pcdata__Declaration = Pcdata, Declaration
let tok_Decl_element__Declaration = Decl_element dummy_entity, Declaration
let tok_Decl_attlist__Declaration = Decl_attlist dummy_entity, Declaration
let tok_Decl_entity__Declaration = Decl_entity dummy_entity, Declaration
let tok_Decl_notation__Declaration = Decl_notation dummy_entity, Declaration
let tok_Conditional_begin__Declaration = Conditional_begin dummy_entity,
Declaration
let tok_Conditional_begin__Ignored = Conditional_begin dummy_entity,
Ignored_section
let tok_Conditional_end__Declaration = Conditional_end dummy_entity,
Declaration
let tok_Conditional_end__Ignored = Conditional_end dummy_entity,
Ignored_section
let tok_Conditional_body__Declaration = Conditional_body dummy_entity,
Declaration
let tok_Decl_rangle__Declaration = Decl_rangle dummy_entity, Declaration
let tok_Dtd_end__Document_type = Dtd_end dummy_entity, Document_type
open Pxp_wlex_aux
# 248 "pxp_wlex.ml"
let __ocaml_lex_tables = {
Lexing.lex_base =
"\000\000\241\255\237\255\026\000\058\000\023\000\242\255\002\000\
\079\000\005\000\240\255\244\255\002\000\149\000\246\255\000\000\
\001\000\011\000\247\255\248\255\018\000\177\000\206\000\007\000\
\008\000\006\000\016\000\000\000\001\000\026\000\008\000\083\000\
\162\000\191\000\198\000\203\000\251\255\253\255\052\000\054\000\
\168\000\031\001\255\255\039\001\042\001\243\255\024\000\065\000\
\070\001\250\255\076\000\056\001\245\255\016\000\072\001\068\001\
\249\255\098\001\164\001\186\001\033\000\213\001\136\000\161\000\
\049\001\041\002\254\255\253\001\056\002\085\000\090\001\143\000\
\086\002\019\000\089\000\252\255\032\000\016\000\012\000\032\000\
\044\000\100\001\160\001\193\001\195\001\197\001\175\002\138\002\
\101\000\082\001\095\001\124\001\175\001\227\002\219\255\216\255\
\217\255\235\000\008\003\053\003\090\003\127\000\027\001\228\255\
\177\001\188\001\221\255\088\000\095\000\199\001\198\001\133\000\
\154\000\144\000\110\000\230\255\231\255\151\000\171\000\165\000\
\178\000\173\000\175\000\232\255\189\000\177\000\192\000\005\001\
\012\001\233\255\031\001\042\001\052\001\047\001\235\255\048\001\
\057\001\062\001\053\001\053\001\234\255\201\001\012\002\215\001\
\038\002\227\255\047\002\030\001\229\255\191\001\223\255\067\002\
\225\255\084\001\141\001\156\001\168\001\168\001\172\001\154\001\
\181\001\236\255\172\001\192\001\194\001\184\001\189\001\193\001\
\199\001\205\001\238\255\193\001\190\001\207\001\220\001\253\001\
\028\002\239\255\134\003\171\003\223\003\003\004\220\001\183\003\
\049\004\087\002\097\002\236\003\133\004\148\004\002\000\065\002\
\176\004\205\004\240\001\088\002\103\002\105\002\010\002\028\002\
\090\002\105\002\109\002\188\002\254\001\010\002\035\002\052\002\
\061\002\192\002\100\004\219\002\001\003\110\003\191\003\179\003\
\198\002\023\002\060\003\186\003\044\002\215\003\049\002\021\004\
\112\002\092\004\116\002\094\004\119\002\096\004\123\002\038\005\
\236\002\066\005\147\005\002\005\088\005\122\002\120\002\029\003\
\101\003\104\003\147\003\141\002\032\003\156\002\102\004\130\004\
\164\004\167\002";
Lexing.lex_backtrk =
"\255\255\255\255\255\255\006\000\010\000\012\000\255\255\016\000\
\017\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\001\000\255\255\003\000\005\000\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\000\000\255\255\255\255\001\000\003\000\
\004\000\255\255\007\000\009\000\255\255\013\000\255\255\255\255\
\255\255\255\255\003\000\004\000\007\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\006\000\007\000\001\000\004\000\
\005\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\000\000\255\255\000\000\
\001\000\003\000\005\000\255\255\255\255\255\255\255\255\255\255\
\255\255\000\000\002\000\004\000\005\000\015\000\038\000\255\255\
\031\000\033\000\255\255\035\000\038\000\029\000\037\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\028\000\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\001\000\005\000\007\000\010\000\
\255\255\255\255\255\255\255\255\255\255\255\255\000\000\000\000\
\255\255\000\000\001\000\003\000\005\000\255\255\255\255\004\000\
\255\255\255\255\002\000\000\000\001\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\000\000\
\255\255\001\000\003\000\255\255\002\000\003\000\001\000\255\255\
\002\000\003\000\001\000\255\255\002\000\003\000\001\000\255\255\
\001\000\000\000\002\000\255\255\006\000\007\000\008\000\009\000\
\010\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255";
Lexing.lex_default =
"\008\000\000\000\000\000\022\000\013\000\255\255\000\000\255\255\
\008\000\255\255\000\000\000\000\255\255\013\000\000\000\255\255\
\255\255\255\255\000\000\000\000\038\000\022\000\022\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\031\000\
\033\000\033\000\035\000\035\000\000\000\000\000\038\000\040\000\
\040\000\040\000\000\000\040\000\048\000\000\000\255\255\255\255\
\048\000\000\000\055\000\054\000\000\000\255\255\054\000\055\000\
\000\000\059\000\061\000\059\000\255\255\061\000\255\255\255\255\
\255\255\255\255\000\000\014\000\072\000\255\255\081\000\255\255\
\072\000\255\255\255\255\000\000\255\255\255\255\255\255\255\255\
\255\255\081\000\083\000\083\000\083\000\083\000\087\000\087\000\
\255\255\092\000\091\000\091\000\092\000\099\000\000\000\000\000\
\000\000\255\255\178\000\099\000\100\000\255\255\255\255\000\000\
\151\000\149\000\000\000\255\255\255\255\141\000\255\255\255\255\
\255\255\255\255\255\255\000\000\000\000\255\255\255\255\255\255\
\255\255\255\255\255\255\000\000\255\255\255\255\255\255\255\255\
\255\255\000\000\255\255\255\255\255\255\255\255\000\000\255\255\
\255\255\255\255\255\255\255\255\000\000\141\000\143\000\143\000\
\143\000\000\000\143\000\255\255\000\000\149\000\000\000\151\000\
\000\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\000\000\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\000\000\255\255\255\255\255\255\255\255\255\255\
\255\255\000\000\178\000\183\000\189\000\184\000\255\255\183\000\
\184\000\255\255\255\255\255\255\255\255\189\000\191\000\191\000\
\193\000\193\000\255\255\200\000\197\000\197\000\255\255\255\255\
\200\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\211\000\211\000\213\000\213\000\213\000\213\000\
\218\000\255\255\218\000\221\000\255\255\221\000\255\255\225\000\
\255\255\225\000\255\255\229\000\255\255\229\000\255\255\233\000\
\255\255\233\000\234\000\236\000\236\000\255\255\255\255\242\000\
\241\000\241\000\242\000\255\255\255\255\255\255\246\000\248\000\
\248\000\255\255";
Lexing.lex_trans =
"\001\000\002\000\066\000\037\000\000\000\015\000\017\000\015\000\
\000\000\028\000\017\000\017\000\017\000\017\000\017\000\017\000\
\017\000\026\000\255\255\255\255\017\000\017\000\017\000\017\000\
\017\000\017\000\255\255\255\255\027\000\029\000\255\255\255\255\
\255\255\255\255\255\255\030\000\017\000\017\000\017\000\017\000\
\017\000\017\000\076\000\077\000\078\000\079\000\017\000\017\000\
\017\000\017\000\017\000\017\000\255\255\255\255\255\255\255\255\
\080\000\037\000\255\255\255\255\016\000\003\000\255\255\255\255\
\255\255\255\255\255\255\010\000\007\000\004\000\009\000\019\000\
\024\000\037\000\025\000\031\000\255\255\255\255\011\000\255\255\
\255\255\039\000\018\000\255\255\255\255\006\000\005\000\255\255\
\255\255\020\000\023\000\255\255\021\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\011\000\042\000\255\255\255\255\
\255\255\255\255\255\255\039\000\042\000\041\000\056\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\012\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\063\000\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\032\000\
\047\000\047\000\075\000\073\000\147\000\255\255\109\000\110\000\
\056\000\135\000\255\255\255\255\255\255\255\255\063\000\117\000\
\255\255\255\255\069\000\069\000\069\000\069\000\124\000\116\000\
\125\000\255\255\255\255\118\000\119\000\255\255\255\255\255\255\
\255\255\255\255\088\000\088\000\088\000\088\000\001\000\255\255\
\255\255\120\000\064\000\121\000\122\000\123\000\255\255\255\255\
\045\000\006\000\130\000\255\255\255\255\126\000\255\255\255\255\
\074\000\127\000\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\014\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\034\000\039\000\
\066\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\032\000\036\000\255\255\255\255\255\255\
\255\255\255\255\034\000\255\255\255\255\255\255\255\255\032\000\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\128\000\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\155\000\045\000\001\000\154\000\129\000\006\000\006\000\
\006\000\006\000\006\000\156\000\131\000\153\000\065\000\132\000\
\255\255\255\255\065\000\065\000\065\000\065\000\065\000\065\000\
\097\000\097\000\097\000\097\000\255\255\255\255\255\255\255\255\
\255\255\255\255\133\000\134\000\136\000\137\000\255\255\138\000\
\139\000\140\000\255\255\255\255\065\000\065\000\065\000\065\000\
\065\000\065\000\255\255\255\255\148\000\043\000\039\000\255\255\
\255\255\171\000\052\000\011\000\255\255\255\255\039\000\006\000\
\052\000\006\000\006\000\006\000\053\000\006\000\006\000\006\000\
\006\000\006\000\006\000\006\000\006\000\006\000\006\000\006\000\
\006\000\051\000\049\000\006\000\255\255\255\255\050\000\037\000\
\046\000\047\000\047\000\255\255\255\255\255\255\255\255\018\000\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\018\000\
\056\000\082\000\255\255\255\255\255\255\255\255\255\255\014\000\
\255\255\255\255\165\000\082\000\255\255\255\255\037\000\058\000\
\255\255\255\255\255\255\255\255\255\255\162\000\036\000\255\255\
\255\255\255\255\255\255\157\000\158\000\159\000\160\000\018\000\
\060\000\049\000\255\255\255\255\255\255\255\255\161\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\036\000\163\000\164\000\002\000\111\000\
\166\000\167\000\168\000\112\000\169\000\255\255\255\255\255\255\
\255\255\170\000\172\000\173\000\113\000\255\255\042\000\084\000\
\174\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\062\000\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\175\000\255\255\
\255\255\255\255\255\255\255\255\255\255\018\000\052\000\255\255\
\082\000\085\000\082\000\037\000\082\000\152\000\142\000\114\000\
\142\000\115\000\176\000\150\000\255\255\255\255\150\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\142\000\255\255\
\255\255\255\255\255\255\255\255\042\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\177\000\255\255\255\255\255\255\255\255\255\255\065\000\255\255\
\255\255\056\000\065\000\065\000\065\000\065\000\065\000\065\000\
\255\255\255\255\068\000\205\000\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\194\000\194\000\194\000\
\194\000\206\000\145\000\144\000\065\000\065\000\065\000\065\000\
\065\000\065\000\069\000\069\000\069\000\069\000\255\255\255\255\
\255\255\255\255\255\255\255\255\186\000\207\000\255\255\199\000\
\199\000\199\000\199\000\208\000\146\000\142\000\186\000\255\255\
\255\255\255\255\255\255\209\000\042\000\222\000\142\000\042\000\
\037\000\199\000\199\000\199\000\199\000\255\255\255\255\070\000\
\071\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\187\000\255\255\255\255\255\255\255\255\255\255\152\000\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\201\000\
\075\000\201\000\255\255\255\255\255\255\255\255\255\255\018\000\
\045\000\226\000\042\000\011\000\011\000\011\000\011\000\011\000\
\230\000\042\000\244\000\198\000\243\000\198\000\202\000\202\000\
\202\000\202\000\202\000\202\000\202\000\202\000\036\000\255\255\
\255\255\255\255\255\255\066\000\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\246\000\255\255\255\255\
\255\255\255\255\255\255\094\000\095\000\037\000\000\000\100\000\
\100\000\100\000\100\000\096\000\011\000\019\000\011\000\011\000\
\011\000\011\000\056\000\011\000\014\000\011\000\011\000\052\000\
\011\000\011\000\011\000\011\000\011\000\011\000\090\000\011\000\
\011\000\255\255\255\255\089\000\088\000\088\000\088\000\088\000\
\255\255\255\255\000\000\000\000\255\255\255\255\255\255\255\255\
\255\255\203\000\203\000\203\000\203\000\210\000\210\000\210\000\
\210\000\000\000\212\000\037\000\217\000\255\255\255\255\000\000\
\108\000\106\000\052\000\096\000\100\000\096\000\103\000\107\000\
\075\000\102\000\096\000\098\000\056\000\019\000\018\000\014\000\
\011\000\101\000\105\000\096\000\100\000\255\255\255\255\104\000\
\097\000\097\000\097\000\097\000\255\255\255\255\000\000\042\000\
\214\000\232\000\232\000\232\000\232\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\245\000\255\255\042\000\000\000\255\255\255\255\000\000\
\255\255\255\255\000\000\000\000\036\000\000\000\255\255\255\255\
\000\000\000\000\255\255\255\255\255\255\255\255\000\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\000\000\255\255\255\255\255\255\255\255\255\255\255\255\000\000\
\000\000\255\255\255\255\255\255\255\255\000\000\000\000\255\255\
\255\255\255\255\255\255\000\000\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\011\000\045\000\212\000\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\000\000\000\000\255\255\
\255\255\075\000\036\000\049\000\075\000\000\000\000\000\255\255\
\255\255\000\000\000\000\255\255\255\255\255\255\255\255\000\000\
\255\255\255\255\255\255\255\255\255\255\066\000\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\000\000\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\000\000\036\000\255\255\255\255\255\255\255\255\255\255\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\181\000\188\000\212\000\180\000\000\000\188\000\188\000\188\000\
\188\000\188\000\188\000\220\000\255\255\215\000\212\000\255\255\
\018\000\182\000\014\000\255\255\255\255\000\000\000\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\188\000\
\188\000\188\000\188\000\188\000\188\000\036\000\049\000\000\000\
\255\255\000\000\000\000\000\000\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\000\000\255\255\000\000\000\000\000\000\000\000\000\000\000\000\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\185\000\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\000\000\224\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\036\000\049\000\
\255\255\255\255\000\000\000\000\255\255\255\255\255\255\255\255\
\000\000\000\000\000\000\000\000\000\000\000\000\255\255\255\255\
\255\255\255\255\000\000\255\255\255\255\255\255\255\255\255\255\
\037\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\000\000\255\255\255\255\255\255\
\255\255\255\255\188\000\000\000\000\000\000\000\188\000\188\000\
\188\000\188\000\188\000\188\000\255\255\255\255\000\000\000\000\
\000\000\000\000\000\000\000\000\255\255\255\255\000\000\228\000\
\000\000\255\255\000\000\212\000\255\255\255\255\000\000\247\000\
\188\000\188\000\188\000\188\000\188\000\188\000\000\000\000\000\
\056\000\018\000\000\000\000\000\019\000\019\000\019\000\019\000\
\019\000\210\000\210\000\210\000\210\000\000\000\000\000\000\000\
\000\000\000\000\000\000\249\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\036\000\255\255\255\255\000\000\
\000\000\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\042\000\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\247\000\000\000\000\000\
\255\255\255\255\255\255\255\255\255\255\019\000\019\000\019\000\
\019\000\019\000\019\000\019\000\019\000\019\000\019\000\019\000\
\019\000\019\000\019\000\019\000\019\000\019\000\019\000\195\000\
\194\000\019\000\049\000\011\000\196\000\019\000\019\000\019\000\
\019\000\000\000\255\255\255\255\255\255\255\255\000\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\000\000\000\000\
\000\000\255\255\203\000\203\000\203\000\203\000\075\000\049\000\
\000\000\000\000\234\000\234\000\234\000\234\000\036\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\237\000\
\000\000\000\000\255\255\255\255\000\000\000\000\238\000\000\000\
\000\000\000\000\255\255\000\000\000\000\000\000\000\000\000\000\
\000\000\239\000\000\000\000\000\000\000\000\000\240\000\000\000\
\255\255\255\255\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\036\000\036\000\036\000\036\000\234\000\
\036\000\036\000\036\000\036\000\036\000\036\000\036\000\036\000\
\036\000\036\000\036\000\036\000\036\000\036\000\036\000\234\000\
\000\000\000\000\036\000\232\000\232\000\232\000\232\000\255\255\
\255\255\255\255\255\255\000\000\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\255\255\
\000\000\000\000\000\000\000\000\255\255\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
\255\255\255\255\255\255\255\255\000\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\000\000\000\000\000\000\255\255\
\255\255\255\255\255\255\255\255";
Lexing.lex_check =
"\000\000\000\000\190\000\190\000\255\255\015\000\016\000\012\000\
\255\255\027\000\016\000\016\000\016\000\016\000\016\000\016\000\
\017\000\025\000\020\000\020\000\017\000\017\000\017\000\017\000\
\017\000\017\000\003\000\003\000\026\000\028\000\003\000\003\000\
\003\000\003\000\003\000\029\000\016\000\016\000\016\000\016\000\
\016\000\016\000\073\000\076\000\077\000\078\000\017\000\017\000\
\017\000\017\000\017\000\017\000\038\000\038\000\039\000\039\000\
\079\000\080\000\004\000\004\000\012\000\000\000\004\000\004\000\
\004\000\004\000\004\000\009\000\000\000\000\000\007\000\015\000\
\023\000\024\000\023\000\030\000\050\000\050\000\053\000\008\000\
\008\000\020\000\017\000\031\000\031\000\000\000\000\000\003\000\
\003\000\003\000\003\000\003\000\003\000\003\000\003\000\003\000\
\003\000\003\000\003\000\003\000\003\000\003\000\003\000\003\000\
\003\000\003\000\003\000\003\000\005\000\046\000\003\000\003\000\
\003\000\003\000\003\000\038\000\039\000\039\000\060\000\004\000\
\004\000\004\000\004\000\004\000\004\000\004\000\004\000\004\000\
\004\000\004\000\004\000\004\000\004\000\004\000\004\000\004\000\
\004\000\004\000\004\000\004\000\008\000\062\000\004\000\004\000\
\004\000\004\000\004\000\008\000\008\000\013\000\013\000\031\000\
\047\000\047\000\074\000\071\000\107\000\013\000\108\000\108\000\
\050\000\111\000\032\000\032\000\008\000\008\000\063\000\113\000\
\040\000\040\000\069\000\069\000\069\000\069\000\112\000\114\000\
\112\000\021\000\021\000\117\000\118\000\021\000\021\000\021\000\
\021\000\021\000\088\000\088\000\088\000\088\000\101\000\033\000\
\033\000\119\000\062\000\120\000\121\000\122\000\034\000\034\000\
\101\000\101\000\124\000\035\000\035\000\125\000\022\000\022\000\
\071\000\126\000\013\000\013\000\013\000\013\000\022\000\013\000\
\013\000\013\000\013\000\013\000\013\000\013\000\013\000\013\000\
\013\000\013\000\013\000\013\000\013\000\013\000\032\000\040\000\
\063\000\013\000\013\000\013\000\013\000\013\000\021\000\021\000\
\021\000\021\000\021\000\021\000\021\000\021\000\021\000\021\000\
\021\000\021\000\021\000\021\000\021\000\021\000\021\000\021\000\
\021\000\021\000\021\000\033\000\034\000\021\000\021\000\021\000\
\021\000\021\000\034\000\022\000\022\000\022\000\022\000\035\000\
\022\000\022\000\022\000\022\000\022\000\022\000\022\000\022\000\
\022\000\022\000\022\000\022\000\022\000\022\000\022\000\041\000\
\041\000\127\000\022\000\022\000\022\000\022\000\022\000\043\000\
\043\000\102\000\044\000\044\000\102\000\128\000\044\000\044\000\
\044\000\044\000\044\000\102\000\130\000\102\000\064\000\131\000\
\051\000\051\000\064\000\064\000\064\000\064\000\064\000\064\000\
\097\000\097\000\097\000\097\000\055\000\055\000\048\000\048\000\
\054\000\054\000\132\000\133\000\135\000\136\000\048\000\137\000\
\138\000\139\000\089\000\089\000\064\000\064\000\064\000\064\000\
\064\000\064\000\070\000\070\000\147\000\041\000\041\000\090\000\
\090\000\153\000\057\000\057\000\081\000\081\000\043\000\044\000\
\044\000\044\000\044\000\044\000\044\000\044\000\044\000\044\000\
\044\000\044\000\044\000\044\000\044\000\044\000\044\000\044\000\
\044\000\044\000\044\000\044\000\091\000\091\000\044\000\044\000\
\044\000\044\000\044\000\048\000\048\000\048\000\048\000\051\000\
\048\000\048\000\048\000\048\000\048\000\048\000\048\000\048\000\
\048\000\048\000\048\000\048\000\048\000\048\000\048\000\054\000\
\055\000\070\000\048\000\048\000\048\000\048\000\048\000\057\000\
\082\000\082\000\154\000\081\000\058\000\058\000\089\000\057\000\
\058\000\058\000\058\000\058\000\058\000\155\000\090\000\092\000\
\092\000\104\000\104\000\156\000\157\000\158\000\159\000\057\000\
\057\000\057\000\059\000\059\000\105\000\105\000\160\000\149\000\
\149\000\083\000\083\000\084\000\084\000\085\000\085\000\109\000\
\109\000\141\000\141\000\091\000\162\000\163\000\164\000\110\000\
\165\000\166\000\167\000\110\000\168\000\061\000\061\000\143\000\
\143\000\169\000\171\000\172\000\110\000\061\000\082\000\082\000\
\173\000\058\000\058\000\058\000\058\000\058\000\058\000\058\000\
\058\000\058\000\058\000\058\000\058\000\058\000\058\000\058\000\
\058\000\058\000\058\000\058\000\058\000\058\000\174\000\059\000\
\058\000\058\000\058\000\058\000\058\000\067\000\067\000\059\000\
\083\000\084\000\084\000\092\000\085\000\104\000\109\000\110\000\
\141\000\110\000\175\000\105\000\142\000\142\000\149\000\059\000\
\059\000\059\000\061\000\061\000\061\000\061\000\143\000\061\000\
\061\000\061\000\061\000\061\000\061\000\061\000\061\000\061\000\
\061\000\061\000\061\000\061\000\061\000\061\000\144\000\144\000\
\176\000\061\000\061\000\061\000\061\000\061\000\065\000\146\000\
\146\000\182\000\065\000\065\000\065\000\065\000\065\000\065\000\
\068\000\068\000\067\000\204\000\068\000\068\000\068\000\068\000\
\068\000\191\000\191\000\151\000\151\000\194\000\194\000\194\000\
\194\000\205\000\142\000\142\000\065\000\065\000\065\000\065\000\
\065\000\065\000\067\000\067\000\067\000\067\000\072\000\072\000\
\195\000\195\000\200\000\200\000\185\000\206\000\072\000\198\000\
\198\000\198\000\198\000\207\000\144\000\144\000\186\000\196\000\
\196\000\197\000\197\000\208\000\217\000\220\000\146\000\222\000\
\065\000\199\000\199\000\199\000\199\000\068\000\068\000\068\000\
\068\000\068\000\068\000\068\000\068\000\068\000\068\000\068\000\
\068\000\068\000\068\000\068\000\068\000\068\000\068\000\068\000\
\068\000\068\000\087\000\087\000\068\000\068\000\068\000\068\000\
\068\000\185\000\087\000\072\000\072\000\072\000\072\000\151\000\
\072\000\072\000\072\000\072\000\072\000\072\000\072\000\072\000\
\072\000\072\000\072\000\072\000\072\000\072\000\072\000\195\000\
\186\000\200\000\072\000\072\000\072\000\072\000\072\000\086\000\
\086\000\224\000\226\000\086\000\086\000\086\000\086\000\086\000\
\228\000\230\000\237\000\196\000\238\000\197\000\201\000\201\000\
\201\000\201\000\202\000\202\000\202\000\202\000\216\000\087\000\
\087\000\087\000\087\000\243\000\087\000\087\000\087\000\087\000\
\087\000\087\000\087\000\087\000\087\000\087\000\087\000\087\000\
\087\000\087\000\087\000\211\000\211\000\245\000\087\000\087\000\
\087\000\087\000\087\000\093\000\093\000\249\000\255\255\093\000\
\093\000\093\000\093\000\093\000\086\000\086\000\086\000\086\000\
\086\000\086\000\086\000\086\000\086\000\086\000\086\000\086\000\
\086\000\086\000\086\000\086\000\086\000\086\000\086\000\086\000\
\086\000\212\000\212\000\086\000\086\000\086\000\086\000\086\000\
\098\000\098\000\255\255\255\255\098\000\098\000\098\000\098\000\
\098\000\203\000\203\000\203\000\203\000\209\000\209\000\209\000\
\209\000\255\255\211\000\216\000\216\000\239\000\239\000\255\255\
\093\000\093\000\093\000\093\000\093\000\093\000\093\000\093\000\
\093\000\093\000\093\000\093\000\093\000\093\000\093\000\093\000\
\093\000\093\000\093\000\093\000\093\000\099\000\099\000\093\000\
\093\000\093\000\093\000\093\000\218\000\099\000\255\255\212\000\
\212\000\232\000\232\000\232\000\232\000\098\000\098\000\098\000\
\098\000\098\000\098\000\098\000\098\000\098\000\098\000\098\000\
\098\000\098\000\098\000\098\000\098\000\098\000\098\000\098\000\
\098\000\098\000\100\000\100\000\098\000\098\000\098\000\098\000\
\098\000\244\000\100\000\244\000\255\255\240\000\240\000\255\255\
\241\000\241\000\255\255\255\255\239\000\255\255\213\000\213\000\
\255\255\255\255\099\000\099\000\099\000\099\000\255\255\099\000\
\099\000\099\000\099\000\099\000\099\000\099\000\099\000\099\000\
\099\000\099\000\099\000\099\000\099\000\099\000\178\000\178\000\
\255\255\099\000\099\000\099\000\099\000\099\000\178\000\255\255\
\255\255\218\000\218\000\242\000\242\000\255\255\255\255\100\000\
\100\000\100\000\100\000\255\255\100\000\100\000\100\000\100\000\
\100\000\100\000\100\000\100\000\100\000\100\000\100\000\100\000\
\100\000\100\000\100\000\179\000\179\000\213\000\100\000\100\000\
\100\000\100\000\100\000\215\000\215\000\255\255\255\255\183\000\
\183\000\240\000\219\000\219\000\241\000\255\255\255\255\214\000\
\214\000\255\255\255\255\178\000\178\000\178\000\178\000\255\255\
\178\000\178\000\178\000\178\000\178\000\178\000\178\000\178\000\
\178\000\178\000\178\000\178\000\178\000\178\000\178\000\221\000\
\221\000\255\255\178\000\178\000\178\000\178\000\178\000\180\000\
\180\000\255\255\242\000\180\000\180\000\180\000\180\000\180\000\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\179\000\187\000\215\000\179\000\255\255\187\000\187\000\187\000\
\187\000\187\000\187\000\219\000\183\000\214\000\214\000\183\000\
\179\000\179\000\179\000\181\000\181\000\255\255\255\255\181\000\
\181\000\181\000\181\000\181\000\183\000\183\000\183\000\187\000\
\187\000\187\000\187\000\187\000\187\000\223\000\223\000\255\255\
\221\000\255\255\255\255\255\255\180\000\180\000\180\000\180\000\
\180\000\180\000\180\000\180\000\180\000\180\000\180\000\180\000\
\180\000\180\000\180\000\180\000\180\000\180\000\180\000\180\000\
\180\000\184\000\184\000\180\000\180\000\180\000\180\000\180\000\
\255\255\184\000\255\255\255\255\255\255\255\255\255\255\255\255\
\181\000\181\000\181\000\181\000\181\000\181\000\181\000\181\000\
\181\000\181\000\181\000\181\000\181\000\181\000\181\000\181\000\
\181\000\181\000\181\000\181\000\181\000\255\255\223\000\181\000\
\181\000\181\000\181\000\181\000\225\000\225\000\227\000\227\000\
\229\000\229\000\255\255\255\255\210\000\210\000\246\000\246\000\
\255\255\255\255\255\255\255\255\255\255\255\255\184\000\184\000\
\184\000\184\000\255\255\184\000\184\000\184\000\184\000\184\000\
\184\000\184\000\184\000\184\000\184\000\184\000\184\000\184\000\
\184\000\184\000\247\000\247\000\255\255\184\000\184\000\184\000\
\184\000\184\000\188\000\255\255\255\255\255\255\188\000\188\000\
\188\000\188\000\188\000\188\000\189\000\189\000\255\255\255\255\
\255\255\255\255\255\255\255\255\189\000\225\000\255\255\227\000\
\255\255\229\000\255\255\210\000\248\000\248\000\255\255\246\000\
\188\000\188\000\188\000\188\000\188\000\188\000\255\255\255\255\
\192\000\192\000\255\255\255\255\192\000\192\000\192\000\192\000\
\192\000\210\000\210\000\210\000\210\000\255\255\255\255\255\255\
\255\255\255\255\255\255\247\000\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\188\000\193\000\193\000\255\255\
\255\255\189\000\189\000\189\000\189\000\193\000\189\000\189\000\
\189\000\189\000\189\000\189\000\189\000\189\000\189\000\189\000\
\189\000\189\000\189\000\189\000\189\000\248\000\255\255\255\255\
\189\000\189\000\189\000\189\000\189\000\192\000\192\000\192\000\
\192\000\192\000\192\000\192\000\192\000\192\000\192\000\192\000\
\192\000\192\000\192\000\192\000\192\000\192\000\192\000\192\000\
\192\000\192\000\235\000\235\000\192\000\192\000\192\000\192\000\
\192\000\255\255\193\000\193\000\193\000\193\000\255\255\193\000\
\193\000\193\000\193\000\193\000\193\000\193\000\193\000\193\000\
\193\000\193\000\193\000\193\000\193\000\193\000\255\255\255\255\
\255\255\193\000\193\000\193\000\193\000\193\000\231\000\231\000\
\255\255\255\255\231\000\231\000\231\000\231\000\231\000\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\235\000\
\255\255\255\255\233\000\233\000\255\255\255\255\235\000\255\255\
\255\255\255\255\233\000\255\255\255\255\255\255\255\255\255\255\
\255\255\235\000\255\255\255\255\255\255\255\255\235\000\255\255\
\236\000\236\000\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\231\000\231\000\231\000\231\000\231\000\
\231\000\231\000\231\000\231\000\231\000\231\000\231\000\231\000\
\231\000\231\000\231\000\231\000\231\000\231\000\231\000\231\000\
\255\255\255\255\231\000\231\000\231\000\231\000\231\000\233\000\
\233\000\233\000\233\000\255\255\233\000\233\000\233\000\233\000\
\233\000\233\000\233\000\233\000\233\000\233\000\233\000\233\000\
\233\000\233\000\233\000\234\000\234\000\236\000\233\000\233\000\
\233\000\233\000\233\000\234\000\236\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\236\000\
\255\255\255\255\255\255\255\255\236\000\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\
\234\000\234\000\234\000\234\000\255\255\234\000\234\000\234\000\
\234\000\234\000\234\000\234\000\234\000\234\000\234\000\234\000\
\234\000\234\000\234\000\234\000\255\255\255\255\255\255\234\000\
\234\000\234\000\234\000\234\000";
Lexing.lex_base_code =
"";
Lexing.lex_backtrk_code =
"";
Lexing.lex_default_code =
"";
Lexing.lex_trans_code =
"";
Lexing.lex_check_code =
"";
Lexing.lex_code =
"";
}
let rec scan_content engine lexbuf =
match engine __ocaml_lex_tables 0 lexbuf with
| 0 ->
# 175 "pxp_wlex.mll"
( scan_pi (Lexing.lexeme lexbuf) (scan_xml_pi engine), Content )
# 750 "pxp_wlex.ml"
| 1 ->
# 177 "pxp_wlex.mll"
( raise (WF_error ("Illegal processing instruction")) )
# 755 "pxp_wlex.ml"
| 2 ->
# 179 "pxp_wlex.mll"
( Comment_begin dummy_entity, Content_comment )
# 760 "pxp_wlex.ml"
| 3 ->
# 182 "pxp_wlex.mll"
( let l = Lexing.lexeme_end lexbuf - Lexing.lexeme_start lexbuf in
if Lexing.lexeme_char lexbuf 1 = '/' then
Tag_end (sub_lexeme lexbuf 2 (l-2), dummy_entity),
Within_tag
else
Tag_beg (sub_lexeme lexbuf 1 (l-1), dummy_entity),
Within_tag
)
# 772 "pxp_wlex.ml"
| 4 ->
# 191 "pxp_wlex.mll"
( let l = Lexing.lexeme_end lexbuf - Lexing.lexeme_start lexbuf in
Cdata (sub_lexeme lexbuf 9 (l-12)), Content )
# 778 "pxp_wlex.ml"
| 5 ->
# 194 "pxp_wlex.mll"
( raise (WF_error "Declaration either malformed or not allowed in this context")
)
# 784 "pxp_wlex.ml"
| 6 ->
# 197 "pxp_wlex.mll"
( raise (WF_error ("The left angle bracket '<' must be written as '<'"))
)
# 790 "pxp_wlex.ml"
| 7 ->
# 200 "pxp_wlex.mll"
( let l = Lexing.lexeme_end lexbuf - Lexing.lexeme_start lexbuf in
CRef (int_of_string (sub_lexeme lexbuf 2 (l-3))), Content )
# 796 "pxp_wlex.ml"
| 8 ->
# 203 "pxp_wlex.mll"
( let l = Lexing.lexeme_end lexbuf - Lexing.lexeme_start lexbuf in
CRef (int_of_string ("0x" ^ sub_lexeme lexbuf 3 (l-4))), Content )
# 802 "pxp_wlex.ml"
| 9 ->
# 206 "pxp_wlex.mll"
( let l = Lexing.lexeme_end lexbuf - Lexing.lexeme_start lexbuf in
ERef (sub_lexeme lexbuf 1 (l-2)), Content )
# 808 "pxp_wlex.ml"
| 10 ->
# 209 "pxp_wlex.mll"
( raise (WF_error ("The ampersand '&' must be written as '&'"))
)
# 814 "pxp_wlex.ml"
| 11 ->
# 220 "pxp_wlex.mll"
( tok_LineEndCRLF__Content )
# 819 "pxp_wlex.ml"
| 12 ->
# 222 "pxp_wlex.mll"
( tok_LineEndCR__Content )
# 824 "pxp_wlex.ml"
| 13 ->
# 224 "pxp_wlex.mll"
( tok_LineEndLF__Content )
# 829 "pxp_wlex.ml"
| 14 ->
# 226 "pxp_wlex.mll"
( tok_Eof__Content )
# 834 "pxp_wlex.ml"
| 15 ->
# 228 "pxp_wlex.mll"
( raise (WF_error ("The sequence ']]>' must be written as ']]>'"))
)
# 840 "pxp_wlex.ml"
| 16 ->
# 231 "pxp_wlex.mll"
( tok_CharDataRBRACKET__Content )
# 845 "pxp_wlex.ml"
| 17 ->
# 233 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
CharData s, Content
)
# 852 "pxp_wlex.ml"
| 18 ->
# 237 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 857 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_content]"
and scan_within_tag engine lexbuf =
match engine __ocaml_lex_tables 44 lexbuf with
| 0 ->
# 242 "pxp_wlex.mll"
( tok_IgnoreLineEnd__Within_tag )
# 866 "pxp_wlex.ml"
| 1 ->
# 244 "pxp_wlex.mll"
( tok_IgnoreLineEnd__Within_tag )
# 871 "pxp_wlex.ml"
| 2 ->
# 246 "pxp_wlex.mll"
( tok_IgnoreLineEnd__Within_tag )
# 876 "pxp_wlex.ml"
| 3 ->
# 248 "pxp_wlex.mll"
( tok_Ignore__Within_tag )
# 881 "pxp_wlex.ml"
| 4 ->
# 250 "pxp_wlex.mll"
( Name (Lexing.lexeme lexbuf ), Within_tag )
# 886 "pxp_wlex.ml"
| 5 ->
# 252 "pxp_wlex.mll"
( tok_Eq__Within_tag )
# 891 "pxp_wlex.ml"
| 6 ->
# 254 "pxp_wlex.mll"
( let l = Lexing.lexeme_end lexbuf - Lexing.lexeme_start lexbuf in
let v = sub_lexeme lexbuf 1 (l-2) in
Attval v, Within_tag )
# 898 "pxp_wlex.ml"
| 7 ->
# 258 "pxp_wlex.mll"
( raise (WF_error ("Cannot find the second quotation mark"))
)
# 904 "pxp_wlex.ml"
| 8 ->
# 261 "pxp_wlex.mll"
( let l = Lexing.lexeme_end lexbuf - Lexing.lexeme_start lexbuf in
let v = sub_lexeme lexbuf 1 (l-2) in
Attval v, Within_tag )
# 911 "pxp_wlex.ml"
| 9 ->
# 265 "pxp_wlex.mll"
( raise (WF_error ("Cannot find the second quotation mark"))
)
# 917 "pxp_wlex.ml"
| 10 ->
# 268 "pxp_wlex.mll"
( tok_Rangle__Content )
# 922 "pxp_wlex.ml"
| 11 ->
# 270 "pxp_wlex.mll"
( tok_Rangle_empty__Content )
# 927 "pxp_wlex.ml"
| 12 ->
# 272 "pxp_wlex.mll"
( tok_Eof__Within_tag )
# 932 "pxp_wlex.ml"
| 13 ->
# 274 "pxp_wlex.mll"
( raise (WF_error ("Illegal inside tags")) )
# 937 "pxp_wlex.ml"
| 14 ->
# 276 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 942 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_within_tag]"
and scan_content_string engine lexbuf =
match engine __ocaml_lex_tables 57 lexbuf with
| 0 ->
# 283 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
ERef (String.sub s 1 (String.length s - 2)) )
# 952 "pxp_wlex.ml"
| 1 ->
# 286 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
CRef (int_of_string (String.sub s 2 (String.length s - 3))) )
# 958 "pxp_wlex.ml"
| 2 ->
# 289 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
CRef (int_of_string ("0x" ^ String.sub s 3 (String.length s - 4))) )
# 964 "pxp_wlex.ml"
| 3 ->
# 292 "pxp_wlex.mll"
( raise(WF_error("The character '&' must be written as '&'")) )
# 969 "pxp_wlex.ml"
| 4 ->
# 294 "pxp_wlex.mll"
( CharData "" (* (Lexing.lexeme lexbuf) *) )
# 974 "pxp_wlex.ml"
| 5 ->
# 296 "pxp_wlex.mll"
( CRef 32 )
# 979 "pxp_wlex.ml"
| 6 ->
# 298 "pxp_wlex.mll"
( CRef(-1) (* A special case *)
)
# 985 "pxp_wlex.ml"
| 7 ->
# 301 "pxp_wlex.mll"
( CRef 32 )
# 990 "pxp_wlex.ml"
| 8 ->
# 303 "pxp_wlex.mll"
( CRef 32 )
# 995 "pxp_wlex.ml"
| 9 ->
# 305 "pxp_wlex.mll"
(
(* Depending on the situation, '<' may be legal or not: *)
CharData "<"
)
# 1003 "pxp_wlex.ml"
| 10 ->
# 310 "pxp_wlex.mll"
( Eof )
# 1008 "pxp_wlex.ml"
| 11 ->
# 312 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1013 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_content_string]"
and scan_document engine lexbuf =
match engine __ocaml_lex_tables 67 lexbuf with
| 0 ->
# 319 "pxp_wlex.mll"
( scan_pi (Lexing.lexeme lexbuf) (scan_xml_pi engine), Document )
# 1022 "pxp_wlex.ml"
| 1 ->
# 321 "pxp_wlex.mll"
( raise (WF_error ("Illegal processing instruction")) )
# 1027 "pxp_wlex.ml"
| 2 ->
# 323 "pxp_wlex.mll"
( tok_Doctype__Document_type )
# 1032 "pxp_wlex.ml"
| 3 ->
# 325 "pxp_wlex.mll"
( Comment_begin dummy_entity, Document_comment )
# 1037 "pxp_wlex.ml"
| 4 ->
# 327 "pxp_wlex.mll"
( raise (WF_error "Declaration either malformed or not allowed in this context")
)
# 1043 "pxp_wlex.ml"
| 5 ->
# 330 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
Tag_beg (String.sub s 1 (String.length s - 1), dummy_entity), Within_tag
)
# 1050 "pxp_wlex.ml"
| 6 ->
# 334 "pxp_wlex.mll"
( raise (WF_error ("Illegal token")) )
# 1055 "pxp_wlex.ml"
| 7 ->
# 336 "pxp_wlex.mll"
( tok_Ignore__Document )
# 1060 "pxp_wlex.ml"
| 8 ->
# 338 "pxp_wlex.mll"
( tok_Eof__Document )
# 1065 "pxp_wlex.ml"
| 9 ->
# 340 "pxp_wlex.mll"
( raise (WF_error ("Content not allowed here")) )
# 1070 "pxp_wlex.ml"
| 10 ->
# 342 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1075 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_document]"
and scan_document_type engine lexbuf =
match engine __ocaml_lex_tables 86 lexbuf with
| 0 ->
# 349 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
Name s, Document_type )
# 1085 "pxp_wlex.ml"
| 1 ->
# 352 "pxp_wlex.mll"
( tok_Ignore__Document_type )
# 1090 "pxp_wlex.ml"
| 2 ->
# 354 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
(Unparsed_string (String.sub s 1 (String.length s - 2))), Document_type )
# 1096 "pxp_wlex.ml"
| 3 ->
# 357 "pxp_wlex.mll"
( raise (WF_error ("Cannot find the second quotation mark"))
)
# 1102 "pxp_wlex.ml"
| 4 ->
# 360 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
(Unparsed_string (String.sub s 1 (String.length s - 2))), Document_type )
# 1108 "pxp_wlex.ml"
| 5 ->
# 363 "pxp_wlex.mll"
( raise (WF_error ("Cannot find the second quotation mark"))
)
# 1114 "pxp_wlex.ml"
| 6 ->
# 366 "pxp_wlex.mll"
( tok_Dtd_begin__Declaration )
# 1119 "pxp_wlex.ml"
| 7 ->
# 368 "pxp_wlex.mll"
( tok_Doctype_rangle__Document )
# 1124 "pxp_wlex.ml"
| 8 ->
# 370 "pxp_wlex.mll"
( tok_Eof__Document_type )
# 1129 "pxp_wlex.ml"
| 9 ->
# 372 "pxp_wlex.mll"
( raise (WF_error("References to general entities not allowed here")) )
# 1134 "pxp_wlex.ml"
| 10 ->
# 374 "pxp_wlex.mll"
( raise (WF_error("References to parameter entities not allowed here")) )
# 1139 "pxp_wlex.ml"
| 11 ->
# 376 "pxp_wlex.mll"
( raise (WF_error("Content not allowed here")) )
# 1144 "pxp_wlex.ml"
| 12 ->
# 378 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1149 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_document_type]"
and scan_declaration engine lexbuf =
match engine __ocaml_lex_tables 93 lexbuf with
| 0 ->
# 386 "pxp_wlex.mll"
( tok_Ignore__Declaration )
# 1158 "pxp_wlex.ml"
| 1 ->
# 388 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
(PERef (String.sub s 1 (String.length s - 2))), Declaration )
# 1164 "pxp_wlex.ml"
| 2 ->
# 391 "pxp_wlex.mll"
( tok_Percent__Declaration )
# 1169 "pxp_wlex.ml"
| 3 ->
# 393 "pxp_wlex.mll"
( raise(WF_error("References to general entities not allowed in DTDs")) )
# 1174 "pxp_wlex.ml"
| 4 ->
# 395 "pxp_wlex.mll"
( Name (Lexing.lexeme lexbuf), Declaration )
# 1179 "pxp_wlex.ml"
| 5 ->
# 397 "pxp_wlex.mll"
( Nametoken (Lexing.lexeme lexbuf), Declaration )
# 1184 "pxp_wlex.ml"
| 6 ->
# 399 "pxp_wlex.mll"
( tok_Plus__Declaration )
# 1189 "pxp_wlex.ml"
| 7 ->
# 401 "pxp_wlex.mll"
( tok_Star__Declaration )
# 1194 "pxp_wlex.ml"
| 8 ->
# 403 "pxp_wlex.mll"
( tok_Bar__Declaration )
# 1199 "pxp_wlex.ml"
| 9 ->
# 405 "pxp_wlex.mll"
( tok_Comma__Declaration )
# 1204 "pxp_wlex.ml"
| 10 ->
# 407 "pxp_wlex.mll"
( tok_Qmark__Declaration )
# 1209 "pxp_wlex.ml"
| 11 ->
# 409 "pxp_wlex.mll"
( tok_Lparen__Declaration )
# 1214 "pxp_wlex.ml"
| 12 ->
# 411 "pxp_wlex.mll"
( tok_RparenPlus__Declaration )
# 1219 "pxp_wlex.ml"
| 13 ->
# 413 "pxp_wlex.mll"
( tok_RparenStar__Declaration )
# 1224 "pxp_wlex.ml"
| 14 ->
# 415 "pxp_wlex.mll"
( tok_RparenQmark__Declaration )
# 1229 "pxp_wlex.ml"
| 15 ->
# 417 "pxp_wlex.mll"
( tok_Rparen__Declaration )
# 1234 "pxp_wlex.ml"
| 16 ->
# 419 "pxp_wlex.mll"
( tok_Required__Declaration )
# 1239 "pxp_wlex.ml"
| 17 ->
# 421 "pxp_wlex.mll"
( tok_Implied__Declaration )
# 1244 "pxp_wlex.ml"
| 18 ->
# 423 "pxp_wlex.mll"
( tok_Fixed__Declaration )
# 1249 "pxp_wlex.ml"
| 19 ->
# 425 "pxp_wlex.mll"
( tok_Pcdata__Declaration )
# 1254 "pxp_wlex.ml"
| 20 ->
# 427 "pxp_wlex.mll"
( tok_Decl_element__Declaration )
# 1259 "pxp_wlex.ml"
| 21 ->
# 429 "pxp_wlex.mll"
( tok_Decl_attlist__Declaration )
# 1264 "pxp_wlex.ml"
| 22 ->
# 431 "pxp_wlex.mll"
( tok_Decl_entity__Declaration )
# 1269 "pxp_wlex.ml"
| 23 ->
# 433 "pxp_wlex.mll"
( tok_Decl_notation__Declaration )
# 1274 "pxp_wlex.ml"
| 24 ->
# 435 "pxp_wlex.mll"
( Comment_begin dummy_entity, Decl_comment )
# 1279 "pxp_wlex.ml"
| 25 ->
# 437 "pxp_wlex.mll"
( tok_Conditional_begin__Declaration )
# 1284 "pxp_wlex.ml"
| 26 ->
# 439 "pxp_wlex.mll"
( tok_Conditional_end__Declaration )
# 1289 "pxp_wlex.ml"
| 27 ->
# 441 "pxp_wlex.mll"
( tok_Conditional_body__Declaration )
# 1294 "pxp_wlex.ml"
| 28 ->
# 446 "pxp_wlex.mll"
( scan_pi (Lexing.lexeme lexbuf) (scan_xml_pi engine), Declaration )
# 1299 "pxp_wlex.ml"
| 29 ->
# 448 "pxp_wlex.mll"
( raise (WF_error ("Illegal processing instruction")) )
# 1304 "pxp_wlex.ml"
| 30 ->
# 450 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
(Unparsed_string (String.sub s 1 (String.length s - 2))), Declaration )
# 1310 "pxp_wlex.ml"
| 31 ->
# 453 "pxp_wlex.mll"
( raise (WF_error ("Cannot find the second quotation mark"))
)
# 1316 "pxp_wlex.ml"
| 32 ->
# 456 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
(Unparsed_string (String.sub s 1 (String.length s - 2))), Declaration )
# 1322 "pxp_wlex.ml"
| 33 ->
# 459 "pxp_wlex.mll"
( raise (WF_error ("Cannot find the second quotation mark"))
)
# 1328 "pxp_wlex.ml"
| 34 ->
# 462 "pxp_wlex.mll"
( tok_Decl_rangle__Declaration )
# 1333 "pxp_wlex.ml"
| 35 ->
# 464 "pxp_wlex.mll"
( tok_Dtd_end__Document_type )
# 1338 "pxp_wlex.ml"
| 36 ->
# 466 "pxp_wlex.mll"
( tok_Eof__Declaration )
# 1343 "pxp_wlex.ml"
| 37 ->
# 468 "pxp_wlex.mll"
( raise (WF_error "Declaration either malformed or not allowed in this context")
)
# 1349 "pxp_wlex.ml"
| 38 ->
# 471 "pxp_wlex.mll"
( raise (WF_error("Illegal token or character")) )
# 1354 "pxp_wlex.ml"
| 39 ->
# 473 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1359 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_declaration]"
and scan_dtd_string engine lexbuf =
match engine __ocaml_lex_tables 179 lexbuf with
| 0 ->
# 482 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
PERef (String.sub s 1 (String.length s - 2)) )
# 1369 "pxp_wlex.ml"
| 1 ->
# 485 "pxp_wlex.mll"
( raise(WF_error("The character '%' must be written as '%'")) )
# 1374 "pxp_wlex.ml"
| 2 ->
# 487 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
ERef (String.sub s 1 (String.length s - 2)) )
# 1380 "pxp_wlex.ml"
| 3 ->
# 490 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
CRef (int_of_string (String.sub s 2 (String.length s - 3))) )
# 1386 "pxp_wlex.ml"
| 4 ->
# 493 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
CRef (int_of_string ("0x" ^ String.sub s 3 (String.length s - 4))) )
# 1392 "pxp_wlex.ml"
| 5 ->
# 496 "pxp_wlex.mll"
( raise(WF_error("The character '&' must be written as '&'")) )
# 1397 "pxp_wlex.ml"
| 6 ->
# 498 "pxp_wlex.mll"
( CRef(-1) )
# 1402 "pxp_wlex.ml"
| 7 ->
# 500 "pxp_wlex.mll"
( CRef(-2) )
# 1407 "pxp_wlex.ml"
| 8 ->
# 502 "pxp_wlex.mll"
( CRef(-3) )
# 1412 "pxp_wlex.ml"
| 9 ->
# 504 "pxp_wlex.mll"
( CharData "\009" )
# 1417 "pxp_wlex.ml"
| 10 ->
# 506 "pxp_wlex.mll"
( CharData (Lexing.lexeme lexbuf) )
# 1422 "pxp_wlex.ml"
| 11 ->
# 508 "pxp_wlex.mll"
( Eof )
# 1427 "pxp_wlex.ml"
| 12 ->
# 510 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1432 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_dtd_string]"
and scan_characters engine lexbuf =
match engine __ocaml_lex_tables 190 lexbuf with
| 0 ->
# 516 "pxp_wlex.mll"
( () )
# 1441 "pxp_wlex.ml"
| 1 ->
# 518 "pxp_wlex.mll"
( () )
# 1446 "pxp_wlex.ml"
| 2 ->
# 520 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1451 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_characters]"
and scan_xml_pi engine lexbuf =
match engine __ocaml_lex_tables 192 lexbuf with
| 0 ->
# 525 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
let j = get_name_end s 0 in
Pro_name (String.sub s 0 j)
)
# 1463 "pxp_wlex.ml"
| 1 ->
# 530 "pxp_wlex.mll"
( Pro_eq )
# 1468 "pxp_wlex.ml"
| 2 ->
# 532 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
let j = String.index_from s 1 '\'' in
Pro_string (String.sub s 1 (j-1))
)
# 1476 "pxp_wlex.ml"
| 3 ->
# 537 "pxp_wlex.mll"
( raise (WF_error ("Cannot find the second quotation mark"))
)
# 1482 "pxp_wlex.ml"
| 4 ->
# 540 "pxp_wlex.mll"
( let s = Lexing.lexeme lexbuf in
let j = String.index_from s 1 '"' in
Pro_string (String.sub s 1 (j-1))
)
# 1490 "pxp_wlex.ml"
| 5 ->
# 545 "pxp_wlex.mll"
( raise (WF_error ("Cannot find the second quotation mark"))
)
# 1496 "pxp_wlex.ml"
| 6 ->
# 548 "pxp_wlex.mll"
( Pro_eof )
# 1501 "pxp_wlex.ml"
| 7 ->
# 550 "pxp_wlex.mll"
( (* prerr_endline (Lexing.lexeme lexbuf); *)
raise (WF_error("Illegal token or character"))
)
# 1508 "pxp_wlex.ml"
| 8 ->
# 554 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1513 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_xml_pi]"
and scan_only_xml_decl engine lexbuf =
match engine __ocaml_lex_tables 204 lexbuf with
| 0 ->
# 558 "pxp_wlex.mll"
( scan_pi (Lexing.lexeme lexbuf) (scan_xml_pi engine) )
# 1522 "pxp_wlex.ml"
| 1 ->
# 560 "pxp_wlex.mll"
( Eof )
# 1527 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_only_xml_decl]"
and scan_for_crlf engine lexbuf =
match engine __ocaml_lex_tables 216 lexbuf with
| 0 ->
# 564 "pxp_wlex.mll"
( CharData "\n" )
# 1536 "pxp_wlex.ml"
| 1 ->
# 566 "pxp_wlex.mll"
( CharData "\n" )
# 1541 "pxp_wlex.ml"
| 2 ->
# 568 "pxp_wlex.mll"
( CharData "\n" )
# 1546 "pxp_wlex.ml"
| 3 ->
# 570 "pxp_wlex.mll"
( CharData (Lexing.lexeme lexbuf) )
# 1551 "pxp_wlex.ml"
| 4 ->
# 572 "pxp_wlex.mll"
( Eof )
# 1556 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_for_crlf]"
and scan_content_comment engine lexbuf =
match engine __ocaml_lex_tables 219 lexbuf with
| 0 ->
# 576 "pxp_wlex.mll"
( Comment_end dummy_entity, Content )
# 1565 "pxp_wlex.ml"
| 1 ->
# 578 "pxp_wlex.mll"
( raise (WF_error "Double hyphens are illegal inside comments") )
# 1570 "pxp_wlex.ml"
| 2 ->
# 580 "pxp_wlex.mll"
( Comment_material "-", Content_comment )
# 1575 "pxp_wlex.ml"
| 3 ->
# 582 "pxp_wlex.mll"
( Comment_material(Lexing.lexeme lexbuf), Content_comment )
# 1580 "pxp_wlex.ml"
| 4 ->
# 584 "pxp_wlex.mll"
( Eof, Content_comment )
# 1585 "pxp_wlex.ml"
| 5 ->
# 586 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1590 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_content_comment]"
and scan_decl_comment engine lexbuf =
match engine __ocaml_lex_tables 223 lexbuf with
| 0 ->
# 593 "pxp_wlex.mll"
( Comment_end dummy_entity, Declaration )
# 1599 "pxp_wlex.ml"
| 1 ->
# 595 "pxp_wlex.mll"
( raise (WF_error "Double hyphens are illegal inside comments") )
# 1604 "pxp_wlex.ml"
| 2 ->
# 597 "pxp_wlex.mll"
( Comment_material "", Decl_comment )
# 1609 "pxp_wlex.ml"
| 3 ->
# 599 "pxp_wlex.mll"
( Comment_material "", Decl_comment )
# 1614 "pxp_wlex.ml"
| 4 ->
# 601 "pxp_wlex.mll"
( Eof, Decl_comment )
# 1619 "pxp_wlex.ml"
| 5 ->
# 603 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1624 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_decl_comment]"
and scan_document_comment engine lexbuf =
match engine __ocaml_lex_tables 227 lexbuf with
| 0 ->
# 608 "pxp_wlex.mll"
( Comment_end dummy_entity, Document )
# 1633 "pxp_wlex.ml"
| 1 ->
# 610 "pxp_wlex.mll"
( raise (WF_error "Double hyphens are illegal inside comments") )
# 1638 "pxp_wlex.ml"
| 2 ->
# 612 "pxp_wlex.mll"
( Comment_material "-", Document_comment )
# 1643 "pxp_wlex.ml"
| 3 ->
# 614 "pxp_wlex.mll"
( Comment_material(Lexing.lexeme lexbuf), Document_comment )
# 1648 "pxp_wlex.ml"
| 4 ->
# 616 "pxp_wlex.mll"
( Eof, Document_comment )
# 1653 "pxp_wlex.ml"
| 5 ->
# 618 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1658 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_document_comment]"
and scan_name_string engine lexbuf =
match engine __ocaml_lex_tables 231 lexbuf with
| 0 ->
# 623 "pxp_wlex.mll"
( Name (Lexing.lexeme lexbuf) )
# 1667 "pxp_wlex.ml"
| 1 ->
# 625 "pxp_wlex.mll"
( Ignore )
# 1672 "pxp_wlex.ml"
| 2 ->
# 627 "pxp_wlex.mll"
( Nametoken (Lexing.lexeme lexbuf) )
# 1677 "pxp_wlex.ml"
| 3 ->
# 629 "pxp_wlex.mll"
( Eof )
# 1682 "pxp_wlex.ml"
| 4 ->
# 631 "pxp_wlex.mll"
( CharData (Lexing.lexeme lexbuf) )
# 1687 "pxp_wlex.ml"
| 5 ->
# 633 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1692 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_name_string]"
and scan_ignored_section engine lexbuf =
match engine __ocaml_lex_tables 235 lexbuf with
| 0 ->
# 638 "pxp_wlex.mll"
( tok_Conditional_begin__Ignored )
# 1701 "pxp_wlex.ml"
| 1 ->
# 640 "pxp_wlex.mll"
( tok_Conditional_end__Ignored )
# 1706 "pxp_wlex.ml"
| 2 ->
# 642 "pxp_wlex.mll"
( tok_Ignore__Ignored )
# 1711 "pxp_wlex.ml"
| 3 ->
# 644 "pxp_wlex.mll"
( tok_Ignore__Ignored )
# 1716 "pxp_wlex.ml"
| 4 ->
# 646 "pxp_wlex.mll"
( tok_Ignore__Ignored )
# 1721 "pxp_wlex.ml"
| 5 ->
# 648 "pxp_wlex.mll"
( tok_Eof__Ignored )
# 1726 "pxp_wlex.ml"
| 6 ->
# 650 "pxp_wlex.mll"
( tok_Ignore__Ignored )
# 1731 "pxp_wlex.ml"
| 7 ->
# 652 "pxp_wlex.mll"
( tok_Ignore__Ignored )
# 1736 "pxp_wlex.ml"
| 8 ->
# 654 "pxp_wlex.mll"
( tok_Ignore__Ignored )
# 1741 "pxp_wlex.ml"
| 9 ->
# 656 "pxp_wlex.mll"
( tok_Ignore__Ignored )
# 1746 "pxp_wlex.ml"
| 10 ->
# 658 "pxp_wlex.mll"
( tok_Ignore__Ignored )
# 1751 "pxp_wlex.ml"
| 11 ->
# 660 "pxp_wlex.mll"
( raise Netconversion.Malformed_code )
# 1756 "pxp_wlex.ml"
| _ -> failwith "lexing: empty token [scan_ignored_section]"
;;