breakout_parser 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/breakout_parser/lex.yy.c +478 -443
- data/ext/breakout_parser/parser.l +3 -0
- data/ext/breakout_parser/parser.tab.c +203 -180
- data/ext/breakout_parser/parser.tab.h +14 -13
- data/ext/breakout_parser/parser.y +17 -1
- data/ext/breakout_parser/ruby_ext.c +14 -1
- data/spec/parser_spec.rb +59 -2
- metadata +2 -2
@@ -359,8 +359,8 @@ static void yy_fatal_error (yyconst char msg[] );
|
|
359
359
|
*yy_cp = '\0'; \
|
360
360
|
(yy_c_buf_p) = yy_cp;
|
361
361
|
|
362
|
-
#define YY_NUM_RULES
|
363
|
-
#define YY_END_OF_BUFFER
|
362
|
+
#define YY_NUM_RULES 48
|
363
|
+
#define YY_END_OF_BUFFER 49
|
364
364
|
/* This struct is not used in this scanner,
|
365
365
|
but its presence is necessary. */
|
366
366
|
struct yy_trans_info
|
@@ -368,57 +368,58 @@ struct yy_trans_info
|
|
368
368
|
flex_int32_t yy_verify;
|
369
369
|
flex_int32_t yy_nxt;
|
370
370
|
};
|
371
|
-
static yyconst flex_int16_t yy_acclist[
|
371
|
+
static yyconst flex_int16_t yy_acclist[165] =
|
372
372
|
{ 0,
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
373
|
+
49, 34, 48, 32, 34, 48, 3, 48, 3, 34,
|
374
|
+
48, 34, 48, 33, 34, 48, 34, 48, 34, 48,
|
375
|
+
33, 34, 48, 1, 34, 48, 31, 32, 34, 48,
|
376
|
+
34, 48, 34, 48, 34, 48, 34, 48, 33, 34,
|
377
|
+
48, 37, 48, 37, 48, 37, 48, 36, 37, 48,
|
378
|
+
40, 48, 40, 48, 40, 48, 39, 40, 48, 43,
|
379
|
+
48, 43, 48, 43, 48, 42, 43, 48, 32, 34,
|
380
|
+
48, 34, 48, 31, 32, 34, 48, 34, 48, 32,
|
381
|
+
34, 48, 34, 48, 31, 32, 34, 48, 34, 48,
|
382
|
+
32, 3, 3, 2, 33, 33, 31, 32, 15, 7,
|
383
|
+
|
384
|
+
14, 9, 33, 36, 39, 42, 32,16428, 45, 31,
|
385
|
+
32,16428, 14, 45, 7, 45, 32,16430, 47, 31,
|
386
|
+
32, 9, 47, 8, 10, 17, 33, 8236, 14, 8236,
|
387
|
+
8238, 33, 11, 12, 5, 33, 6, 5, 28, 27,
|
388
|
+
13, 13, 38, 6, 21, 22, 22, 41, 25, 16,
|
389
|
+
29, 24, 25, 26, 4, 30, 4, 18, 23, 25,
|
390
|
+
35, 19, 20, 20
|
390
391
|
} ;
|
391
392
|
|
392
|
-
static yyconst flex_int16_t yy_accept[
|
393
|
+
static yyconst flex_int16_t yy_accept[261] =
|
393
394
|
{ 0,
|
394
395
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
395
396
|
1, 1, 1, 2, 4, 7, 9, 12, 14, 17,
|
396
|
-
19, 21, 24, 27, 31, 33, 35, 37,
|
397
|
-
44, 46,
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
102,
|
402
|
-
|
403
|
-
117, 118, 120, 122,
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
144, 144,
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
161,
|
397
|
+
19, 21, 24, 27, 31, 33, 35, 37, 39, 42,
|
398
|
+
44, 46, 48, 51, 53, 55, 57, 60, 62, 64,
|
399
|
+
66, 69, 72, 74, 78, 80, 83, 85, 89, 91,
|
400
|
+
92, 93, 94, 94, 94, 94, 95, 95, 95, 96,
|
401
|
+
96, 96, 96, 97, 99, 99, 99, 100, 101, 102,
|
402
|
+
102, 103, 104, 104, 104, 105, 105, 105, 105, 106,
|
403
|
+
106, 106, 106, 107, 107, 108, 109, 110, 112, 113,
|
404
|
+
115, 117, 118, 119, 120, 122, 124, 125, 125, 126,
|
405
|
+
|
406
|
+
127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
|
407
|
+
127, 128, 128, 128, 128, 128, 128, 129, 131, 132,
|
408
|
+
132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
|
409
|
+
132, 132, 133, 134, 134, 134, 134, 134, 135, 135,
|
410
|
+
136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
|
411
|
+
136, 136, 136, 137, 137, 137, 137, 137, 138, 138,
|
412
|
+
139, 139, 140, 141, 141, 141, 141, 141, 141, 141,
|
413
|
+
141, 141, 141, 141, 141, 141, 141, 142, 143, 143,
|
414
|
+
144, 144, 145, 145, 145, 145, 147, 147, 148, 148,
|
415
|
+
148, 148, 148, 148, 148, 148, 148, 148, 149, 149,
|
416
|
+
|
417
|
+
149, 149, 149, 149, 149, 149, 149, 149, 149, 149,
|
418
|
+
149, 149, 149, 149, 149, 149, 149, 150, 150, 150,
|
419
|
+
150, 151, 151, 151, 152, 152, 152, 152, 152, 152,
|
420
|
+
154, 154, 155, 155, 156, 157, 157, 157, 157, 157,
|
421
|
+
157, 157, 158, 158, 158, 159, 159, 159, 159, 159,
|
422
|
+
159, 159, 159, 161, 162, 164, 164, 165, 165, 165
|
422
423
|
} ;
|
423
424
|
|
424
425
|
static yyconst flex_int32_t yy_ec[256] =
|
@@ -429,14 +430,14 @@ static yyconst flex_int32_t yy_ec[256] =
|
|
429
430
|
1, 5, 6, 7, 8, 1, 1, 1, 9, 10,
|
430
431
|
10, 11, 1, 12, 13, 14, 15, 16, 17, 17,
|
431
432
|
17, 17, 17, 16, 16, 16, 16, 18, 6, 19,
|
432
|
-
1, 20, 6,
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
433
|
+
1, 20, 6, 21, 22, 22, 22, 22, 22, 22,
|
434
|
+
22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
|
435
|
+
22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
|
436
|
+
23, 1, 24, 1, 25, 1, 26, 27, 28, 29,
|
437
|
+
|
438
|
+
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
439
|
+
40, 41, 35, 42, 43, 44, 45, 46, 47, 35,
|
440
|
+
35, 35, 7, 48, 7, 1, 1, 1, 1, 1,
|
440
441
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
441
442
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
442
443
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
@@ -450,330 +451,346 @@ static yyconst flex_int32_t yy_ec[256] =
|
|
450
451
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
451
452
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
452
453
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
453
|
-
1, 1, 1, 1,
|
454
|
+
1, 1, 1, 1, 49
|
454
455
|
} ;
|
455
456
|
|
456
|
-
static yyconst flex_int32_t yy_meta[
|
457
|
+
static yyconst flex_int32_t yy_meta[50] =
|
457
458
|
{ 0,
|
458
459
|
1, 2, 3, 3, 4, 5, 6, 7, 1, 8,
|
459
460
|
9, 5, 10, 11, 1, 12, 12, 5, 6, 6,
|
460
|
-
13, 14, 15, 16, 17,
|
461
|
-
|
462
|
-
|
461
|
+
13, 14, 15, 16, 17, 18, 18, 18, 18, 18,
|
462
|
+
18, 14, 14, 14, 14, 14, 14, 14, 14, 14,
|
463
|
+
14, 14, 14, 14, 14, 14, 14, 1, 13
|
463
464
|
} ;
|
464
465
|
|
465
|
-
static yyconst flex_int16_t yy_base[
|
466
|
+
static yyconst flex_int16_t yy_base[293] =
|
466
467
|
{ 0,
|
467
|
-
0,
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
468
|
+
0, 48, 58, 63, 81, 85, 89, 94, 53, 112,
|
469
|
+
49, 114, 716, 1074, 146, 124, 150, 54, 0, 74,
|
470
|
+
686, 655, 1074, 154, 153, 684, 0, 0, 35, 1074,
|
471
|
+
172, 672, 1074, 1074, 177, 667, 1074, 1074, 181, 666,
|
472
|
+
1074, 161, 199, 187, 213, 70, 229, 116, 242, 0,
|
473
|
+
255, 259, 0, 0, 0, 1074, 263, 89, 0, 640,
|
474
|
+
635, 240, 620, 0, 658, 657, 650, 1074, 640, 614,
|
475
|
+
1074, 619, 273, 612, 1074, 598, 286, 608, 1074, 581,
|
476
|
+
291, 606, 1074, 591, 0, 159, 1074, 0, 185, 557,
|
477
|
+
1074, 0, 192, 1074, 0, 1074, 1074, 539, 1074, 1074,
|
478
|
+
|
479
|
+
530, 528, 0, 0, 523, 518, 106, 521, 512, 519,
|
480
|
+
511, 295, 204, 511, 508, 509, 205, 218, 234, 311,
|
481
|
+
518, 527, 522, 120, 205, 255, 93, 204, 278, 283,
|
482
|
+
285, 58, 1074, 235, 516, 514, 514, 1074, 522, 334,
|
483
|
+
517, 516, 0, 225, 293, 326, 164, 300, 321, 328,
|
484
|
+
325, 523, 518, 315, 505, 514, 503, 325, 267, 128,
|
485
|
+
478, 1074, 1074, 480, 337, 332, 479, 0, 478, 0,
|
486
|
+
323, 348, 396, 428, 486, 444, 1074, 446, 480, 1074,
|
487
|
+
474, 379, 444, 0, 433, 1074, 453, 1074, 396, 341,
|
488
|
+
343, 481, 371, 438, 0, 0, 349, 1074, 361, 346,
|
489
|
+
|
490
|
+
0, 430, 437, 364, 362, 364, 353, 451, 464, 348,
|
491
|
+
328, 308, 0, 434, 440, 376, 1074, 299, 296, 277,
|
492
|
+
475, 242, 260, 1074, 246, 211, 0, 449, 513, 1074,
|
493
|
+
200, 1074, 177, 456, 1074, 190, 455, 181, 0, 169,
|
494
|
+
148, 487, 515, 444, 1074, 136, 118, 91, 79, 0,
|
495
|
+
56, 0, 1074, 1074, 1074, 54, 1074, 33, 1074, 563,
|
496
|
+
581, 599, 606, 624, 642, 660, 678, 696, 714, 731,
|
497
|
+
737, 755, 767, 128, 785, 803, 821, 839, 857, 866,
|
498
|
+
884, 902, 920, 929, 947, 965, 983, 1001, 468, 1019,
|
499
|
+
1037, 1055
|
500
|
+
|
498
501
|
} ;
|
499
502
|
|
500
|
-
static yyconst flex_int16_t yy_def[
|
503
|
+
static yyconst flex_int16_t yy_def[293] =
|
501
504
|
{ 0,
|
502
|
-
|
503
|
-
1, 1,
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
505
|
+
259, 1, 260, 260, 261, 261, 262, 262, 1, 1,
|
506
|
+
1, 1, 259, 259, 259, 259, 259, 259, 263, 259,
|
507
|
+
259, 263, 259, 15, 259, 264, 265, 266, 263, 259,
|
508
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
509
|
+
259, 15, 259, 24, 264, 15, 259, 24, 266, 15,
|
510
|
+
259, 259, 267, 268, 269, 259, 259, 270, 263, 259,
|
511
|
+
259, 271, 263, 24, 259, 267, 259, 259, 259, 265,
|
512
|
+
259, 263, 259, 259, 259, 259, 259, 259, 259, 259,
|
513
|
+
259, 259, 259, 259, 42, 267, 259, 44, 267, 259,
|
514
|
+
259, 46, 269, 259, 48, 259, 259, 268, 259, 259,
|
515
|
+
|
516
|
+
259, 259, 272, 273, 273, 273, 273, 273, 273, 273,
|
517
|
+
263, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
518
|
+
259, 259, 272, 273, 273, 273, 274, 273, 273, 273,
|
519
|
+
273, 263, 259, 275, 259, 259, 259, 259, 259, 259,
|
520
|
+
259, 259, 276, 273, 273, 274, 274, 273, 273, 273,
|
521
|
+
273, 259, 263, 277, 259, 259, 259, 259, 259, 259,
|
522
|
+
259, 259, 259, 276, 273, 273, 259, 278, 259, 279,
|
523
|
+
273, 273, 259, 273, 259, 277, 259, 277, 259, 259,
|
524
|
+
259, 259, 259, 280, 273, 259, 278, 259, 279, 273,
|
525
|
+
273, 173, 281, 173, 282, 283, 259, 259, 259, 280,
|
526
|
+
|
527
|
+
284, 273, 273, 259, 281, 192, 282, 285, 259, 259,
|
528
|
+
259, 259, 286, 284, 273, 259, 259, 259, 192, 259,
|
529
|
+
285, 259, 259, 259, 286, 259, 287, 273, 259, 259,
|
530
|
+
288, 259, 259, 259, 259, 287, 289, 259, 290, 288,
|
531
|
+
259, 259, 289, 289, 259, 290, 259, 259, 259, 291,
|
532
|
+
259, 292, 259, 259, 259, 291, 259, 292, 0, 259,
|
533
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
534
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
535
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
536
|
+
259, 259
|
537
|
+
|
533
538
|
} ;
|
534
539
|
|
535
|
-
static yyconst flex_int16_t yy_nxt[
|
540
|
+
static yyconst flex_int16_t yy_nxt[1124] =
|
536
541
|
{ 0,
|
537
542
|
14, 15, 16, 17, 15, 14, 14, 18, 14, 14,
|
538
543
|
14, 14, 14, 14, 14, 19, 19, 14, 20, 14,
|
539
|
-
19, 21, 14, 14, 19, 19, 19, 19, 19,
|
540
|
-
19,
|
541
|
-
19, 19, 19, 19, 19, 19, 14, 23, 24,
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
544
|
+
14, 19, 21, 14, 14, 19, 19, 19, 19, 19,
|
545
|
+
19, 19, 22, 19, 19, 19, 19, 19, 19, 19,
|
546
|
+
19, 19, 19, 19, 19, 19, 19, 14, 23, 24,
|
547
|
+
46, 72, 24, 46, 42, 25, 251, 42, 26, 31,
|
548
|
+
31, 31, 31, 43, 31, 31, 31, 31, 27, 58,
|
549
|
+
58, 92, 28, 47, 92, 152, 32, 249, 63, 257,
|
550
|
+
29, 32, 35, 35, 35, 35, 35, 35, 35, 35,
|
551
|
+
39, 39, 39, 39, 93, 39, 39, 39, 39, 36,
|
552
|
+
|
553
|
+
153, 60, 255, 36, 58, 58, 33, 40, 146, 146,
|
554
|
+
254, 33, 40, 44, 61, 48, 44, 95, 48, 25,
|
555
|
+
95, 25, 45, 127, 26, 57, 57, 57, 57, 37,
|
556
|
+
160, 160, 27, 37, 27, 128, 28, 41, 49, 147,
|
557
|
+
93, 253, 41, 142, 29, 147, 29, 50, 51, 52,
|
558
|
+
50, 57, 51, 57, 57, 64, 53, 67, 64, 238,
|
559
|
+
117, 65, 85, 117, 66, 85, 54, 143, 58, 58,
|
560
|
+
55, 86, 56, 73, 73, 73, 73, 248, 77, 77,
|
561
|
+
77, 77, 81, 81, 81, 81, 117, 169, 88, 118,
|
562
|
+
74, 88, 247, 119, 56, 78, 119, 89, 56, 82,
|
563
|
+
|
564
|
+
87, 87, 87, 87, 245, 134, 117, 87, 134, 117,
|
565
|
+
87, 170, 87, 226, 87, 87, 87, 90, 241, 117,
|
566
|
+
75, 91, 118, 204, 91, 79, 87, 142, 142, 83,
|
567
|
+
94, 94, 94, 94, 235, 119, 134, 94, 119, 134,
|
568
|
+
94, 144, 94, 94, 94, 94, 94, 103, 142, 148,
|
569
|
+
96, 143, 143, 96, 165, 96, 57, 57, 57, 57,
|
570
|
+
57, 51, 57, 57, 57, 57, 57, 57, 159, 212,
|
571
|
+
105, 159, 143, 106, 73, 73, 73, 73, 142, 234,
|
572
|
+
145, 107, 233, 108, 109, 161, 110, 77, 77, 77,
|
573
|
+
77, 74, 81, 81, 81, 81, 133, 133, 133, 133,
|
574
|
+
|
575
|
+
232, 142, 143, 56, 78, 149, 142, 56, 142, 82,
|
576
|
+
231, 56, 138, 138, 138, 138, 142, 177, 177, 150,
|
577
|
+
151, 75, 230, 142, 166, 143, 182, 182, 182, 182,
|
578
|
+
143, 224, 143, 171, 79, 159, 160, 160, 159, 83,
|
579
|
+
143, 146, 146, 133, 142, 173, 142, 143, 142, 167,
|
580
|
+
209, 142, 161, 209, 184, 142, 172, 223, 174, 138,
|
581
|
+
142, 185, 222, 178, 142, 190, 142, 210, 143, 212,
|
582
|
+
143, 142, 143, 168, 202, 143, 220, 191, 219, 143,
|
583
|
+
182, 182, 182, 182, 143, 218, 203, 217, 143, 211,
|
584
|
+
143, 229, 229, 213, 204, 143, 192, 192, 192, 192,
|
585
|
+
|
586
|
+
192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
|
587
|
+
193, 192, 192, 192, 192, 192, 192, 192, 192, 169,
|
588
|
+
192, 194, 194, 194, 194, 194, 194, 194, 194, 194,
|
589
|
+
194, 194, 194, 194, 194, 194, 194, 194, 194, 194,
|
590
|
+
194, 194, 194, 192, 192, 195, 177, 177, 177, 177,
|
591
|
+
201, 142, 192, 142, 216, 206, 142, 226, 242, 242,
|
592
|
+
142, 204, 208, 142, 208, 209, 237, 251, 209, 215,
|
593
|
+
243, 243, 142, 208, 208, 143, 167, 143, 228, 244,
|
594
|
+
143, 227, 210, 199, 143, 244, 208, 143, 208, 242,
|
595
|
+
242, 252, 178, 198, 178, 192, 143, 208, 208, 197,
|
596
|
+
|
597
|
+
196, 188, 186, 142, 204, 183, 192, 192, 192, 192,
|
598
|
+
192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
|
599
|
+
192, 192, 192, 192, 192, 192, 192, 192, 229, 229,
|
600
|
+
243, 243, 181, 180, 179, 152, 238, 175, 249, 163,
|
601
|
+
162, 158, 157, 156, 155, 141, 140, 139, 137, 136,
|
602
|
+
135, 132, 131, 130, 129, 126, 125, 122, 121, 120,
|
603
|
+
239, 69, 250, 30, 30, 30, 30, 30, 30, 30,
|
604
|
+
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
|
605
|
+
30, 34, 34, 34, 34, 34, 34, 34, 34, 34,
|
606
|
+
34, 34, 34, 34, 34, 34, 34, 34, 34, 38,
|
607
|
+
|
608
|
+
38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
|
609
|
+
38, 38, 38, 38, 38, 38, 38, 59, 116, 59,
|
610
|
+
84, 115, 80, 59, 68, 114, 76, 68, 68, 68,
|
611
|
+
68, 68, 113, 68, 112, 68, 68, 68, 68, 68,
|
612
|
+
68, 68, 70, 70, 69, 70, 70, 70, 70, 70,
|
613
|
+
70, 70, 70, 70, 67, 70, 70, 70, 70, 70,
|
614
|
+
71, 69, 67, 111, 71, 71, 71, 71, 71, 71,
|
615
|
+
71, 71, 71, 71, 71, 71, 102, 71, 97, 101,
|
616
|
+
84, 80, 97, 97, 97, 97, 76, 97, 69, 97,
|
617
|
+
97, 97, 97, 97, 97, 97, 98, 98, 63, 98,
|
618
|
+
|
619
|
+
98, 98, 98, 98, 98, 98, 98, 98, 62, 98,
|
620
|
+
98, 98, 98, 98, 99, 259, 259, 259, 99, 99,
|
621
|
+
99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
|
622
|
+
259, 99, 100, 100, 100, 100, 259, 259, 100, 259,
|
623
|
+
100, 100, 100, 104, 259, 259, 104, 259, 104, 259,
|
624
|
+
104, 259, 259, 104, 104, 123, 123, 259, 123, 123,
|
625
|
+
123, 123, 123, 123, 123, 123, 123, 123, 123, 259,
|
626
|
+
259, 123, 123, 124, 259, 259, 124, 259, 124, 259,
|
627
|
+
124, 259, 259, 124, 124, 154, 154, 259, 154, 154,
|
628
|
+
154, 154, 154, 154, 154, 154, 154, 154, 154, 154,
|
629
|
+
|
630
|
+
154, 154, 154, 164, 164, 164, 164, 164, 164, 164,
|
631
|
+
164, 164, 164, 164, 164, 164, 164, 259, 259, 164,
|
632
|
+
164, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
633
|
+
176, 176, 176, 176, 176, 176, 176, 176, 176, 187,
|
634
|
+
187, 187, 187, 187, 187, 187, 187, 187, 187, 187,
|
635
|
+
187, 187, 187, 259, 259, 187, 187, 189, 189, 189,
|
636
|
+
189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
|
637
|
+
189, 259, 259, 189, 189, 200, 200, 200, 259, 200,
|
638
|
+
259, 259, 200, 200, 205, 205, 205, 205, 205, 205,
|
639
|
+
205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
|
640
|
+
|
641
|
+
205, 205, 207, 207, 207, 207, 207, 207, 207, 207,
|
642
|
+
207, 207, 207, 207, 207, 207, 207, 259, 207, 207,
|
643
|
+
208, 208, 259, 259, 208, 259, 208, 259, 259, 208,
|
644
|
+
208, 208, 208, 208, 208, 208, 208, 208, 214, 214,
|
645
|
+
214, 259, 214, 259, 259, 214, 214, 221, 221, 259,
|
646
|
+
259, 221, 259, 221, 259, 259, 221, 221, 221, 221,
|
647
|
+
221, 221, 221, 221, 221, 225, 225, 225, 225, 225,
|
648
|
+
225, 225, 225, 225, 225, 225, 225, 225, 225, 259,
|
649
|
+
259, 225, 225, 236, 236, 236, 236, 236, 236, 236,
|
650
|
+
236, 236, 236, 236, 236, 236, 236, 259, 259, 236,
|
651
|
+
|
652
|
+
236, 240, 240, 240, 240, 240, 240, 240, 240, 240,
|
653
|
+
240, 240, 240, 240, 240, 240, 240, 240, 240, 246,
|
654
|
+
246, 246, 246, 246, 246, 246, 246, 246, 246, 246,
|
655
|
+
246, 246, 246, 259, 259, 246, 246, 256, 256, 256,
|
656
|
+
256, 256, 256, 256, 256, 256, 256, 256, 256, 256,
|
657
|
+
256, 259, 259, 256, 256, 258, 258, 258, 258, 258,
|
658
|
+
258, 258, 258, 258, 258, 258, 258, 258, 258, 259,
|
659
|
+
259, 258, 258, 13, 259, 259, 259, 259, 259, 259,
|
660
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
661
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
662
|
+
|
663
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
664
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
665
|
+
259, 259, 259
|
655
666
|
} ;
|
656
667
|
|
657
|
-
static yyconst flex_int16_t yy_chk[
|
668
|
+
static yyconst flex_int16_t yy_chk[1124] =
|
658
669
|
{ 0,
|
659
670
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
660
671
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
661
672
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
662
673
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
663
|
-
1, 1, 1, 1, 1, 1, 1, 1, 2,
|
664
|
-
|
665
|
-
3, 3,
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
0,
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
269, 270, 270, 270, 270, 0, 0, 270, 270, 271,
|
752
|
-
271, 271, 271, 271, 271, 271, 271, 271, 271, 271,
|
753
|
-
271, 271, 271, 271, 271, 271, 272, 272, 272, 272,
|
754
|
-
272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
|
755
|
-
0, 272, 272, 273, 273, 0, 0, 273, 0, 273,
|
756
|
-
0, 0, 273, 273, 273, 273, 273, 273, 273, 273,
|
757
|
-
|
758
|
-
274, 274, 274, 274, 0, 0, 274, 274, 275, 275,
|
759
|
-
0, 0, 275, 0, 275, 0, 0, 275, 275, 275,
|
760
|
-
275, 275, 275, 275, 275, 276, 276, 276, 276, 276,
|
761
|
-
276, 276, 276, 276, 276, 276, 276, 276, 0, 0,
|
762
|
-
276, 276, 277, 277, 277, 277, 277, 277, 277, 277,
|
763
|
-
277, 277, 277, 277, 277, 0, 0, 277, 277, 278,
|
674
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
|
675
|
+
11, 29, 2, 11, 9, 2, 258, 9, 2, 3,
|
676
|
+
3, 3, 3, 9, 4, 4, 4, 4, 2, 18,
|
677
|
+
18, 46, 2, 11, 46, 132, 3, 256, 29, 251,
|
678
|
+
2, 4, 5, 5, 5, 5, 6, 6, 6, 6,
|
679
|
+
7, 7, 7, 7, 46, 8, 8, 8, 8, 5,
|
680
|
+
|
681
|
+
132, 20, 249, 6, 58, 58, 3, 7, 127, 127,
|
682
|
+
248, 4, 8, 10, 20, 12, 10, 48, 12, 10,
|
683
|
+
48, 12, 10, 107, 12, 16, 16, 16, 16, 5,
|
684
|
+
160, 160, 10, 6, 12, 107, 10, 7, 12, 274,
|
685
|
+
48, 247, 8, 124, 10, 274, 12, 15, 15, 15,
|
686
|
+
15, 17, 17, 17, 17, 24, 15, 25, 24, 246,
|
687
|
+
86, 24, 42, 86, 24, 42, 15, 124, 25, 25,
|
688
|
+
15, 42, 16, 31, 31, 31, 31, 241, 35, 35,
|
689
|
+
35, 35, 39, 39, 39, 39, 89, 147, 44, 89,
|
690
|
+
31, 44, 240, 93, 15, 35, 93, 44, 17, 39,
|
691
|
+
|
692
|
+
43, 43, 43, 43, 238, 113, 117, 43, 113, 117,
|
693
|
+
43, 147, 43, 236, 45, 45, 45, 45, 233, 118,
|
694
|
+
31, 45, 118, 231, 45, 35, 45, 128, 125, 39,
|
695
|
+
47, 47, 47, 47, 226, 119, 134, 47, 119, 134,
|
696
|
+
47, 125, 47, 49, 49, 49, 49, 62, 144, 128,
|
697
|
+
49, 128, 125, 49, 144, 49, 51, 51, 51, 51,
|
698
|
+
52, 52, 52, 52, 57, 57, 57, 57, 159, 225,
|
699
|
+
62, 159, 144, 62, 73, 73, 73, 73, 126, 223,
|
700
|
+
126, 62, 222, 62, 62, 159, 62, 77, 77, 77,
|
701
|
+
77, 73, 81, 81, 81, 81, 112, 112, 112, 112,
|
702
|
+
|
703
|
+
220, 129, 126, 51, 77, 129, 130, 52, 131, 81,
|
704
|
+
219, 57, 120, 120, 120, 120, 145, 154, 154, 130,
|
705
|
+
131, 73, 218, 148, 145, 129, 158, 158, 158, 158,
|
706
|
+
130, 212, 131, 148, 77, 140, 140, 140, 140, 81,
|
707
|
+
145, 146, 146, 112, 149, 150, 171, 148, 151, 146,
|
708
|
+
197, 150, 140, 197, 165, 166, 149, 211, 151, 120,
|
709
|
+
165, 166, 210, 154, 190, 171, 191, 197, 149, 200,
|
710
|
+
171, 172, 151, 146, 190, 150, 207, 172, 206, 166,
|
711
|
+
182, 182, 182, 182, 165, 205, 191, 204, 190, 199,
|
712
|
+
191, 216, 216, 200, 193, 172, 173, 173, 173, 173,
|
713
|
+
|
714
|
+
173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
|
715
|
+
173, 173, 173, 173, 173, 173, 173, 173, 173, 189,
|
716
|
+
173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
|
717
|
+
173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
|
718
|
+
173, 173, 173, 173, 173, 174, 176, 176, 178, 178,
|
719
|
+
185, 174, 194, 202, 203, 194, 185, 214, 234, 234,
|
720
|
+
203, 194, 208, 215, 208, 209, 228, 244, 209, 202,
|
721
|
+
237, 237, 228, 208, 208, 174, 187, 202, 215, 289,
|
722
|
+
185, 214, 209, 183, 203, 289, 221, 215, 221, 242,
|
723
|
+
242, 244, 176, 181, 178, 192, 228, 221, 221, 179,
|
724
|
+
|
725
|
+
175, 169, 167, 164, 192, 161, 192, 192, 192, 192,
|
726
|
+
192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
|
727
|
+
192, 192, 192, 192, 192, 192, 192, 192, 229, 229,
|
728
|
+
243, 243, 157, 156, 155, 153, 229, 152, 243, 142,
|
729
|
+
141, 139, 137, 136, 135, 123, 122, 121, 116, 115,
|
730
|
+
114, 111, 110, 109, 108, 106, 105, 102, 101, 98,
|
731
|
+
229, 90, 243, 260, 260, 260, 260, 260, 260, 260,
|
732
|
+
260, 260, 260, 260, 260, 260, 260, 260, 260, 260,
|
733
|
+
260, 261, 261, 261, 261, 261, 261, 261, 261, 261,
|
734
|
+
261, 261, 261, 261, 261, 261, 261, 261, 261, 262,
|
735
|
+
|
736
|
+
262, 262, 262, 262, 262, 262, 262, 262, 262, 262,
|
737
|
+
262, 262, 262, 262, 262, 262, 262, 263, 84, 263,
|
738
|
+
82, 80, 78, 263, 264, 76, 74, 264, 264, 264,
|
739
|
+
264, 264, 72, 264, 70, 264, 264, 264, 264, 264,
|
740
|
+
264, 264, 265, 265, 69, 265, 265, 265, 265, 265,
|
741
|
+
265, 265, 265, 265, 67, 265, 265, 265, 265, 265,
|
742
|
+
266, 66, 65, 63, 266, 266, 266, 266, 266, 266,
|
743
|
+
266, 266, 266, 266, 266, 266, 61, 266, 267, 60,
|
744
|
+
40, 36, 267, 267, 267, 267, 32, 267, 26, 267,
|
745
|
+
267, 267, 267, 267, 267, 267, 268, 268, 22, 268,
|
746
|
+
|
747
|
+
268, 268, 268, 268, 268, 268, 268, 268, 21, 268,
|
748
|
+
268, 268, 268, 268, 269, 13, 0, 0, 269, 269,
|
749
|
+
269, 269, 269, 269, 269, 269, 269, 269, 269, 269,
|
750
|
+
0, 269, 270, 270, 270, 270, 0, 0, 270, 0,
|
751
|
+
270, 270, 270, 271, 0, 0, 271, 0, 271, 0,
|
752
|
+
271, 0, 0, 271, 271, 272, 272, 0, 272, 272,
|
753
|
+
272, 272, 272, 272, 272, 272, 272, 272, 272, 0,
|
754
|
+
0, 272, 272, 273, 0, 0, 273, 0, 273, 0,
|
755
|
+
273, 0, 0, 273, 273, 275, 275, 0, 275, 275,
|
756
|
+
275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
|
757
|
+
|
758
|
+
275, 275, 275, 276, 276, 276, 276, 276, 276, 276,
|
759
|
+
276, 276, 276, 276, 276, 276, 276, 0, 0, 276,
|
760
|
+
276, 277, 277, 277, 277, 277, 277, 277, 277, 277,
|
761
|
+
277, 277, 277, 277, 277, 277, 277, 277, 277, 278,
|
764
762
|
278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
|
765
|
-
278, 278, 278,
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
281, 281, 281, 281, 281, 281,
|
770
|
-
|
771
|
-
282, 282, 282,
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
763
|
+
278, 278, 278, 0, 0, 278, 278, 279, 279, 279,
|
764
|
+
279, 279, 279, 279, 279, 279, 279, 279, 279, 279,
|
765
|
+
279, 0, 0, 279, 279, 280, 280, 280, 0, 280,
|
766
|
+
0, 0, 280, 280, 281, 281, 281, 281, 281, 281,
|
767
|
+
281, 281, 281, 281, 281, 281, 281, 281, 281, 281,
|
768
|
+
|
769
|
+
281, 281, 282, 282, 282, 282, 282, 282, 282, 282,
|
770
|
+
282, 282, 282, 282, 282, 282, 282, 0, 282, 282,
|
771
|
+
283, 283, 0, 0, 283, 0, 283, 0, 0, 283,
|
772
|
+
283, 283, 283, 283, 283, 283, 283, 283, 284, 284,
|
773
|
+
284, 0, 284, 0, 0, 284, 284, 285, 285, 0,
|
774
|
+
0, 285, 0, 285, 0, 0, 285, 285, 285, 285,
|
775
|
+
285, 285, 285, 285, 285, 286, 286, 286, 286, 286,
|
776
|
+
286, 286, 286, 286, 286, 286, 286, 286, 286, 0,
|
777
|
+
0, 286, 286, 287, 287, 287, 287, 287, 287, 287,
|
778
|
+
287, 287, 287, 287, 287, 287, 287, 0, 0, 287,
|
779
|
+
|
780
|
+
287, 288, 288, 288, 288, 288, 288, 288, 288, 288,
|
781
|
+
288, 288, 288, 288, 288, 288, 288, 288, 288, 290,
|
782
|
+
290, 290, 290, 290, 290, 290, 290, 290, 290, 290,
|
783
|
+
290, 290, 290, 0, 0, 290, 290, 291, 291, 291,
|
784
|
+
291, 291, 291, 291, 291, 291, 291, 291, 291, 291,
|
785
|
+
291, 0, 0, 291, 291, 292, 292, 292, 292, 292,
|
786
|
+
292, 292, 292, 292, 292, 292, 292, 292, 292, 0,
|
787
|
+
0, 292, 292, 259, 259, 259, 259, 259, 259, 259,
|
788
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
789
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
790
|
+
|
791
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
792
|
+
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
793
|
+
259, 259, 259
|
777
794
|
} ;
|
778
795
|
|
779
796
|
extern int yy_flex_debug;
|
@@ -881,7 +898,7 @@ extern size_t in_buf_len;
|
|
881
898
|
|
882
899
|
|
883
900
|
|
884
|
-
#line
|
901
|
+
#line 902 "lex.yy.c"
|
885
902
|
|
886
903
|
#define INITIAL 0
|
887
904
|
#define _PRE_CODE 1
|
@@ -1084,7 +1101,7 @@ YY_DECL
|
|
1084
1101
|
#line 85 "parser.l"
|
1085
1102
|
|
1086
1103
|
|
1087
|
-
#line
|
1104
|
+
#line 1105 "lex.yy.c"
|
1088
1105
|
|
1089
1106
|
if ( !(yy_init) )
|
1090
1107
|
{
|
@@ -1143,14 +1160,14 @@ yy_match:
|
|
1143
1160
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
1144
1161
|
{
|
1145
1162
|
yy_current_state = (int) yy_def[yy_current_state];
|
1146
|
-
if ( yy_current_state >=
|
1163
|
+
if ( yy_current_state >= 260 )
|
1147
1164
|
yy_c = yy_meta[(unsigned int) yy_c];
|
1148
1165
|
}
|
1149
1166
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
1150
1167
|
*(yy_state_ptr)++ = yy_current_state;
|
1151
1168
|
++yy_cp;
|
1152
1169
|
}
|
1153
|
-
while ( yy_base[yy_current_state] !=
|
1170
|
+
while ( yy_base[yy_current_state] != 1074 );
|
1154
1171
|
|
1155
1172
|
yy_find_action:
|
1156
1173
|
yy_current_state = *--(yy_state_ptr);
|
@@ -1276,6 +1293,24 @@ case 11:
|
|
1276
1293
|
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1277
1294
|
YY_RULE_SETUP
|
1278
1295
|
#line 108 "parser.l"
|
1296
|
+
{ yylval.svalue = yytext; return INLINE_CODE; }
|
1297
|
+
YY_BREAK
|
1298
|
+
case 12:
|
1299
|
+
/* rule 12 can match eol */
|
1300
|
+
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
1301
|
+
(yy_c_buf_p) = yy_cp -= 1;
|
1302
|
+
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1303
|
+
YY_RULE_SETUP
|
1304
|
+
#line 109 "parser.l"
|
1305
|
+
{ yylval.svalue = yytext; return INLINE_CODE; }
|
1306
|
+
YY_BREAK
|
1307
|
+
case 13:
|
1308
|
+
/* rule 13 can match eol */
|
1309
|
+
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
1310
|
+
(yy_c_buf_p) = yy_cp -= 1;
|
1311
|
+
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1312
|
+
YY_RULE_SETUP
|
1313
|
+
#line 111 "parser.l"
|
1279
1314
|
{
|
1280
1315
|
yylval.svalue = yytext+4;
|
1281
1316
|
switch(yytext[1]){
|
@@ -1288,232 +1323,232 @@ YY_RULE_SETUP
|
|
1288
1323
|
return H1;
|
1289
1324
|
}
|
1290
1325
|
YY_BREAK
|
1291
|
-
case 12:
|
1292
|
-
YY_RULE_SETUP
|
1293
|
-
#line 120 "parser.l"
|
1294
|
-
{ return ULI; }
|
1295
|
-
YY_BREAK
|
1296
|
-
case 13:
|
1297
|
-
YY_RULE_SETUP
|
1298
|
-
#line 121 "parser.l"
|
1299
|
-
{ return OLI; }
|
1300
|
-
YY_BREAK
|
1301
1326
|
case 14:
|
1302
1327
|
YY_RULE_SETUP
|
1303
1328
|
#line 123 "parser.l"
|
1304
|
-
{
|
1329
|
+
{ return ULI; }
|
1305
1330
|
YY_BREAK
|
1306
1331
|
case 15:
|
1307
|
-
/* rule 15 can match eol */
|
1308
|
-
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
1309
|
-
(yy_c_buf_p) = yy_cp -= 1;
|
1310
|
-
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1311
1332
|
YY_RULE_SETUP
|
1312
|
-
#line
|
1313
|
-
{
|
1333
|
+
#line 124 "parser.l"
|
1334
|
+
{ return OLI; }
|
1314
1335
|
YY_BREAK
|
1315
1336
|
case 16:
|
1316
|
-
/* rule 16 can match eol */
|
1317
1337
|
YY_RULE_SETUP
|
1318
1338
|
#line 126 "parser.l"
|
1319
|
-
{ yylval.svalue = yytext; return
|
1339
|
+
{ yylval.svalue = yytext; return URL; }
|
1320
1340
|
YY_BREAK
|
1321
1341
|
case 17:
|
1322
1342
|
/* rule 17 can match eol */
|
1343
|
+
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
1344
|
+
(yy_c_buf_p) = yy_cp -= 1;
|
1345
|
+
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1323
1346
|
YY_RULE_SETUP
|
1324
1347
|
#line 128 "parser.l"
|
1325
|
-
{ yylval.svalue = yytext
|
1348
|
+
{ yylval.svalue = yytext; return TICKET_LINK; }
|
1326
1349
|
YY_BREAK
|
1327
1350
|
case 18:
|
1328
1351
|
/* rule 18 can match eol */
|
1329
1352
|
YY_RULE_SETUP
|
1330
1353
|
#line 129 "parser.l"
|
1331
|
-
{ yylval.svalue = yytext
|
1354
|
+
{ yylval.svalue = yytext; return TICKET_LINK; }
|
1332
1355
|
YY_BREAK
|
1333
1356
|
case 19:
|
1334
1357
|
/* rule 19 can match eol */
|
1335
1358
|
YY_RULE_SETUP
|
1336
|
-
#line
|
1337
|
-
{ yylval.svalue = yytext+
|
1359
|
+
#line 131 "parser.l"
|
1360
|
+
{ yylval.svalue = yytext+11; return SVN_REVISION_LINK; }
|
1338
1361
|
YY_BREAK
|
1339
1362
|
case 20:
|
1340
1363
|
/* rule 20 can match eol */
|
1341
1364
|
YY_RULE_SETUP
|
1342
|
-
#line
|
1343
|
-
{ yylval.svalue = yytext+
|
1365
|
+
#line 132 "parser.l"
|
1366
|
+
{ yylval.svalue = yytext+11; return GIT_REVISION_LINK; }
|
1344
1367
|
YY_BREAK
|
1345
1368
|
case 21:
|
1346
1369
|
/* rule 21 can match eol */
|
1347
1370
|
YY_RULE_SETUP
|
1348
1371
|
#line 133 "parser.l"
|
1349
|
-
{ yylval.svalue = yytext+
|
1372
|
+
{ yylval.svalue = yytext+4; return SVN_REVISION_LINK; }
|
1350
1373
|
YY_BREAK
|
1351
1374
|
case 22:
|
1352
1375
|
/* rule 22 can match eol */
|
1353
1376
|
YY_RULE_SETUP
|
1354
1377
|
#line 134 "parser.l"
|
1355
|
-
{ yylval.svalue = yytext+
|
1378
|
+
{ yylval.svalue = yytext+4; return GIT_REVISION_LINK; }
|
1356
1379
|
YY_BREAK
|
1357
1380
|
case 23:
|
1358
1381
|
/* rule 23 can match eol */
|
1359
1382
|
YY_RULE_SETUP
|
1360
|
-
#line
|
1361
|
-
{ yylval.svalue = yytext+6; return
|
1383
|
+
#line 136 "parser.l"
|
1384
|
+
{ yylval.svalue = yytext+6; return URL_WITH_PROTO_LINK; }
|
1362
1385
|
YY_BREAK
|
1363
1386
|
case 24:
|
1364
1387
|
/* rule 24 can match eol */
|
1365
1388
|
YY_RULE_SETUP
|
1366
1389
|
#line 137 "parser.l"
|
1367
|
-
{ yylval.svalue = yytext+
|
1390
|
+
{ yylval.svalue = yytext+6; return URL_WITH_PROTO_LINK; }
|
1368
1391
|
YY_BREAK
|
1369
1392
|
case 25:
|
1370
1393
|
/* rule 25 can match eol */
|
1371
1394
|
YY_RULE_SETUP
|
1372
1395
|
#line 138 "parser.l"
|
1373
|
-
{ yylval.svalue = yytext+
|
1396
|
+
{ yylval.svalue = yytext+6; return URL_WITHOUT_PROTO_LINK; }
|
1374
1397
|
YY_BREAK
|
1375
1398
|
case 26:
|
1399
|
+
/* rule 26 can match eol */
|
1376
1400
|
YY_RULE_SETUP
|
1377
1401
|
#line 140 "parser.l"
|
1378
|
-
{ yylval.svalue = yytext+
|
1402
|
+
{ yylval.svalue = yytext+7; return WIKI_LINK; }
|
1379
1403
|
YY_BREAK
|
1380
1404
|
case 27:
|
1381
1405
|
/* rule 27 can match eol */
|
1382
1406
|
YY_RULE_SETUP
|
1383
|
-
#line
|
1384
|
-
{ yylval.svalue = yytext+
|
1407
|
+
#line 141 "parser.l"
|
1408
|
+
{ yylval.svalue = yytext+2; return WIKI_LINK; }
|
1385
1409
|
YY_BREAK
|
1386
1410
|
case 28:
|
1387
|
-
/* rule 28 can match eol */
|
1388
1411
|
YY_RULE_SETUP
|
1389
1412
|
#line 143 "parser.l"
|
1390
|
-
{ yylval.svalue = yytext+
|
1413
|
+
{ yylval.svalue = yytext+3; return ANCHOR_LINK; }
|
1391
1414
|
YY_BREAK
|
1392
1415
|
case 29:
|
1416
|
+
/* rule 29 can match eol */
|
1393
1417
|
YY_RULE_SETUP
|
1394
1418
|
#line 145 "parser.l"
|
1395
|
-
|
1419
|
+
{ yylval.svalue = yytext+7; return FILE_LINK; }
|
1396
1420
|
YY_BREAK
|
1397
1421
|
case 30:
|
1422
|
+
/* rule 30 can match eol */
|
1398
1423
|
YY_RULE_SETUP
|
1399
1424
|
#line 146 "parser.l"
|
1400
|
-
{ yylval.
|
1425
|
+
{ yylval.svalue = yytext+8; return IMAGE_LINK; }
|
1401
1426
|
YY_BREAK
|
1402
1427
|
case 31:
|
1403
1428
|
YY_RULE_SETUP
|
1404
1429
|
#line 148 "parser.l"
|
1405
|
-
|
1430
|
+
; /* skip spaces at line start */
|
1406
1431
|
YY_BREAK
|
1407
1432
|
case 32:
|
1408
1433
|
YY_RULE_SETUP
|
1409
|
-
#line
|
1410
|
-
{ yylval.ivalue =
|
1434
|
+
#line 149 "parser.l"
|
1435
|
+
{ yylval.ivalue = ' '; return T_CHAR; }
|
1411
1436
|
YY_BREAK
|
1412
1437
|
case 33:
|
1413
|
-
/* rule 33 can match eol */
|
1414
1438
|
YY_RULE_SETUP
|
1415
|
-
#line
|
1416
|
-
{
|
1439
|
+
#line 151 "parser.l"
|
1440
|
+
{ yylval.svalue = yytext; return T_WORD; }
|
1417
1441
|
YY_BREAK
|
1418
1442
|
case 34:
|
1419
|
-
/* rule 34 can match eol */
|
1420
1443
|
YY_RULE_SETUP
|
1421
|
-
#line
|
1422
|
-
{
|
1444
|
+
#line 153 "parser.l"
|
1445
|
+
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1423
1446
|
YY_BREAK
|
1424
1447
|
case 35:
|
1448
|
+
/* rule 35 can match eol */
|
1425
1449
|
YY_RULE_SETUP
|
1426
|
-
#line 156 "parser.l"
|
1427
|
-
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1428
|
-
YY_BREAK
|
1429
|
-
case YY_STATE_EOF(_PRE_CODE):
|
1430
1450
|
#line 157 "parser.l"
|
1431
1451
|
{ BEGIN INITIAL; return PRE_CODE_END; }
|
1432
1452
|
YY_BREAK
|
1433
1453
|
case 36:
|
1434
1454
|
/* rule 36 can match eol */
|
1435
1455
|
YY_RULE_SETUP
|
1436
|
-
#line
|
1437
|
-
{ BEGIN INITIAL; return
|
1456
|
+
#line 158 "parser.l"
|
1457
|
+
{ BEGIN INITIAL; return PRE_CODE_END; }
|
1438
1458
|
YY_BREAK
|
1439
1459
|
case 37:
|
1440
|
-
/* rule 37 can match eol */
|
1441
1460
|
YY_RULE_SETUP
|
1461
|
+
#line 159 "parser.l"
|
1462
|
+
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1463
|
+
YY_BREAK
|
1464
|
+
case YY_STATE_EOF(_PRE_CODE):
|
1442
1465
|
#line 160 "parser.l"
|
1443
|
-
{ BEGIN INITIAL; return
|
1466
|
+
{ BEGIN INITIAL; return PRE_CODE_END; }
|
1444
1467
|
YY_BREAK
|
1445
1468
|
case 38:
|
1469
|
+
/* rule 38 can match eol */
|
1446
1470
|
YY_RULE_SETUP
|
1447
|
-
#line 161 "parser.l"
|
1448
|
-
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1449
|
-
YY_BREAK
|
1450
|
-
case YY_STATE_EOF(_PRE):
|
1451
1471
|
#line 162 "parser.l"
|
1452
1472
|
{ BEGIN INITIAL; return PRE_END; }
|
1453
1473
|
YY_BREAK
|
1454
1474
|
case 39:
|
1455
1475
|
/* rule 39 can match eol */
|
1456
1476
|
YY_RULE_SETUP
|
1457
|
-
#line
|
1458
|
-
{
|
1477
|
+
#line 163 "parser.l"
|
1478
|
+
{ BEGIN INITIAL; return PRE_END; }
|
1459
1479
|
YY_BREAK
|
1460
1480
|
case 40:
|
1461
|
-
/* rule 40 can match eol */
|
1462
1481
|
YY_RULE_SETUP
|
1482
|
+
#line 164 "parser.l"
|
1483
|
+
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1484
|
+
YY_BREAK
|
1485
|
+
case YY_STATE_EOF(_PRE):
|
1463
1486
|
#line 165 "parser.l"
|
1464
|
-
{
|
1487
|
+
{ BEGIN INITIAL; return PRE_END; }
|
1465
1488
|
YY_BREAK
|
1466
1489
|
case 41:
|
1490
|
+
/* rule 41 can match eol */
|
1467
1491
|
YY_RULE_SETUP
|
1468
|
-
#line 166 "parser.l"
|
1469
|
-
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1470
|
-
YY_BREAK
|
1471
|
-
case YY_STATE_EOF(_CODE):
|
1472
1492
|
#line 167 "parser.l"
|
1473
1493
|
{ yy_pop_state(); return CODE_END; }
|
1474
1494
|
YY_BREAK
|
1475
1495
|
case 42:
|
1496
|
+
/* rule 42 can match eol */
|
1497
|
+
YY_RULE_SETUP
|
1498
|
+
#line 168 "parser.l"
|
1499
|
+
{ yy_pop_state(); return CODE_END; }
|
1500
|
+
YY_BREAK
|
1501
|
+
case 43:
|
1476
1502
|
YY_RULE_SETUP
|
1477
1503
|
#line 169 "parser.l"
|
1504
|
+
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1505
|
+
YY_BREAK
|
1506
|
+
case YY_STATE_EOF(_CODE):
|
1507
|
+
#line 170 "parser.l"
|
1508
|
+
{ yy_pop_state(); return CODE_END; }
|
1509
|
+
YY_BREAK
|
1510
|
+
case 44:
|
1511
|
+
YY_RULE_SETUP
|
1512
|
+
#line 172 "parser.l"
|
1478
1513
|
{ yylval.svalue = " *"; return T_WORD; } /* skip lone star */
|
1479
1514
|
YY_BREAK
|
1480
|
-
case
|
1481
|
-
/* rule
|
1515
|
+
case 45:
|
1516
|
+
/* rule 45 can match eol */
|
1482
1517
|
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
1483
1518
|
(yy_c_buf_p) = yy_cp = yy_bp + 1;
|
1484
1519
|
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1485
1520
|
YY_RULE_SETUP
|
1486
|
-
#line
|
1521
|
+
#line 173 "parser.l"
|
1487
1522
|
{ yy_pop_state(); return BOLD_END; }
|
1488
1523
|
YY_BREAK
|
1489
1524
|
case YY_STATE_EOF(_BOLD):
|
1490
|
-
#line
|
1525
|
+
#line 174 "parser.l"
|
1491
1526
|
{ yy_pop_state(); return BOLD_END; }
|
1492
1527
|
YY_BREAK
|
1493
|
-
case
|
1528
|
+
case 46:
|
1494
1529
|
YY_RULE_SETUP
|
1495
|
-
#line
|
1530
|
+
#line 176 "parser.l"
|
1496
1531
|
{ yylval.svalue = " _"; return T_WORD; } /* skip lone underscore */
|
1497
1532
|
YY_BREAK
|
1498
|
-
case
|
1499
|
-
/* rule
|
1533
|
+
case 47:
|
1534
|
+
/* rule 47 can match eol */
|
1500
1535
|
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
1501
1536
|
(yy_c_buf_p) = yy_cp = yy_bp + 1;
|
1502
1537
|
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1503
1538
|
YY_RULE_SETUP
|
1504
|
-
#line
|
1539
|
+
#line 177 "parser.l"
|
1505
1540
|
{ yy_pop_state(); return ITALIC_END; }
|
1506
1541
|
YY_BREAK
|
1507
1542
|
case YY_STATE_EOF(_ITALIC):
|
1508
|
-
#line
|
1543
|
+
#line 178 "parser.l"
|
1509
1544
|
{ yy_pop_state(); return ITALIC_END; }
|
1510
1545
|
YY_BREAK
|
1511
|
-
case
|
1546
|
+
case 48:
|
1512
1547
|
YY_RULE_SETUP
|
1513
|
-
#line
|
1548
|
+
#line 180 "parser.l"
|
1514
1549
|
ECHO;
|
1515
1550
|
YY_BREAK
|
1516
|
-
#line
|
1551
|
+
#line 1552 "lex.yy.c"
|
1517
1552
|
case YY_STATE_EOF(INITIAL):
|
1518
1553
|
yyterminate();
|
1519
1554
|
|
@@ -1775,7 +1810,7 @@ static int yy_get_next_buffer (void)
|
|
1775
1810
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
1776
1811
|
{
|
1777
1812
|
yy_current_state = (int) yy_def[yy_current_state];
|
1778
|
-
if ( yy_current_state >=
|
1813
|
+
if ( yy_current_state >= 260 )
|
1779
1814
|
yy_c = yy_meta[(unsigned int) yy_c];
|
1780
1815
|
}
|
1781
1816
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
@@ -1798,11 +1833,11 @@ static int yy_get_next_buffer (void)
|
|
1798
1833
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
1799
1834
|
{
|
1800
1835
|
yy_current_state = (int) yy_def[yy_current_state];
|
1801
|
-
if ( yy_current_state >=
|
1836
|
+
if ( yy_current_state >= 260 )
|
1802
1837
|
yy_c = yy_meta[(unsigned int) yy_c];
|
1803
1838
|
}
|
1804
1839
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
1805
|
-
yy_is_jam = (yy_current_state ==
|
1840
|
+
yy_is_jam = (yy_current_state == 259);
|
1806
1841
|
if ( ! yy_is_jam )
|
1807
1842
|
*(yy_state_ptr)++ = yy_current_state;
|
1808
1843
|
|
@@ -2543,7 +2578,7 @@ void yyfree (void * ptr )
|
|
2543
2578
|
|
2544
2579
|
#define YYTABLES_NAME "yytables"
|
2545
2580
|
|
2546
|
-
#line
|
2581
|
+
#line 180 "parser.l"
|
2547
2582
|
|
2548
2583
|
|
2549
2584
|
|