oga 1.1.0 → 1.2.0
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 +555 -474
- data/ext/java/org/liboga/xml/Lexer.java +217 -208
- data/ext/ragel/base_lexer.rl +3 -1
- data/lib/oga/css/parser.rb +217 -177
- data/lib/oga/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a5d490dd77a378cf8db7c889b464473e5bd81bd
|
4
|
+
data.tar.gz: 6915b14d4f18766dd64c2fd406bd6ab46deae2f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a76d088da06ba7a8c94daa9426c9adca6c97287d395c6c75dc0b22688160f231d996e65e8d76f7f9676920589eb4bb2b49e78a0536c5d6c02328c2d13821a9c
|
7
|
+
data.tar.gz: 320041b05dcf0dbdc51b9696f67f7f1df16b5a713383a933ed724d46c1f78ae8e8700b438b298a7bbdef386b82f3d41803bfdfbe33e9fc314fffb969551fb9cb
|
data/ext/c/lexer.c
CHANGED
@@ -206,8 +206,8 @@ _again:
|
|
206
206
|
case 51: goto st51;
|
207
207
|
case 52: goto st52;
|
208
208
|
case 53: goto st53;
|
209
|
-
case 0: goto st0;
|
210
209
|
case 54: goto st54;
|
210
|
+
case 0: goto st0;
|
211
211
|
case 55: goto st55;
|
212
212
|
case 56: goto st56;
|
213
213
|
case 57: goto st57;
|
@@ -270,7 +270,7 @@ _resume:
|
|
270
270
|
{
|
271
271
|
tr0:
|
272
272
|
( state->cs) = 32;
|
273
|
-
#line
|
273
|
+
#line 565 "ext/ragel/base_lexer.rl"
|
274
274
|
{{p = ((te))-1;}{
|
275
275
|
p--;
|
276
276
|
( state->cs) = 82;
|
@@ -278,7 +278,7 @@ tr0:
|
|
278
278
|
goto _again;
|
279
279
|
tr4:
|
280
280
|
( state->cs) = 32;
|
281
|
-
#line
|
281
|
+
#line 86 "ext/ragel/base_lexer.rl"
|
282
282
|
{te = p+1;{
|
283
283
|
callback_simple(id_on_comment_start);
|
284
284
|
|
@@ -287,7 +287,7 @@ tr4:
|
|
287
287
|
goto _again;
|
288
288
|
tr17:
|
289
289
|
( state->cs) = 32;
|
290
|
-
#line
|
290
|
+
#line 125 "ext/ragel/base_lexer.rl"
|
291
291
|
{te = p+1;{
|
292
292
|
callback_simple(id_on_cdata_start);
|
293
293
|
|
@@ -296,7 +296,7 @@ tr17:
|
|
296
296
|
goto _again;
|
297
297
|
tr39:
|
298
298
|
( state->cs) = 32;
|
299
|
-
#line
|
299
|
+
#line 565 "ext/ragel/base_lexer.rl"
|
300
300
|
{te = p+1;{
|
301
301
|
p--;
|
302
302
|
( state->cs) = 82;
|
@@ -304,15 +304,15 @@ tr39:
|
|
304
304
|
goto _again;
|
305
305
|
tr41:
|
306
306
|
( state->cs) = 32;
|
307
|
-
#line
|
307
|
+
#line 565 "ext/ragel/base_lexer.rl"
|
308
308
|
{te = p;p--;{
|
309
309
|
p--;
|
310
310
|
( state->cs) = 82;
|
311
311
|
}}
|
312
312
|
goto _again;
|
313
|
-
|
313
|
+
tr42:
|
314
314
|
( state->cs) = 32;
|
315
|
-
#line
|
315
|
+
#line 368 "ext/ragel/base_lexer.rl"
|
316
316
|
{te = p+1;{
|
317
317
|
p--;
|
318
318
|
( state->cs) = 69;
|
@@ -320,14 +320,14 @@ tr43:
|
|
320
320
|
goto _again;
|
321
321
|
tr44:
|
322
322
|
( state->cs) = 32;
|
323
|
-
#line
|
323
|
+
#line 373 "ext/ragel/base_lexer.rl"
|
324
324
|
{te = p+1;{
|
325
325
|
( state->cs) = 71;
|
326
326
|
}}
|
327
327
|
goto _again;
|
328
328
|
tr46:
|
329
329
|
( state->cs) = 32;
|
330
|
-
#line
|
330
|
+
#line 257 "ext/ragel/base_lexer.rl"
|
331
331
|
{te = p;p--;{
|
332
332
|
callback_simple(id_on_doctype_start);
|
333
333
|
|
@@ -364,7 +364,7 @@ tr47:
|
|
364
364
|
goto _again;
|
365
365
|
tr48:
|
366
366
|
( state->cs) = 32;
|
367
|
-
#line
|
367
|
+
#line 167 "ext/ragel/base_lexer.rl"
|
368
368
|
{te = p;p--;{
|
369
369
|
callback_simple(id_on_proc_ins_start);
|
370
370
|
callback(id_on_proc_ins_name, data, encoding, ts + 2, te);
|
@@ -395,20 +395,22 @@ case 33:
|
|
395
395
|
#line 396 "ext/c/lexer.c"
|
396
396
|
switch( (*p) ) {
|
397
397
|
case 33: goto st1;
|
398
|
-
case 45: goto tr43;
|
399
398
|
case 47: goto tr44;
|
400
399
|
case 63: goto st16;
|
401
|
-
case
|
400
|
+
case 96: goto tr41;
|
402
401
|
}
|
403
|
-
if ( (*p) <
|
404
|
-
if (
|
405
|
-
goto
|
406
|
-
} else if ( (*p) >
|
407
|
-
if (
|
408
|
-
|
402
|
+
if ( (*p) < 58 ) {
|
403
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
404
|
+
goto tr41;
|
405
|
+
} else if ( (*p) > 64 ) {
|
406
|
+
if ( (*p) > 94 ) {
|
407
|
+
if ( 123 <= (*p) )
|
408
|
+
goto tr41;
|
409
|
+
} else if ( (*p) >= 91 )
|
410
|
+
goto tr41;
|
409
411
|
} else
|
410
|
-
goto
|
411
|
-
goto
|
412
|
+
goto tr41;
|
413
|
+
goto tr42;
|
412
414
|
st1:
|
413
415
|
if ( ++p == pe )
|
414
416
|
goto _test_eof1;
|
@@ -493,7 +495,7 @@ case 9:
|
|
493
495
|
goto tr11;
|
494
496
|
goto tr0;
|
495
497
|
tr11:
|
496
|
-
#line
|
498
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
497
499
|
{
|
498
500
|
if ( (*p) == '\n' ) lines++;
|
499
501
|
}
|
@@ -502,7 +504,7 @@ st34:
|
|
502
504
|
if ( ++p == pe )
|
503
505
|
goto _test_eof34;
|
504
506
|
case 34:
|
505
|
-
#line
|
507
|
+
#line 508 "ext/c/lexer.c"
|
506
508
|
switch( (*p) ) {
|
507
509
|
case 13: goto tr11;
|
508
510
|
case 32: goto tr11;
|
@@ -557,87 +559,99 @@ st16:
|
|
557
559
|
goto _test_eof16;
|
558
560
|
case 16:
|
559
561
|
switch( (*p) ) {
|
560
|
-
case
|
561
|
-
case
|
562
|
+
case 47: goto tr0;
|
563
|
+
case 96: goto tr0;
|
562
564
|
case 120: goto st36;
|
563
565
|
}
|
564
|
-
if ( (*p) <
|
565
|
-
if (
|
566
|
-
goto
|
567
|
-
} else if ( (*p) >
|
568
|
-
if (
|
569
|
-
|
566
|
+
if ( (*p) < 58 ) {
|
567
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
568
|
+
goto tr0;
|
569
|
+
} else if ( (*p) > 64 ) {
|
570
|
+
if ( (*p) > 94 ) {
|
571
|
+
if ( 123 <= (*p) )
|
572
|
+
goto tr0;
|
573
|
+
} else if ( (*p) >= 91 )
|
574
|
+
goto tr0;
|
570
575
|
} else
|
571
|
-
goto
|
572
|
-
goto
|
576
|
+
goto tr0;
|
577
|
+
goto tr18;
|
573
578
|
tr18:
|
574
579
|
#line 1 "NONE"
|
575
580
|
{te = p+1;}
|
576
|
-
#line
|
581
|
+
#line 167 "ext/ragel/base_lexer.rl"
|
577
582
|
{( state->act) = 57;}
|
578
583
|
goto st35;
|
579
584
|
tr50:
|
580
585
|
#line 1 "NONE"
|
581
586
|
{te = p+1;}
|
582
|
-
#line
|
587
|
+
#line 321 "ext/ragel/base_lexer.rl"
|
583
588
|
{( state->act) = 54;}
|
584
589
|
goto st35;
|
585
590
|
st35:
|
586
591
|
if ( ++p == pe )
|
587
592
|
goto _test_eof35;
|
588
593
|
case 35:
|
589
|
-
#line
|
594
|
+
#line 595 "ext/c/lexer.c"
|
590
595
|
switch( (*p) ) {
|
591
|
-
case
|
592
|
-
case
|
596
|
+
case 47: goto tr47;
|
597
|
+
case 96: goto tr47;
|
593
598
|
}
|
594
|
-
if ( (*p) <
|
595
|
-
if (
|
596
|
-
goto
|
597
|
-
} else if ( (*p) >
|
598
|
-
if (
|
599
|
-
|
599
|
+
if ( (*p) < 58 ) {
|
600
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
601
|
+
goto tr47;
|
602
|
+
} else if ( (*p) > 64 ) {
|
603
|
+
if ( (*p) > 94 ) {
|
604
|
+
if ( 123 <= (*p) )
|
605
|
+
goto tr47;
|
606
|
+
} else if ( (*p) >= 91 )
|
607
|
+
goto tr47;
|
600
608
|
} else
|
601
|
-
goto
|
602
|
-
goto
|
609
|
+
goto tr47;
|
610
|
+
goto tr18;
|
603
611
|
st36:
|
604
612
|
if ( ++p == pe )
|
605
613
|
goto _test_eof36;
|
606
614
|
case 36:
|
607
615
|
switch( (*p) ) {
|
608
|
-
case
|
609
|
-
case
|
616
|
+
case 47: goto tr48;
|
617
|
+
case 96: goto tr48;
|
610
618
|
case 109: goto st37;
|
611
619
|
}
|
612
|
-
if ( (*p) <
|
613
|
-
if (
|
614
|
-
goto
|
615
|
-
} else if ( (*p) >
|
616
|
-
if (
|
617
|
-
|
620
|
+
if ( (*p) < 58 ) {
|
621
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
622
|
+
goto tr48;
|
623
|
+
} else if ( (*p) > 64 ) {
|
624
|
+
if ( (*p) > 94 ) {
|
625
|
+
if ( 123 <= (*p) )
|
626
|
+
goto tr48;
|
627
|
+
} else if ( (*p) >= 91 )
|
628
|
+
goto tr48;
|
618
629
|
} else
|
619
|
-
goto
|
620
|
-
goto
|
630
|
+
goto tr48;
|
631
|
+
goto tr18;
|
621
632
|
st37:
|
622
633
|
if ( ++p == pe )
|
623
634
|
goto _test_eof37;
|
624
635
|
case 37:
|
625
636
|
switch( (*p) ) {
|
626
|
-
case
|
627
|
-
case
|
637
|
+
case 47: goto tr48;
|
638
|
+
case 96: goto tr48;
|
628
639
|
case 108: goto tr50;
|
629
640
|
}
|
630
|
-
if ( (*p) <
|
631
|
-
if (
|
632
|
-
goto
|
633
|
-
} else if ( (*p) >
|
634
|
-
if (
|
635
|
-
|
641
|
+
if ( (*p) < 58 ) {
|
642
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
643
|
+
goto tr48;
|
644
|
+
} else if ( (*p) > 64 ) {
|
645
|
+
if ( (*p) > 94 ) {
|
646
|
+
if ( 123 <= (*p) )
|
647
|
+
goto tr48;
|
648
|
+
} else if ( (*p) >= 91 )
|
649
|
+
goto tr48;
|
636
650
|
} else
|
637
|
-
goto
|
638
|
-
goto
|
651
|
+
goto tr48;
|
652
|
+
goto tr18;
|
639
653
|
tr20:
|
640
|
-
#line
|
654
|
+
#line 93 "ext/ragel/base_lexer.rl"
|
641
655
|
{{p = ((te))-1;}{
|
642
656
|
callback(id_on_comment_body, data, encoding, ts, te);
|
643
657
|
|
@@ -651,7 +665,7 @@ tr20:
|
|
651
665
|
goto st38;
|
652
666
|
tr21:
|
653
667
|
( state->cs) = 38;
|
654
|
-
#line
|
668
|
+
#line 104 "ext/ragel/base_lexer.rl"
|
655
669
|
{te = p+1;{
|
656
670
|
callback_simple(id_on_comment_end);
|
657
671
|
|
@@ -659,7 +673,7 @@ tr21:
|
|
659
673
|
}}
|
660
674
|
goto _again;
|
661
675
|
tr53:
|
662
|
-
#line
|
676
|
+
#line 93 "ext/ragel/base_lexer.rl"
|
663
677
|
{te = p;p--;{
|
664
678
|
callback(id_on_comment_body, data, encoding, ts, te);
|
665
679
|
|
@@ -679,12 +693,12 @@ st38:
|
|
679
693
|
case 38:
|
680
694
|
#line 1 "NONE"
|
681
695
|
{ts = p;}
|
682
|
-
#line
|
696
|
+
#line 697 "ext/c/lexer.c"
|
683
697
|
if ( (*p) == 45 )
|
684
698
|
goto tr52;
|
685
699
|
goto tr51;
|
686
700
|
tr51:
|
687
|
-
#line
|
701
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
688
702
|
{
|
689
703
|
if ( (*p) == '\n' ) lines++;
|
690
704
|
}
|
@@ -693,14 +707,14 @@ st39:
|
|
693
707
|
if ( ++p == pe )
|
694
708
|
goto _test_eof39;
|
695
709
|
case 39:
|
696
|
-
#line
|
710
|
+
#line 711 "ext/c/lexer.c"
|
697
711
|
if ( (*p) == 45 )
|
698
712
|
goto tr53;
|
699
713
|
goto tr51;
|
700
714
|
tr52:
|
701
715
|
#line 1 "NONE"
|
702
716
|
{te = p+1;}
|
703
|
-
#line
|
717
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
704
718
|
{
|
705
719
|
if ( (*p) == '\n' ) lines++;
|
706
720
|
}
|
@@ -709,7 +723,7 @@ st40:
|
|
709
723
|
if ( ++p == pe )
|
710
724
|
goto _test_eof40;
|
711
725
|
case 40:
|
712
|
-
#line
|
726
|
+
#line 727 "ext/c/lexer.c"
|
713
727
|
if ( (*p) == 45 )
|
714
728
|
goto st17;
|
715
729
|
goto tr53;
|
@@ -721,7 +735,7 @@ case 17:
|
|
721
735
|
goto tr21;
|
722
736
|
goto tr20;
|
723
737
|
tr22:
|
724
|
-
#line
|
738
|
+
#line 132 "ext/ragel/base_lexer.rl"
|
725
739
|
{{p = ((te))-1;}{
|
726
740
|
callback(id_on_cdata_body, data, encoding, ts, te);
|
727
741
|
|
@@ -735,7 +749,7 @@ tr22:
|
|
735
749
|
goto st41;
|
736
750
|
tr23:
|
737
751
|
( state->cs) = 41;
|
738
|
-
#line
|
752
|
+
#line 143 "ext/ragel/base_lexer.rl"
|
739
753
|
{te = p+1;{
|
740
754
|
callback_simple(id_on_cdata_end);
|
741
755
|
|
@@ -743,7 +757,7 @@ tr23:
|
|
743
757
|
}}
|
744
758
|
goto _again;
|
745
759
|
tr57:
|
746
|
-
#line
|
760
|
+
#line 132 "ext/ragel/base_lexer.rl"
|
747
761
|
{te = p;p--;{
|
748
762
|
callback(id_on_cdata_body, data, encoding, ts, te);
|
749
763
|
|
@@ -763,12 +777,12 @@ st41:
|
|
763
777
|
case 41:
|
764
778
|
#line 1 "NONE"
|
765
779
|
{ts = p;}
|
766
|
-
#line
|
780
|
+
#line 781 "ext/c/lexer.c"
|
767
781
|
if ( (*p) == 93 )
|
768
782
|
goto tr56;
|
769
783
|
goto tr55;
|
770
784
|
tr55:
|
771
|
-
#line
|
785
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
772
786
|
{
|
773
787
|
if ( (*p) == '\n' ) lines++;
|
774
788
|
}
|
@@ -777,14 +791,14 @@ st42:
|
|
777
791
|
if ( ++p == pe )
|
778
792
|
goto _test_eof42;
|
779
793
|
case 42:
|
780
|
-
#line
|
794
|
+
#line 795 "ext/c/lexer.c"
|
781
795
|
if ( (*p) == 93 )
|
782
796
|
goto tr57;
|
783
797
|
goto tr55;
|
784
798
|
tr56:
|
785
799
|
#line 1 "NONE"
|
786
800
|
{te = p+1;}
|
787
|
-
#line
|
801
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
788
802
|
{
|
789
803
|
if ( (*p) == '\n' ) lines++;
|
790
804
|
}
|
@@ -793,7 +807,7 @@ st43:
|
|
793
807
|
if ( ++p == pe )
|
794
808
|
goto _test_eof43;
|
795
809
|
case 43:
|
796
|
-
#line
|
810
|
+
#line 811 "ext/c/lexer.c"
|
797
811
|
if ( (*p) == 93 )
|
798
812
|
goto st18;
|
799
813
|
goto tr57;
|
@@ -805,7 +819,7 @@ case 18:
|
|
805
819
|
goto tr23;
|
806
820
|
goto tr22;
|
807
821
|
tr61:
|
808
|
-
#line
|
822
|
+
#line 175 "ext/ragel/base_lexer.rl"
|
809
823
|
{te = p;p--;{
|
810
824
|
callback(id_on_proc_ins_body, data, encoding, ts, te);
|
811
825
|
|
@@ -819,7 +833,7 @@ tr61:
|
|
819
833
|
goto st44;
|
820
834
|
tr62:
|
821
835
|
( state->cs) = 44;
|
822
|
-
#line
|
836
|
+
#line 186 "ext/ragel/base_lexer.rl"
|
823
837
|
{te = p+1;{
|
824
838
|
callback_simple(id_on_proc_ins_end);
|
825
839
|
|
@@ -834,12 +848,12 @@ st44:
|
|
834
848
|
case 44:
|
835
849
|
#line 1 "NONE"
|
836
850
|
{ts = p;}
|
837
|
-
#line
|
851
|
+
#line 852 "ext/c/lexer.c"
|
838
852
|
if ( (*p) == 63 )
|
839
853
|
goto tr60;
|
840
854
|
goto tr59;
|
841
855
|
tr59:
|
842
|
-
#line
|
856
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
843
857
|
{
|
844
858
|
if ( (*p) == '\n' ) lines++;
|
845
859
|
}
|
@@ -848,12 +862,12 @@ st45:
|
|
848
862
|
if ( ++p == pe )
|
849
863
|
goto _test_eof45;
|
850
864
|
case 45:
|
851
|
-
#line
|
865
|
+
#line 866 "ext/c/lexer.c"
|
852
866
|
if ( (*p) == 63 )
|
853
867
|
goto tr61;
|
854
868
|
goto tr59;
|
855
869
|
tr60:
|
856
|
-
#line
|
870
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
857
871
|
{
|
858
872
|
if ( (*p) == '\n' ) lines++;
|
859
873
|
}
|
@@ -862,12 +876,12 @@ st46:
|
|
862
876
|
if ( ++p == pe )
|
863
877
|
goto _test_eof46;
|
864
878
|
case 46:
|
865
|
-
#line
|
879
|
+
#line 880 "ext/c/lexer.c"
|
866
880
|
if ( (*p) == 62 )
|
867
881
|
goto tr62;
|
868
882
|
goto tr61;
|
869
883
|
tr64:
|
870
|
-
#line
|
884
|
+
#line 228 "ext/ragel/base_lexer.rl"
|
871
885
|
{te = p+1;{
|
872
886
|
callback_simple(id_on_string_squote);
|
873
887
|
|
@@ -875,7 +889,7 @@ tr64:
|
|
875
889
|
}}
|
876
890
|
goto st47;
|
877
891
|
tr65:
|
878
|
-
#line
|
892
|
+
#line 202 "ext/ragel/base_lexer.rl"
|
879
893
|
{te = p;p--;{
|
880
894
|
callback(id_on_string_body, data, encoding, ts, te);
|
881
895
|
|
@@ -895,12 +909,12 @@ st47:
|
|
895
909
|
case 47:
|
896
910
|
#line 1 "NONE"
|
897
911
|
{ts = p;}
|
898
|
-
#line
|
912
|
+
#line 913 "ext/c/lexer.c"
|
899
913
|
if ( (*p) == 39 )
|
900
914
|
goto tr64;
|
901
915
|
goto tr63;
|
902
916
|
tr63:
|
903
|
-
#line
|
917
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
904
918
|
{
|
905
919
|
if ( (*p) == '\n' ) lines++;
|
906
920
|
}
|
@@ -909,12 +923,12 @@ st48:
|
|
909
923
|
if ( ++p == pe )
|
910
924
|
goto _test_eof48;
|
911
925
|
case 48:
|
912
|
-
#line
|
926
|
+
#line 927 "ext/c/lexer.c"
|
913
927
|
if ( (*p) == 39 )
|
914
928
|
goto tr65;
|
915
929
|
goto tr63;
|
916
930
|
tr67:
|
917
|
-
#line
|
931
|
+
#line 238 "ext/ragel/base_lexer.rl"
|
918
932
|
{te = p+1;{
|
919
933
|
callback_simple(id_on_string_dquote);
|
920
934
|
|
@@ -922,7 +936,7 @@ tr67:
|
|
922
936
|
}}
|
923
937
|
goto st49;
|
924
938
|
tr68:
|
925
|
-
#line
|
939
|
+
#line 202 "ext/ragel/base_lexer.rl"
|
926
940
|
{te = p;p--;{
|
927
941
|
callback(id_on_string_body, data, encoding, ts, te);
|
928
942
|
|
@@ -942,12 +956,12 @@ st49:
|
|
942
956
|
case 49:
|
943
957
|
#line 1 "NONE"
|
944
958
|
{ts = p;}
|
945
|
-
#line
|
959
|
+
#line 960 "ext/c/lexer.c"
|
946
960
|
if ( (*p) == 34 )
|
947
961
|
goto tr67;
|
948
962
|
goto tr66;
|
949
963
|
tr66:
|
950
|
-
#line
|
964
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
951
965
|
{
|
952
966
|
if ( (*p) == '\n' ) lines++;
|
953
967
|
}
|
@@ -956,17 +970,17 @@ st50:
|
|
956
970
|
if ( ++p == pe )
|
957
971
|
goto _test_eof50;
|
958
972
|
case 50:
|
959
|
-
#line
|
973
|
+
#line 974 "ext/c/lexer.c"
|
960
974
|
if ( (*p) == 34 )
|
961
975
|
goto tr68;
|
962
976
|
goto tr66;
|
963
977
|
tr70:
|
964
978
|
( state->cs) = 51;
|
965
|
-
#line
|
979
|
+
#line 283 "ext/ragel/base_lexer.rl"
|
966
980
|
{te = p+1;{ ( state->cs) = 53; }}
|
967
981
|
goto _again;
|
968
982
|
tr71:
|
969
|
-
#line
|
983
|
+
#line 272 "ext/ragel/base_lexer.rl"
|
970
984
|
{te = p;p--;{
|
971
985
|
callback(id_on_doctype_inline, data, encoding, ts, te);
|
972
986
|
|
@@ -986,12 +1000,12 @@ st51:
|
|
986
1000
|
case 51:
|
987
1001
|
#line 1 "NONE"
|
988
1002
|
{ts = p;}
|
989
|
-
#line
|
1003
|
+
#line 1004 "ext/c/lexer.c"
|
990
1004
|
if ( (*p) == 93 )
|
991
1005
|
goto tr70;
|
992
1006
|
goto tr69;
|
993
1007
|
tr69:
|
994
|
-
#line
|
1008
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
995
1009
|
{
|
996
1010
|
if ( (*p) == '\n' ) lines++;
|
997
1011
|
}
|
@@ -1000,30 +1014,30 @@ st52:
|
|
1000
1014
|
if ( ++p == pe )
|
1001
1015
|
goto _test_eof52;
|
1002
1016
|
case 52:
|
1003
|
-
#line
|
1017
|
+
#line 1018 "ext/c/lexer.c"
|
1004
1018
|
if ( (*p) == 93 )
|
1005
1019
|
goto tr71;
|
1006
1020
|
goto tr69;
|
1007
|
-
|
1008
|
-
#line
|
1021
|
+
tr73:
|
1022
|
+
#line 311 "ext/ragel/base_lexer.rl"
|
1009
1023
|
{te = p+1;}
|
1010
1024
|
goto st53;
|
1011
|
-
|
1012
|
-
#line
|
1025
|
+
tr75:
|
1026
|
+
#line 62 "ext/ragel/base_lexer.rl"
|
1013
1027
|
{te = p+1;{
|
1014
1028
|
advance_line(1);
|
1015
1029
|
}}
|
1016
1030
|
goto st53;
|
1017
|
-
|
1018
|
-
#line
|
1031
|
+
tr77:
|
1032
|
+
#line 219 "ext/ragel/base_lexer.rl"
|
1019
1033
|
{te = p+1;{
|
1020
1034
|
callback_simple(id_on_string_dquote);
|
1021
1035
|
|
1022
1036
|
{( state->stack)[( state->top)++] = 53; goto st49;}
|
1023
1037
|
}}
|
1024
1038
|
goto st53;
|
1025
|
-
|
1026
|
-
#line
|
1039
|
+
tr78:
|
1040
|
+
#line 213 "ext/ragel/base_lexer.rl"
|
1027
1041
|
{te = p+1;{
|
1028
1042
|
callback_simple(id_on_string_squote);
|
1029
1043
|
|
@@ -1032,7 +1046,7 @@ tr77:
|
|
1032
1046
|
goto st53;
|
1033
1047
|
tr79:
|
1034
1048
|
( state->cs) = 53;
|
1035
|
-
#line
|
1049
|
+
#line 304 "ext/ragel/base_lexer.rl"
|
1036
1050
|
{te = p+1;{
|
1037
1051
|
callback_simple(id_on_doctype_end);
|
1038
1052
|
( state->cs) = 32;
|
@@ -1040,16 +1054,10 @@ tr79:
|
|
1040
1054
|
goto _again;
|
1041
1055
|
tr82:
|
1042
1056
|
( state->cs) = 53;
|
1043
|
-
#line
|
1057
|
+
#line 294 "ext/ragel/base_lexer.rl"
|
1044
1058
|
{te = p+1;{ ( state->cs) = 51; }}
|
1045
1059
|
goto _again;
|
1046
1060
|
tr83:
|
1047
|
-
#line 60 "ext/ragel/base_lexer.rl"
|
1048
|
-
{te = p;p--;{
|
1049
|
-
advance_line(1);
|
1050
|
-
}}
|
1051
|
-
goto st53;
|
1052
|
-
tr84:
|
1053
1061
|
#line 1 "NONE"
|
1054
1062
|
{ switch( ( state->act) ) {
|
1055
1063
|
case 13:
|
@@ -1065,8 +1073,14 @@ tr84:
|
|
1065
1073
|
}
|
1066
1074
|
}
|
1067
1075
|
goto st53;
|
1076
|
+
tr84:
|
1077
|
+
#line 62 "ext/ragel/base_lexer.rl"
|
1078
|
+
{te = p;p--;{
|
1079
|
+
advance_line(1);
|
1080
|
+
}}
|
1081
|
+
goto st53;
|
1068
1082
|
tr85:
|
1069
|
-
#line
|
1083
|
+
#line 300 "ext/ragel/base_lexer.rl"
|
1070
1084
|
{te = p;p--;{
|
1071
1085
|
callback(id_on_doctype_name, data, encoding, ts, te);
|
1072
1086
|
}}
|
@@ -1079,284 +1093,320 @@ st53:
|
|
1079
1093
|
case 53:
|
1080
1094
|
#line 1 "NONE"
|
1081
1095
|
{ts = p;}
|
1082
|
-
#line
|
1096
|
+
#line 1097 "ext/c/lexer.c"
|
1083
1097
|
switch( (*p) ) {
|
1084
|
-
case 9: goto
|
1085
|
-
case 10: goto
|
1086
|
-
case 13: goto
|
1087
|
-
case 32: goto
|
1088
|
-
case 34: goto
|
1089
|
-
case 39: goto
|
1090
|
-
case
|
1098
|
+
case 9: goto tr73;
|
1099
|
+
case 10: goto tr75;
|
1100
|
+
case 13: goto st55;
|
1101
|
+
case 32: goto tr73;
|
1102
|
+
case 34: goto tr77;
|
1103
|
+
case 39: goto tr78;
|
1104
|
+
case 47: goto st0;
|
1091
1105
|
case 62: goto tr79;
|
1092
1106
|
case 80: goto st56;
|
1093
1107
|
case 83: goto st61;
|
1094
1108
|
case 91: goto tr82;
|
1095
|
-
case
|
1109
|
+
case 96: goto st0;
|
1096
1110
|
}
|
1097
|
-
if ( (*p) <
|
1098
|
-
if (
|
1099
|
-
goto
|
1100
|
-
} else if ( (*p) >
|
1101
|
-
if (
|
1102
|
-
|
1111
|
+
if ( (*p) < 58 ) {
|
1112
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1113
|
+
goto st0;
|
1114
|
+
} else if ( (*p) > 64 ) {
|
1115
|
+
if ( (*p) > 94 ) {
|
1116
|
+
if ( 123 <= (*p) )
|
1117
|
+
goto st0;
|
1118
|
+
} else if ( (*p) >= 92 )
|
1119
|
+
goto st0;
|
1103
1120
|
} else
|
1104
|
-
goto
|
1105
|
-
goto
|
1106
|
-
|
1107
|
-
( state->cs) = 0;
|
1108
|
-
goto _out;
|
1109
|
-
st54:
|
1110
|
-
if ( ++p == pe )
|
1111
|
-
goto _test_eof54;
|
1112
|
-
case 54:
|
1113
|
-
if ( (*p) == 10 )
|
1114
|
-
goto tr74;
|
1115
|
-
goto tr83;
|
1116
|
-
tr78:
|
1121
|
+
goto st0;
|
1122
|
+
goto tr72;
|
1123
|
+
tr72:
|
1117
1124
|
#line 1 "NONE"
|
1118
1125
|
{te = p+1;}
|
1119
|
-
#line
|
1126
|
+
#line 300 "ext/ragel/base_lexer.rl"
|
1120
1127
|
{( state->act) = 17;}
|
1121
|
-
goto
|
1128
|
+
goto st54;
|
1122
1129
|
tr90:
|
1123
1130
|
#line 1 "NONE"
|
1124
1131
|
{te = p+1;}
|
1125
|
-
#line
|
1132
|
+
#line 289 "ext/ragel/base_lexer.rl"
|
1126
1133
|
{( state->act) = 13;}
|
1127
|
-
goto
|
1128
|
-
|
1134
|
+
goto st54;
|
1135
|
+
st54:
|
1129
1136
|
if ( ++p == pe )
|
1130
|
-
goto
|
1131
|
-
case
|
1132
|
-
#line
|
1137
|
+
goto _test_eof54;
|
1138
|
+
case 54:
|
1139
|
+
#line 1140 "ext/c/lexer.c"
|
1133
1140
|
switch( (*p) ) {
|
1134
|
-
case
|
1135
|
-
case
|
1141
|
+
case 47: goto tr83;
|
1142
|
+
case 96: goto tr83;
|
1136
1143
|
}
|
1137
|
-
if ( (*p) <
|
1138
|
-
if (
|
1139
|
-
goto
|
1140
|
-
} else if ( (*p) >
|
1141
|
-
if (
|
1142
|
-
|
1144
|
+
if ( (*p) < 58 ) {
|
1145
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1146
|
+
goto tr83;
|
1147
|
+
} else if ( (*p) > 64 ) {
|
1148
|
+
if ( (*p) > 94 ) {
|
1149
|
+
if ( 123 <= (*p) )
|
1150
|
+
goto tr83;
|
1151
|
+
} else if ( (*p) >= 91 )
|
1152
|
+
goto tr83;
|
1143
1153
|
} else
|
1144
|
-
goto
|
1154
|
+
goto tr83;
|
1155
|
+
goto tr72;
|
1156
|
+
st0:
|
1157
|
+
( state->cs) = 0;
|
1158
|
+
goto _out;
|
1159
|
+
st55:
|
1160
|
+
if ( ++p == pe )
|
1161
|
+
goto _test_eof55;
|
1162
|
+
case 55:
|
1163
|
+
if ( (*p) == 10 )
|
1164
|
+
goto tr75;
|
1145
1165
|
goto tr84;
|
1146
1166
|
st56:
|
1147
1167
|
if ( ++p == pe )
|
1148
1168
|
goto _test_eof56;
|
1149
1169
|
case 56:
|
1150
1170
|
switch( (*p) ) {
|
1151
|
-
case
|
1171
|
+
case 47: goto tr85;
|
1152
1172
|
case 85: goto st57;
|
1153
|
-
case
|
1173
|
+
case 96: goto tr85;
|
1154
1174
|
}
|
1155
|
-
if ( (*p) <
|
1156
|
-
if (
|
1157
|
-
goto
|
1158
|
-
} else if ( (*p) >
|
1159
|
-
if (
|
1160
|
-
|
1175
|
+
if ( (*p) < 58 ) {
|
1176
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1177
|
+
goto tr85;
|
1178
|
+
} else if ( (*p) > 64 ) {
|
1179
|
+
if ( (*p) > 94 ) {
|
1180
|
+
if ( 123 <= (*p) )
|
1181
|
+
goto tr85;
|
1182
|
+
} else if ( (*p) >= 91 )
|
1183
|
+
goto tr85;
|
1161
1184
|
} else
|
1162
|
-
goto
|
1163
|
-
goto
|
1185
|
+
goto tr85;
|
1186
|
+
goto tr72;
|
1164
1187
|
st57:
|
1165
1188
|
if ( ++p == pe )
|
1166
1189
|
goto _test_eof57;
|
1167
1190
|
case 57:
|
1168
1191
|
switch( (*p) ) {
|
1169
|
-
case
|
1192
|
+
case 47: goto tr85;
|
1170
1193
|
case 66: goto st58;
|
1171
|
-
case
|
1194
|
+
case 96: goto tr85;
|
1172
1195
|
}
|
1173
|
-
if ( (*p) <
|
1174
|
-
if (
|
1175
|
-
goto
|
1176
|
-
} else if ( (*p) >
|
1177
|
-
if (
|
1178
|
-
|
1196
|
+
if ( (*p) < 58 ) {
|
1197
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1198
|
+
goto tr85;
|
1199
|
+
} else if ( (*p) > 64 ) {
|
1200
|
+
if ( (*p) > 94 ) {
|
1201
|
+
if ( 123 <= (*p) )
|
1202
|
+
goto tr85;
|
1203
|
+
} else if ( (*p) >= 91 )
|
1204
|
+
goto tr85;
|
1179
1205
|
} else
|
1180
|
-
goto
|
1181
|
-
goto
|
1206
|
+
goto tr85;
|
1207
|
+
goto tr72;
|
1182
1208
|
st58:
|
1183
1209
|
if ( ++p == pe )
|
1184
1210
|
goto _test_eof58;
|
1185
1211
|
case 58:
|
1186
1212
|
switch( (*p) ) {
|
1187
|
-
case
|
1213
|
+
case 47: goto tr85;
|
1188
1214
|
case 76: goto st59;
|
1189
|
-
case
|
1215
|
+
case 96: goto tr85;
|
1190
1216
|
}
|
1191
|
-
if ( (*p) <
|
1192
|
-
if (
|
1193
|
-
goto
|
1194
|
-
} else if ( (*p) >
|
1195
|
-
if (
|
1196
|
-
|
1217
|
+
if ( (*p) < 58 ) {
|
1218
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1219
|
+
goto tr85;
|
1220
|
+
} else if ( (*p) > 64 ) {
|
1221
|
+
if ( (*p) > 94 ) {
|
1222
|
+
if ( 123 <= (*p) )
|
1223
|
+
goto tr85;
|
1224
|
+
} else if ( (*p) >= 91 )
|
1225
|
+
goto tr85;
|
1197
1226
|
} else
|
1198
|
-
goto
|
1199
|
-
goto
|
1227
|
+
goto tr85;
|
1228
|
+
goto tr72;
|
1200
1229
|
st59:
|
1201
1230
|
if ( ++p == pe )
|
1202
1231
|
goto _test_eof59;
|
1203
1232
|
case 59:
|
1204
1233
|
switch( (*p) ) {
|
1205
|
-
case
|
1234
|
+
case 47: goto tr85;
|
1206
1235
|
case 73: goto st60;
|
1207
|
-
case
|
1236
|
+
case 96: goto tr85;
|
1208
1237
|
}
|
1209
|
-
if ( (*p) <
|
1210
|
-
if (
|
1211
|
-
goto
|
1212
|
-
} else if ( (*p) >
|
1213
|
-
if (
|
1214
|
-
|
1238
|
+
if ( (*p) < 58 ) {
|
1239
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1240
|
+
goto tr85;
|
1241
|
+
} else if ( (*p) > 64 ) {
|
1242
|
+
if ( (*p) > 94 ) {
|
1243
|
+
if ( 123 <= (*p) )
|
1244
|
+
goto tr85;
|
1245
|
+
} else if ( (*p) >= 91 )
|
1246
|
+
goto tr85;
|
1215
1247
|
} else
|
1216
|
-
goto
|
1217
|
-
goto
|
1248
|
+
goto tr85;
|
1249
|
+
goto tr72;
|
1218
1250
|
st60:
|
1219
1251
|
if ( ++p == pe )
|
1220
1252
|
goto _test_eof60;
|
1221
1253
|
case 60:
|
1222
1254
|
switch( (*p) ) {
|
1223
|
-
case
|
1255
|
+
case 47: goto tr85;
|
1224
1256
|
case 67: goto tr90;
|
1225
|
-
case
|
1257
|
+
case 96: goto tr85;
|
1226
1258
|
}
|
1227
|
-
if ( (*p) <
|
1228
|
-
if (
|
1229
|
-
goto
|
1230
|
-
} else if ( (*p) >
|
1231
|
-
if (
|
1232
|
-
|
1259
|
+
if ( (*p) < 58 ) {
|
1260
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1261
|
+
goto tr85;
|
1262
|
+
} else if ( (*p) > 64 ) {
|
1263
|
+
if ( (*p) > 94 ) {
|
1264
|
+
if ( 123 <= (*p) )
|
1265
|
+
goto tr85;
|
1266
|
+
} else if ( (*p) >= 91 )
|
1267
|
+
goto tr85;
|
1233
1268
|
} else
|
1234
|
-
goto
|
1235
|
-
goto
|
1269
|
+
goto tr85;
|
1270
|
+
goto tr72;
|
1236
1271
|
st61:
|
1237
1272
|
if ( ++p == pe )
|
1238
1273
|
goto _test_eof61;
|
1239
1274
|
case 61:
|
1240
1275
|
switch( (*p) ) {
|
1241
|
-
case
|
1276
|
+
case 47: goto tr85;
|
1242
1277
|
case 89: goto st62;
|
1243
|
-
case
|
1278
|
+
case 96: goto tr85;
|
1244
1279
|
}
|
1245
|
-
if ( (*p) <
|
1246
|
-
if (
|
1247
|
-
goto
|
1248
|
-
} else if ( (*p) >
|
1249
|
-
if (
|
1250
|
-
|
1280
|
+
if ( (*p) < 58 ) {
|
1281
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1282
|
+
goto tr85;
|
1283
|
+
} else if ( (*p) > 64 ) {
|
1284
|
+
if ( (*p) > 94 ) {
|
1285
|
+
if ( 123 <= (*p) )
|
1286
|
+
goto tr85;
|
1287
|
+
} else if ( (*p) >= 91 )
|
1288
|
+
goto tr85;
|
1251
1289
|
} else
|
1252
|
-
goto
|
1253
|
-
goto
|
1290
|
+
goto tr85;
|
1291
|
+
goto tr72;
|
1254
1292
|
st62:
|
1255
1293
|
if ( ++p == pe )
|
1256
1294
|
goto _test_eof62;
|
1257
1295
|
case 62:
|
1258
1296
|
switch( (*p) ) {
|
1259
|
-
case
|
1297
|
+
case 47: goto tr85;
|
1260
1298
|
case 83: goto st63;
|
1261
|
-
case
|
1299
|
+
case 96: goto tr85;
|
1262
1300
|
}
|
1263
|
-
if ( (*p) <
|
1264
|
-
if (
|
1265
|
-
goto
|
1266
|
-
} else if ( (*p) >
|
1267
|
-
if (
|
1268
|
-
|
1301
|
+
if ( (*p) < 58 ) {
|
1302
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1303
|
+
goto tr85;
|
1304
|
+
} else if ( (*p) > 64 ) {
|
1305
|
+
if ( (*p) > 94 ) {
|
1306
|
+
if ( 123 <= (*p) )
|
1307
|
+
goto tr85;
|
1308
|
+
} else if ( (*p) >= 91 )
|
1309
|
+
goto tr85;
|
1269
1310
|
} else
|
1270
|
-
goto
|
1271
|
-
goto
|
1311
|
+
goto tr85;
|
1312
|
+
goto tr72;
|
1272
1313
|
st63:
|
1273
1314
|
if ( ++p == pe )
|
1274
1315
|
goto _test_eof63;
|
1275
1316
|
case 63:
|
1276
1317
|
switch( (*p) ) {
|
1277
|
-
case
|
1318
|
+
case 47: goto tr85;
|
1278
1319
|
case 84: goto st64;
|
1279
|
-
case
|
1320
|
+
case 96: goto tr85;
|
1280
1321
|
}
|
1281
|
-
if ( (*p) <
|
1282
|
-
if (
|
1283
|
-
goto
|
1284
|
-
} else if ( (*p) >
|
1285
|
-
if (
|
1286
|
-
|
1322
|
+
if ( (*p) < 58 ) {
|
1323
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1324
|
+
goto tr85;
|
1325
|
+
} else if ( (*p) > 64 ) {
|
1326
|
+
if ( (*p) > 94 ) {
|
1327
|
+
if ( 123 <= (*p) )
|
1328
|
+
goto tr85;
|
1329
|
+
} else if ( (*p) >= 91 )
|
1330
|
+
goto tr85;
|
1287
1331
|
} else
|
1288
|
-
goto
|
1289
|
-
goto
|
1332
|
+
goto tr85;
|
1333
|
+
goto tr72;
|
1290
1334
|
st64:
|
1291
1335
|
if ( ++p == pe )
|
1292
1336
|
goto _test_eof64;
|
1293
1337
|
case 64:
|
1294
1338
|
switch( (*p) ) {
|
1295
|
-
case
|
1339
|
+
case 47: goto tr85;
|
1296
1340
|
case 69: goto st65;
|
1297
|
-
case
|
1341
|
+
case 96: goto tr85;
|
1298
1342
|
}
|
1299
|
-
if ( (*p) <
|
1300
|
-
if (
|
1301
|
-
goto
|
1302
|
-
} else if ( (*p) >
|
1303
|
-
if (
|
1304
|
-
|
1343
|
+
if ( (*p) < 58 ) {
|
1344
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1345
|
+
goto tr85;
|
1346
|
+
} else if ( (*p) > 64 ) {
|
1347
|
+
if ( (*p) > 94 ) {
|
1348
|
+
if ( 123 <= (*p) )
|
1349
|
+
goto tr85;
|
1350
|
+
} else if ( (*p) >= 91 )
|
1351
|
+
goto tr85;
|
1305
1352
|
} else
|
1306
|
-
goto
|
1307
|
-
goto
|
1353
|
+
goto tr85;
|
1354
|
+
goto tr72;
|
1308
1355
|
st65:
|
1309
1356
|
if ( ++p == pe )
|
1310
1357
|
goto _test_eof65;
|
1311
1358
|
case 65:
|
1312
1359
|
switch( (*p) ) {
|
1313
|
-
case
|
1360
|
+
case 47: goto tr85;
|
1314
1361
|
case 77: goto tr90;
|
1315
|
-
case
|
1362
|
+
case 96: goto tr85;
|
1316
1363
|
}
|
1317
|
-
if ( (*p) <
|
1318
|
-
if (
|
1319
|
-
goto
|
1320
|
-
} else if ( (*p) >
|
1321
|
-
if (
|
1322
|
-
|
1364
|
+
if ( (*p) < 58 ) {
|
1365
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1366
|
+
goto tr85;
|
1367
|
+
} else if ( (*p) > 64 ) {
|
1368
|
+
if ( (*p) > 94 ) {
|
1369
|
+
if ( 123 <= (*p) )
|
1370
|
+
goto tr85;
|
1371
|
+
} else if ( (*p) >= 91 )
|
1372
|
+
goto tr85;
|
1323
1373
|
} else
|
1324
|
-
goto
|
1325
|
-
goto
|
1326
|
-
|
1327
|
-
#line
|
1374
|
+
goto tr85;
|
1375
|
+
goto tr72;
|
1376
|
+
tr96:
|
1377
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1328
1378
|
{
|
1329
1379
|
if ( (*p) == '\n' ) lines++;
|
1330
1380
|
}
|
1331
|
-
#line
|
1381
|
+
#line 356 "ext/ragel/base_lexer.rl"
|
1332
1382
|
{te = p+1;}
|
1333
1383
|
goto st66;
|
1334
|
-
|
1335
|
-
#line
|
1384
|
+
tr97:
|
1385
|
+
#line 219 "ext/ragel/base_lexer.rl"
|
1336
1386
|
{te = p+1;{
|
1337
1387
|
callback_simple(id_on_string_dquote);
|
1338
1388
|
|
1339
1389
|
{( state->stack)[( state->top)++] = 66; goto st49;}
|
1340
1390
|
}}
|
1341
|
-
#line
|
1391
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1342
1392
|
{
|
1343
1393
|
if ( (*p) == '\n' ) lines++;
|
1344
1394
|
}
|
1345
1395
|
goto st66;
|
1346
|
-
|
1347
|
-
#line
|
1396
|
+
tr98:
|
1397
|
+
#line 213 "ext/ragel/base_lexer.rl"
|
1348
1398
|
{te = p+1;{
|
1349
1399
|
callback_simple(id_on_string_squote);
|
1350
1400
|
|
1351
1401
|
{( state->stack)[( state->top)++] = 66; goto st47;}
|
1352
1402
|
}}
|
1353
|
-
#line
|
1403
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1354
1404
|
{
|
1355
1405
|
if ( (*p) == '\n' ) lines++;
|
1356
1406
|
}
|
1357
1407
|
goto st66;
|
1358
1408
|
tr100:
|
1359
|
-
#line
|
1409
|
+
#line 342 "ext/ragel/base_lexer.rl"
|
1360
1410
|
{te = p;p--;{
|
1361
1411
|
if ( lines > 0 )
|
1362
1412
|
{
|
@@ -1369,12 +1419,12 @@ tr100:
|
|
1369
1419
|
}}
|
1370
1420
|
goto st66;
|
1371
1421
|
tr102:
|
1372
|
-
#line
|
1422
|
+
#line 356 "ext/ragel/base_lexer.rl"
|
1373
1423
|
{te = p;p--;}
|
1374
1424
|
goto st66;
|
1375
1425
|
tr103:
|
1376
1426
|
( state->cs) = 66;
|
1377
|
-
#line
|
1427
|
+
#line 328 "ext/ragel/base_lexer.rl"
|
1378
1428
|
{te = p+1;{
|
1379
1429
|
if ( lines > 0 )
|
1380
1430
|
{
|
@@ -1396,25 +1446,28 @@ st66:
|
|
1396
1446
|
case 66:
|
1397
1447
|
#line 1 "NONE"
|
1398
1448
|
{ts = p;}
|
1399
|
-
#line
|
1449
|
+
#line 1450 "ext/c/lexer.c"
|
1400
1450
|
switch( (*p) ) {
|
1401
|
-
case 34: goto
|
1402
|
-
case 39: goto
|
1403
|
-
case
|
1451
|
+
case 34: goto tr97;
|
1452
|
+
case 39: goto tr98;
|
1453
|
+
case 47: goto tr96;
|
1404
1454
|
case 63: goto tr99;
|
1405
|
-
case
|
1455
|
+
case 96: goto tr96;
|
1406
1456
|
}
|
1407
|
-
if ( (*p) <
|
1408
|
-
if (
|
1409
|
-
goto
|
1410
|
-
} else if ( (*p) >
|
1411
|
-
if (
|
1412
|
-
|
1457
|
+
if ( (*p) < 58 ) {
|
1458
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1459
|
+
goto tr96;
|
1460
|
+
} else if ( (*p) > 64 ) {
|
1461
|
+
if ( (*p) > 94 ) {
|
1462
|
+
if ( 123 <= (*p) )
|
1463
|
+
goto tr96;
|
1464
|
+
} else if ( (*p) >= 91 )
|
1465
|
+
goto tr96;
|
1413
1466
|
} else
|
1414
|
-
goto
|
1467
|
+
goto tr96;
|
1415
1468
|
goto tr95;
|
1416
|
-
|
1417
|
-
#line
|
1469
|
+
tr95:
|
1470
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1418
1471
|
{
|
1419
1472
|
if ( (*p) == '\n' ) lines++;
|
1420
1473
|
}
|
@@ -1423,22 +1476,25 @@ st67:
|
|
1423
1476
|
if ( ++p == pe )
|
1424
1477
|
goto _test_eof67;
|
1425
1478
|
case 67:
|
1426
|
-
#line
|
1479
|
+
#line 1480 "ext/c/lexer.c"
|
1427
1480
|
switch( (*p) ) {
|
1428
|
-
case
|
1429
|
-
case
|
1481
|
+
case 47: goto tr100;
|
1482
|
+
case 96: goto tr100;
|
1430
1483
|
}
|
1431
|
-
if ( (*p) <
|
1432
|
-
if (
|
1433
|
-
goto
|
1434
|
-
} else if ( (*p) >
|
1435
|
-
if (
|
1436
|
-
|
1484
|
+
if ( (*p) < 58 ) {
|
1485
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1486
|
+
goto tr100;
|
1487
|
+
} else if ( (*p) > 64 ) {
|
1488
|
+
if ( (*p) > 94 ) {
|
1489
|
+
if ( 123 <= (*p) )
|
1490
|
+
goto tr100;
|
1491
|
+
} else if ( (*p) >= 91 )
|
1492
|
+
goto tr100;
|
1437
1493
|
} else
|
1438
|
-
goto
|
1439
|
-
goto
|
1494
|
+
goto tr100;
|
1495
|
+
goto st67;
|
1440
1496
|
tr99:
|
1441
|
-
#line
|
1497
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1442
1498
|
{
|
1443
1499
|
if ( (*p) == '\n' ) lines++;
|
1444
1500
|
}
|
@@ -1447,20 +1503,20 @@ st68:
|
|
1447
1503
|
if ( ++p == pe )
|
1448
1504
|
goto _test_eof68;
|
1449
1505
|
case 68:
|
1450
|
-
#line
|
1506
|
+
#line 1507 "ext/c/lexer.c"
|
1451
1507
|
if ( (*p) == 62 )
|
1452
1508
|
goto tr103;
|
1453
1509
|
goto tr102;
|
1454
1510
|
tr105:
|
1455
1511
|
( state->cs) = 69;
|
1456
|
-
#line
|
1512
|
+
#line 396 "ext/ragel/base_lexer.rl"
|
1457
1513
|
{te = p;p--;{
|
1458
1514
|
callback(id_on_element_name, data, encoding, ts, te);
|
1459
1515
|
( state->cs) = 78;
|
1460
1516
|
}}
|
1461
1517
|
goto _again;
|
1462
1518
|
tr106:
|
1463
|
-
#line
|
1519
|
+
#line 392 "ext/ragel/base_lexer.rl"
|
1464
1520
|
{te = p+1;{
|
1465
1521
|
callback(id_on_element_ns, data, encoding, ts, te - 1);
|
1466
1522
|
}}
|
@@ -1473,49 +1529,55 @@ st69:
|
|
1473
1529
|
case 69:
|
1474
1530
|
#line 1 "NONE"
|
1475
1531
|
{ts = p;}
|
1476
|
-
#line
|
1532
|
+
#line 1533 "ext/c/lexer.c"
|
1477
1533
|
switch( (*p) ) {
|
1478
|
-
case
|
1479
|
-
case
|
1534
|
+
case 47: goto st0;
|
1535
|
+
case 96: goto st0;
|
1480
1536
|
}
|
1481
|
-
if ( (*p) <
|
1482
|
-
if (
|
1483
|
-
goto
|
1484
|
-
} else if ( (*p) >
|
1485
|
-
if (
|
1486
|
-
|
1537
|
+
if ( (*p) < 58 ) {
|
1538
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1539
|
+
goto st0;
|
1540
|
+
} else if ( (*p) > 64 ) {
|
1541
|
+
if ( (*p) > 94 ) {
|
1542
|
+
if ( 123 <= (*p) )
|
1543
|
+
goto st0;
|
1544
|
+
} else if ( (*p) >= 91 )
|
1545
|
+
goto st0;
|
1487
1546
|
} else
|
1488
|
-
goto
|
1489
|
-
goto
|
1547
|
+
goto st0;
|
1548
|
+
goto st70;
|
1490
1549
|
st70:
|
1491
1550
|
if ( ++p == pe )
|
1492
1551
|
goto _test_eof70;
|
1493
1552
|
case 70:
|
1494
1553
|
switch( (*p) ) {
|
1495
|
-
case
|
1554
|
+
case 47: goto tr105;
|
1496
1555
|
case 58: goto tr106;
|
1497
|
-
case
|
1556
|
+
case 96: goto tr105;
|
1498
1557
|
}
|
1499
|
-
if ( (*p) <
|
1500
|
-
if (
|
1501
|
-
goto
|
1502
|
-
} else if ( (*p) >
|
1503
|
-
if (
|
1504
|
-
|
1558
|
+
if ( (*p) < 59 ) {
|
1559
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1560
|
+
goto tr105;
|
1561
|
+
} else if ( (*p) > 64 ) {
|
1562
|
+
if ( (*p) > 94 ) {
|
1563
|
+
if ( 123 <= (*p) )
|
1564
|
+
goto tr105;
|
1565
|
+
} else if ( (*p) >= 91 )
|
1566
|
+
goto tr105;
|
1505
1567
|
} else
|
1506
|
-
goto
|
1507
|
-
goto
|
1508
|
-
|
1509
|
-
#line
|
1568
|
+
goto tr105;
|
1569
|
+
goto st70;
|
1570
|
+
tr108:
|
1571
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1510
1572
|
{
|
1511
1573
|
if ( (*p) == '\n' ) lines++;
|
1512
1574
|
}
|
1513
|
-
#line
|
1575
|
+
#line 421 "ext/ragel/base_lexer.rl"
|
1514
1576
|
{te = p+1;}
|
1515
1577
|
goto st71;
|
1516
1578
|
tr109:
|
1517
1579
|
( state->cs) = 71;
|
1518
|
-
#line
|
1580
|
+
#line 410 "ext/ragel/base_lexer.rl"
|
1519
1581
|
{te = p+1;{
|
1520
1582
|
if ( lines > 0 )
|
1521
1583
|
{
|
@@ -1526,19 +1588,19 @@ tr109:
|
|
1526
1588
|
|
1527
1589
|
( state->cs) = 32;
|
1528
1590
|
}}
|
1529
|
-
#line
|
1591
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1530
1592
|
{
|
1531
1593
|
if ( (*p) == '\n' ) lines++;
|
1532
1594
|
}
|
1533
1595
|
goto _again;
|
1534
1596
|
tr110:
|
1535
|
-
#line
|
1597
|
+
#line 377 "ext/ragel/base_lexer.rl"
|
1536
1598
|
{te = p;p--;{
|
1537
1599
|
callback(id_on_element_end, data, encoding, ts, te);
|
1538
1600
|
}}
|
1539
1601
|
goto st71;
|
1540
1602
|
tr112:
|
1541
|
-
#line
|
1603
|
+
#line 406 "ext/ragel/base_lexer.rl"
|
1542
1604
|
{te = p+1;}
|
1543
1605
|
goto st71;
|
1544
1606
|
st71:
|
@@ -1549,23 +1611,26 @@ st71:
|
|
1549
1611
|
case 71:
|
1550
1612
|
#line 1 "NONE"
|
1551
1613
|
{ts = p;}
|
1552
|
-
#line
|
1614
|
+
#line 1615 "ext/c/lexer.c"
|
1553
1615
|
switch( (*p) ) {
|
1554
|
-
case
|
1616
|
+
case 47: goto tr108;
|
1555
1617
|
case 62: goto tr109;
|
1556
|
-
case
|
1618
|
+
case 96: goto tr108;
|
1557
1619
|
}
|
1558
|
-
if ( (*p) <
|
1559
|
-
if (
|
1620
|
+
if ( (*p) < 58 ) {
|
1621
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1560
1622
|
goto tr108;
|
1561
|
-
} else if ( (*p) >
|
1562
|
-
if (
|
1623
|
+
} else if ( (*p) > 64 ) {
|
1624
|
+
if ( (*p) > 94 ) {
|
1625
|
+
if ( 123 <= (*p) )
|
1626
|
+
goto tr108;
|
1627
|
+
} else if ( (*p) >= 91 )
|
1563
1628
|
goto tr108;
|
1564
1629
|
} else
|
1565
1630
|
goto tr108;
|
1566
1631
|
goto tr107;
|
1567
|
-
|
1568
|
-
#line
|
1632
|
+
tr107:
|
1633
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1569
1634
|
{
|
1570
1635
|
if ( (*p) == '\n' ) lines++;
|
1571
1636
|
}
|
@@ -1574,24 +1639,27 @@ st72:
|
|
1574
1639
|
if ( ++p == pe )
|
1575
1640
|
goto _test_eof72;
|
1576
1641
|
case 72:
|
1577
|
-
#line
|
1642
|
+
#line 1643 "ext/c/lexer.c"
|
1578
1643
|
switch( (*p) ) {
|
1579
|
-
case
|
1644
|
+
case 47: goto tr110;
|
1580
1645
|
case 58: goto tr112;
|
1581
|
-
case
|
1646
|
+
case 96: goto tr110;
|
1582
1647
|
}
|
1583
|
-
if ( (*p) <
|
1584
|
-
if (
|
1585
|
-
goto
|
1586
|
-
} else if ( (*p) >
|
1587
|
-
if (
|
1588
|
-
|
1648
|
+
if ( (*p) < 59 ) {
|
1649
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1650
|
+
goto tr110;
|
1651
|
+
} else if ( (*p) > 64 ) {
|
1652
|
+
if ( (*p) > 94 ) {
|
1653
|
+
if ( 123 <= (*p) )
|
1654
|
+
goto tr110;
|
1655
|
+
} else if ( (*p) >= 91 )
|
1656
|
+
goto tr110;
|
1589
1657
|
} else
|
1590
|
-
goto
|
1591
|
-
goto
|
1658
|
+
goto tr110;
|
1659
|
+
goto st72;
|
1592
1660
|
tr113:
|
1593
1661
|
( state->cs) = 73;
|
1594
|
-
#line
|
1662
|
+
#line 442 "ext/ragel/base_lexer.rl"
|
1595
1663
|
{te = p+1;{
|
1596
1664
|
p--;
|
1597
1665
|
|
@@ -1614,16 +1682,16 @@ tr113:
|
|
1614
1682
|
}}
|
1615
1683
|
goto _again;
|
1616
1684
|
tr114:
|
1617
|
-
#line
|
1685
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1618
1686
|
{
|
1619
1687
|
if ( (*p) == '\n' ) lines++;
|
1620
1688
|
}
|
1621
|
-
#line
|
1689
|
+
#line 427 "ext/ragel/base_lexer.rl"
|
1622
1690
|
{te = p+1;}
|
1623
1691
|
goto st73;
|
1624
1692
|
tr116:
|
1625
1693
|
( state->cs) = 73;
|
1626
|
-
#line
|
1694
|
+
#line 429 "ext/ragel/base_lexer.rl"
|
1627
1695
|
{te = p+1;{
|
1628
1696
|
p--;
|
1629
1697
|
|
@@ -1638,7 +1706,7 @@ tr116:
|
|
1638
1706
|
}}
|
1639
1707
|
goto _again;
|
1640
1708
|
tr117:
|
1641
|
-
#line
|
1709
|
+
#line 427 "ext/ragel/base_lexer.rl"
|
1642
1710
|
{te = p;p--;}
|
1643
1711
|
goto st73;
|
1644
1712
|
st73:
|
@@ -1649,7 +1717,7 @@ st73:
|
|
1649
1717
|
case 73:
|
1650
1718
|
#line 1 "NONE"
|
1651
1719
|
{ts = p;}
|
1652
|
-
#line
|
1720
|
+
#line 1721 "ext/c/lexer.c"
|
1653
1721
|
switch( (*p) ) {
|
1654
1722
|
case 13: goto tr115;
|
1655
1723
|
case 32: goto tr114;
|
@@ -1660,7 +1728,7 @@ case 73:
|
|
1660
1728
|
goto tr114;
|
1661
1729
|
goto tr113;
|
1662
1730
|
tr115:
|
1663
|
-
#line
|
1731
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1664
1732
|
{
|
1665
1733
|
if ( (*p) == '\n' ) lines++;
|
1666
1734
|
}
|
@@ -1669,19 +1737,19 @@ st74:
|
|
1669
1737
|
if ( ++p == pe )
|
1670
1738
|
goto _test_eof74;
|
1671
1739
|
case 74:
|
1672
|
-
#line
|
1740
|
+
#line 1741 "ext/c/lexer.c"
|
1673
1741
|
if ( (*p) == 10 )
|
1674
1742
|
goto tr114;
|
1675
1743
|
goto tr117;
|
1676
1744
|
tr119:
|
1677
|
-
#line
|
1745
|
+
#line 66 "ext/ragel/base_lexer.rl"
|
1678
1746
|
{te = p+1;{
|
1679
1747
|
p--;
|
1680
1748
|
{( state->cs) = ( state->stack)[--( state->top)];goto _again;}
|
1681
1749
|
}}
|
1682
1750
|
goto st75;
|
1683
1751
|
tr120:
|
1684
|
-
#line
|
1752
|
+
#line 480 "ext/ragel/base_lexer.rl"
|
1685
1753
|
{te = p;p--;{
|
1686
1754
|
callback_simple(id_on_string_squote);
|
1687
1755
|
|
@@ -1698,7 +1766,7 @@ st75:
|
|
1698
1766
|
case 75:
|
1699
1767
|
#line 1 "NONE"
|
1700
1768
|
{ts = p;}
|
1701
|
-
#line
|
1769
|
+
#line 1770 "ext/c/lexer.c"
|
1702
1770
|
switch( (*p) ) {
|
1703
1771
|
case 13: goto tr119;
|
1704
1772
|
case 32: goto tr119;
|
@@ -1720,7 +1788,7 @@ case 76:
|
|
1720
1788
|
goto tr120;
|
1721
1789
|
goto st76;
|
1722
1790
|
tr121:
|
1723
|
-
#line
|
1791
|
+
#line 66 "ext/ragel/base_lexer.rl"
|
1724
1792
|
{te = p+1;{
|
1725
1793
|
p--;
|
1726
1794
|
{( state->cs) = ( state->stack)[--( state->top)];goto _again;}
|
@@ -1728,7 +1796,7 @@ tr121:
|
|
1728
1796
|
goto st77;
|
1729
1797
|
tr122:
|
1730
1798
|
( state->cs) = 77;
|
1731
|
-
#line
|
1799
|
+
#line 502 "ext/ragel/base_lexer.rl"
|
1732
1800
|
{te = p+1;{
|
1733
1801
|
callback_simple(id_on_string_dquote);
|
1734
1802
|
|
@@ -1737,7 +1805,7 @@ tr122:
|
|
1737
1805
|
goto _again;
|
1738
1806
|
tr123:
|
1739
1807
|
( state->cs) = 77;
|
1740
|
-
#line
|
1808
|
+
#line 496 "ext/ragel/base_lexer.rl"
|
1741
1809
|
{te = p+1;{
|
1742
1810
|
callback_simple(id_on_string_squote);
|
1743
1811
|
|
@@ -1752,31 +1820,31 @@ st77:
|
|
1752
1820
|
case 77:
|
1753
1821
|
#line 1 "NONE"
|
1754
1822
|
{ts = p;}
|
1755
|
-
#line
|
1823
|
+
#line 1824 "ext/c/lexer.c"
|
1756
1824
|
switch( (*p) ) {
|
1757
1825
|
case 34: goto tr122;
|
1758
1826
|
case 39: goto tr123;
|
1759
1827
|
}
|
1760
1828
|
goto tr121;
|
1761
|
-
|
1762
|
-
#line
|
1829
|
+
tr125:
|
1830
|
+
#line 554 "ext/ragel/base_lexer.rl"
|
1763
1831
|
{te = p+1;}
|
1764
1832
|
goto st78;
|
1765
|
-
|
1766
|
-
#line
|
1833
|
+
tr126:
|
1834
|
+
#line 62 "ext/ragel/base_lexer.rl"
|
1767
1835
|
{te = p+1;{
|
1768
1836
|
advance_line(1);
|
1769
1837
|
}}
|
1770
1838
|
goto st78;
|
1771
1839
|
tr129:
|
1772
|
-
#line
|
1840
|
+
#line 526 "ext/ragel/base_lexer.rl"
|
1773
1841
|
{te = p+1;{
|
1774
1842
|
{( state->stack)[( state->top)++] = 78; goto st73;}
|
1775
1843
|
}}
|
1776
1844
|
goto st78;
|
1777
1845
|
tr130:
|
1778
1846
|
( state->cs) = 78;
|
1779
|
-
#line
|
1847
|
+
#line 531 "ext/ragel/base_lexer.rl"
|
1780
1848
|
{te = p+1;{
|
1781
1849
|
callback_simple(id_on_element_open_end);
|
1782
1850
|
|
@@ -1795,30 +1863,30 @@ tr130:
|
|
1795
1863
|
}}
|
1796
1864
|
goto _again;
|
1797
1865
|
tr131:
|
1798
|
-
#line
|
1799
|
-
{te = p;p--;{
|
1800
|
-
advance_line(1);
|
1801
|
-
}}
|
1802
|
-
goto st78;
|
1803
|
-
tr132:
|
1804
|
-
#line 519 "ext/ragel/base_lexer.rl"
|
1866
|
+
#line 521 "ext/ragel/base_lexer.rl"
|
1805
1867
|
{te = p;p--;{
|
1806
1868
|
callback(id_on_attribute, data, encoding, ts, te);
|
1807
1869
|
}}
|
1808
1870
|
goto st78;
|
1809
|
-
|
1810
|
-
#line
|
1871
|
+
tr132:
|
1872
|
+
#line 517 "ext/ragel/base_lexer.rl"
|
1811
1873
|
{te = p+1;{
|
1812
1874
|
callback(id_on_attribute_ns, data, encoding, ts, te - 1);
|
1813
1875
|
}}
|
1814
1876
|
goto st78;
|
1877
|
+
tr133:
|
1878
|
+
#line 62 "ext/ragel/base_lexer.rl"
|
1879
|
+
{te = p;p--;{
|
1880
|
+
advance_line(1);
|
1881
|
+
}}
|
1882
|
+
goto st78;
|
1815
1883
|
tr134:
|
1816
|
-
#line
|
1884
|
+
#line 554 "ext/ragel/base_lexer.rl"
|
1817
1885
|
{te = p;p--;}
|
1818
1886
|
goto st78;
|
1819
1887
|
tr135:
|
1820
1888
|
( state->cs) = 78;
|
1821
|
-
#line
|
1889
|
+
#line 549 "ext/ragel/base_lexer.rl"
|
1822
1890
|
{te = p+1;{
|
1823
1891
|
callback_simple(id_on_element_end);
|
1824
1892
|
( state->cs) = 32;
|
@@ -1832,50 +1900,55 @@ st78:
|
|
1832
1900
|
case 78:
|
1833
1901
|
#line 1 "NONE"
|
1834
1902
|
{ts = p;}
|
1835
|
-
#line
|
1903
|
+
#line 1904 "ext/c/lexer.c"
|
1836
1904
|
switch( (*p) ) {
|
1837
|
-
case 10: goto
|
1838
|
-
case 13: goto
|
1839
|
-
case 45: goto st80;
|
1905
|
+
case 10: goto tr126;
|
1906
|
+
case 13: goto st80;
|
1840
1907
|
case 47: goto st81;
|
1841
1908
|
case 61: goto tr129;
|
1842
1909
|
case 62: goto tr130;
|
1843
|
-
case
|
1910
|
+
case 96: goto tr125;
|
1844
1911
|
}
|
1845
|
-
if ( (*p) <
|
1846
|
-
if (
|
1847
|
-
goto
|
1848
|
-
} else if ( (*p) >
|
1849
|
-
if (
|
1850
|
-
|
1912
|
+
if ( (*p) < 58 ) {
|
1913
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1914
|
+
goto tr125;
|
1915
|
+
} else if ( (*p) > 64 ) {
|
1916
|
+
if ( (*p) > 94 ) {
|
1917
|
+
if ( 123 <= (*p) )
|
1918
|
+
goto tr125;
|
1919
|
+
} else if ( (*p) >= 91 )
|
1920
|
+
goto tr125;
|
1851
1921
|
} else
|
1852
|
-
goto
|
1853
|
-
goto
|
1922
|
+
goto tr125;
|
1923
|
+
goto st79;
|
1854
1924
|
st79:
|
1855
1925
|
if ( ++p == pe )
|
1856
1926
|
goto _test_eof79;
|
1857
1927
|
case 79:
|
1858
|
-
|
1859
|
-
goto
|
1860
|
-
|
1928
|
+
switch( (*p) ) {
|
1929
|
+
case 47: goto tr131;
|
1930
|
+
case 58: goto tr132;
|
1931
|
+
case 96: goto tr131;
|
1932
|
+
}
|
1933
|
+
if ( (*p) < 59 ) {
|
1934
|
+
if ( 0 <= (*p) && (*p) <= 44 )
|
1935
|
+
goto tr131;
|
1936
|
+
} else if ( (*p) > 64 ) {
|
1937
|
+
if ( (*p) > 94 ) {
|
1938
|
+
if ( 123 <= (*p) )
|
1939
|
+
goto tr131;
|
1940
|
+
} else if ( (*p) >= 91 )
|
1941
|
+
goto tr131;
|
1942
|
+
} else
|
1943
|
+
goto tr131;
|
1944
|
+
goto st79;
|
1861
1945
|
st80:
|
1862
1946
|
if ( ++p == pe )
|
1863
1947
|
goto _test_eof80;
|
1864
1948
|
case 80:
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
case 95: goto st80;
|
1869
|
-
}
|
1870
|
-
if ( (*p) < 65 ) {
|
1871
|
-
if ( 48 <= (*p) && (*p) <= 57 )
|
1872
|
-
goto st80;
|
1873
|
-
} else if ( (*p) > 90 ) {
|
1874
|
-
if ( 97 <= (*p) && (*p) <= 122 )
|
1875
|
-
goto st80;
|
1876
|
-
} else
|
1877
|
-
goto st80;
|
1878
|
-
goto tr132;
|
1949
|
+
if ( (*p) == 10 )
|
1950
|
+
goto tr126;
|
1951
|
+
goto tr133;
|
1879
1952
|
st81:
|
1880
1953
|
if ( ++p == pe )
|
1881
1954
|
goto _test_eof81;
|
@@ -1885,7 +1958,7 @@ case 81:
|
|
1885
1958
|
goto tr134;
|
1886
1959
|
tr138:
|
1887
1960
|
( state->cs) = 82;
|
1888
|
-
#line
|
1961
|
+
#line 591 "ext/ragel/base_lexer.rl"
|
1889
1962
|
{te = p;p--;{
|
1890
1963
|
callback(id_on_text, data, encoding, ts, te);
|
1891
1964
|
|
@@ -1901,7 +1974,7 @@ tr138:
|
|
1901
1974
|
goto _again;
|
1902
1975
|
tr140:
|
1903
1976
|
( state->cs) = 82;
|
1904
|
-
#line
|
1977
|
+
#line 605 "ext/ragel/base_lexer.rl"
|
1905
1978
|
{te = p+1;{
|
1906
1979
|
callback(id_on_text, data, encoding, ts, mark);
|
1907
1980
|
|
@@ -1920,7 +1993,7 @@ tr140:
|
|
1920
1993
|
goto _again;
|
1921
1994
|
tr141:
|
1922
1995
|
( state->cs) = 82;
|
1923
|
-
#line
|
1996
|
+
#line 591 "ext/ragel/base_lexer.rl"
|
1924
1997
|
{te = p+1;{
|
1925
1998
|
callback(id_on_text, data, encoding, ts, te);
|
1926
1999
|
|
@@ -1942,12 +2015,12 @@ st82:
|
|
1942
2015
|
case 82:
|
1943
2016
|
#line 1 "NONE"
|
1944
2017
|
{ts = p;}
|
1945
|
-
#line
|
2018
|
+
#line 2019 "ext/c/lexer.c"
|
1946
2019
|
if ( (*p) == 60 )
|
1947
2020
|
goto tr137;
|
1948
2021
|
goto tr136;
|
1949
2022
|
tr136:
|
1950
|
-
#line
|
2023
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1951
2024
|
{
|
1952
2025
|
if ( (*p) == '\n' ) lines++;
|
1953
2026
|
}
|
@@ -1956,70 +2029,78 @@ st83:
|
|
1956
2029
|
if ( ++p == pe )
|
1957
2030
|
goto _test_eof83;
|
1958
2031
|
case 83:
|
1959
|
-
#line
|
2032
|
+
#line 2033 "ext/c/lexer.c"
|
1960
2033
|
if ( (*p) == 60 )
|
1961
2034
|
goto tr139;
|
1962
2035
|
goto tr136;
|
1963
2036
|
tr139:
|
1964
|
-
#line
|
2037
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1965
2038
|
{
|
1966
2039
|
if ( (*p) == '\n' ) lines++;
|
1967
2040
|
}
|
1968
|
-
#line
|
2041
|
+
#line 605 "ext/ragel/base_lexer.rl"
|
1969
2042
|
{ mark = p; }
|
1970
2043
|
goto st84;
|
1971
2044
|
st84:
|
1972
2045
|
if ( ++p == pe )
|
1973
2046
|
goto _test_eof84;
|
1974
2047
|
case 84:
|
1975
|
-
#line
|
2048
|
+
#line 2049 "ext/c/lexer.c"
|
1976
2049
|
switch( (*p) ) {
|
1977
|
-
case 33: goto tr140;
|
1978
|
-
case 45: goto tr140;
|
1979
2050
|
case 60: goto tr139;
|
1980
|
-
case
|
1981
|
-
case
|
2051
|
+
case 64: goto tr136;
|
2052
|
+
case 96: goto tr136;
|
1982
2053
|
}
|
1983
|
-
if ( (*p) <
|
1984
|
-
if (
|
1985
|
-
|
1986
|
-
|
1987
|
-
|
1988
|
-
goto
|
2054
|
+
if ( (*p) < 58 ) {
|
2055
|
+
if ( (*p) > 32 ) {
|
2056
|
+
if ( 34 <= (*p) && (*p) <= 44 )
|
2057
|
+
goto tr136;
|
2058
|
+
} else if ( (*p) >= 0 )
|
2059
|
+
goto tr136;
|
2060
|
+
} else if ( (*p) > 62 ) {
|
2061
|
+
if ( (*p) > 94 ) {
|
2062
|
+
if ( 123 <= (*p) )
|
2063
|
+
goto tr136;
|
2064
|
+
} else if ( (*p) >= 91 )
|
2065
|
+
goto tr136;
|
1989
2066
|
} else
|
1990
|
-
goto
|
1991
|
-
goto
|
2067
|
+
goto tr136;
|
2068
|
+
goto tr140;
|
1992
2069
|
tr137:
|
1993
|
-
#line
|
2070
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
1994
2071
|
{
|
1995
2072
|
if ( (*p) == '\n' ) lines++;
|
1996
2073
|
}
|
1997
|
-
#line
|
2074
|
+
#line 605 "ext/ragel/base_lexer.rl"
|
1998
2075
|
{ mark = p; }
|
1999
2076
|
goto st85;
|
2000
2077
|
st85:
|
2001
2078
|
if ( ++p == pe )
|
2002
2079
|
goto _test_eof85;
|
2003
2080
|
case 85:
|
2004
|
-
#line
|
2081
|
+
#line 2082 "ext/c/lexer.c"
|
2005
2082
|
switch( (*p) ) {
|
2006
|
-
case 33: goto tr141;
|
2007
|
-
case 45: goto tr141;
|
2008
2083
|
case 60: goto tr139;
|
2009
|
-
case
|
2010
|
-
case
|
2084
|
+
case 64: goto tr136;
|
2085
|
+
case 96: goto tr136;
|
2011
2086
|
}
|
2012
|
-
if ( (*p) <
|
2013
|
-
if (
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
goto
|
2087
|
+
if ( (*p) < 58 ) {
|
2088
|
+
if ( (*p) > 32 ) {
|
2089
|
+
if ( 34 <= (*p) && (*p) <= 44 )
|
2090
|
+
goto tr136;
|
2091
|
+
} else if ( (*p) >= 0 )
|
2092
|
+
goto tr136;
|
2093
|
+
} else if ( (*p) > 62 ) {
|
2094
|
+
if ( (*p) > 94 ) {
|
2095
|
+
if ( 123 <= (*p) )
|
2096
|
+
goto tr136;
|
2097
|
+
} else if ( (*p) >= 91 )
|
2098
|
+
goto tr136;
|
2018
2099
|
} else
|
2019
|
-
goto
|
2020
|
-
goto
|
2100
|
+
goto tr136;
|
2101
|
+
goto tr141;
|
2021
2102
|
tr24:
|
2022
|
-
#line
|
2103
|
+
#line 579 "ext/ragel/base_lexer.rl"
|
2023
2104
|
{{p = ((te))-1;}{
|
2024
2105
|
callback(id_on_text, data, encoding, ts, te);
|
2025
2106
|
|
@@ -2033,7 +2114,7 @@ tr24:
|
|
2033
2114
|
goto st86;
|
2034
2115
|
tr31:
|
2035
2116
|
( state->cs) = 86;
|
2036
|
-
#line
|
2117
|
+
#line 381 "ext/ragel/base_lexer.rl"
|
2037
2118
|
{te = p+1;{
|
2038
2119
|
callback_simple(id_on_element_end);
|
2039
2120
|
|
@@ -2041,7 +2122,7 @@ tr31:
|
|
2041
2122
|
}}
|
2042
2123
|
goto _again;
|
2043
2124
|
tr144:
|
2044
|
-
#line
|
2125
|
+
#line 579 "ext/ragel/base_lexer.rl"
|
2045
2126
|
{te = p;p--;{
|
2046
2127
|
callback(id_on_text, data, encoding, ts, te);
|
2047
2128
|
|
@@ -2061,12 +2142,12 @@ st86:
|
|
2061
2142
|
case 86:
|
2062
2143
|
#line 1 "NONE"
|
2063
2144
|
{ts = p;}
|
2064
|
-
#line
|
2145
|
+
#line 2146 "ext/c/lexer.c"
|
2065
2146
|
if ( (*p) == 60 )
|
2066
2147
|
goto tr143;
|
2067
2148
|
goto tr142;
|
2068
2149
|
tr142:
|
2069
|
-
#line
|
2150
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
2070
2151
|
{
|
2071
2152
|
if ( (*p) == '\n' ) lines++;
|
2072
2153
|
}
|
@@ -2075,14 +2156,14 @@ st87:
|
|
2075
2156
|
if ( ++p == pe )
|
2076
2157
|
goto _test_eof87;
|
2077
2158
|
case 87:
|
2078
|
-
#line
|
2159
|
+
#line 2160 "ext/c/lexer.c"
|
2079
2160
|
if ( (*p) == 60 )
|
2080
2161
|
goto tr144;
|
2081
2162
|
goto tr142;
|
2082
2163
|
tr143:
|
2083
2164
|
#line 1 "NONE"
|
2084
2165
|
{te = p+1;}
|
2085
|
-
#line
|
2166
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
2086
2167
|
{
|
2087
2168
|
if ( (*p) == '\n' ) lines++;
|
2088
2169
|
}
|
@@ -2091,7 +2172,7 @@ st88:
|
|
2091
2172
|
if ( ++p == pe )
|
2092
2173
|
goto _test_eof88;
|
2093
2174
|
case 88:
|
2094
|
-
#line
|
2175
|
+
#line 2176 "ext/c/lexer.c"
|
2095
2176
|
switch( (*p) ) {
|
2096
2177
|
case 47: goto st19;
|
2097
2178
|
case 60: goto tr146;
|
@@ -2147,7 +2228,7 @@ case 25:
|
|
2147
2228
|
goto tr31;
|
2148
2229
|
goto tr24;
|
2149
2230
|
tr146:
|
2150
|
-
#line
|
2231
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
2151
2232
|
{
|
2152
2233
|
if ( (*p) == '\n' ) lines++;
|
2153
2234
|
}
|
@@ -2156,12 +2237,12 @@ st89:
|
|
2156
2237
|
if ( ++p == pe )
|
2157
2238
|
goto _test_eof89;
|
2158
2239
|
case 89:
|
2159
|
-
#line
|
2240
|
+
#line 2241 "ext/c/lexer.c"
|
2160
2241
|
if ( (*p) == 60 )
|
2161
2242
|
goto tr146;
|
2162
2243
|
goto tr144;
|
2163
2244
|
tr32:
|
2164
|
-
#line
|
2245
|
+
#line 579 "ext/ragel/base_lexer.rl"
|
2165
2246
|
{{p = ((te))-1;}{
|
2166
2247
|
callback(id_on_text, data, encoding, ts, te);
|
2167
2248
|
|
@@ -2175,7 +2256,7 @@ tr32:
|
|
2175
2256
|
goto st90;
|
2176
2257
|
tr38:
|
2177
2258
|
( state->cs) = 90;
|
2178
|
-
#line
|
2259
|
+
#line 381 "ext/ragel/base_lexer.rl"
|
2179
2260
|
{te = p+1;{
|
2180
2261
|
callback_simple(id_on_element_end);
|
2181
2262
|
|
@@ -2183,7 +2264,7 @@ tr38:
|
|
2183
2264
|
}}
|
2184
2265
|
goto _again;
|
2185
2266
|
tr149:
|
2186
|
-
#line
|
2267
|
+
#line 579 "ext/ragel/base_lexer.rl"
|
2187
2268
|
{te = p;p--;{
|
2188
2269
|
callback(id_on_text, data, encoding, ts, te);
|
2189
2270
|
|
@@ -2203,12 +2284,12 @@ st90:
|
|
2203
2284
|
case 90:
|
2204
2285
|
#line 1 "NONE"
|
2205
2286
|
{ts = p;}
|
2206
|
-
#line
|
2287
|
+
#line 2288 "ext/c/lexer.c"
|
2207
2288
|
if ( (*p) == 60 )
|
2208
2289
|
goto tr148;
|
2209
2290
|
goto tr147;
|
2210
2291
|
tr147:
|
2211
|
-
#line
|
2292
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
2212
2293
|
{
|
2213
2294
|
if ( (*p) == '\n' ) lines++;
|
2214
2295
|
}
|
@@ -2217,14 +2298,14 @@ st91:
|
|
2217
2298
|
if ( ++p == pe )
|
2218
2299
|
goto _test_eof91;
|
2219
2300
|
case 91:
|
2220
|
-
#line
|
2301
|
+
#line 2302 "ext/c/lexer.c"
|
2221
2302
|
if ( (*p) == 60 )
|
2222
2303
|
goto tr149;
|
2223
2304
|
goto tr147;
|
2224
2305
|
tr148:
|
2225
2306
|
#line 1 "NONE"
|
2226
2307
|
{te = p+1;}
|
2227
|
-
#line
|
2308
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
2228
2309
|
{
|
2229
2310
|
if ( (*p) == '\n' ) lines++;
|
2230
2311
|
}
|
@@ -2233,7 +2314,7 @@ st92:
|
|
2233
2314
|
if ( ++p == pe )
|
2234
2315
|
goto _test_eof92;
|
2235
2316
|
case 92:
|
2236
|
-
#line
|
2317
|
+
#line 2318 "ext/c/lexer.c"
|
2237
2318
|
switch( (*p) ) {
|
2238
2319
|
case 47: goto st26;
|
2239
2320
|
case 60: goto tr151;
|
@@ -2282,7 +2363,7 @@ case 31:
|
|
2282
2363
|
goto tr38;
|
2283
2364
|
goto tr32;
|
2284
2365
|
tr151:
|
2285
|
-
#line
|
2366
|
+
#line 58 "ext/ragel/base_lexer.rl"
|
2286
2367
|
{
|
2287
2368
|
if ( (*p) == '\n' ) lines++;
|
2288
2369
|
}
|
@@ -2291,7 +2372,7 @@ st93:
|
|
2291
2372
|
if ( ++p == pe )
|
2292
2373
|
goto _test_eof93;
|
2293
2374
|
case 93:
|
2294
|
-
#line
|
2375
|
+
#line 2376 "ext/c/lexer.c"
|
2295
2376
|
if ( (*p) == 60 )
|
2296
2377
|
goto tr151;
|
2297
2378
|
goto tr149;
|
@@ -2445,7 +2526,7 @@ case 93:
|
|
2445
2526
|
case 74: goto tr117;
|
2446
2527
|
case 76: goto tr120;
|
2447
2528
|
case 79: goto tr131;
|
2448
|
-
case 80: goto
|
2529
|
+
case 80: goto tr133;
|
2449
2530
|
case 81: goto tr134;
|
2450
2531
|
case 83: goto tr138;
|
2451
2532
|
case 84: goto tr138;
|