oga 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/c/lexer.c +834 -785
- data/ext/java/org/liboga/xml/Lexer.java +273 -244
- data/ext/ragel/base_lexer.rl +31 -5
- data/lib/oga.rb +41 -41
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/lexer.rb +23 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5c02d84a4161b33137cf8e33f59fe380f82c44e
|
4
|
+
data.tar.gz: f9cd0112fa6b6975db454284bb084a0537cdaab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5d24799bc8ccaca4baa3756a0d38f5ccf55f26136c6dfca00463b674192098c913869219e09bc034bbb23af00250451d783e6734dbfbe57b45719b3169635ad
|
7
|
+
data.tar.gz: 671e57a0082aae1df5e8cb808a2c1fcfbffed8f2343da2c19778a73cd56ec368b2c147b56c84c1ceb5bd52cc350ff6f6abfe79d6ab65803ab4b1508e62350771
|
data/ext/c/lexer.c
CHANGED
@@ -71,26 +71,27 @@ void liboga_xml_lexer_callback_simple(VALUE self, VALUE name)
|
|
71
71
|
|
72
72
|
|
73
73
|
#line 74 "ext/c/lexer.c"
|
74
|
-
static const int c_lexer_start =
|
75
|
-
static const int c_lexer_first_final =
|
74
|
+
static const int c_lexer_start = 32;
|
75
|
+
static const int c_lexer_first_final = 32;
|
76
76
|
static const int c_lexer_error = 0;
|
77
77
|
|
78
|
-
static const int c_lexer_en_comment_body =
|
79
|
-
static const int c_lexer_en_cdata_body =
|
80
|
-
static const int c_lexer_en_proc_ins_body =
|
81
|
-
static const int c_lexer_en_string_squote =
|
82
|
-
static const int c_lexer_en_string_dquote =
|
83
|
-
static const int c_lexer_en_doctype_inline =
|
84
|
-
static const int c_lexer_en_doctype =
|
85
|
-
static const int c_lexer_en_xml_decl =
|
86
|
-
static const int c_lexer_en_element_name =
|
78
|
+
static const int c_lexer_en_comment_body = 38;
|
79
|
+
static const int c_lexer_en_cdata_body = 41;
|
80
|
+
static const int c_lexer_en_proc_ins_body = 44;
|
81
|
+
static const int c_lexer_en_string_squote = 47;
|
82
|
+
static const int c_lexer_en_string_dquote = 49;
|
83
|
+
static const int c_lexer_en_doctype_inline = 51;
|
84
|
+
static const int c_lexer_en_doctype = 53;
|
85
|
+
static const int c_lexer_en_xml_decl = 66;
|
86
|
+
static const int c_lexer_en_element_name = 69;
|
87
|
+
static const int c_lexer_en_element_close = 71;
|
87
88
|
static const int c_lexer_en_html_attribute_value = 73;
|
88
89
|
static const int c_lexer_en_xml_attribute_value = 75;
|
89
90
|
static const int c_lexer_en_element_head = 76;
|
90
91
|
static const int c_lexer_en_text = 80;
|
91
92
|
static const int c_lexer_en_html_script = 84;
|
92
93
|
static const int c_lexer_en_html_style = 88;
|
93
|
-
static const int c_lexer_en_main =
|
94
|
+
static const int c_lexer_en_main = 32;
|
94
95
|
|
95
96
|
|
96
97
|
#line 70 "ext/c/lexer.rl"
|
@@ -156,7 +157,7 @@ VALUE oga_xml_lexer_advance(VALUE self, VALUE data_block)
|
|
156
157
|
lines = state->lines;
|
157
158
|
|
158
159
|
|
159
|
-
#line
|
160
|
+
#line 161 "ext/c/lexer.c"
|
160
161
|
{
|
161
162
|
if ( p == pe )
|
162
163
|
goto _test_eof;
|
@@ -164,8 +165,8 @@ VALUE oga_xml_lexer_advance(VALUE self, VALUE data_block)
|
|
164
165
|
|
165
166
|
_again:
|
166
167
|
switch ( ( state->cs) ) {
|
167
|
-
case
|
168
|
-
case
|
168
|
+
case 32: goto st32;
|
169
|
+
case 33: goto st33;
|
169
170
|
case 1: goto st1;
|
170
171
|
case 2: goto st2;
|
171
172
|
case 3: goto st3;
|
@@ -175,7 +176,7 @@ _again:
|
|
175
176
|
case 7: goto st7;
|
176
177
|
case 8: goto st8;
|
177
178
|
case 9: goto st9;
|
178
|
-
case
|
179
|
+
case 34: goto st34;
|
179
180
|
case 10: goto st10;
|
180
181
|
case 11: goto st11;
|
181
182
|
case 12: goto st12;
|
@@ -183,19 +184,19 @@ _again:
|
|
183
184
|
case 14: goto st14;
|
184
185
|
case 15: goto st15;
|
185
186
|
case 16: goto st16;
|
186
|
-
case
|
187
|
-
case
|
187
|
+
case 35: goto st35;
|
188
|
+
case 36: goto st36;
|
188
189
|
case 37: goto st37;
|
189
190
|
case 38: goto st38;
|
190
191
|
case 39: goto st39;
|
191
192
|
case 40: goto st40;
|
193
|
+
case 17: goto st17;
|
192
194
|
case 41: goto st41;
|
193
195
|
case 42: goto st42;
|
194
|
-
case 19: goto st19;
|
195
196
|
case 43: goto st43;
|
197
|
+
case 18: goto st18;
|
196
198
|
case 44: goto st44;
|
197
199
|
case 45: goto st45;
|
198
|
-
case 20: goto st20;
|
199
200
|
case 46: goto st46;
|
200
201
|
case 47: goto st47;
|
201
202
|
case 48: goto st48;
|
@@ -204,9 +205,9 @@ _again:
|
|
204
205
|
case 51: goto st51;
|
205
206
|
case 52: goto st52;
|
206
207
|
case 53: goto st53;
|
208
|
+
case 0: goto st0;
|
207
209
|
case 54: goto st54;
|
208
210
|
case 55: goto st55;
|
209
|
-
case 0: goto st0;
|
210
211
|
case 56: goto st56;
|
211
212
|
case 57: goto st57;
|
212
213
|
case 58: goto st58;
|
@@ -238,23 +239,23 @@ _again:
|
|
238
239
|
case 84: goto st84;
|
239
240
|
case 85: goto st85;
|
240
241
|
case 86: goto st86;
|
242
|
+
case 19: goto st19;
|
243
|
+
case 20: goto st20;
|
241
244
|
case 21: goto st21;
|
242
245
|
case 22: goto st22;
|
243
246
|
case 23: goto st23;
|
244
247
|
case 24: goto st24;
|
245
248
|
case 25: goto st25;
|
246
|
-
case 26: goto st26;
|
247
|
-
case 27: goto st27;
|
248
249
|
case 87: goto st87;
|
249
250
|
case 88: goto st88;
|
250
251
|
case 89: goto st89;
|
251
252
|
case 90: goto st90;
|
253
|
+
case 26: goto st26;
|
254
|
+
case 27: goto st27;
|
252
255
|
case 28: goto st28;
|
253
256
|
case 29: goto st29;
|
254
257
|
case 30: goto st30;
|
255
258
|
case 31: goto st31;
|
256
|
-
case 32: goto st32;
|
257
|
-
case 33: goto st33;
|
258
259
|
case 91: goto st91;
|
259
260
|
default: break;
|
260
261
|
}
|
@@ -265,63 +266,64 @@ _resume:
|
|
265
266
|
switch ( ( state->cs) )
|
266
267
|
{
|
267
268
|
tr0:
|
268
|
-
( state->cs) =
|
269
|
-
#line
|
269
|
+
( state->cs) = 32;
|
270
|
+
#line 530 "ext/ragel/base_lexer.rl"
|
270
271
|
{{p = ((te))-1;}{
|
271
272
|
p--;
|
272
273
|
( state->cs) = 80;
|
273
274
|
}}
|
274
275
|
goto _again;
|
275
276
|
tr4:
|
276
|
-
( state->cs) =
|
277
|
+
( state->cs) = 32;
|
277
278
|
#line 84 "ext/ragel/base_lexer.rl"
|
278
279
|
{te = p+1;{
|
279
280
|
callback_simple(id_on_comment_start);
|
280
281
|
|
281
|
-
( state->cs) =
|
282
|
+
( state->cs) = 38;
|
282
283
|
}}
|
283
284
|
goto _again;
|
284
285
|
tr17:
|
285
|
-
( state->cs) =
|
286
|
+
( state->cs) = 32;
|
286
287
|
#line 123 "ext/ragel/base_lexer.rl"
|
287
288
|
{te = p+1;{
|
288
289
|
callback_simple(id_on_cdata_start);
|
289
290
|
|
290
|
-
( state->cs) =
|
291
|
+
( state->cs) = 41;
|
291
292
|
}}
|
292
293
|
goto _again;
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
callback_simple(id_on_element_end);
|
297
|
-
}}
|
298
|
-
goto st34;
|
299
|
-
tr42:
|
300
|
-
( state->cs) = 34;
|
301
|
-
#line 504 "ext/ragel/base_lexer.rl"
|
294
|
+
tr39:
|
295
|
+
( state->cs) = 32;
|
296
|
+
#line 530 "ext/ragel/base_lexer.rl"
|
302
297
|
{te = p+1;{
|
303
298
|
p--;
|
304
299
|
( state->cs) = 80;
|
305
300
|
}}
|
306
301
|
goto _again;
|
307
|
-
|
308
|
-
( state->cs) =
|
309
|
-
#line
|
302
|
+
tr41:
|
303
|
+
( state->cs) = 32;
|
304
|
+
#line 530 "ext/ragel/base_lexer.rl"
|
310
305
|
{te = p;p--;{
|
311
306
|
p--;
|
312
307
|
( state->cs) = 80;
|
313
308
|
}}
|
314
309
|
goto _again;
|
315
|
-
|
316
|
-
( state->cs) =
|
317
|
-
#line
|
310
|
+
tr43:
|
311
|
+
( state->cs) = 32;
|
312
|
+
#line 366 "ext/ragel/base_lexer.rl"
|
318
313
|
{te = p+1;{
|
319
314
|
p--;
|
315
|
+
( state->cs) = 69;
|
316
|
+
}}
|
317
|
+
goto _again;
|
318
|
+
tr44:
|
319
|
+
( state->cs) = 32;
|
320
|
+
#line 371 "ext/ragel/base_lexer.rl"
|
321
|
+
{te = p+1;{
|
320
322
|
( state->cs) = 71;
|
321
323
|
}}
|
322
324
|
goto _again;
|
323
|
-
|
324
|
-
( state->cs) =
|
325
|
+
tr46:
|
326
|
+
( state->cs) = 32;
|
325
327
|
#line 255 "ext/ragel/base_lexer.rl"
|
326
328
|
{te = p;p--;{
|
327
329
|
callback_simple(id_on_doctype_start);
|
@@ -333,77 +335,77 @@ tr48:
|
|
333
335
|
lines = 0;
|
334
336
|
}
|
335
337
|
|
336
|
-
( state->cs) =
|
338
|
+
( state->cs) = 53;
|
337
339
|
}}
|
338
340
|
goto _again;
|
339
|
-
|
340
|
-
( state->cs) =
|
341
|
+
tr47:
|
342
|
+
( state->cs) = 32;
|
341
343
|
#line 1 "NONE"
|
342
344
|
{ switch( ( state->act) ) {
|
343
|
-
case
|
345
|
+
case 52:
|
344
346
|
{{p = ((te))-1;}
|
345
347
|
callback_simple(id_on_xml_decl_start);
|
346
|
-
( state->cs) =
|
348
|
+
( state->cs) = 66;
|
347
349
|
}
|
348
350
|
break;
|
349
|
-
case
|
351
|
+
case 55:
|
350
352
|
{{p = ((te))-1;}
|
351
353
|
callback_simple(id_on_proc_ins_start);
|
352
354
|
callback(id_on_proc_ins_name, data, encoding, ts + 2, te);
|
353
355
|
|
354
|
-
( state->cs) =
|
356
|
+
( state->cs) = 44;
|
355
357
|
}
|
356
358
|
break;
|
357
359
|
}
|
358
360
|
}
|
359
361
|
goto _again;
|
360
|
-
|
361
|
-
( state->cs) =
|
362
|
+
tr48:
|
363
|
+
( state->cs) = 32;
|
362
364
|
#line 165 "ext/ragel/base_lexer.rl"
|
363
365
|
{te = p;p--;{
|
364
366
|
callback_simple(id_on_proc_ins_start);
|
365
367
|
callback(id_on_proc_ins_name, data, encoding, ts + 2, te);
|
366
368
|
|
367
|
-
( state->cs) =
|
369
|
+
( state->cs) = 44;
|
368
370
|
}}
|
369
371
|
goto _again;
|
370
|
-
|
372
|
+
st32:
|
371
373
|
#line 1 "NONE"
|
372
374
|
{ts = 0;}
|
373
375
|
if ( ++p == pe )
|
374
|
-
goto
|
375
|
-
case
|
376
|
+
goto _test_eof32;
|
377
|
+
case 32:
|
376
378
|
#line 1 "NONE"
|
377
379
|
{ts = p;}
|
378
|
-
#line
|
380
|
+
#line 381 "ext/c/lexer.c"
|
379
381
|
if ( (*p) == 60 )
|
380
|
-
goto
|
381
|
-
goto
|
382
|
-
|
382
|
+
goto tr40;
|
383
|
+
goto tr39;
|
384
|
+
tr40:
|
383
385
|
#line 1 "NONE"
|
384
386
|
{te = p+1;}
|
385
|
-
goto
|
386
|
-
|
387
|
+
goto st33;
|
388
|
+
st33:
|
387
389
|
if ( ++p == pe )
|
388
|
-
goto
|
389
|
-
case
|
390
|
-
#line
|
390
|
+
goto _test_eof33;
|
391
|
+
case 33:
|
392
|
+
#line 393 "ext/c/lexer.c"
|
391
393
|
switch( (*p) ) {
|
392
394
|
case 33: goto st1;
|
393
|
-
case 45: goto
|
394
|
-
case 47: goto
|
395
|
-
case 63: goto
|
396
|
-
case 95: goto
|
395
|
+
case 45: goto tr43;
|
396
|
+
case 47: goto tr44;
|
397
|
+
case 63: goto st16;
|
398
|
+
case 95: goto tr43;
|
397
399
|
}
|
398
400
|
if ( (*p) < 65 ) {
|
399
401
|
if ( 48 <= (*p) && (*p) <= 57 )
|
400
|
-
goto
|
402
|
+
goto tr43;
|
401
403
|
} else if ( (*p) > 90 ) {
|
402
404
|
if ( 97 <= (*p) && (*p) <= 122 )
|
403
|
-
goto
|
405
|
+
goto tr43;
|
404
406
|
} else
|
405
|
-
goto
|
406
|
-
goto
|
407
|
+
goto tr43;
|
408
|
+
goto tr41;
|
407
409
|
st1:
|
408
410
|
if ( ++p == pe )
|
409
411
|
goto _test_eof1;
|
@@ -492,19 +494,19 @@ tr11:
|
|
492
494
|
{
|
493
495
|
if ( (*p) == '\n' ) lines++;
|
494
496
|
}
|
495
|
-
goto
|
496
|
-
|
497
|
+
goto st34;
|
498
|
+
st34:
|
497
499
|
if ( ++p == pe )
|
498
|
-
goto
|
499
|
-
case
|
500
|
-
#line
|
500
|
+
goto _test_eof34;
|
501
|
+
case 34:
|
502
|
+
#line 503 "ext/c/lexer.c"
|
501
503
|
switch( (*p) ) {
|
502
504
|
case 13: goto tr11;
|
503
505
|
case 32: goto tr11;
|
504
506
|
}
|
505
507
|
if ( 9 <= (*p) && (*p) <= 10 )
|
506
508
|
goto tr11;
|
507
|
-
goto
|
509
|
+
goto tr46;
|
508
510
|
st10:
|
509
511
|
if ( ++p == pe )
|
510
512
|
goto _test_eof10;
|
@@ -552,122 +554,86 @@ st16:
|
|
552
554
|
goto _test_eof16;
|
553
555
|
case 16:
|
554
556
|
switch( (*p) ) {
|
555
|
-
case 45: goto
|
556
|
-
case 95: goto
|
557
|
-
|
558
|
-
if ( (*p) < 65 ) {
|
559
|
-
if ( 48 <= (*p) && (*p) <= 57 )
|
560
|
-
goto st17;
|
561
|
-
} else if ( (*p) > 90 ) {
|
562
|
-
if ( 97 <= (*p) && (*p) <= 122 )
|
563
|
-
goto st17;
|
564
|
-
} else
|
565
|
-
goto st17;
|
566
|
-
goto tr0;
|
567
|
-
st17:
|
568
|
-
if ( ++p == pe )
|
569
|
-
goto _test_eof17;
|
570
|
-
case 17:
|
571
|
-
switch( (*p) ) {
|
572
|
-
case 45: goto st17;
|
573
|
-
case 58: goto st16;
|
574
|
-
case 62: goto tr20;
|
575
|
-
case 95: goto st17;
|
557
|
+
case 45: goto tr18;
|
558
|
+
case 95: goto tr18;
|
559
|
+
case 120: goto st36;
|
576
560
|
}
|
577
561
|
if ( (*p) < 65 ) {
|
578
562
|
if ( 48 <= (*p) && (*p) <= 57 )
|
579
|
-
goto
|
563
|
+
goto tr18;
|
580
564
|
} else if ( (*p) > 90 ) {
|
581
565
|
if ( 97 <= (*p) && (*p) <= 122 )
|
582
|
-
goto
|
566
|
+
goto tr18;
|
583
567
|
} else
|
584
|
-
goto
|
568
|
+
goto tr18;
|
585
569
|
goto tr0;
|
586
|
-
|
587
|
-
if ( ++p == pe )
|
588
|
-
goto _test_eof18;
|
589
|
-
case 18:
|
590
|
-
switch( (*p) ) {
|
591
|
-
case 45: goto tr21;
|
592
|
-
case 95: goto tr21;
|
593
|
-
case 120: goto st38;
|
594
|
-
}
|
595
|
-
if ( (*p) < 65 ) {
|
596
|
-
if ( 48 <= (*p) && (*p) <= 57 )
|
597
|
-
goto tr21;
|
598
|
-
} else if ( (*p) > 90 ) {
|
599
|
-
if ( 97 <= (*p) && (*p) <= 122 )
|
600
|
-
goto tr21;
|
601
|
-
} else
|
602
|
-
goto tr21;
|
603
|
-
goto tr0;
|
604
|
-
tr21:
|
570
|
+
tr18:
|
605
571
|
#line 1 "NONE"
|
606
572
|
{te = p+1;}
|
607
573
|
#line 165 "ext/ragel/base_lexer.rl"
|
608
|
-
{( state->act) =
|
609
|
-
goto
|
610
|
-
|
574
|
+
{( state->act) = 55;}
|
575
|
+
goto st35;
|
576
|
+
tr50:
|
611
577
|
#line 1 "NONE"
|
612
578
|
{te = p+1;}
|
613
579
|
#line 319 "ext/ragel/base_lexer.rl"
|
614
|
-
{( state->act) =
|
615
|
-
goto
|
616
|
-
|
580
|
+
{( state->act) = 52;}
|
581
|
+
goto st35;
|
582
|
+
st35:
|
617
583
|
if ( ++p == pe )
|
618
|
-
goto
|
619
|
-
case
|
620
|
-
#line
|
584
|
+
goto _test_eof35;
|
585
|
+
case 35:
|
586
|
+
#line 587 "ext/c/lexer.c"
|
621
587
|
switch( (*p) ) {
|
622
|
-
case 45: goto
|
623
|
-
case 95: goto
|
588
|
+
case 45: goto tr18;
|
589
|
+
case 95: goto tr18;
|
624
590
|
}
|
625
591
|
if ( (*p) < 65 ) {
|
626
592
|
if ( 48 <= (*p) && (*p) <= 57 )
|
627
|
-
goto
|
593
|
+
goto tr18;
|
628
594
|
} else if ( (*p) > 90 ) {
|
629
595
|
if ( 97 <= (*p) && (*p) <= 122 )
|
630
|
-
goto
|
596
|
+
goto tr18;
|
631
597
|
} else
|
632
|
-
goto
|
633
|
-
goto
|
634
|
-
|
598
|
+
goto tr18;
|
599
|
+
goto tr47;
|
600
|
+
st36:
|
635
601
|
if ( ++p == pe )
|
636
|
-
goto
|
637
|
-
case
|
602
|
+
goto _test_eof36;
|
603
|
+
case 36:
|
638
604
|
switch( (*p) ) {
|
639
|
-
case 45: goto
|
640
|
-
case 95: goto
|
641
|
-
case 109: goto
|
605
|
+
case 45: goto tr18;
|
606
|
+
case 95: goto tr18;
|
607
|
+
case 109: goto st37;
|
642
608
|
}
|
643
609
|
if ( (*p) < 65 ) {
|
644
610
|
if ( 48 <= (*p) && (*p) <= 57 )
|
645
|
-
goto
|
611
|
+
goto tr18;
|
646
612
|
} else if ( (*p) > 90 ) {
|
647
613
|
if ( 97 <= (*p) && (*p) <= 122 )
|
648
|
-
goto
|
614
|
+
goto tr18;
|
649
615
|
} else
|
650
|
-
goto
|
651
|
-
goto
|
652
|
-
|
616
|
+
goto tr18;
|
617
|
+
goto tr48;
|
618
|
+
st37:
|
653
619
|
if ( ++p == pe )
|
654
|
-
goto
|
655
|
-
case
|
620
|
+
goto _test_eof37;
|
621
|
+
case 37:
|
656
622
|
switch( (*p) ) {
|
657
|
-
case 45: goto
|
658
|
-
case 95: goto
|
659
|
-
case 108: goto
|
623
|
+
case 45: goto tr18;
|
624
|
+
case 95: goto tr18;
|
625
|
+
case 108: goto tr50;
|
660
626
|
}
|
661
627
|
if ( (*p) < 65 ) {
|
662
628
|
if ( 48 <= (*p) && (*p) <= 57 )
|
663
|
-
goto
|
629
|
+
goto tr18;
|
664
630
|
} else if ( (*p) > 90 ) {
|
665
631
|
if ( 97 <= (*p) && (*p) <= 122 )
|
666
|
-
goto
|
632
|
+
goto tr18;
|
667
633
|
} else
|
668
|
-
goto
|
669
|
-
goto
|
670
|
-
|
634
|
+
goto tr18;
|
635
|
+
goto tr48;
|
636
|
+
tr20:
|
671
637
|
#line 91 "ext/ragel/base_lexer.rl"
|
672
638
|
{{p = ((te))-1;}{
|
673
639
|
callback(id_on_comment_body, data, encoding, ts, te);
|
@@ -679,17 +645,17 @@ tr23:
|
|
679
645
|
lines = 0;
|
680
646
|
}
|
681
647
|
}}
|
682
|
-
goto
|
683
|
-
|
684
|
-
( state->cs) =
|
648
|
+
goto st38;
|
649
|
+
tr21:
|
650
|
+
( state->cs) = 38;
|
685
651
|
#line 102 "ext/ragel/base_lexer.rl"
|
686
652
|
{te = p+1;{
|
687
653
|
callback_simple(id_on_comment_end);
|
688
654
|
|
689
|
-
( state->cs) =
|
655
|
+
( state->cs) = 32;
|
690
656
|
}}
|
691
657
|
goto _again;
|
692
|
-
|
658
|
+
tr53:
|
693
659
|
#line 91 "ext/ragel/base_lexer.rl"
|
694
660
|
{te = p;p--;{
|
695
661
|
callback(id_on_comment_body, data, encoding, ts, te);
|
@@ -701,57 +667,57 @@ tr55:
|
|
701
667
|
lines = 0;
|
702
668
|
}
|
703
669
|
}}
|
704
|
-
goto
|
705
|
-
|
670
|
+
goto st38;
|
671
|
+
st38:
|
706
672
|
#line 1 "NONE"
|
707
673
|
{ts = 0;}
|
708
674
|
if ( ++p == pe )
|
709
|
-
goto
|
710
|
-
case
|
675
|
+
goto _test_eof38;
|
676
|
+
case 38:
|
711
677
|
#line 1 "NONE"
|
712
678
|
{ts = p;}
|
713
|
-
#line
|
679
|
+
#line 680 "ext/c/lexer.c"
|
714
680
|
if ( (*p) == 45 )
|
715
|
-
goto
|
716
|
-
goto
|
717
|
-
|
681
|
+
goto tr52;
|
682
|
+
goto tr51;
|
683
|
+
tr51:
|
718
684
|
#line 56 "ext/ragel/base_lexer.rl"
|
719
685
|
{
|
720
686
|
if ( (*p) == '\n' ) lines++;
|
721
687
|
}
|
722
|
-
goto
|
723
|
-
|
688
|
+
goto st39;
|
689
|
+
st39:
|
724
690
|
if ( ++p == pe )
|
725
|
-
goto
|
726
|
-
case
|
727
|
-
#line
|
691
|
+
goto _test_eof39;
|
692
|
+
case 39:
|
693
|
+
#line 694 "ext/c/lexer.c"
|
728
694
|
if ( (*p) == 45 )
|
729
|
-
goto
|
730
|
-
goto
|
731
|
-
|
695
|
+
goto tr53;
|
696
|
+
goto tr51;
|
697
|
+
tr52:
|
732
698
|
#line 1 "NONE"
|
733
699
|
{te = p+1;}
|
734
700
|
#line 56 "ext/ragel/base_lexer.rl"
|
735
701
|
{
|
736
702
|
if ( (*p) == '\n' ) lines++;
|
737
703
|
}
|
738
|
-
goto
|
739
|
-
|
704
|
+
goto st40;
|
705
|
+
st40:
|
740
706
|
if ( ++p == pe )
|
741
|
-
goto
|
742
|
-
case
|
743
|
-
#line
|
707
|
+
goto _test_eof40;
|
708
|
+
case 40:
|
709
|
+
#line 710 "ext/c/lexer.c"
|
744
710
|
if ( (*p) == 45 )
|
745
|
-
goto
|
746
|
-
goto
|
747
|
-
|
711
|
+
goto st17;
|
712
|
+
goto tr53;
|
713
|
+
st17:
|
748
714
|
if ( ++p == pe )
|
749
|
-
goto
|
750
|
-
case
|
715
|
+
goto _test_eof17;
|
716
|
+
case 17:
|
751
717
|
if ( (*p) == 62 )
|
752
|
-
goto
|
753
|
-
goto
|
754
|
-
|
718
|
+
goto tr21;
|
719
|
+
goto tr20;
|
720
|
+
tr22:
|
755
721
|
#line 130 "ext/ragel/base_lexer.rl"
|
756
722
|
{{p = ((te))-1;}{
|
757
723
|
callback(id_on_cdata_body, data, encoding, ts, te);
|
@@ -763,17 +729,17 @@ tr25:
|
|
763
729
|
lines = 0;
|
764
730
|
}
|
765
731
|
}}
|
766
|
-
goto
|
767
|
-
|
768
|
-
( state->cs) =
|
732
|
+
goto st41;
|
733
|
+
tr23:
|
734
|
+
( state->cs) = 41;
|
769
735
|
#line 141 "ext/ragel/base_lexer.rl"
|
770
736
|
{te = p+1;{
|
771
737
|
callback_simple(id_on_cdata_end);
|
772
738
|
|
773
|
-
( state->cs) =
|
739
|
+
( state->cs) = 32;
|
774
740
|
}}
|
775
741
|
goto _again;
|
776
|
-
|
742
|
+
tr57:
|
777
743
|
#line 130 "ext/ragel/base_lexer.rl"
|
778
744
|
{te = p;p--;{
|
779
745
|
callback(id_on_cdata_body, data, encoding, ts, te);
|
@@ -785,57 +751,57 @@ tr59:
|
|
785
751
|
lines = 0;
|
786
752
|
}
|
787
753
|
}}
|
788
|
-
goto
|
789
|
-
|
754
|
+
goto st41;
|
755
|
+
st41:
|
790
756
|
#line 1 "NONE"
|
791
757
|
{ts = 0;}
|
792
758
|
if ( ++p == pe )
|
793
|
-
goto
|
794
|
-
case
|
759
|
+
goto _test_eof41;
|
760
|
+
case 41:
|
795
761
|
#line 1 "NONE"
|
796
762
|
{ts = p;}
|
797
|
-
#line
|
763
|
+
#line 764 "ext/c/lexer.c"
|
798
764
|
if ( (*p) == 93 )
|
799
|
-
goto
|
800
|
-
goto
|
801
|
-
|
765
|
+
goto tr56;
|
766
|
+
goto tr55;
|
767
|
+
tr55:
|
802
768
|
#line 56 "ext/ragel/base_lexer.rl"
|
803
769
|
{
|
804
770
|
if ( (*p) == '\n' ) lines++;
|
805
771
|
}
|
806
|
-
goto
|
807
|
-
|
772
|
+
goto st42;
|
773
|
+
st42:
|
808
774
|
if ( ++p == pe )
|
809
|
-
goto
|
810
|
-
case
|
811
|
-
#line
|
775
|
+
goto _test_eof42;
|
776
|
+
case 42:
|
777
|
+
#line 778 "ext/c/lexer.c"
|
812
778
|
if ( (*p) == 93 )
|
813
|
-
goto
|
814
|
-
goto
|
815
|
-
|
779
|
+
goto tr57;
|
780
|
+
goto tr55;
|
781
|
+
tr56:
|
816
782
|
#line 1 "NONE"
|
817
783
|
{te = p+1;}
|
818
784
|
#line 56 "ext/ragel/base_lexer.rl"
|
819
785
|
{
|
820
786
|
if ( (*p) == '\n' ) lines++;
|
821
787
|
}
|
822
|
-
goto
|
823
|
-
|
788
|
+
goto st43;
|
789
|
+
st43:
|
824
790
|
if ( ++p == pe )
|
825
|
-
goto
|
826
|
-
case
|
827
|
-
#line
|
791
|
+
goto _test_eof43;
|
792
|
+
case 43:
|
793
|
+
#line 794 "ext/c/lexer.c"
|
828
794
|
if ( (*p) == 93 )
|
829
|
-
goto
|
830
|
-
goto
|
831
|
-
|
795
|
+
goto st18;
|
796
|
+
goto tr57;
|
797
|
+
st18:
|
832
798
|
if ( ++p == pe )
|
833
|
-
goto
|
834
|
-
case
|
799
|
+
goto _test_eof18;
|
800
|
+
case 18:
|
835
801
|
if ( (*p) == 62 )
|
836
|
-
goto
|
837
|
-
goto
|
838
|
-
|
802
|
+
goto tr23;
|
803
|
+
goto tr22;
|
804
|
+
tr61:
|
839
805
|
#line 173 "ext/ragel/base_lexer.rl"
|
840
806
|
{te = p;p--;{
|
841
807
|
callback(id_on_proc_ins_body, data, encoding, ts, te);
|
@@ -847,65 +813,65 @@ tr63:
|
|
847
813
|
lines = 0;
|
848
814
|
}
|
849
815
|
}}
|
850
|
-
goto
|
851
|
-
|
852
|
-
( state->cs) =
|
816
|
+
goto st44;
|
817
|
+
tr62:
|
818
|
+
( state->cs) = 44;
|
853
819
|
#line 184 "ext/ragel/base_lexer.rl"
|
854
820
|
{te = p+1;{
|
855
821
|
callback_simple(id_on_proc_ins_end);
|
856
822
|
|
857
|
-
( state->cs) =
|
823
|
+
( state->cs) = 32;
|
858
824
|
}}
|
859
825
|
goto _again;
|
860
|
-
|
826
|
+
st44:
|
861
827
|
#line 1 "NONE"
|
862
828
|
{ts = 0;}
|
863
829
|
if ( ++p == pe )
|
864
|
-
goto
|
865
|
-
case
|
830
|
+
goto _test_eof44;
|
831
|
+
case 44:
|
866
832
|
#line 1 "NONE"
|
867
833
|
{ts = p;}
|
868
|
-
#line
|
834
|
+
#line 835 "ext/c/lexer.c"
|
869
835
|
if ( (*p) == 63 )
|
870
|
-
goto
|
871
|
-
goto
|
872
|
-
|
836
|
+
goto tr60;
|
837
|
+
goto tr59;
|
838
|
+
tr59:
|
873
839
|
#line 56 "ext/ragel/base_lexer.rl"
|
874
840
|
{
|
875
841
|
if ( (*p) == '\n' ) lines++;
|
876
842
|
}
|
877
|
-
goto
|
878
|
-
|
843
|
+
goto st45;
|
844
|
+
st45:
|
879
845
|
if ( ++p == pe )
|
880
|
-
goto
|
881
|
-
case
|
882
|
-
#line
|
846
|
+
goto _test_eof45;
|
847
|
+
case 45:
|
848
|
+
#line 849 "ext/c/lexer.c"
|
883
849
|
if ( (*p) == 63 )
|
884
|
-
goto
|
885
|
-
goto
|
886
|
-
|
850
|
+
goto tr61;
|
851
|
+
goto tr59;
|
852
|
+
tr60:
|
887
853
|
#line 56 "ext/ragel/base_lexer.rl"
|
888
854
|
{
|
889
855
|
if ( (*p) == '\n' ) lines++;
|
890
856
|
}
|
891
|
-
goto
|
892
|
-
|
857
|
+
goto st46;
|
858
|
+
st46:
|
893
859
|
if ( ++p == pe )
|
894
|
-
goto
|
895
|
-
case
|
896
|
-
#line
|
860
|
+
goto _test_eof46;
|
861
|
+
case 46:
|
862
|
+
#line 863 "ext/c/lexer.c"
|
897
863
|
if ( (*p) == 62 )
|
898
|
-
goto
|
899
|
-
goto
|
900
|
-
|
864
|
+
goto tr62;
|
865
|
+
goto tr61;
|
866
|
+
tr64:
|
901
867
|
#line 226 "ext/ragel/base_lexer.rl"
|
902
868
|
{te = p+1;{
|
903
869
|
callback_simple(id_on_string_squote);
|
904
870
|
|
905
871
|
{( state->cs) = ( state->stack)[--( state->top)];goto _again;}
|
906
872
|
}}
|
907
|
-
goto
|
908
|
-
|
873
|
+
goto st47;
|
874
|
+
tr65:
|
909
875
|
#line 200 "ext/ragel/base_lexer.rl"
|
910
876
|
{te = p;p--;{
|
911
877
|
callback(id_on_string_body, data, encoding, ts, te);
|
@@ -917,42 +883,42 @@ tr67:
|
|
917
883
|
lines = 0;
|
918
884
|
}
|
919
885
|
}}
|
920
|
-
goto
|
921
|
-
|
886
|
+
goto st47;
|
887
|
+
st47:
|
922
888
|
#line 1 "NONE"
|
923
889
|
{ts = 0;}
|
924
890
|
if ( ++p == pe )
|
925
|
-
goto
|
926
|
-
case
|
891
|
+
goto _test_eof47;
|
892
|
+
case 47:
|
927
893
|
#line 1 "NONE"
|
928
894
|
{ts = p;}
|
929
|
-
#line
|
895
|
+
#line 896 "ext/c/lexer.c"
|
930
896
|
if ( (*p) == 39 )
|
931
|
-
goto
|
932
|
-
goto
|
933
|
-
|
897
|
+
goto tr64;
|
898
|
+
goto tr63;
|
899
|
+
tr63:
|
934
900
|
#line 56 "ext/ragel/base_lexer.rl"
|
935
901
|
{
|
936
902
|
if ( (*p) == '\n' ) lines++;
|
937
903
|
}
|
938
|
-
goto
|
939
|
-
|
904
|
+
goto st48;
|
905
|
+
st48:
|
940
906
|
if ( ++p == pe )
|
941
|
-
goto
|
942
|
-
case
|
943
|
-
#line
|
907
|
+
goto _test_eof48;
|
908
|
+
case 48:
|
909
|
+
#line 910 "ext/c/lexer.c"
|
944
910
|
if ( (*p) == 39 )
|
945
|
-
goto
|
946
|
-
goto
|
947
|
-
|
911
|
+
goto tr65;
|
912
|
+
goto tr63;
|
913
|
+
tr67:
|
948
914
|
#line 236 "ext/ragel/base_lexer.rl"
|
949
915
|
{te = p+1;{
|
950
916
|
callback_simple(id_on_string_dquote);
|
951
917
|
|
952
918
|
{( state->cs) = ( state->stack)[--( state->top)];goto _again;}
|
953
919
|
}}
|
954
|
-
goto
|
955
|
-
|
920
|
+
goto st49;
|
921
|
+
tr68:
|
956
922
|
#line 200 "ext/ragel/base_lexer.rl"
|
957
923
|
{te = p;p--;{
|
958
924
|
callback(id_on_string_body, data, encoding, ts, te);
|
@@ -964,39 +930,39 @@ tr70:
|
|
964
930
|
lines = 0;
|
965
931
|
}
|
966
932
|
}}
|
967
|
-
goto
|
968
|
-
|
933
|
+
goto st49;
|
934
|
+
st49:
|
969
935
|
#line 1 "NONE"
|
970
936
|
{ts = 0;}
|
971
937
|
if ( ++p == pe )
|
972
|
-
goto
|
973
|
-
case
|
938
|
+
goto _test_eof49;
|
939
|
+
case 49:
|
974
940
|
#line 1 "NONE"
|
975
941
|
{ts = p;}
|
976
|
-
#line
|
942
|
+
#line 943 "ext/c/lexer.c"
|
977
943
|
if ( (*p) == 34 )
|
978
|
-
goto
|
979
|
-
goto
|
980
|
-
|
944
|
+
goto tr67;
|
945
|
+
goto tr66;
|
946
|
+
tr66:
|
981
947
|
#line 56 "ext/ragel/base_lexer.rl"
|
982
948
|
{
|
983
949
|
if ( (*p) == '\n' ) lines++;
|
984
950
|
}
|
985
|
-
goto
|
986
|
-
|
951
|
+
goto st50;
|
952
|
+
st50:
|
987
953
|
if ( ++p == pe )
|
988
|
-
goto
|
989
|
-
case
|
990
|
-
#line
|
954
|
+
goto _test_eof50;
|
955
|
+
case 50:
|
956
|
+
#line 957 "ext/c/lexer.c"
|
991
957
|
if ( (*p) == 34 )
|
992
|
-
goto
|
993
|
-
goto
|
994
|
-
|
995
|
-
( state->cs) =
|
958
|
+
goto tr68;
|
959
|
+
goto tr66;
|
960
|
+
tr70:
|
961
|
+
( state->cs) = 51;
|
996
962
|
#line 281 "ext/ragel/base_lexer.rl"
|
997
|
-
{te = p+1;{ ( state->cs) =
|
963
|
+
{te = p+1;{ ( state->cs) = 53; }}
|
998
964
|
goto _again;
|
999
|
-
|
965
|
+
tr71:
|
1000
966
|
#line 270 "ext/ragel/base_lexer.rl"
|
1001
967
|
{te = p;p--;{
|
1002
968
|
callback(id_on_doctype_inline, data, encoding, ts, te);
|
@@ -1008,79 +974,79 @@ tr73:
|
|
1008
974
|
lines = 0;
|
1009
975
|
}
|
1010
976
|
}}
|
1011
|
-
goto
|
1012
|
-
|
977
|
+
goto st51;
|
978
|
+
st51:
|
1013
979
|
#line 1 "NONE"
|
1014
980
|
{ts = 0;}
|
1015
981
|
if ( ++p == pe )
|
1016
|
-
goto
|
1017
|
-
case
|
982
|
+
goto _test_eof51;
|
983
|
+
case 51:
|
1018
984
|
#line 1 "NONE"
|
1019
985
|
{ts = p;}
|
1020
|
-
#line
|
986
|
+
#line 987 "ext/c/lexer.c"
|
1021
987
|
if ( (*p) == 93 )
|
1022
|
-
goto
|
1023
|
-
goto
|
1024
|
-
|
988
|
+
goto tr70;
|
989
|
+
goto tr69;
|
990
|
+
tr69:
|
1025
991
|
#line 56 "ext/ragel/base_lexer.rl"
|
1026
992
|
{
|
1027
993
|
if ( (*p) == '\n' ) lines++;
|
1028
994
|
}
|
1029
|
-
goto
|
1030
|
-
|
995
|
+
goto st52;
|
996
|
+
st52:
|
1031
997
|
if ( ++p == pe )
|
1032
|
-
goto
|
1033
|
-
case
|
1034
|
-
#line
|
998
|
+
goto _test_eof52;
|
999
|
+
case 52:
|
1000
|
+
#line 1001 "ext/c/lexer.c"
|
1035
1001
|
if ( (*p) == 93 )
|
1036
|
-
goto
|
1037
|
-
goto
|
1038
|
-
|
1002
|
+
goto tr71;
|
1003
|
+
goto tr69;
|
1004
|
+
tr72:
|
1039
1005
|
#line 309 "ext/ragel/base_lexer.rl"
|
1040
1006
|
{te = p+1;}
|
1041
|
-
goto
|
1042
|
-
|
1007
|
+
goto st53;
|
1008
|
+
tr74:
|
1043
1009
|
#line 60 "ext/ragel/base_lexer.rl"
|
1044
1010
|
{te = p+1;{
|
1045
1011
|
advance_line(1);
|
1046
1012
|
}}
|
1047
|
-
goto
|
1048
|
-
|
1013
|
+
goto st53;
|
1014
|
+
tr76:
|
1049
1015
|
#line 217 "ext/ragel/base_lexer.rl"
|
1050
1016
|
{te = p+1;{
|
1051
1017
|
callback_simple(id_on_string_dquote);
|
1052
1018
|
|
1053
|
-
{( state->stack)[( state->top)++] =
|
1019
|
+
{( state->stack)[( state->top)++] = 53; goto st49;}
|
1054
1020
|
}}
|
1055
|
-
goto
|
1056
|
-
|
1021
|
+
goto st53;
|
1022
|
+
tr77:
|
1057
1023
|
#line 211 "ext/ragel/base_lexer.rl"
|
1058
1024
|
{te = p+1;{
|
1059
1025
|
callback_simple(id_on_string_squote);
|
1060
1026
|
|
1061
|
-
{( state->stack)[( state->top)++] =
|
1027
|
+
{( state->stack)[( state->top)++] = 53; goto st47;}
|
1062
1028
|
}}
|
1063
|
-
goto
|
1064
|
-
|
1065
|
-
( state->cs) =
|
1029
|
+
goto st53;
|
1030
|
+
tr79:
|
1031
|
+
( state->cs) = 53;
|
1066
1032
|
#line 302 "ext/ragel/base_lexer.rl"
|
1067
1033
|
{te = p+1;{
|
1068
1034
|
callback_simple(id_on_doctype_end);
|
1069
|
-
( state->cs) =
|
1035
|
+
( state->cs) = 32;
|
1070
1036
|
}}
|
1071
1037
|
goto _again;
|
1072
|
-
|
1073
|
-
( state->cs) =
|
1038
|
+
tr82:
|
1039
|
+
( state->cs) = 53;
|
1074
1040
|
#line 292 "ext/ragel/base_lexer.rl"
|
1075
|
-
{te = p+1;{ ( state->cs) =
|
1041
|
+
{te = p+1;{ ( state->cs) = 51; }}
|
1076
1042
|
goto _again;
|
1077
|
-
|
1043
|
+
tr83:
|
1078
1044
|
#line 60 "ext/ragel/base_lexer.rl"
|
1079
1045
|
{te = p;p--;{
|
1080
1046
|
advance_line(1);
|
1081
1047
|
}}
|
1082
|
-
goto
|
1083
|
-
|
1048
|
+
goto st53;
|
1049
|
+
tr84:
|
1084
1050
|
#line 1 "NONE"
|
1085
1051
|
{ switch( ( state->act) ) {
|
1086
1052
|
case 13:
|
@@ -1095,298 +1061,298 @@ tr86:
|
|
1095
1061
|
break;
|
1096
1062
|
}
|
1097
1063
|
}
|
1098
|
-
goto
|
1099
|
-
|
1064
|
+
goto st53;
|
1065
|
+
tr85:
|
1100
1066
|
#line 298 "ext/ragel/base_lexer.rl"
|
1101
1067
|
{te = p;p--;{
|
1102
1068
|
callback(id_on_doctype_name, data, encoding, ts, te);
|
1103
1069
|
}}
|
1104
|
-
goto
|
1105
|
-
|
1070
|
+
goto st53;
|
1071
|
+
st53:
|
1106
1072
|
#line 1 "NONE"
|
1107
1073
|
{ts = 0;}
|
1108
1074
|
if ( ++p == pe )
|
1109
|
-
goto
|
1110
|
-
case
|
1075
|
+
goto _test_eof53;
|
1076
|
+
case 53:
|
1111
1077
|
#line 1 "NONE"
|
1112
1078
|
{ts = p;}
|
1113
|
-
#line
|
1079
|
+
#line 1080 "ext/c/lexer.c"
|
1114
1080
|
switch( (*p) ) {
|
1115
|
-
case 9: goto
|
1116
|
-
case 10: goto
|
1117
|
-
case 13: goto
|
1118
|
-
case 32: goto
|
1119
|
-
case 34: goto
|
1120
|
-
case 39: goto
|
1121
|
-
case 45: goto
|
1122
|
-
case 62: goto
|
1123
|
-
case 80: goto
|
1124
|
-
case 83: goto
|
1125
|
-
case 91: goto
|
1126
|
-
case 95: goto
|
1081
|
+
case 9: goto tr72;
|
1082
|
+
case 10: goto tr74;
|
1083
|
+
case 13: goto st54;
|
1084
|
+
case 32: goto tr72;
|
1085
|
+
case 34: goto tr76;
|
1086
|
+
case 39: goto tr77;
|
1087
|
+
case 45: goto tr78;
|
1088
|
+
case 62: goto tr79;
|
1089
|
+
case 80: goto st56;
|
1090
|
+
case 83: goto st61;
|
1091
|
+
case 91: goto tr82;
|
1092
|
+
case 95: goto tr78;
|
1127
1093
|
}
|
1128
1094
|
if ( (*p) < 65 ) {
|
1129
1095
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1130
|
-
goto
|
1096
|
+
goto tr78;
|
1131
1097
|
} else if ( (*p) > 90 ) {
|
1132
1098
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1133
|
-
goto
|
1099
|
+
goto tr78;
|
1134
1100
|
} else
|
1135
|
-
goto
|
1101
|
+
goto tr78;
|
1136
1102
|
goto st0;
|
1137
1103
|
st0:
|
1138
1104
|
( state->cs) = 0;
|
1139
1105
|
goto _out;
|
1140
|
-
|
1106
|
+
st54:
|
1141
1107
|
if ( ++p == pe )
|
1142
|
-
goto
|
1143
|
-
case
|
1108
|
+
goto _test_eof54;
|
1109
|
+
case 54:
|
1144
1110
|
if ( (*p) == 10 )
|
1145
|
-
goto
|
1146
|
-
goto
|
1147
|
-
|
1111
|
+
goto tr74;
|
1112
|
+
goto tr83;
|
1113
|
+
tr78:
|
1148
1114
|
#line 1 "NONE"
|
1149
1115
|
{te = p+1;}
|
1150
1116
|
#line 298 "ext/ragel/base_lexer.rl"
|
1151
1117
|
{( state->act) = 17;}
|
1152
|
-
goto
|
1153
|
-
|
1118
|
+
goto st55;
|
1119
|
+
tr90:
|
1154
1120
|
#line 1 "NONE"
|
1155
1121
|
{te = p+1;}
|
1156
1122
|
#line 287 "ext/ragel/base_lexer.rl"
|
1157
1123
|
{( state->act) = 13;}
|
1158
|
-
goto
|
1124
|
+
goto st55;
|
1125
|
+
st55:
|
1126
|
+
if ( ++p == pe )
|
1127
|
+
goto _test_eof55;
|
1128
|
+
case 55:
|
1129
|
+
#line 1130 "ext/c/lexer.c"
|
1130
|
+
switch( (*p) ) {
|
1131
|
+
case 45: goto tr78;
|
1132
|
+
case 95: goto tr78;
|
1133
|
+
}
|
1134
|
+
if ( (*p) < 65 ) {
|
1135
|
+
if ( 48 <= (*p) && (*p) <= 57 )
|
1136
|
+
goto tr78;
|
1137
|
+
} else if ( (*p) > 90 ) {
|
1138
|
+
if ( 97 <= (*p) && (*p) <= 122 )
|
1139
|
+
goto tr78;
|
1140
|
+
} else
|
1141
|
+
goto tr78;
|
1142
|
+
goto tr84;
|
1143
|
+
st56:
|
1144
|
+
if ( ++p == pe )
|
1145
|
+
goto _test_eof56;
|
1146
|
+
case 56:
|
1147
|
+
switch( (*p) ) {
|
1148
|
+
case 45: goto tr78;
|
1149
|
+
case 85: goto st57;
|
1150
|
+
case 95: goto tr78;
|
1151
|
+
}
|
1152
|
+
if ( (*p) < 65 ) {
|
1153
|
+
if ( 48 <= (*p) && (*p) <= 57 )
|
1154
|
+
goto tr78;
|
1155
|
+
} else if ( (*p) > 90 ) {
|
1156
|
+
if ( 97 <= (*p) && (*p) <= 122 )
|
1157
|
+
goto tr78;
|
1158
|
+
} else
|
1159
|
+
goto tr78;
|
1160
|
+
goto tr85;
|
1159
1161
|
st57:
|
1160
1162
|
if ( ++p == pe )
|
1161
1163
|
goto _test_eof57;
|
1162
1164
|
case 57:
|
1163
|
-
#line 1164 "ext/c/lexer.c"
|
1164
1165
|
switch( (*p) ) {
|
1165
|
-
case 45: goto
|
1166
|
-
case
|
1166
|
+
case 45: goto tr78;
|
1167
|
+
case 66: goto st58;
|
1168
|
+
case 95: goto tr78;
|
1167
1169
|
}
|
1168
1170
|
if ( (*p) < 65 ) {
|
1169
1171
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1170
|
-
goto
|
1172
|
+
goto tr78;
|
1171
1173
|
} else if ( (*p) > 90 ) {
|
1172
1174
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1173
|
-
goto
|
1175
|
+
goto tr78;
|
1174
1176
|
} else
|
1175
|
-
goto
|
1176
|
-
goto
|
1177
|
+
goto tr78;
|
1178
|
+
goto tr85;
|
1177
1179
|
st58:
|
1178
1180
|
if ( ++p == pe )
|
1179
1181
|
goto _test_eof58;
|
1180
1182
|
case 58:
|
1181
1183
|
switch( (*p) ) {
|
1182
|
-
case 45: goto
|
1183
|
-
case
|
1184
|
-
case 95: goto
|
1184
|
+
case 45: goto tr78;
|
1185
|
+
case 76: goto st59;
|
1186
|
+
case 95: goto tr78;
|
1185
1187
|
}
|
1186
1188
|
if ( (*p) < 65 ) {
|
1187
1189
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1188
|
-
goto
|
1190
|
+
goto tr78;
|
1189
1191
|
} else if ( (*p) > 90 ) {
|
1190
1192
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1191
|
-
goto
|
1193
|
+
goto tr78;
|
1192
1194
|
} else
|
1193
|
-
goto
|
1194
|
-
goto
|
1195
|
+
goto tr78;
|
1196
|
+
goto tr85;
|
1195
1197
|
st59:
|
1196
1198
|
if ( ++p == pe )
|
1197
1199
|
goto _test_eof59;
|
1198
1200
|
case 59:
|
1199
1201
|
switch( (*p) ) {
|
1200
|
-
case 45: goto
|
1201
|
-
case
|
1202
|
-
case 95: goto
|
1202
|
+
case 45: goto tr78;
|
1203
|
+
case 73: goto st60;
|
1204
|
+
case 95: goto tr78;
|
1203
1205
|
}
|
1204
1206
|
if ( (*p) < 65 ) {
|
1205
1207
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1206
|
-
goto
|
1208
|
+
goto tr78;
|
1207
1209
|
} else if ( (*p) > 90 ) {
|
1208
1210
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1209
|
-
goto
|
1211
|
+
goto tr78;
|
1210
1212
|
} else
|
1211
|
-
goto
|
1212
|
-
goto
|
1213
|
+
goto tr78;
|
1214
|
+
goto tr85;
|
1213
1215
|
st60:
|
1214
1216
|
if ( ++p == pe )
|
1215
1217
|
goto _test_eof60;
|
1216
1218
|
case 60:
|
1217
1219
|
switch( (*p) ) {
|
1218
|
-
case 45: goto
|
1219
|
-
case
|
1220
|
-
case 95: goto
|
1220
|
+
case 45: goto tr78;
|
1221
|
+
case 67: goto tr90;
|
1222
|
+
case 95: goto tr78;
|
1221
1223
|
}
|
1222
1224
|
if ( (*p) < 65 ) {
|
1223
1225
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1224
|
-
goto
|
1226
|
+
goto tr78;
|
1225
1227
|
} else if ( (*p) > 90 ) {
|
1226
1228
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1227
|
-
goto
|
1229
|
+
goto tr78;
|
1228
1230
|
} else
|
1229
|
-
goto
|
1230
|
-
goto
|
1231
|
+
goto tr78;
|
1232
|
+
goto tr85;
|
1231
1233
|
st61:
|
1232
1234
|
if ( ++p == pe )
|
1233
1235
|
goto _test_eof61;
|
1234
1236
|
case 61:
|
1235
1237
|
switch( (*p) ) {
|
1236
|
-
case 45: goto
|
1237
|
-
case
|
1238
|
-
case 95: goto
|
1238
|
+
case 45: goto tr78;
|
1239
|
+
case 89: goto st62;
|
1240
|
+
case 95: goto tr78;
|
1239
1241
|
}
|
1240
1242
|
if ( (*p) < 65 ) {
|
1241
1243
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1242
|
-
goto
|
1244
|
+
goto tr78;
|
1243
1245
|
} else if ( (*p) > 90 ) {
|
1244
1246
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1245
|
-
goto
|
1247
|
+
goto tr78;
|
1246
1248
|
} else
|
1247
|
-
goto
|
1248
|
-
goto
|
1249
|
+
goto tr78;
|
1250
|
+
goto tr85;
|
1249
1251
|
st62:
|
1250
1252
|
if ( ++p == pe )
|
1251
1253
|
goto _test_eof62;
|
1252
1254
|
case 62:
|
1253
1255
|
switch( (*p) ) {
|
1254
|
-
case 45: goto
|
1255
|
-
case
|
1256
|
-
case 95: goto
|
1256
|
+
case 45: goto tr78;
|
1257
|
+
case 83: goto st63;
|
1258
|
+
case 95: goto tr78;
|
1257
1259
|
}
|
1258
1260
|
if ( (*p) < 65 ) {
|
1259
1261
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1260
|
-
goto
|
1262
|
+
goto tr78;
|
1261
1263
|
} else if ( (*p) > 90 ) {
|
1262
1264
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1263
|
-
goto
|
1265
|
+
goto tr78;
|
1264
1266
|
} else
|
1265
|
-
goto
|
1266
|
-
goto
|
1267
|
+
goto tr78;
|
1268
|
+
goto tr85;
|
1267
1269
|
st63:
|
1268
1270
|
if ( ++p == pe )
|
1269
1271
|
goto _test_eof63;
|
1270
1272
|
case 63:
|
1271
1273
|
switch( (*p) ) {
|
1272
|
-
case 45: goto
|
1273
|
-
case
|
1274
|
-
case 95: goto
|
1274
|
+
case 45: goto tr78;
|
1275
|
+
case 84: goto st64;
|
1276
|
+
case 95: goto tr78;
|
1275
1277
|
}
|
1276
1278
|
if ( (*p) < 65 ) {
|
1277
1279
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1278
|
-
goto
|
1280
|
+
goto tr78;
|
1279
1281
|
} else if ( (*p) > 90 ) {
|
1280
1282
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1281
|
-
goto
|
1283
|
+
goto tr78;
|
1282
1284
|
} else
|
1283
|
-
goto
|
1284
|
-
goto
|
1285
|
+
goto tr78;
|
1286
|
+
goto tr85;
|
1285
1287
|
st64:
|
1286
1288
|
if ( ++p == pe )
|
1287
1289
|
goto _test_eof64;
|
1288
1290
|
case 64:
|
1289
1291
|
switch( (*p) ) {
|
1290
|
-
case 45: goto
|
1291
|
-
case
|
1292
|
-
case 95: goto
|
1292
|
+
case 45: goto tr78;
|
1293
|
+
case 69: goto st65;
|
1294
|
+
case 95: goto tr78;
|
1293
1295
|
}
|
1294
1296
|
if ( (*p) < 65 ) {
|
1295
1297
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1296
|
-
goto
|
1298
|
+
goto tr78;
|
1297
1299
|
} else if ( (*p) > 90 ) {
|
1298
1300
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1299
|
-
goto
|
1301
|
+
goto tr78;
|
1300
1302
|
} else
|
1301
|
-
goto
|
1302
|
-
goto
|
1303
|
+
goto tr78;
|
1304
|
+
goto tr85;
|
1303
1305
|
st65:
|
1304
1306
|
if ( ++p == pe )
|
1305
1307
|
goto _test_eof65;
|
1306
1308
|
case 65:
|
1307
1309
|
switch( (*p) ) {
|
1308
|
-
case 45: goto
|
1309
|
-
case
|
1310
|
-
case 95: goto
|
1310
|
+
case 45: goto tr78;
|
1311
|
+
case 77: goto tr90;
|
1312
|
+
case 95: goto tr78;
|
1311
1313
|
}
|
1312
1314
|
if ( (*p) < 65 ) {
|
1313
1315
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1314
|
-
goto
|
1316
|
+
goto tr78;
|
1315
1317
|
} else if ( (*p) > 90 ) {
|
1316
1318
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1317
|
-
goto
|
1319
|
+
goto tr78;
|
1318
1320
|
} else
|
1319
|
-
goto
|
1320
|
-
goto
|
1321
|
-
|
1322
|
-
if ( ++p == pe )
|
1323
|
-
goto _test_eof66;
|
1324
|
-
case 66:
|
1325
|
-
switch( (*p) ) {
|
1326
|
-
case 45: goto tr80;
|
1327
|
-
case 69: goto st67;
|
1328
|
-
case 95: goto tr80;
|
1329
|
-
}
|
1330
|
-
if ( (*p) < 65 ) {
|
1331
|
-
if ( 48 <= (*p) && (*p) <= 57 )
|
1332
|
-
goto tr80;
|
1333
|
-
} else if ( (*p) > 90 ) {
|
1334
|
-
if ( 97 <= (*p) && (*p) <= 122 )
|
1335
|
-
goto tr80;
|
1336
|
-
} else
|
1337
|
-
goto tr80;
|
1338
|
-
goto tr87;
|
1339
|
-
st67:
|
1340
|
-
if ( ++p == pe )
|
1341
|
-
goto _test_eof67;
|
1342
|
-
case 67:
|
1343
|
-
switch( (*p) ) {
|
1344
|
-
case 45: goto tr80;
|
1345
|
-
case 77: goto tr92;
|
1346
|
-
case 95: goto tr80;
|
1347
|
-
}
|
1348
|
-
if ( (*p) < 65 ) {
|
1349
|
-
if ( 48 <= (*p) && (*p) <= 57 )
|
1350
|
-
goto tr80;
|
1351
|
-
} else if ( (*p) > 90 ) {
|
1352
|
-
if ( 97 <= (*p) && (*p) <= 122 )
|
1353
|
-
goto tr80;
|
1354
|
-
} else
|
1355
|
-
goto tr80;
|
1356
|
-
goto tr87;
|
1357
|
-
tr97:
|
1321
|
+
goto tr78;
|
1322
|
+
goto tr85;
|
1323
|
+
tr95:
|
1358
1324
|
#line 56 "ext/ragel/base_lexer.rl"
|
1359
1325
|
{
|
1360
1326
|
if ( (*p) == '\n' ) lines++;
|
1361
1327
|
}
|
1362
1328
|
#line 354 "ext/ragel/base_lexer.rl"
|
1363
1329
|
{te = p+1;}
|
1364
|
-
goto
|
1365
|
-
|
1330
|
+
goto st66;
|
1331
|
+
tr96:
|
1366
1332
|
#line 217 "ext/ragel/base_lexer.rl"
|
1367
1333
|
{te = p+1;{
|
1368
1334
|
callback_simple(id_on_string_dquote);
|
1369
1335
|
|
1370
|
-
{( state->stack)[( state->top)++] =
|
1336
|
+
{( state->stack)[( state->top)++] = 66; goto st49;}
|
1371
1337
|
}}
|
1372
1338
|
#line 56 "ext/ragel/base_lexer.rl"
|
1373
1339
|
{
|
1374
1340
|
if ( (*p) == '\n' ) lines++;
|
1375
1341
|
}
|
1376
|
-
goto
|
1377
|
-
|
1342
|
+
goto st66;
|
1343
|
+
tr97:
|
1378
1344
|
#line 211 "ext/ragel/base_lexer.rl"
|
1379
1345
|
{te = p+1;{
|
1380
1346
|
callback_simple(id_on_string_squote);
|
1381
1347
|
|
1382
|
-
{( state->stack)[( state->top)++] =
|
1348
|
+
{( state->stack)[( state->top)++] = 66; goto st47;}
|
1383
1349
|
}}
|
1384
1350
|
#line 56 "ext/ragel/base_lexer.rl"
|
1385
1351
|
{
|
1386
1352
|
if ( (*p) == '\n' ) lines++;
|
1387
1353
|
}
|
1388
|
-
goto
|
1389
|
-
|
1354
|
+
goto st66;
|
1355
|
+
tr100:
|
1390
1356
|
#line 340 "ext/ragel/base_lexer.rl"
|
1391
1357
|
{te = p;p--;{
|
1392
1358
|
if ( lines > 0 )
|
@@ -1398,13 +1364,13 @@ tr102:
|
|
1398
1364
|
|
1399
1365
|
callback(id_on_attribute, data, encoding, ts, te);
|
1400
1366
|
}}
|
1401
|
-
goto
|
1402
|
-
|
1367
|
+
goto st66;
|
1368
|
+
tr102:
|
1403
1369
|
#line 354 "ext/ragel/base_lexer.rl"
|
1404
|
-
{te = p;p--;}
|
1405
|
-
goto
|
1406
|
-
|
1407
|
-
( state->cs) =
|
1370
|
+
{te = p;p--;}
|
1371
|
+
goto st66;
|
1372
|
+
tr103:
|
1373
|
+
( state->cs) = 66;
|
1408
1374
|
#line 326 "ext/ragel/base_lexer.rl"
|
1409
1375
|
{te = p+1;{
|
1410
1376
|
if ( lines > 0 )
|
@@ -1416,85 +1382,161 @@ tr105:
|
|
1416
1382
|
|
1417
1383
|
callback_simple(id_on_xml_decl_end);
|
1418
1384
|
|
1419
|
-
( state->cs) =
|
1385
|
+
( state->cs) = 32;
|
1420
1386
|
}}
|
1421
1387
|
goto _again;
|
1422
|
-
|
1388
|
+
st66:
|
1423
1389
|
#line 1 "NONE"
|
1424
1390
|
{ts = 0;}
|
1425
1391
|
if ( ++p == pe )
|
1426
|
-
goto
|
1427
|
-
case
|
1392
|
+
goto _test_eof66;
|
1393
|
+
case 66:
|
1428
1394
|
#line 1 "NONE"
|
1429
1395
|
{ts = p;}
|
1430
|
-
#line
|
1396
|
+
#line 1397 "ext/c/lexer.c"
|
1431
1397
|
switch( (*p) ) {
|
1432
|
-
case 34: goto
|
1433
|
-
case 39: goto
|
1434
|
-
case 45: goto
|
1435
|
-
case 63: goto
|
1436
|
-
case 95: goto
|
1398
|
+
case 34: goto tr96;
|
1399
|
+
case 39: goto tr97;
|
1400
|
+
case 45: goto tr98;
|
1401
|
+
case 63: goto tr99;
|
1402
|
+
case 95: goto tr98;
|
1437
1403
|
}
|
1438
1404
|
if ( (*p) < 65 ) {
|
1439
1405
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1440
|
-
goto
|
1406
|
+
goto tr98;
|
1441
1407
|
} else if ( (*p) > 90 ) {
|
1442
1408
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1443
|
-
goto
|
1409
|
+
goto tr98;
|
1444
1410
|
} else
|
1445
|
-
goto
|
1446
|
-
goto
|
1447
|
-
|
1411
|
+
goto tr98;
|
1412
|
+
goto tr95;
|
1413
|
+
tr98:
|
1448
1414
|
#line 56 "ext/ragel/base_lexer.rl"
|
1449
1415
|
{
|
1450
1416
|
if ( (*p) == '\n' ) lines++;
|
1451
1417
|
}
|
1452
|
-
goto
|
1453
|
-
|
1418
|
+
goto st67;
|
1419
|
+
st67:
|
1454
1420
|
if ( ++p == pe )
|
1455
|
-
goto
|
1456
|
-
case
|
1457
|
-
#line
|
1421
|
+
goto _test_eof67;
|
1422
|
+
case 67:
|
1423
|
+
#line 1424 "ext/c/lexer.c"
|
1458
1424
|
switch( (*p) ) {
|
1459
|
-
case 45: goto
|
1460
|
-
case 95: goto
|
1425
|
+
case 45: goto st67;
|
1426
|
+
case 95: goto st67;
|
1461
1427
|
}
|
1462
1428
|
if ( (*p) < 65 ) {
|
1463
1429
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1464
|
-
goto
|
1430
|
+
goto st67;
|
1465
1431
|
} else if ( (*p) > 90 ) {
|
1466
1432
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1467
|
-
goto
|
1433
|
+
goto st67;
|
1468
1434
|
} else
|
1469
|
-
goto
|
1470
|
-
goto
|
1471
|
-
|
1435
|
+
goto st67;
|
1436
|
+
goto tr100;
|
1437
|
+
tr99:
|
1472
1438
|
#line 56 "ext/ragel/base_lexer.rl"
|
1473
1439
|
{
|
1474
1440
|
if ( (*p) == '\n' ) lines++;
|
1475
1441
|
}
|
1476
|
-
goto
|
1477
|
-
|
1442
|
+
goto st68;
|
1443
|
+
st68:
|
1478
1444
|
if ( ++p == pe )
|
1479
|
-
goto
|
1480
|
-
case
|
1481
|
-
#line
|
1445
|
+
goto _test_eof68;
|
1446
|
+
case 68:
|
1447
|
+
#line 1448 "ext/c/lexer.c"
|
1482
1448
|
if ( (*p) == 62 )
|
1483
|
-
goto
|
1484
|
-
goto
|
1485
|
-
|
1486
|
-
( state->cs) =
|
1487
|
-
#line
|
1449
|
+
goto tr103;
|
1450
|
+
goto tr102;
|
1451
|
+
tr105:
|
1452
|
+
( state->cs) = 69;
|
1453
|
+
#line 394 "ext/ragel/base_lexer.rl"
|
1488
1454
|
{te = p;p--;{
|
1489
1455
|
callback(id_on_element_name, data, encoding, ts, te);
|
1490
1456
|
( state->cs) = 76;
|
1491
1457
|
}}
|
1492
1458
|
goto _again;
|
1493
|
-
|
1494
|
-
#line
|
1459
|
+
tr106:
|
1460
|
+
#line 390 "ext/ragel/base_lexer.rl"
|
1495
1461
|
{te = p+1;{
|
1496
1462
|
callback(id_on_element_ns, data, encoding, ts, te - 1);
|
1497
1463
|
}}
|
1464
|
+
goto st69;
|
1465
|
+
st69:
|
1466
|
+
#line 1 "NONE"
|
1467
|
+
{ts = 0;}
|
1468
|
+
if ( ++p == pe )
|
1469
|
+
goto _test_eof69;
|
1470
|
+
case 69:
|
1471
|
+
#line 1 "NONE"
|
1472
|
+
{ts = p;}
|
1473
|
+
#line 1474 "ext/c/lexer.c"
|
1474
|
+
switch( (*p) ) {
|
1475
|
+
case 45: goto st70;
|
1476
|
+
case 95: goto st70;
|
1477
|
+
}
|
1478
|
+
if ( (*p) < 65 ) {
|
1479
|
+
if ( 48 <= (*p) && (*p) <= 57 )
|
1480
|
+
goto st70;
|
1481
|
+
} else if ( (*p) > 90 ) {
|
1482
|
+
if ( 97 <= (*p) && (*p) <= 122 )
|
1483
|
+
goto st70;
|
1484
|
+
} else
|
1485
|
+
goto st70;
|
1486
|
+
goto st0;
|
1487
|
+
st70:
|
1488
|
+
if ( ++p == pe )
|
1489
|
+
goto _test_eof70;
|
1490
|
+
case 70:
|
1491
|
+
switch( (*p) ) {
|
1492
|
+
case 45: goto st70;
|
1493
|
+
case 58: goto tr106;
|
1494
|
+
case 95: goto st70;
|
1495
|
+
}
|
1496
|
+
if ( (*p) < 65 ) {
|
1497
|
+
if ( 48 <= (*p) && (*p) <= 57 )
|
1498
|
+
goto st70;
|
1499
|
+
} else if ( (*p) > 90 ) {
|
1500
|
+
if ( 97 <= (*p) && (*p) <= 122 )
|
1501
|
+
goto st70;
|
1502
|
+
} else
|
1503
|
+
goto st70;
|
1504
|
+
goto tr105;
|
1505
|
+
tr107:
|
1506
|
+
#line 56 "ext/ragel/base_lexer.rl"
|
1507
|
+
{
|
1508
|
+
if ( (*p) == '\n' ) lines++;
|
1509
|
+
}
|
1510
|
+
#line 419 "ext/ragel/base_lexer.rl"
|
1511
|
+
{te = p+1;}
|
1512
|
+
goto st71;
|
1513
|
+
tr109:
|
1514
|
+
( state->cs) = 71;
|
1515
|
+
#line 408 "ext/ragel/base_lexer.rl"
|
1516
|
+
{te = p+1;{
|
1517
|
+
if ( lines > 0 )
|
1518
|
+
{
|
1519
|
+
advance_line(lines);
|
1520
|
+
|
1521
|
+
lines = 0;
|
1522
|
+
}
|
1523
|
+
|
1524
|
+
( state->cs) = 32;
|
1525
|
+
}}
|
1526
|
+
#line 56 "ext/ragel/base_lexer.rl"
|
1527
|
+
{
|
1528
|
+
if ( (*p) == '\n' ) lines++;
|
1529
|
+
}
|
1530
|
+
goto _again;
|
1531
|
+
tr110:
|
1532
|
+
#line 375 "ext/ragel/base_lexer.rl"
|
1533
|
+
{te = p;p--;{
|
1534
|
+
callback(id_on_element_end, data, encoding, ts, te);
|
1535
|
+
}}
|
1536
|
+
goto st71;
|
1537
|
+
tr112:
|
1538
|
+
#line 404 "ext/ragel/base_lexer.rl"
|
1539
|
+
{te = p+1;}
|
1498
1540
|
goto st71;
|
1499
1541
|
st71:
|
1500
1542
|
#line 1 "NONE"
|
@@ -1504,27 +1546,35 @@ st71:
|
|
1504
1546
|
case 71:
|
1505
1547
|
#line 1 "NONE"
|
1506
1548
|
{ts = p;}
|
1507
|
-
#line
|
1549
|
+
#line 1550 "ext/c/lexer.c"
|
1508
1550
|
switch( (*p) ) {
|
1509
|
-
case 45: goto
|
1510
|
-
case
|
1551
|
+
case 45: goto tr108;
|
1552
|
+
case 62: goto tr109;
|
1553
|
+
case 95: goto tr108;
|
1511
1554
|
}
|
1512
1555
|
if ( (*p) < 65 ) {
|
1513
1556
|
if ( 48 <= (*p) && (*p) <= 57 )
|
1514
|
-
goto
|
1557
|
+
goto tr108;
|
1515
1558
|
} else if ( (*p) > 90 ) {
|
1516
1559
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1517
|
-
goto
|
1560
|
+
goto tr108;
|
1518
1561
|
} else
|
1519
|
-
goto
|
1520
|
-
goto
|
1562
|
+
goto tr108;
|
1563
|
+
goto tr107;
|
1564
|
+
tr108:
|
1565
|
+
#line 56 "ext/ragel/base_lexer.rl"
|
1566
|
+
{
|
1567
|
+
if ( (*p) == '\n' ) lines++;
|
1568
|
+
}
|
1569
|
+
goto st72;
|
1521
1570
|
st72:
|
1522
1571
|
if ( ++p == pe )
|
1523
1572
|
goto _test_eof72;
|
1524
1573
|
case 72:
|
1574
|
+
#line 1575 "ext/c/lexer.c"
|
1525
1575
|
switch( (*p) ) {
|
1526
1576
|
case 45: goto st72;
|
1527
|
-
case 58: goto
|
1577
|
+
case 58: goto tr112;
|
1528
1578
|
case 95: goto st72;
|
1529
1579
|
}
|
1530
1580
|
if ( (*p) < 65 ) {
|
@@ -1535,24 +1585,24 @@ case 72:
|
|
1535
1585
|
goto st72;
|
1536
1586
|
} else
|
1537
1587
|
goto st72;
|
1538
|
-
goto
|
1539
|
-
|
1588
|
+
goto tr110;
|
1589
|
+
tr114:
|
1540
1590
|
#line 64 "ext/ragel/base_lexer.rl"
|
1541
1591
|
{te = p+1;{
|
1542
1592
|
p--;
|
1543
1593
|
{( state->cs) = ( state->stack)[--( state->top)];goto _again;}
|
1544
1594
|
}}
|
1545
1595
|
goto st73;
|
1546
|
-
|
1596
|
+
tr115:
|
1547
1597
|
( state->cs) = 73;
|
1548
|
-
#line
|
1598
|
+
#line 431 "ext/ragel/base_lexer.rl"
|
1549
1599
|
{te = p+1;{
|
1550
1600
|
p--;
|
1551
1601
|
( state->cs) = 75;
|
1552
1602
|
}}
|
1553
1603
|
goto _again;
|
1554
|
-
|
1555
|
-
#line
|
1604
|
+
tr116:
|
1605
|
+
#line 438 "ext/ragel/base_lexer.rl"
|
1556
1606
|
{te = p;p--;{
|
1557
1607
|
callback_simple(id_on_string_squote);
|
1558
1608
|
|
@@ -1569,60 +1619,60 @@ st73:
|
|
1569
1619
|
case 73:
|
1570
1620
|
#line 1 "NONE"
|
1571
1621
|
{ts = p;}
|
1572
|
-
#line
|
1622
|
+
#line 1623 "ext/c/lexer.c"
|
1573
1623
|
switch( (*p) ) {
|
1574
|
-
case 13: goto
|
1575
|
-
case 32: goto
|
1576
|
-
case 34: goto
|
1577
|
-
case 39: goto
|
1578
|
-
case 96: goto
|
1624
|
+
case 13: goto tr114;
|
1625
|
+
case 32: goto tr114;
|
1626
|
+
case 34: goto tr115;
|
1627
|
+
case 39: goto tr115;
|
1628
|
+
case 96: goto tr114;
|
1579
1629
|
}
|
1580
1630
|
if ( (*p) > 10 ) {
|
1581
1631
|
if ( 60 <= (*p) && (*p) <= 62 )
|
1582
|
-
goto
|
1632
|
+
goto tr114;
|
1583
1633
|
} else if ( (*p) >= 9 )
|
1584
|
-
goto
|
1634
|
+
goto tr114;
|
1585
1635
|
goto st74;
|
1586
1636
|
st74:
|
1587
1637
|
if ( ++p == pe )
|
1588
1638
|
goto _test_eof74;
|
1589
1639
|
case 74:
|
1590
1640
|
switch( (*p) ) {
|
1591
|
-
case 13: goto
|
1592
|
-
case 32: goto
|
1593
|
-
case 34: goto
|
1594
|
-
case 39: goto
|
1595
|
-
case 96: goto
|
1641
|
+
case 13: goto tr116;
|
1642
|
+
case 32: goto tr116;
|
1643
|
+
case 34: goto tr116;
|
1644
|
+
case 39: goto tr116;
|
1645
|
+
case 96: goto tr116;
|
1596
1646
|
}
|
1597
1647
|
if ( (*p) > 10 ) {
|
1598
1648
|
if ( 60 <= (*p) && (*p) <= 62 )
|
1599
|
-
goto
|
1649
|
+
goto tr116;
|
1600
1650
|
} else if ( (*p) >= 9 )
|
1601
|
-
goto
|
1651
|
+
goto tr116;
|
1602
1652
|
goto st74;
|
1603
|
-
|
1653
|
+
tr117:
|
1604
1654
|
#line 64 "ext/ragel/base_lexer.rl"
|
1605
1655
|
{te = p+1;{
|
1606
1656
|
p--;
|
1607
1657
|
{( state->cs) = ( state->stack)[--( state->top)];goto _again;}
|
1608
1658
|
}}
|
1609
1659
|
goto st75;
|
1610
|
-
|
1660
|
+
tr118:
|
1611
1661
|
( state->cs) = 75;
|
1612
|
-
#line
|
1662
|
+
#line 460 "ext/ragel/base_lexer.rl"
|
1613
1663
|
{te = p+1;{
|
1614
1664
|
callback_simple(id_on_string_dquote);
|
1615
1665
|
|
1616
|
-
( state->cs) =
|
1666
|
+
( state->cs) = 49;
|
1617
1667
|
}}
|
1618
1668
|
goto _again;
|
1619
|
-
|
1669
|
+
tr119:
|
1620
1670
|
( state->cs) = 75;
|
1621
|
-
#line
|
1671
|
+
#line 454 "ext/ragel/base_lexer.rl"
|
1622
1672
|
{te = p+1;{
|
1623
1673
|
callback_simple(id_on_string_squote);
|
1624
1674
|
|
1625
|
-
( state->cs) =
|
1675
|
+
( state->cs) = 47;
|
1626
1676
|
}}
|
1627
1677
|
goto _again;
|
1628
1678
|
st75:
|
@@ -1633,24 +1683,24 @@ st75:
|
|
1633
1683
|
case 75:
|
1634
1684
|
#line 1 "NONE"
|
1635
1685
|
{ts = p;}
|
1636
|
-
#line
|
1686
|
+
#line 1687 "ext/c/lexer.c"
|
1637
1687
|
switch( (*p) ) {
|
1638
|
-
case 34: goto
|
1639
|
-
case 39: goto
|
1688
|
+
case 34: goto tr118;
|
1689
|
+
case 39: goto tr119;
|
1640
1690
|
}
|
1641
|
-
goto
|
1642
|
-
|
1643
|
-
#line
|
1691
|
+
goto tr117;
|
1692
|
+
tr120:
|
1693
|
+
#line 519 "ext/ragel/base_lexer.rl"
|
1644
1694
|
{te = p+1;}
|
1645
1695
|
goto st76;
|
1646
|
-
|
1696
|
+
tr121:
|
1647
1697
|
#line 60 "ext/ragel/base_lexer.rl"
|
1648
1698
|
{te = p+1;{
|
1649
1699
|
advance_line(1);
|
1650
1700
|
}}
|
1651
1701
|
goto st76;
|
1652
|
-
|
1653
|
-
#line
|
1702
|
+
tr125:
|
1703
|
+
#line 484 "ext/ragel/base_lexer.rl"
|
1654
1704
|
{te = p+1;{
|
1655
1705
|
if ( html_p )
|
1656
1706
|
{
|
@@ -1662,9 +1712,9 @@ tr121:
|
|
1662
1712
|
}
|
1663
1713
|
}}
|
1664
1714
|
goto st76;
|
1665
|
-
|
1715
|
+
tr126:
|
1666
1716
|
( state->cs) = 76;
|
1667
|
-
#line
|
1717
|
+
#line 496 "ext/ragel/base_lexer.rl"
|
1668
1718
|
{te = p+1;{
|
1669
1719
|
callback_simple(id_on_element_open_end);
|
1670
1720
|
|
@@ -1678,38 +1728,38 @@ tr122:
|
|
1678
1728
|
}
|
1679
1729
|
else
|
1680
1730
|
{
|
1681
|
-
( state->cs) =
|
1731
|
+
( state->cs) = 32;
|
1682
1732
|
}
|
1683
1733
|
}}
|
1684
1734
|
goto _again;
|
1685
|
-
|
1735
|
+
tr127:
|
1686
1736
|
#line 60 "ext/ragel/base_lexer.rl"
|
1687
1737
|
{te = p;p--;{
|
1688
1738
|
advance_line(1);
|
1689
1739
|
}}
|
1690
1740
|
goto st76;
|
1691
|
-
|
1692
|
-
#line
|
1741
|
+
tr128:
|
1742
|
+
#line 479 "ext/ragel/base_lexer.rl"
|
1693
1743
|
{te = p;p--;{
|
1694
1744
|
callback(id_on_attribute, data, encoding, ts, te);
|
1695
1745
|
}}
|
1696
1746
|
goto st76;
|
1697
|
-
|
1698
|
-
#line
|
1747
|
+
tr129:
|
1748
|
+
#line 475 "ext/ragel/base_lexer.rl"
|
1699
1749
|
{te = p+1;{
|
1700
1750
|
callback(id_on_attribute_ns, data, encoding, ts, te - 1);
|
1701
1751
|
}}
|
1702
1752
|
goto st76;
|
1703
|
-
|
1704
|
-
#line
|
1753
|
+
tr130:
|
1754
|
+
#line 519 "ext/ragel/base_lexer.rl"
|
1705
1755
|
{te = p;p--;}
|
1706
1756
|
goto st76;
|
1707
|
-
|
1757
|
+
tr131:
|
1708
1758
|
( state->cs) = 76;
|
1709
|
-
#line
|
1759
|
+
#line 514 "ext/ragel/base_lexer.rl"
|
1710
1760
|
{te = p+1;{
|
1711
1761
|
callback_simple(id_on_element_end);
|
1712
|
-
( state->cs) =
|
1762
|
+
( state->cs) = 32;
|
1713
1763
|
}}
|
1714
1764
|
goto _again;
|
1715
1765
|
st76:
|
@@ -1720,14 +1770,14 @@ st76:
|
|
1720
1770
|
case 76:
|
1721
1771
|
#line 1 "NONE"
|
1722
1772
|
{ts = p;}
|
1723
|
-
#line
|
1773
|
+
#line 1774 "ext/c/lexer.c"
|
1724
1774
|
switch( (*p) ) {
|
1725
|
-
case 10: goto
|
1775
|
+
case 10: goto tr121;
|
1726
1776
|
case 13: goto st77;
|
1727
1777
|
case 45: goto st78;
|
1728
1778
|
case 47: goto st79;
|
1729
|
-
case 61: goto
|
1730
|
-
case 62: goto
|
1779
|
+
case 61: goto tr125;
|
1780
|
+
case 62: goto tr126;
|
1731
1781
|
case 95: goto st78;
|
1732
1782
|
}
|
1733
1783
|
if ( (*p) < 65 ) {
|
@@ -1738,21 +1788,21 @@ case 76:
|
|
1738
1788
|
goto st78;
|
1739
1789
|
} else
|
1740
1790
|
goto st78;
|
1741
|
-
goto
|
1791
|
+
goto tr120;
|
1742
1792
|
st77:
|
1743
1793
|
if ( ++p == pe )
|
1744
1794
|
goto _test_eof77;
|
1745
1795
|
case 77:
|
1746
1796
|
if ( (*p) == 10 )
|
1747
|
-
goto
|
1748
|
-
goto
|
1797
|
+
goto tr121;
|
1798
|
+
goto tr127;
|
1749
1799
|
st78:
|
1750
1800
|
if ( ++p == pe )
|
1751
1801
|
goto _test_eof78;
|
1752
1802
|
case 78:
|
1753
1803
|
switch( (*p) ) {
|
1754
1804
|
case 45: goto st78;
|
1755
|
-
case 58: goto
|
1805
|
+
case 58: goto tr129;
|
1756
1806
|
case 95: goto st78;
|
1757
1807
|
}
|
1758
1808
|
if ( (*p) < 65 ) {
|
@@ -1763,17 +1813,17 @@ case 78:
|
|
1763
1813
|
goto st78;
|
1764
1814
|
} else
|
1765
1815
|
goto st78;
|
1766
|
-
goto
|
1816
|
+
goto tr128;
|
1767
1817
|
st79:
|
1768
1818
|
if ( ++p == pe )
|
1769
1819
|
goto _test_eof79;
|
1770
1820
|
case 79:
|
1771
1821
|
if ( (*p) == 62 )
|
1772
|
-
goto
|
1773
|
-
goto
|
1774
|
-
|
1822
|
+
goto tr131;
|
1823
|
+
goto tr130;
|
1824
|
+
tr134:
|
1775
1825
|
( state->cs) = 80;
|
1776
|
-
#line
|
1826
|
+
#line 556 "ext/ragel/base_lexer.rl"
|
1777
1827
|
{te = p;p--;{
|
1778
1828
|
callback(id_on_text, data, encoding, ts, te);
|
1779
1829
|
|
@@ -1784,12 +1834,12 @@ tr130:
|
|
1784
1834
|
lines = 0;
|
1785
1835
|
}
|
1786
1836
|
|
1787
|
-
( state->cs) =
|
1837
|
+
( state->cs) = 32;
|
1788
1838
|
}}
|
1789
1839
|
goto _again;
|
1790
|
-
|
1840
|
+
tr136:
|
1791
1841
|
( state->cs) = 80;
|
1792
|
-
#line
|
1842
|
+
#line 570 "ext/ragel/base_lexer.rl"
|
1793
1843
|
{te = p+1;{
|
1794
1844
|
callback(id_on_text, data, encoding, ts, mark);
|
1795
1845
|
|
@@ -1803,12 +1853,12 @@ tr132:
|
|
1803
1853
|
lines = 0;
|
1804
1854
|
}
|
1805
1855
|
|
1806
|
-
( state->cs) =
|
1856
|
+
( state->cs) = 32;
|
1807
1857
|
}}
|
1808
1858
|
goto _again;
|
1809
|
-
|
1859
|
+
tr137:
|
1810
1860
|
( state->cs) = 80;
|
1811
|
-
#line
|
1861
|
+
#line 556 "ext/ragel/base_lexer.rl"
|
1812
1862
|
{te = p+1;{
|
1813
1863
|
callback(id_on_text, data, encoding, ts, te);
|
1814
1864
|
|
@@ -1819,7 +1869,7 @@ tr133:
|
|
1819
1869
|
lines = 0;
|
1820
1870
|
}
|
1821
1871
|
|
1822
|
-
( state->cs) =
|
1872
|
+
( state->cs) = 32;
|
1823
1873
|
}}
|
1824
1874
|
goto _again;
|
1825
1875
|
st80:
|
@@ -1830,11 +1880,11 @@ st80:
|
|
1830
1880
|
case 80:
|
1831
1881
|
#line 1 "NONE"
|
1832
1882
|
{ts = p;}
|
1833
|
-
#line
|
1883
|
+
#line 1884 "ext/c/lexer.c"
|
1834
1884
|
if ( (*p) == 60 )
|
1835
|
-
goto
|
1836
|
-
goto
|
1837
|
-
|
1885
|
+
goto tr133;
|
1886
|
+
goto tr132;
|
1887
|
+
tr132:
|
1838
1888
|
#line 56 "ext/ragel/base_lexer.rl"
|
1839
1889
|
{
|
1840
1890
|
if ( (*p) == '\n' ) lines++;
|
@@ -1844,70 +1894,70 @@ st81:
|
|
1844
1894
|
if ( ++p == pe )
|
1845
1895
|
goto _test_eof81;
|
1846
1896
|
case 81:
|
1847
|
-
#line
|
1897
|
+
#line 1898 "ext/c/lexer.c"
|
1848
1898
|
if ( (*p) == 60 )
|
1849
|
-
goto
|
1850
|
-
goto
|
1851
|
-
|
1899
|
+
goto tr135;
|
1900
|
+
goto tr132;
|
1901
|
+
tr135:
|
1852
1902
|
#line 56 "ext/ragel/base_lexer.rl"
|
1853
1903
|
{
|
1854
1904
|
if ( (*p) == '\n' ) lines++;
|
1855
1905
|
}
|
1856
|
-
#line
|
1906
|
+
#line 570 "ext/ragel/base_lexer.rl"
|
1857
1907
|
{ mark = p; }
|
1858
1908
|
goto st82;
|
1859
1909
|
st82:
|
1860
1910
|
if ( ++p == pe )
|
1861
1911
|
goto _test_eof82;
|
1862
1912
|
case 82:
|
1863
|
-
#line
|
1913
|
+
#line 1914 "ext/c/lexer.c"
|
1864
1914
|
switch( (*p) ) {
|
1865
|
-
case 33: goto
|
1866
|
-
case 45: goto
|
1867
|
-
case 60: goto
|
1868
|
-
case 63: goto
|
1869
|
-
case 95: goto
|
1915
|
+
case 33: goto tr136;
|
1916
|
+
case 45: goto tr136;
|
1917
|
+
case 60: goto tr135;
|
1918
|
+
case 63: goto tr136;
|
1919
|
+
case 95: goto tr136;
|
1870
1920
|
}
|
1871
1921
|
if ( (*p) < 65 ) {
|
1872
1922
|
if ( 47 <= (*p) && (*p) <= 57 )
|
1873
|
-
goto
|
1923
|
+
goto tr136;
|
1874
1924
|
} else if ( (*p) > 90 ) {
|
1875
1925
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1876
|
-
goto
|
1926
|
+
goto tr136;
|
1877
1927
|
} else
|
1878
|
-
goto
|
1879
|
-
goto
|
1880
|
-
|
1928
|
+
goto tr136;
|
1929
|
+
goto tr132;
|
1930
|
+
tr133:
|
1881
1931
|
#line 56 "ext/ragel/base_lexer.rl"
|
1882
1932
|
{
|
1883
1933
|
if ( (*p) == '\n' ) lines++;
|
1884
1934
|
}
|
1885
|
-
#line
|
1935
|
+
#line 570 "ext/ragel/base_lexer.rl"
|
1886
1936
|
{ mark = p; }
|
1887
1937
|
goto st83;
|
1888
1938
|
st83:
|
1889
1939
|
if ( ++p == pe )
|
1890
1940
|
goto _test_eof83;
|
1891
1941
|
case 83:
|
1892
|
-
#line
|
1942
|
+
#line 1943 "ext/c/lexer.c"
|
1893
1943
|
switch( (*p) ) {
|
1894
|
-
case 33: goto
|
1895
|
-
case 45: goto
|
1896
|
-
case 60: goto
|
1897
|
-
case 63: goto
|
1898
|
-
case 95: goto
|
1944
|
+
case 33: goto tr137;
|
1945
|
+
case 45: goto tr137;
|
1946
|
+
case 60: goto tr135;
|
1947
|
+
case 63: goto tr137;
|
1948
|
+
case 95: goto tr137;
|
1899
1949
|
}
|
1900
1950
|
if ( (*p) < 65 ) {
|
1901
1951
|
if ( 47 <= (*p) && (*p) <= 57 )
|
1902
|
-
goto
|
1952
|
+
goto tr137;
|
1903
1953
|
} else if ( (*p) > 90 ) {
|
1904
1954
|
if ( 97 <= (*p) && (*p) <= 122 )
|
1905
|
-
goto
|
1955
|
+
goto tr137;
|
1906
1956
|
} else
|
1907
|
-
goto
|
1908
|
-
goto
|
1909
|
-
|
1910
|
-
#line
|
1957
|
+
goto tr137;
|
1958
|
+
goto tr132;
|
1959
|
+
tr24:
|
1960
|
+
#line 544 "ext/ragel/base_lexer.rl"
|
1911
1961
|
{{p = ((te))-1;}{
|
1912
1962
|
callback(id_on_text, data, encoding, ts, te);
|
1913
1963
|
|
@@ -1919,17 +1969,17 @@ tr27:
|
|
1919
1969
|
}
|
1920
1970
|
}}
|
1921
1971
|
goto st84;
|
1922
|
-
|
1972
|
+
tr31:
|
1923
1973
|
( state->cs) = 84;
|
1924
|
-
#line
|
1974
|
+
#line 379 "ext/ragel/base_lexer.rl"
|
1925
1975
|
{te = p+1;{
|
1926
1976
|
callback_simple(id_on_element_end);
|
1927
1977
|
|
1928
|
-
( state->cs) =
|
1978
|
+
( state->cs) = 32;
|
1929
1979
|
}}
|
1930
1980
|
goto _again;
|
1931
|
-
|
1932
|
-
#line
|
1981
|
+
tr140:
|
1982
|
+
#line 544 "ext/ragel/base_lexer.rl"
|
1933
1983
|
{te = p;p--;{
|
1934
1984
|
callback(id_on_text, data, encoding, ts, te);
|
1935
1985
|
|
@@ -1949,11 +1999,11 @@ st84:
|
|
1949
1999
|
case 84:
|
1950
2000
|
#line 1 "NONE"
|
1951
2001
|
{ts = p;}
|
1952
|
-
#line
|
2002
|
+
#line 2003 "ext/c/lexer.c"
|
1953
2003
|
if ( (*p) == 60 )
|
1954
|
-
goto
|
1955
|
-
goto
|
1956
|
-
|
2004
|
+
goto tr139;
|
2005
|
+
goto tr138;
|
2006
|
+
tr138:
|
1957
2007
|
#line 56 "ext/ragel/base_lexer.rl"
|
1958
2008
|
{
|
1959
2009
|
if ( (*p) == '\n' ) lines++;
|
@@ -1963,11 +2013,11 @@ st85:
|
|
1963
2013
|
if ( ++p == pe )
|
1964
2014
|
goto _test_eof85;
|
1965
2015
|
case 85:
|
1966
|
-
#line
|
2016
|
+
#line 2017 "ext/c/lexer.c"
|
1967
2017
|
if ( (*p) == 60 )
|
1968
|
-
goto
|
1969
|
-
goto
|
1970
|
-
|
2018
|
+
goto tr140;
|
2019
|
+
goto tr138;
|
2020
|
+
tr139:
|
1971
2021
|
#line 1 "NONE"
|
1972
2022
|
{te = p+1;}
|
1973
2023
|
#line 56 "ext/ragel/base_lexer.rl"
|
@@ -1979,62 +2029,62 @@ st86:
|
|
1979
2029
|
if ( ++p == pe )
|
1980
2030
|
goto _test_eof86;
|
1981
2031
|
case 86:
|
1982
|
-
#line
|
2032
|
+
#line 2033 "ext/c/lexer.c"
|
1983
2033
|
switch( (*p) ) {
|
1984
|
-
case 47: goto
|
1985
|
-
case 60: goto
|
2034
|
+
case 47: goto st19;
|
2035
|
+
case 60: goto tr142;
|
1986
2036
|
}
|
1987
|
-
goto
|
2037
|
+
goto tr140;
|
2038
|
+
st19:
|
2039
|
+
if ( ++p == pe )
|
2040
|
+
goto _test_eof19;
|
2041
|
+
case 19:
|
2042
|
+
if ( (*p) == 115 )
|
2043
|
+
goto st20;
|
2044
|
+
goto tr24;
|
2045
|
+
st20:
|
2046
|
+
if ( ++p == pe )
|
2047
|
+
goto _test_eof20;
|
2048
|
+
case 20:
|
2049
|
+
if ( (*p) == 99 )
|
2050
|
+
goto st21;
|
2051
|
+
goto tr24;
|
1988
2052
|
st21:
|
1989
2053
|
if ( ++p == pe )
|
1990
2054
|
goto _test_eof21;
|
1991
2055
|
case 21:
|
1992
|
-
if ( (*p) ==
|
2056
|
+
if ( (*p) == 114 )
|
1993
2057
|
goto st22;
|
1994
|
-
goto
|
2058
|
+
goto tr24;
|
1995
2059
|
st22:
|
1996
2060
|
if ( ++p == pe )
|
1997
2061
|
goto _test_eof22;
|
1998
2062
|
case 22:
|
1999
|
-
if ( (*p) ==
|
2063
|
+
if ( (*p) == 105 )
|
2000
2064
|
goto st23;
|
2001
|
-
goto
|
2065
|
+
goto tr24;
|
2002
2066
|
st23:
|
2003
2067
|
if ( ++p == pe )
|
2004
2068
|
goto _test_eof23;
|
2005
2069
|
case 23:
|
2006
|
-
if ( (*p) ==
|
2070
|
+
if ( (*p) == 112 )
|
2007
2071
|
goto st24;
|
2008
|
-
goto
|
2072
|
+
goto tr24;
|
2009
2073
|
st24:
|
2010
2074
|
if ( ++p == pe )
|
2011
2075
|
goto _test_eof24;
|
2012
2076
|
case 24:
|
2013
|
-
if ( (*p) ==
|
2077
|
+
if ( (*p) == 116 )
|
2014
2078
|
goto st25;
|
2015
|
-
goto
|
2079
|
+
goto tr24;
|
2016
2080
|
st25:
|
2017
2081
|
if ( ++p == pe )
|
2018
2082
|
goto _test_eof25;
|
2019
2083
|
case 25:
|
2020
|
-
if ( (*p) == 112 )
|
2021
|
-
goto st26;
|
2022
|
-
goto tr27;
|
2023
|
-
st26:
|
2024
|
-
if ( ++p == pe )
|
2025
|
-
goto _test_eof26;
|
2026
|
-
case 26:
|
2027
|
-
if ( (*p) == 116 )
|
2028
|
-
goto st27;
|
2029
|
-
goto tr27;
|
2030
|
-
st27:
|
2031
|
-
if ( ++p == pe )
|
2032
|
-
goto _test_eof27;
|
2033
|
-
case 27:
|
2034
2084
|
if ( (*p) == 62 )
|
2035
|
-
goto
|
2036
|
-
goto
|
2037
|
-
|
2085
|
+
goto tr31;
|
2086
|
+
goto tr24;
|
2087
|
+
tr142:
|
2038
2088
|
#line 56 "ext/ragel/base_lexer.rl"
|
2039
2089
|
{
|
2040
2090
|
if ( (*p) == '\n' ) lines++;
|
@@ -2044,12 +2094,12 @@ st87:
|
|
2044
2094
|
if ( ++p == pe )
|
2045
2095
|
goto _test_eof87;
|
2046
2096
|
case 87:
|
2047
|
-
#line
|
2097
|
+
#line 2098 "ext/c/lexer.c"
|
2048
2098
|
if ( (*p) == 60 )
|
2049
|
-
goto
|
2050
|
-
goto
|
2051
|
-
|
2052
|
-
#line
|
2099
|
+
goto tr142;
|
2100
|
+
goto tr140;
|
2101
|
+
tr32:
|
2102
|
+
#line 544 "ext/ragel/base_lexer.rl"
|
2053
2103
|
{{p = ((te))-1;}{
|
2054
2104
|
callback(id_on_text, data, encoding, ts, te);
|
2055
2105
|
|
@@ -2061,17 +2111,17 @@ tr35:
|
|
2061
2111
|
}
|
2062
2112
|
}}
|
2063
2113
|
goto st88;
|
2064
|
-
|
2114
|
+
tr38:
|
2065
2115
|
( state->cs) = 88;
|
2066
|
-
#line
|
2116
|
+
#line 379 "ext/ragel/base_lexer.rl"
|
2067
2117
|
{te = p+1;{
|
2068
2118
|
callback_simple(id_on_element_end);
|
2069
2119
|
|
2070
|
-
( state->cs) =
|
2120
|
+
( state->cs) = 32;
|
2071
2121
|
}}
|
2072
2122
|
goto _again;
|
2073
|
-
|
2074
|
-
#line
|
2123
|
+
tr145:
|
2124
|
+
#line 544 "ext/ragel/base_lexer.rl"
|
2075
2125
|
{te = p;p--;{
|
2076
2126
|
callback(id_on_text, data, encoding, ts, te);
|
2077
2127
|
|
@@ -2091,11 +2141,11 @@ st88:
|
|
2091
2141
|
case 88:
|
2092
2142
|
#line 1 "NONE"
|
2093
2143
|
{ts = p;}
|
2094
|
-
#line
|
2144
|
+
#line 2145 "ext/c/lexer.c"
|
2095
2145
|
if ( (*p) == 60 )
|
2096
|
-
goto
|
2097
|
-
goto
|
2098
|
-
|
2146
|
+
goto tr144;
|
2147
|
+
goto tr143;
|
2148
|
+
tr143:
|
2099
2149
|
#line 56 "ext/ragel/base_lexer.rl"
|
2100
2150
|
{
|
2101
2151
|
if ( (*p) == '\n' ) lines++;
|
@@ -2105,11 +2155,11 @@ st89:
|
|
2105
2155
|
if ( ++p == pe )
|
2106
2156
|
goto _test_eof89;
|
2107
2157
|
case 89:
|
2108
|
-
#line
|
2158
|
+
#line 2159 "ext/c/lexer.c"
|
2109
2159
|
if ( (*p) == 60 )
|
2110
|
-
goto
|
2111
|
-
goto
|
2112
|
-
|
2160
|
+
goto tr145;
|
2161
|
+
goto tr143;
|
2162
|
+
tr144:
|
2113
2163
|
#line 1 "NONE"
|
2114
2164
|
{te = p+1;}
|
2115
2165
|
#line 56 "ext/ragel/base_lexer.rl"
|
@@ -2121,55 +2171,55 @@ st90:
|
|
2121
2171
|
if ( ++p == pe )
|
2122
2172
|
goto _test_eof90;
|
2123
2173
|
case 90:
|
2124
|
-
#line
|
2174
|
+
#line 2175 "ext/c/lexer.c"
|
2125
2175
|
switch( (*p) ) {
|
2126
|
-
case 47: goto
|
2127
|
-
case 60: goto
|
2176
|
+
case 47: goto st26;
|
2177
|
+
case 60: goto tr147;
|
2128
2178
|
}
|
2129
|
-
goto
|
2179
|
+
goto tr145;
|
2180
|
+
st26:
|
2181
|
+
if ( ++p == pe )
|
2182
|
+
goto _test_eof26;
|
2183
|
+
case 26:
|
2184
|
+
if ( (*p) == 115 )
|
2185
|
+
goto st27;
|
2186
|
+
goto tr32;
|
2187
|
+
st27:
|
2188
|
+
if ( ++p == pe )
|
2189
|
+
goto _test_eof27;
|
2190
|
+
case 27:
|
2191
|
+
if ( (*p) == 116 )
|
2192
|
+
goto st28;
|
2193
|
+
goto tr32;
|
2130
2194
|
st28:
|
2131
2195
|
if ( ++p == pe )
|
2132
2196
|
goto _test_eof28;
|
2133
2197
|
case 28:
|
2134
|
-
if ( (*p) ==
|
2198
|
+
if ( (*p) == 121 )
|
2135
2199
|
goto st29;
|
2136
|
-
goto
|
2200
|
+
goto tr32;
|
2137
2201
|
st29:
|
2138
2202
|
if ( ++p == pe )
|
2139
2203
|
goto _test_eof29;
|
2140
2204
|
case 29:
|
2141
|
-
if ( (*p) ==
|
2205
|
+
if ( (*p) == 108 )
|
2142
2206
|
goto st30;
|
2143
|
-
goto
|
2207
|
+
goto tr32;
|
2144
2208
|
st30:
|
2145
2209
|
if ( ++p == pe )
|
2146
2210
|
goto _test_eof30;
|
2147
2211
|
case 30:
|
2148
|
-
if ( (*p) ==
|
2212
|
+
if ( (*p) == 101 )
|
2149
2213
|
goto st31;
|
2150
|
-
goto
|
2214
|
+
goto tr32;
|
2151
2215
|
st31:
|
2152
2216
|
if ( ++p == pe )
|
2153
2217
|
goto _test_eof31;
|
2154
2218
|
case 31:
|
2155
|
-
if ( (*p) == 108 )
|
2156
|
-
goto st32;
|
2157
|
-
goto tr35;
|
2158
|
-
st32:
|
2159
|
-
if ( ++p == pe )
|
2160
|
-
goto _test_eof32;
|
2161
|
-
case 32:
|
2162
|
-
if ( (*p) == 101 )
|
2163
|
-
goto st33;
|
2164
|
-
goto tr35;
|
2165
|
-
st33:
|
2166
|
-
if ( ++p == pe )
|
2167
|
-
goto _test_eof33;
|
2168
|
-
case 33:
|
2169
2219
|
if ( (*p) == 62 )
|
2170
|
-
goto
|
2171
|
-
goto
|
2172
|
-
|
2220
|
+
goto tr38;
|
2221
|
+
goto tr32;
|
2222
|
+
tr147:
|
2173
2223
|
#line 56 "ext/ragel/base_lexer.rl"
|
2174
2224
|
{
|
2175
2225
|
if ( (*p) == '\n' ) lines++;
|
@@ -2179,13 +2229,13 @@ st91:
|
|
2179
2229
|
if ( ++p == pe )
|
2180
2230
|
goto _test_eof91;
|
2181
2231
|
case 91:
|
2182
|
-
#line
|
2232
|
+
#line 2233 "ext/c/lexer.c"
|
2183
2233
|
if ( (*p) == 60 )
|
2184
|
-
goto
|
2185
|
-
goto
|
2234
|
+
goto tr147;
|
2235
|
+
goto tr145;
|
2186
2236
|
}
|
2187
|
-
|
2188
|
-
|
2237
|
+
_test_eof32: ( state->cs) = 32; goto _test_eof;
|
2238
|
+
_test_eof33: ( state->cs) = 33; goto _test_eof;
|
2189
2239
|
_test_eof1: ( state->cs) = 1; goto _test_eof;
|
2190
2240
|
_test_eof2: ( state->cs) = 2; goto _test_eof;
|
2191
2241
|
_test_eof3: ( state->cs) = 3; goto _test_eof;
|
@@ -2195,7 +2245,7 @@ case 91:
|
|
2195
2245
|
_test_eof7: ( state->cs) = 7; goto _test_eof;
|
2196
2246
|
_test_eof8: ( state->cs) = 8; goto _test_eof;
|
2197
2247
|
_test_eof9: ( state->cs) = 9; goto _test_eof;
|
2198
|
-
|
2248
|
+
_test_eof34: ( state->cs) = 34; goto _test_eof;
|
2199
2249
|
_test_eof10: ( state->cs) = 10; goto _test_eof;
|
2200
2250
|
_test_eof11: ( state->cs) = 11; goto _test_eof;
|
2201
2251
|
_test_eof12: ( state->cs) = 12; goto _test_eof;
|
@@ -2203,19 +2253,19 @@ case 91:
|
|
2203
2253
|
_test_eof14: ( state->cs) = 14; goto _test_eof;
|
2204
2254
|
_test_eof15: ( state->cs) = 15; goto _test_eof;
|
2205
2255
|
_test_eof16: ( state->cs) = 16; goto _test_eof;
|
2206
|
-
|
2207
|
-
|
2256
|
+
_test_eof35: ( state->cs) = 35; goto _test_eof;
|
2257
|
+
_test_eof36: ( state->cs) = 36; goto _test_eof;
|
2208
2258
|
_test_eof37: ( state->cs) = 37; goto _test_eof;
|
2209
2259
|
_test_eof38: ( state->cs) = 38; goto _test_eof;
|
2210
2260
|
_test_eof39: ( state->cs) = 39; goto _test_eof;
|
2211
2261
|
_test_eof40: ( state->cs) = 40; goto _test_eof;
|
2262
|
+
_test_eof17: ( state->cs) = 17; goto _test_eof;
|
2212
2263
|
_test_eof41: ( state->cs) = 41; goto _test_eof;
|
2213
2264
|
_test_eof42: ( state->cs) = 42; goto _test_eof;
|
2214
|
-
_test_eof19: ( state->cs) = 19; goto _test_eof;
|
2215
2265
|
_test_eof43: ( state->cs) = 43; goto _test_eof;
|
2266
|
+
_test_eof18: ( state->cs) = 18; goto _test_eof;
|
2216
2267
|
_test_eof44: ( state->cs) = 44; goto _test_eof;
|
2217
2268
|
_test_eof45: ( state->cs) = 45; goto _test_eof;
|
2218
|
-
_test_eof20: ( state->cs) = 20; goto _test_eof;
|
2219
2269
|
_test_eof46: ( state->cs) = 46; goto _test_eof;
|
2220
2270
|
_test_eof47: ( state->cs) = 47; goto _test_eof;
|
2221
2271
|
_test_eof48: ( state->cs) = 48; goto _test_eof;
|
@@ -2257,30 +2307,30 @@ case 91:
|
|
2257
2307
|
_test_eof84: ( state->cs) = 84; goto _test_eof;
|
2258
2308
|
_test_eof85: ( state->cs) = 85; goto _test_eof;
|
2259
2309
|
_test_eof86: ( state->cs) = 86; goto _test_eof;
|
2310
|
+
_test_eof19: ( state->cs) = 19; goto _test_eof;
|
2311
|
+
_test_eof20: ( state->cs) = 20; goto _test_eof;
|
2260
2312
|
_test_eof21: ( state->cs) = 21; goto _test_eof;
|
2261
2313
|
_test_eof22: ( state->cs) = 22; goto _test_eof;
|
2262
2314
|
_test_eof23: ( state->cs) = 23; goto _test_eof;
|
2263
2315
|
_test_eof24: ( state->cs) = 24; goto _test_eof;
|
2264
2316
|
_test_eof25: ( state->cs) = 25; goto _test_eof;
|
2265
|
-
_test_eof26: ( state->cs) = 26; goto _test_eof;
|
2266
|
-
_test_eof27: ( state->cs) = 27; goto _test_eof;
|
2267
2317
|
_test_eof87: ( state->cs) = 87; goto _test_eof;
|
2268
2318
|
_test_eof88: ( state->cs) = 88; goto _test_eof;
|
2269
2319
|
_test_eof89: ( state->cs) = 89; goto _test_eof;
|
2270
2320
|
_test_eof90: ( state->cs) = 90; goto _test_eof;
|
2321
|
+
_test_eof26: ( state->cs) = 26; goto _test_eof;
|
2322
|
+
_test_eof27: ( state->cs) = 27; goto _test_eof;
|
2271
2323
|
_test_eof28: ( state->cs) = 28; goto _test_eof;
|
2272
2324
|
_test_eof29: ( state->cs) = 29; goto _test_eof;
|
2273
2325
|
_test_eof30: ( state->cs) = 30; goto _test_eof;
|
2274
2326
|
_test_eof31: ( state->cs) = 31; goto _test_eof;
|
2275
|
-
_test_eof32: ( state->cs) = 32; goto _test_eof;
|
2276
|
-
_test_eof33: ( state->cs) = 33; goto _test_eof;
|
2277
2327
|
_test_eof91: ( state->cs) = 91; goto _test_eof;
|
2278
2328
|
|
2279
2329
|
_test_eof: {}
|
2280
2330
|
if ( p == eof )
|
2281
2331
|
{
|
2282
2332
|
switch ( ( state->cs) ) {
|
2283
|
-
case
|
2333
|
+
case 33: goto tr41;
|
2284
2334
|
case 1: goto tr0;
|
2285
2335
|
case 2: goto tr0;
|
2286
2336
|
case 3: goto tr0;
|
@@ -2290,7 +2340,7 @@ case 91:
|
|
2290
2340
|
case 7: goto tr0;
|
2291
2341
|
case 8: goto tr0;
|
2292
2342
|
case 9: goto tr0;
|
2293
|
-
case
|
2343
|
+
case 34: goto tr46;
|
2294
2344
|
case 10: goto tr0;
|
2295
2345
|
case 11: goto tr0;
|
2296
2346
|
case 12: goto tr0;
|
@@ -2298,63 +2348,62 @@ case 91:
|
|
2298
2348
|
case 14: goto tr0;
|
2299
2349
|
case 15: goto tr0;
|
2300
2350
|
case 16: goto tr0;
|
2301
|
-
case
|
2302
|
-
case
|
2303
|
-
case 37: goto
|
2304
|
-
case
|
2305
|
-
case
|
2306
|
-
case
|
2307
|
-
case 42: goto
|
2308
|
-
case
|
2309
|
-
case
|
2310
|
-
case 45: goto
|
2311
|
-
case
|
2312
|
-
case
|
2313
|
-
case
|
2314
|
-
case
|
2315
|
-
case
|
2316
|
-
case
|
2351
|
+
case 35: goto tr47;
|
2352
|
+
case 36: goto tr48;
|
2353
|
+
case 37: goto tr48;
|
2354
|
+
case 39: goto tr53;
|
2355
|
+
case 40: goto tr53;
|
2356
|
+
case 17: goto tr20;
|
2357
|
+
case 42: goto tr57;
|
2358
|
+
case 43: goto tr57;
|
2359
|
+
case 18: goto tr22;
|
2360
|
+
case 45: goto tr61;
|
2361
|
+
case 46: goto tr61;
|
2362
|
+
case 48: goto tr65;
|
2363
|
+
case 50: goto tr68;
|
2364
|
+
case 52: goto tr71;
|
2365
|
+
case 54: goto tr83;
|
2366
|
+
case 55: goto tr84;
|
2317
2367
|
case 56: goto tr85;
|
2318
|
-
case 57: goto
|
2319
|
-
case 58: goto
|
2320
|
-
case 59: goto
|
2321
|
-
case 60: goto
|
2322
|
-
case 61: goto
|
2323
|
-
case 62: goto
|
2324
|
-
case 63: goto
|
2325
|
-
case 64: goto
|
2326
|
-
case 65: goto
|
2327
|
-
case
|
2328
|
-
case
|
2329
|
-
case
|
2330
|
-
case
|
2331
|
-
case
|
2332
|
-
case
|
2333
|
-
case
|
2334
|
-
case
|
2335
|
-
case
|
2336
|
-
case
|
2337
|
-
case
|
2338
|
-
case
|
2339
|
-
case
|
2340
|
-
case
|
2341
|
-
case
|
2342
|
-
case
|
2343
|
-
case
|
2344
|
-
case
|
2345
|
-
case
|
2346
|
-
case
|
2347
|
-
case
|
2348
|
-
case
|
2349
|
-
case
|
2350
|
-
case
|
2351
|
-
case
|
2352
|
-
case
|
2353
|
-
case
|
2354
|
-
case
|
2355
|
-
case
|
2356
|
-
case
|
2357
|
-
case 91: goto tr141;
|
2368
|
+
case 57: goto tr85;
|
2369
|
+
case 58: goto tr85;
|
2370
|
+
case 59: goto tr85;
|
2371
|
+
case 60: goto tr85;
|
2372
|
+
case 61: goto tr85;
|
2373
|
+
case 62: goto tr85;
|
2374
|
+
case 63: goto tr85;
|
2375
|
+
case 64: goto tr85;
|
2376
|
+
case 65: goto tr85;
|
2377
|
+
case 67: goto tr100;
|
2378
|
+
case 68: goto tr102;
|
2379
|
+
case 70: goto tr105;
|
2380
|
+
case 72: goto tr110;
|
2381
|
+
case 74: goto tr116;
|
2382
|
+
case 77: goto tr127;
|
2383
|
+
case 78: goto tr128;
|
2384
|
+
case 79: goto tr130;
|
2385
|
+
case 81: goto tr134;
|
2386
|
+
case 82: goto tr134;
|
2387
|
+
case 83: goto tr134;
|
2388
|
+
case 85: goto tr140;
|
2389
|
+
case 86: goto tr140;
|
2390
|
+
case 19: goto tr24;
|
2391
|
+
case 20: goto tr24;
|
2392
|
+
case 21: goto tr24;
|
2393
|
+
case 22: goto tr24;
|
2394
|
+
case 23: goto tr24;
|
2395
|
+
case 24: goto tr24;
|
2396
|
+
case 25: goto tr24;
|
2397
|
+
case 87: goto tr140;
|
2398
|
+
case 89: goto tr145;
|
2399
|
+
case 90: goto tr145;
|
2400
|
+
case 26: goto tr32;
|
2401
|
+
case 27: goto tr32;
|
2402
|
+
case 28: goto tr32;
|
2403
|
+
case 29: goto tr32;
|
2404
|
+
case 30: goto tr32;
|
2405
|
+
case 31: goto tr32;
|
2406
|
+
case 91: goto tr145;
|
2358
2407
|
}
|
2359
2408
|
}
|
2360
2409
|
|