breakout_parser 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/breakout_parser/lex.yy.c +401 -361
- data/ext/breakout_parser/parser.l +3 -0
- data/ext/breakout_parser/parser.tab.c +222 -175
- data/ext/breakout_parser/parser.tab.h +22 -20
- data/ext/breakout_parser/parser.y +29 -2
- data/spec/parser_spec.rb +61 -27
- 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 46
|
363
|
+
#define YY_END_OF_BUFFER 47
|
364
364
|
/* This struct is not used in this scanner,
|
365
365
|
but its presence is necessary. */
|
366
366
|
struct yy_trans_info
|
@@ -368,28 +368,28 @@ 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[161] =
|
372
372
|
{ 0,
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
3, 2,
|
383
|
-
|
384
|
-
|
385
|
-
12,
|
386
|
-
|
387
|
-
5,
|
388
|
-
19, 20, 20,
|
389
|
-
4, 16, 21, 23,
|
373
|
+
47, 32, 46, 30, 32, 46, 3, 46, 3, 32,
|
374
|
+
46, 32, 46, 31, 32, 46, 32, 46, 32, 46,
|
375
|
+
31, 32, 46, 1, 32, 46, 29, 30, 32, 46,
|
376
|
+
32, 46, 32, 46, 32, 46, 31, 32, 46, 35,
|
377
|
+
46, 35, 46, 35, 46, 34, 35, 46, 38, 46,
|
378
|
+
38, 46, 38, 46, 37, 38, 46, 41, 46, 41,
|
379
|
+
46, 41, 46, 40, 41, 46, 30, 32, 46, 32,
|
380
|
+
46, 29, 30, 32, 46, 32, 46, 30, 32, 46,
|
381
|
+
32, 46, 29, 30, 32, 46, 32, 46, 30, 3,
|
382
|
+
3, 2, 31, 31, 29, 30, 13, 7, 12, 9,
|
383
|
+
|
384
|
+
31, 34, 37, 40, 30,16426, 43, 29, 30,16426,
|
385
|
+
12, 43, 7, 43, 30,16428, 45, 29, 30, 9,
|
386
|
+
45, 8, 10, 15, 31, 8234, 12, 8234, 8236, 31,
|
387
|
+
5, 31, 6, 5, 26, 25, 11, 11, 36, 6,
|
388
|
+
19, 20, 20, 39, 23, 14, 27, 22, 23, 24,
|
389
|
+
4, 28, 4, 16, 21, 23, 33, 17, 18, 18
|
390
390
|
} ;
|
391
391
|
|
392
|
-
static yyconst flex_int16_t yy_accept[
|
392
|
+
static yyconst flex_int16_t yy_accept[253] =
|
393
393
|
{ 0,
|
394
394
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
395
395
|
1, 1, 1, 2, 4, 7, 9, 12, 14, 17,
|
@@ -402,21 +402,23 @@ static yyconst flex_int16_t yy_accept[232] =
|
|
402
402
|
105, 105, 106, 107, 108, 110, 111, 113, 115, 116,
|
403
403
|
117, 118, 120, 122, 123, 124, 125, 125, 125, 125,
|
404
404
|
|
405
|
-
125, 125, 125, 125, 125,
|
406
|
-
|
407
|
-
130, 130,
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
137,
|
405
|
+
125, 125, 125, 125, 125, 125, 125, 126, 126, 126,
|
406
|
+
126, 126, 127, 129, 130, 130, 130, 130, 130, 130,
|
407
|
+
130, 130, 130, 130, 130, 130, 131, 131, 131, 131,
|
408
|
+
131, 131, 132, 132, 132, 132, 132, 132, 132, 132,
|
409
|
+
132, 132, 132, 132, 132, 133, 133, 133, 133, 133,
|
410
|
+
134, 134, 135, 135, 136, 137, 137, 137, 137, 137,
|
411
|
+
137, 137, 137, 137, 137, 137, 137, 137, 137, 138,
|
412
|
+
139, 139, 140, 140, 141, 141, 141, 141, 143, 143,
|
412
413
|
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
|
413
414
|
145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
|
414
|
-
145, 145, 145, 145, 146, 146, 146, 146, 147, 147,
|
415
415
|
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
416
|
+
145, 145, 145, 145, 145, 145, 145, 145, 145, 146,
|
417
|
+
146, 146, 146, 147, 147, 147, 148, 148, 148, 148,
|
418
|
+
148, 148, 150, 150, 151, 151, 152, 153, 153, 153,
|
419
|
+
153, 153, 153, 153, 154, 154, 154, 155, 155, 155,
|
420
|
+
155, 155, 155, 155, 155, 157, 158, 160, 160, 161,
|
421
|
+
161, 161
|
420
422
|
} ;
|
421
423
|
|
422
424
|
static yyconst flex_int32_t yy_ec[256] =
|
@@ -430,11 +432,11 @@ static yyconst flex_int32_t yy_ec[256] =
|
|
430
432
|
1, 20, 1, 1, 21, 21, 21, 21, 21, 21,
|
431
433
|
21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
|
432
434
|
21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
|
433
|
-
22, 1, 23, 1, 24, 1, 25,
|
435
|
+
22, 1, 23, 1, 24, 1, 25, 26, 27, 28,
|
434
436
|
|
435
|
-
|
436
|
-
|
437
|
-
|
437
|
+
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
|
438
|
+
39, 40, 34, 41, 42, 43, 44, 45, 46, 34,
|
439
|
+
34, 34, 6, 47, 6, 1, 1, 1, 1, 1,
|
438
440
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
439
441
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
440
442
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
@@ -448,302 +450,328 @@ static yyconst flex_int32_t yy_ec[256] =
|
|
448
450
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
449
451
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
450
452
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
451
|
-
1, 1, 1, 1,
|
453
|
+
1, 1, 1, 1, 48
|
452
454
|
} ;
|
453
455
|
|
454
|
-
static yyconst flex_int32_t yy_meta[
|
456
|
+
static yyconst flex_int32_t yy_meta[49] =
|
455
457
|
{ 0,
|
456
|
-
1, 2, 3, 3, 4, 5, 6, 7, 8,
|
457
|
-
|
458
|
-
14, 15, 16, 17,
|
459
|
-
|
460
|
-
|
458
|
+
1, 2, 3, 3, 4, 5, 6, 1, 7, 8,
|
459
|
+
9, 10, 11, 1, 12, 12, 1, 9, 5, 5,
|
460
|
+
13, 14, 15, 16, 17, 17, 17, 17, 17, 17,
|
461
|
+
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
462
|
+
13, 13, 13, 13, 13, 13, 1, 1
|
461
463
|
} ;
|
462
464
|
|
463
|
-
static yyconst flex_int16_t yy_base[
|
465
|
+
static yyconst flex_int16_t yy_base[283] =
|
464
466
|
{ 0,
|
465
|
-
0,
|
466
|
-
|
467
|
-
|
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
|
-
|
467
|
+
0, 47, 56, 61, 65, 83, 87, 91, 71, 98,
|
468
|
+
48, 109, 720, 1018, 122, 140, 145, 40, 0, 72,
|
469
|
+
693, 671, 1018, 192, 102, 706, 0, 35, 1018, 150,
|
470
|
+
695, 1018, 1018, 155, 694, 1018, 1018, 159, 693, 1018,
|
471
|
+
163, 178, 72, 210, 222, 226, 96, 239, 251, 255,
|
472
|
+
260, 0, 0, 1018, 264, 113, 0, 664, 660, 241,
|
473
|
+
656, 0, 693, 688, 676, 1018, 675, 1018, 666, 274,
|
474
|
+
657, 1018, 641, 286, 650, 1018, 623, 292, 648, 1018,
|
475
|
+
632, 311, 132, 1018, 0, 170, 642, 1018, 315, 174,
|
476
|
+
1018, 0, 1018, 1018, 1018, 1018, 618, 616, 0, 0,
|
477
|
+
|
478
|
+
604, 597, 175, 596, 587, 592, 584, 203, 584, 527,
|
479
|
+
527, 204, 215, 217, 536, 544, 540, 74, 154, 226,
|
480
|
+
169, 257, 283, 300, 303, 98, 231, 534, 532, 532,
|
481
|
+
539, 339, 535, 534, 0, 304, 301, 330, 260, 329,
|
482
|
+
314, 337, 332, 542, 538, 325, 525, 533, 523, 364,
|
483
|
+
369, 297, 524, 1018, 1018, 527, 347, 349, 526, 0,
|
484
|
+
525, 0, 333, 358, 405, 381, 533, 451, 1018, 453,
|
485
|
+
526, 1018, 524, 387, 503, 0, 441, 1018, 518, 1018,
|
486
|
+
517, 436, 437, 488, 516, 448, 0, 0, 380, 1018,
|
487
|
+
484, 438, 0, 440, 449, 482, 470, 476, 452, 481,
|
488
|
+
|
489
|
+
381, 459, 439, 380, 0, 444, 451, 386, 1018, 374,
|
490
|
+
381, 370, 484, 317, 311, 1018, 286, 275, 0, 453,
|
491
|
+
520, 1018, 269, 1018, 231, 474, 1018, 222, 466, 215,
|
492
|
+
0, 212, 181, 505, 522, 463, 1018, 177, 148, 118,
|
493
|
+
113, 0, 100, 0, 1018, 1018, 1018, 60, 1018, 39,
|
494
|
+
1018, 569, 586, 603, 609, 626, 643, 660, 677, 693,
|
495
|
+
700, 717, 729, 139, 746, 763, 780, 797, 814, 822,
|
496
|
+
839, 856, 873, 881, 898, 915, 932, 949, 269, 966,
|
497
|
+
983, 1000
|
493
498
|
} ;
|
494
499
|
|
495
|
-
static yyconst flex_int16_t yy_def[
|
500
|
+
static yyconst flex_int16_t yy_def[283] =
|
496
501
|
{ 0,
|
497
|
-
|
498
|
-
1, 1,
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
502
|
+
251, 1, 252, 252, 253, 253, 254, 254, 1, 1,
|
503
|
+
1, 1, 251, 251, 251, 251, 251, 251, 255, 251,
|
504
|
+
251, 255, 251, 251, 251, 256, 257, 255, 251, 251,
|
505
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
506
|
+
251, 251, 24, 256, 251, 251, 24, 257, 251, 251,
|
507
|
+
251, 258, 259, 251, 251, 260, 255, 251, 251, 261,
|
508
|
+
255, 24, 251, 258, 251, 251, 251, 251, 255, 251,
|
509
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
510
|
+
251, 251, 258, 251, 43, 258, 251, 251, 251, 259,
|
511
|
+
251, 47, 251, 251, 251, 251, 251, 251, 262, 263,
|
512
|
+
|
513
|
+
263, 263, 263, 263, 263, 263, 255, 251, 251, 251,
|
514
|
+
251, 251, 251, 251, 251, 251, 262, 263, 263, 263,
|
515
|
+
264, 263, 263, 263, 263, 255, 265, 251, 251, 251,
|
516
|
+
251, 251, 251, 251, 266, 263, 263, 264, 264, 263,
|
517
|
+
263, 263, 263, 251, 255, 267, 251, 251, 251, 251,
|
518
|
+
251, 251, 251, 251, 251, 266, 263, 263, 251, 268,
|
519
|
+
251, 269, 263, 263, 251, 263, 251, 267, 251, 267,
|
520
|
+
251, 251, 251, 251, 251, 270, 263, 251, 268, 251,
|
521
|
+
269, 263, 263, 165, 271, 165, 272, 273, 251, 251,
|
522
|
+
251, 270, 274, 263, 263, 251, 271, 184, 272, 275,
|
523
|
+
|
524
|
+
251, 251, 251, 251, 276, 274, 263, 251, 251, 251,
|
525
|
+
184, 251, 275, 251, 251, 251, 276, 251, 277, 263,
|
526
|
+
251, 251, 278, 251, 251, 251, 251, 277, 279, 251,
|
527
|
+
280, 278, 251, 251, 279, 279, 251, 280, 251, 251,
|
528
|
+
251, 281, 251, 282, 251, 251, 251, 281, 251, 282,
|
529
|
+
0, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
530
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
531
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
532
|
+
251, 251
|
525
533
|
} ;
|
526
534
|
|
527
|
-
static yyconst flex_int16_t yy_nxt[
|
535
|
+
static yyconst flex_int16_t yy_nxt[1067] =
|
528
536
|
{ 0,
|
529
537
|
14, 15, 16, 17, 15, 14, 18, 14, 14, 14,
|
530
538
|
14, 14, 14, 14, 19, 19, 14, 14, 20, 14,
|
531
|
-
19, 21, 14, 14, 19, 19, 19, 19, 19,
|
532
|
-
19,
|
533
|
-
19, 19,
|
534
|
-
|
535
|
-
30,
|
536
|
-
|
537
|
-
|
538
|
-
38,
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
78, 78, 78, 82,
|
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
|
-
|
539
|
+
19, 21, 14, 14, 19, 19, 19, 19, 19, 19,
|
540
|
+
19, 22, 19, 19, 19, 19, 19, 19, 19, 19,
|
541
|
+
19, 19, 19, 19, 19, 19, 14, 23, 24, 45,
|
542
|
+
69, 24, 45, 25, 56, 56, 26, 30, 30, 30,
|
543
|
+
30, 243, 30, 30, 30, 30, 34, 34, 34, 34,
|
544
|
+
27, 46, 41, 85, 31, 41, 85, 61, 28, 31,
|
545
|
+
42, 86, 241, 35, 34, 34, 34, 34, 38, 38,
|
546
|
+
38, 38, 38, 38, 38, 38, 134, 92, 58, 43,
|
547
|
+
|
548
|
+
92, 35, 43, 32, 25, 39, 65, 44, 32, 39,
|
549
|
+
47, 59, 36, 47, 144, 25, 56, 56, 26, 90,
|
550
|
+
135, 27, 249, 49, 50, 51, 49, 56, 56, 28,
|
551
|
+
36, 52, 48, 112, 40, 247, 112, 246, 40, 145,
|
552
|
+
28, 55, 55, 55, 55, 53, 55, 50, 55, 55,
|
553
|
+
139, 70, 70, 70, 70, 139, 74, 74, 74, 74,
|
554
|
+
78, 78, 78, 78, 82, 50, 51, 82, 71, 54,
|
555
|
+
245, 112, 83, 75, 113, 114, 134, 79, 114, 84,
|
556
|
+
84, 84, 84, 138, 138, 84, 53, 54, 84, 136,
|
557
|
+
84, 121, 54, 62, 50, 51, 62, 72, 63, 230,
|
558
|
+
|
559
|
+
135, 64, 76, 122, 127, 112, 80, 127, 112, 240,
|
560
|
+
54, 84, 84, 84, 87, 53, 112, 88, 114, 113,
|
561
|
+
88, 114, 84, 89, 50, 51, 89, 91, 91, 91,
|
562
|
+
91, 52, 127, 91, 239, 127, 91, 237, 91, 54,
|
563
|
+
91, 91, 91, 91, 218, 90, 93, 99, 134, 93,
|
564
|
+
137, 93, 49, 50, 51, 49, 55, 55, 55, 55,
|
565
|
+
52, 55, 50, 55, 55, 55, 55, 55, 55, 54,
|
566
|
+
101, 233, 135, 102, 53, 70, 70, 70, 70, 134,
|
567
|
+
236, 103, 161, 104, 105, 236, 106, 74, 74, 74,
|
568
|
+
74, 196, 71, 78, 78, 78, 78, 227, 54, 152,
|
569
|
+
|
570
|
+
152, 140, 54, 135, 75, 134, 162, 54, 204, 141,
|
571
|
+
79, 54, 82, 50, 51, 82, 89, 50, 51, 89,
|
572
|
+
83, 72, 134, 134, 52, 134, 134, 169, 169, 135,
|
573
|
+
226, 158, 157, 76, 53, 142, 134, 143, 90, 80,
|
574
|
+
151, 152, 152, 151, 138, 138, 135, 135, 164, 135,
|
575
|
+
135, 134, 159, 165, 134, 134, 225, 153, 54, 134,
|
576
|
+
135, 163, 54, 176, 166, 174, 174, 174, 174, 134,
|
577
|
+
151, 134, 170, 151, 182, 135, 160, 177, 135, 135,
|
578
|
+
134, 201, 201, 135, 201, 201, 183, 153, 174, 174,
|
579
|
+
174, 174, 224, 135, 223, 135, 222, 187, 202, 202,
|
580
|
+
|
581
|
+
221, 221, 216, 134, 135, 184, 184, 184, 184, 184,
|
582
|
+
184, 184, 184, 184, 184, 184, 184, 184, 185, 184,
|
583
|
+
184, 184, 184, 184, 184, 184, 184, 135, 184, 186,
|
584
|
+
186, 186, 186, 186, 186, 186, 186, 186, 186, 186,
|
585
|
+
186, 186, 186, 186, 186, 186, 186, 186, 186, 186,
|
586
|
+
186, 184, 184, 169, 169, 169, 169, 193, 134, 134,
|
587
|
+
204, 184, 134, 134, 198, 208, 218, 215, 194, 229,
|
588
|
+
196, 134, 214, 134, 212, 134, 234, 234, 207, 195,
|
589
|
+
235, 235, 135, 135, 205, 243, 135, 135, 220, 211,
|
590
|
+
219, 200, 210, 200, 200, 135, 200, 135, 170, 135,
|
591
|
+
|
592
|
+
170, 184, 200, 200, 209, 200, 200, 234, 234, 244,
|
593
|
+
196, 203, 184, 184, 184, 184, 184, 184, 184, 184,
|
594
|
+
184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
|
595
|
+
184, 184, 184, 184, 221, 221, 235, 235, 196, 161,
|
596
|
+
159, 191, 230, 190, 241, 189, 188, 180, 178, 134,
|
597
|
+
175, 173, 172, 171, 144, 167, 155, 154, 150, 149,
|
598
|
+
148, 147, 133, 132, 131, 130, 231, 129, 242, 29,
|
586
599
|
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
|
587
|
-
29, 29, 29, 29,
|
600
|
+
29, 29, 29, 29, 29, 29, 33, 33, 33, 33,
|
588
601
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
68,
|
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
|
-
217, 217, 217, 217, 217, 217, 217, 217,
|
626
|
-
217,
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
602
|
+
|
603
|
+
33, 33, 33, 37, 37, 37, 37, 37, 37, 37,
|
604
|
+
37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
|
605
|
+
57, 57, 128, 126, 125, 57, 66, 124, 123, 66,
|
606
|
+
66, 66, 66, 120, 66, 66, 119, 66, 66, 66,
|
607
|
+
66, 66, 66, 68, 116, 115, 67, 68, 68, 68,
|
608
|
+
68, 68, 68, 68, 68, 68, 68, 68, 111, 68,
|
609
|
+
94, 81, 110, 77, 94, 94, 94, 109, 94, 94,
|
610
|
+
73, 94, 94, 94, 94, 94, 94, 95, 108, 67,
|
611
|
+
65, 95, 95, 95, 95, 95, 95, 95, 95, 95,
|
612
|
+
95, 95, 67, 95, 96, 96, 96, 65, 107, 96,
|
613
|
+
|
614
|
+
98, 96, 97, 96, 96, 100, 81, 77, 73, 100,
|
615
|
+
67, 100, 100, 61, 60, 100, 100, 117, 117, 251,
|
616
|
+
117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
|
617
|
+
251, 251, 117, 117, 118, 251, 251, 251, 118, 251,
|
618
|
+
118, 118, 251, 251, 118, 118, 146, 146, 251, 146,
|
619
|
+
146, 146, 146, 146, 146, 146, 146, 146, 146, 146,
|
620
|
+
146, 146, 146, 156, 156, 156, 156, 156, 156, 156,
|
621
|
+
156, 156, 156, 156, 156, 156, 251, 251, 156, 156,
|
622
|
+
168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
|
623
|
+
168, 168, 168, 168, 168, 168, 168, 179, 179, 179,
|
624
|
+
|
625
|
+
179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
626
|
+
251, 251, 179, 179, 181, 181, 181, 181, 181, 181,
|
627
|
+
181, 181, 181, 181, 181, 181, 181, 251, 251, 181,
|
628
|
+
181, 192, 192, 192, 192, 251, 251, 192, 192, 197,
|
629
|
+
197, 197, 197, 197, 197, 197, 197, 197, 197, 197,
|
630
|
+
197, 197, 197, 197, 197, 197, 199, 199, 199, 199,
|
631
|
+
199, 199, 199, 199, 199, 199, 199, 199, 199, 199,
|
632
|
+
251, 199, 199, 200, 200, 251, 251, 251, 200, 251,
|
633
|
+
251, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
634
|
+
206, 206, 206, 206, 251, 251, 206, 206, 213, 213,
|
635
|
+
|
636
|
+
251, 251, 251, 213, 251, 251, 213, 213, 213, 213,
|
637
|
+
213, 213, 213, 213, 213, 217, 217, 217, 217, 217,
|
638
|
+
217, 217, 217, 217, 217, 217, 217, 217, 251, 251,
|
639
|
+
217, 217, 228, 228, 228, 228, 228, 228, 228, 228,
|
640
|
+
228, 228, 228, 228, 228, 251, 251, 228, 228, 232,
|
641
|
+
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
|
642
|
+
232, 232, 232, 232, 232, 232, 238, 238, 238, 238,
|
643
|
+
238, 238, 238, 238, 238, 238, 238, 238, 238, 251,
|
644
|
+
251, 238, 238, 248, 248, 248, 248, 248, 248, 248,
|
645
|
+
248, 248, 248, 248, 248, 248, 251, 251, 248, 248,
|
646
|
+
|
647
|
+
250, 250, 250, 250, 250, 250, 250, 250, 250, 250,
|
648
|
+
250, 250, 250, 251, 251, 250, 250, 13, 251, 251,
|
649
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
650
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
651
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
652
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
653
|
+
251, 251, 251, 251, 251, 251
|
636
654
|
} ;
|
637
655
|
|
638
|
-
static yyconst flex_int16_t yy_chk[
|
656
|
+
static yyconst flex_int16_t yy_chk[1067] =
|
639
657
|
{ 0,
|
640
658
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
641
659
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
642
660
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
643
661
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
644
|
-
1, 1, 1, 1,
|
645
|
-
18, 18, 2, 3, 3, 3,
|
646
|
-
4,
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
38, 38, 38, 41,
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
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
|
-
237, 238, 238, 238, 0, 0, 238, 0, 0, 238,
|
708
|
-
238, 239, 0, 0, 0, 239, 239, 239, 239, 0,
|
709
|
-
239, 0, 239, 239, 239, 239, 239, 239, 240, 0,
|
710
|
-
0, 0, 240, 240, 240, 240, 240, 240, 240, 240,
|
711
|
-
240, 240, 240, 240, 241, 241, 241, 0, 0, 0,
|
712
|
-
241, 0, 241, 241, 241, 241, 242, 0, 0, 0,
|
713
|
-
0, 0, 242, 0, 242, 0, 0, 242, 243, 243,
|
714
|
-
0, 243, 243, 243, 243, 243, 243, 243, 243, 243,
|
715
|
-
243, 243, 0, 0, 243, 244, 0, 0, 0, 0,
|
716
|
-
|
717
|
-
0, 244, 0, 244, 0, 0, 244, 245, 245, 0,
|
718
|
-
245, 245, 245, 245, 245, 245, 245, 245, 245, 245,
|
719
|
-
245, 245, 245, 245, 246, 246, 246, 246, 246, 246,
|
720
|
-
246, 246, 246, 246, 246, 246, 246, 246, 0, 0,
|
721
|
-
246, 247, 247, 247, 247, 247, 247, 247, 247, 247,
|
722
|
-
247, 247, 247, 247, 247, 247, 247, 247, 248, 248,
|
723
|
-
248, 248, 248, 248, 248, 248, 248, 248, 248, 248,
|
724
|
-
248, 248, 0, 0, 248, 249, 249, 249, 249, 249,
|
725
|
-
249, 249, 249, 249, 249, 249, 249, 249, 249, 0,
|
726
|
-
0, 249, 250, 250, 250, 250, 250, 250, 250, 250,
|
727
|
-
|
728
|
-
250, 250, 250, 250, 250, 250, 250, 250, 250, 251,
|
729
|
-
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
730
|
-
251, 251, 251, 251, 0, 251, 252, 252, 0, 0,
|
731
|
-
0, 252, 252, 0, 0, 252, 252, 252, 252, 252,
|
732
|
-
252, 252, 252, 253, 253, 0, 0, 0, 253, 253,
|
733
|
-
0, 0, 253, 253, 253, 253, 253, 253, 253, 253,
|
662
|
+
1, 1, 1, 1, 1, 1, 1, 1, 2, 11,
|
663
|
+
28, 2, 11, 2, 18, 18, 2, 3, 3, 3,
|
664
|
+
3, 250, 4, 4, 4, 4, 5, 5, 5, 5,
|
665
|
+
2, 11, 9, 43, 3, 9, 43, 28, 2, 4,
|
666
|
+
9, 43, 248, 5, 6, 6, 6, 6, 7, 7,
|
667
|
+
7, 7, 8, 8, 8, 8, 118, 47, 20, 10,
|
668
|
+
|
669
|
+
47, 6, 10, 3, 10, 7, 25, 10, 4, 8,
|
670
|
+
12, 20, 5, 12, 126, 12, 25, 25, 12, 47,
|
671
|
+
118, 10, 243, 15, 15, 15, 15, 56, 56, 10,
|
672
|
+
6, 15, 12, 83, 7, 241, 83, 240, 8, 126,
|
673
|
+
12, 16, 16, 16, 16, 15, 17, 17, 17, 17,
|
674
|
+
264, 30, 30, 30, 30, 264, 34, 34, 34, 34,
|
675
|
+
38, 38, 38, 38, 41, 41, 41, 41, 30, 15,
|
676
|
+
239, 86, 41, 34, 86, 90, 119, 38, 90, 42,
|
677
|
+
42, 42, 42, 121, 121, 42, 41, 16, 42, 119,
|
678
|
+
42, 103, 17, 24, 24, 24, 24, 30, 24, 238,
|
679
|
+
|
680
|
+
119, 24, 34, 103, 108, 112, 38, 108, 112, 233,
|
681
|
+
41, 44, 44, 44, 44, 24, 113, 44, 114, 113,
|
682
|
+
44, 114, 44, 45, 45, 45, 45, 46, 46, 46,
|
683
|
+
46, 45, 127, 46, 232, 127, 46, 230, 46, 24,
|
684
|
+
48, 48, 48, 48, 228, 45, 48, 60, 120, 48,
|
685
|
+
120, 48, 49, 49, 49, 49, 50, 50, 50, 50,
|
686
|
+
49, 51, 51, 51, 51, 55, 55, 55, 55, 45,
|
687
|
+
60, 225, 120, 60, 49, 70, 70, 70, 70, 122,
|
688
|
+
279, 60, 139, 60, 60, 279, 60, 74, 74, 74,
|
689
|
+
74, 223, 70, 78, 78, 78, 78, 218, 49, 152,
|
690
|
+
|
691
|
+
152, 122, 50, 122, 74, 123, 139, 51, 217, 123,
|
692
|
+
78, 55, 82, 82, 82, 82, 89, 89, 89, 89,
|
693
|
+
82, 70, 124, 137, 89, 125, 136, 146, 146, 123,
|
694
|
+
215, 137, 136, 74, 82, 124, 141, 125, 89, 78,
|
695
|
+
132, 132, 132, 132, 138, 138, 124, 137, 141, 125,
|
696
|
+
136, 140, 138, 142, 143, 163, 214, 132, 82, 142,
|
697
|
+
141, 140, 89, 157, 143, 150, 150, 150, 150, 157,
|
698
|
+
151, 158, 146, 151, 163, 140, 138, 158, 143, 163,
|
699
|
+
164, 189, 201, 142, 189, 201, 164, 151, 174, 174,
|
700
|
+
174, 174, 212, 157, 211, 158, 210, 166, 189, 201,
|
701
|
+
|
702
|
+
208, 208, 204, 166, 164, 165, 165, 165, 165, 165,
|
703
|
+
165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
|
704
|
+
165, 165, 165, 165, 165, 165, 165, 166, 165, 165,
|
705
|
+
165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
|
706
|
+
165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
|
707
|
+
165, 165, 165, 168, 168, 170, 170, 177, 182, 183,
|
708
|
+
192, 186, 194, 177, 186, 195, 206, 203, 182, 220,
|
709
|
+
186, 195, 202, 207, 199, 220, 226, 226, 194, 183,
|
710
|
+
229, 229, 182, 183, 192, 236, 194, 177, 207, 198,
|
711
|
+
206, 200, 197, 200, 213, 195, 213, 207, 168, 220,
|
712
|
+
|
713
|
+
170, 184, 200, 200, 196, 213, 213, 234, 234, 236,
|
714
|
+
184, 191, 184, 184, 184, 184, 184, 184, 184, 184,
|
715
|
+
184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
|
716
|
+
184, 184, 184, 184, 221, 221, 235, 235, 185, 181,
|
717
|
+
179, 175, 221, 173, 235, 171, 167, 161, 159, 156,
|
718
|
+
153, 149, 148, 147, 145, 144, 134, 133, 131, 130,
|
719
|
+
129, 128, 117, 116, 115, 111, 221, 110, 235, 252,
|
720
|
+
252, 252, 252, 252, 252, 252, 252, 252, 252, 252,
|
721
|
+
252, 252, 252, 252, 252, 252, 253, 253, 253, 253,
|
722
|
+
253, 253, 253, 253, 253, 253, 253, 253, 253, 253,
|
723
|
+
|
724
|
+
253, 253, 253, 254, 254, 254, 254, 254, 254, 254,
|
734
725
|
254, 254, 254, 254, 254, 254, 254, 254, 254, 254,
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
726
|
+
255, 255, 109, 107, 106, 255, 256, 105, 104, 256,
|
727
|
+
256, 256, 256, 102, 256, 256, 101, 256, 256, 256,
|
728
|
+
256, 256, 256, 257, 98, 97, 87, 257, 257, 257,
|
729
|
+
257, 257, 257, 257, 257, 257, 257, 257, 81, 257,
|
730
|
+
258, 79, 77, 75, 258, 258, 258, 73, 258, 258,
|
731
|
+
71, 258, 258, 258, 258, 258, 258, 259, 69, 67,
|
732
|
+
65, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
733
|
+
259, 259, 64, 259, 260, 260, 260, 63, 61, 260,
|
734
|
+
|
735
|
+
59, 260, 58, 260, 260, 261, 39, 35, 31, 261,
|
736
|
+
26, 261, 261, 22, 21, 261, 261, 262, 262, 13,
|
737
|
+
262, 262, 262, 262, 262, 262, 262, 262, 262, 262,
|
738
|
+
0, 0, 262, 262, 263, 0, 0, 0, 263, 0,
|
739
|
+
263, 263, 0, 0, 263, 263, 265, 265, 0, 265,
|
740
|
+
265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
|
741
|
+
265, 265, 265, 266, 266, 266, 266, 266, 266, 266,
|
742
|
+
266, 266, 266, 266, 266, 266, 0, 0, 266, 266,
|
743
|
+
267, 267, 267, 267, 267, 267, 267, 267, 267, 267,
|
744
|
+
267, 267, 267, 267, 267, 267, 267, 268, 268, 268,
|
745
|
+
|
746
|
+
268, 268, 268, 268, 268, 268, 268, 268, 268, 268,
|
747
|
+
0, 0, 268, 268, 269, 269, 269, 269, 269, 269,
|
748
|
+
269, 269, 269, 269, 269, 269, 269, 0, 0, 269,
|
749
|
+
269, 270, 270, 270, 270, 0, 0, 270, 270, 271,
|
750
|
+
271, 271, 271, 271, 271, 271, 271, 271, 271, 271,
|
751
|
+
271, 271, 271, 271, 271, 271, 272, 272, 272, 272,
|
752
|
+
272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
|
753
|
+
0, 272, 272, 273, 273, 0, 0, 0, 273, 0,
|
754
|
+
0, 273, 273, 273, 273, 273, 273, 273, 273, 273,
|
755
|
+
274, 274, 274, 274, 0, 0, 274, 274, 275, 275,
|
756
|
+
|
757
|
+
0, 0, 0, 275, 0, 0, 275, 275, 275, 275,
|
758
|
+
275, 275, 275, 275, 275, 276, 276, 276, 276, 276,
|
759
|
+
276, 276, 276, 276, 276, 276, 276, 276, 0, 0,
|
760
|
+
276, 276, 277, 277, 277, 277, 277, 277, 277, 277,
|
761
|
+
277, 277, 277, 277, 277, 0, 0, 277, 277, 278,
|
762
|
+
278, 278, 278, 278, 278, 278, 278, 278, 278, 278,
|
763
|
+
278, 278, 278, 278, 278, 278, 280, 280, 280, 280,
|
764
|
+
280, 280, 280, 280, 280, 280, 280, 280, 280, 0,
|
765
|
+
0, 280, 280, 281, 281, 281, 281, 281, 281, 281,
|
766
|
+
281, 281, 281, 281, 281, 281, 0, 0, 281, 281,
|
767
|
+
|
768
|
+
282, 282, 282, 282, 282, 282, 282, 282, 282, 282,
|
769
|
+
282, 282, 282, 0, 0, 282, 282, 251, 251, 251,
|
770
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
771
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
772
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
773
|
+
251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
|
774
|
+
251, 251, 251, 251, 251, 251
|
747
775
|
} ;
|
748
776
|
|
749
777
|
extern int yy_flex_debug;
|
@@ -851,7 +879,7 @@ extern size_t in_buf_len;
|
|
851
879
|
|
852
880
|
|
853
881
|
|
854
|
-
#line
|
882
|
+
#line 883 "lex.yy.c"
|
855
883
|
|
856
884
|
#define INITIAL 0
|
857
885
|
#define _PRE_CODE 1
|
@@ -1054,7 +1082,7 @@ YY_DECL
|
|
1054
1082
|
#line 85 "parser.l"
|
1055
1083
|
|
1056
1084
|
|
1057
|
-
#line
|
1085
|
+
#line 1086 "lex.yy.c"
|
1058
1086
|
|
1059
1087
|
if ( !(yy_init) )
|
1060
1088
|
{
|
@@ -1113,14 +1141,14 @@ yy_match:
|
|
1113
1141
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
1114
1142
|
{
|
1115
1143
|
yy_current_state = (int) yy_def[yy_current_state];
|
1116
|
-
if ( yy_current_state >=
|
1144
|
+
if ( yy_current_state >= 252 )
|
1117
1145
|
yy_c = yy_meta[(unsigned int) yy_c];
|
1118
1146
|
}
|
1119
1147
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
1120
1148
|
*(yy_state_ptr)++ = yy_current_state;
|
1121
1149
|
++yy_cp;
|
1122
1150
|
}
|
1123
|
-
while ( yy_base[yy_current_state] !=
|
1151
|
+
while ( yy_base[yy_current_state] != 1018 );
|
1124
1152
|
|
1125
1153
|
yy_find_action:
|
1126
1154
|
yy_current_state = *--(yy_state_ptr);
|
@@ -1348,130 +1376,142 @@ YY_RULE_SETUP
|
|
1348
1376
|
{ yylval.svalue = yytext+3; return ANCHOR_LINK; }
|
1349
1377
|
YY_BREAK
|
1350
1378
|
case 27:
|
1379
|
+
/* rule 27 can match eol */
|
1351
1380
|
YY_RULE_SETUP
|
1352
1381
|
#line 142 "parser.l"
|
1353
|
-
|
1382
|
+
{ yylval.svalue = yytext+7; return FILE_LINK; }
|
1354
1383
|
YY_BREAK
|
1355
1384
|
case 28:
|
1385
|
+
/* rule 28 can match eol */
|
1356
1386
|
YY_RULE_SETUP
|
1357
1387
|
#line 143 "parser.l"
|
1358
|
-
{ yylval.
|
1388
|
+
{ yylval.svalue = yytext+8; return IMAGE_LINK; }
|
1359
1389
|
YY_BREAK
|
1360
1390
|
case 29:
|
1361
1391
|
YY_RULE_SETUP
|
1362
1392
|
#line 145 "parser.l"
|
1363
|
-
|
1393
|
+
; /* skip spaces at line start */
|
1364
1394
|
YY_BREAK
|
1365
1395
|
case 30:
|
1366
1396
|
YY_RULE_SETUP
|
1367
|
-
#line
|
1368
|
-
{ yylval.ivalue =
|
1397
|
+
#line 146 "parser.l"
|
1398
|
+
{ yylval.ivalue = ' '; return T_CHAR; }
|
1369
1399
|
YY_BREAK
|
1370
1400
|
case 31:
|
1371
|
-
/* rule 31 can match eol */
|
1372
1401
|
YY_RULE_SETUP
|
1373
|
-
#line
|
1374
|
-
{
|
1402
|
+
#line 148 "parser.l"
|
1403
|
+
{ yylval.svalue = yytext; return T_WORD; }
|
1375
1404
|
YY_BREAK
|
1376
1405
|
case 32:
|
1377
|
-
/* rule 32 can match eol */
|
1378
1406
|
YY_RULE_SETUP
|
1379
|
-
#line
|
1380
|
-
{
|
1407
|
+
#line 150 "parser.l"
|
1408
|
+
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1381
1409
|
YY_BREAK
|
1382
1410
|
case 33:
|
1411
|
+
/* rule 33 can match eol */
|
1383
1412
|
YY_RULE_SETUP
|
1384
|
-
#line 153 "parser.l"
|
1385
|
-
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1386
|
-
YY_BREAK
|
1387
|
-
case YY_STATE_EOF(_PRE_CODE):
|
1388
1413
|
#line 154 "parser.l"
|
1389
1414
|
{ BEGIN INITIAL; return PRE_CODE_END; }
|
1390
1415
|
YY_BREAK
|
1391
1416
|
case 34:
|
1392
1417
|
/* rule 34 can match eol */
|
1393
1418
|
YY_RULE_SETUP
|
1394
|
-
#line
|
1395
|
-
{ BEGIN INITIAL; return
|
1419
|
+
#line 155 "parser.l"
|
1420
|
+
{ BEGIN INITIAL; return PRE_CODE_END; }
|
1396
1421
|
YY_BREAK
|
1397
1422
|
case 35:
|
1398
|
-
/* rule 35 can match eol */
|
1399
1423
|
YY_RULE_SETUP
|
1424
|
+
#line 156 "parser.l"
|
1425
|
+
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1426
|
+
YY_BREAK
|
1427
|
+
case YY_STATE_EOF(_PRE_CODE):
|
1400
1428
|
#line 157 "parser.l"
|
1401
|
-
{ BEGIN INITIAL; return
|
1429
|
+
{ BEGIN INITIAL; return PRE_CODE_END; }
|
1402
1430
|
YY_BREAK
|
1403
1431
|
case 36:
|
1432
|
+
/* rule 36 can match eol */
|
1404
1433
|
YY_RULE_SETUP
|
1405
|
-
#line 158 "parser.l"
|
1406
|
-
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1407
|
-
YY_BREAK
|
1408
|
-
case YY_STATE_EOF(_PRE):
|
1409
1434
|
#line 159 "parser.l"
|
1410
1435
|
{ BEGIN INITIAL; return PRE_END; }
|
1411
1436
|
YY_BREAK
|
1412
1437
|
case 37:
|
1413
1438
|
/* rule 37 can match eol */
|
1414
1439
|
YY_RULE_SETUP
|
1415
|
-
#line
|
1416
|
-
{
|
1440
|
+
#line 160 "parser.l"
|
1441
|
+
{ BEGIN INITIAL; return PRE_END; }
|
1417
1442
|
YY_BREAK
|
1418
1443
|
case 38:
|
1419
|
-
/* rule 38 can match eol */
|
1420
1444
|
YY_RULE_SETUP
|
1445
|
+
#line 161 "parser.l"
|
1446
|
+
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1447
|
+
YY_BREAK
|
1448
|
+
case YY_STATE_EOF(_PRE):
|
1421
1449
|
#line 162 "parser.l"
|
1422
|
-
{
|
1450
|
+
{ BEGIN INITIAL; return PRE_END; }
|
1423
1451
|
YY_BREAK
|
1424
1452
|
case 39:
|
1453
|
+
/* rule 39 can match eol */
|
1425
1454
|
YY_RULE_SETUP
|
1426
|
-
#line 163 "parser.l"
|
1427
|
-
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1428
|
-
YY_BREAK
|
1429
|
-
case YY_STATE_EOF(_CODE):
|
1430
1455
|
#line 164 "parser.l"
|
1431
1456
|
{ yy_pop_state(); return CODE_END; }
|
1432
1457
|
YY_BREAK
|
1433
1458
|
case 40:
|
1459
|
+
/* rule 40 can match eol */
|
1460
|
+
YY_RULE_SETUP
|
1461
|
+
#line 165 "parser.l"
|
1462
|
+
{ yy_pop_state(); return CODE_END; }
|
1463
|
+
YY_BREAK
|
1464
|
+
case 41:
|
1434
1465
|
YY_RULE_SETUP
|
1435
1466
|
#line 166 "parser.l"
|
1467
|
+
{ yylval.ivalue = yytext[0]; return T_CHAR; }
|
1468
|
+
YY_BREAK
|
1469
|
+
case YY_STATE_EOF(_CODE):
|
1470
|
+
#line 167 "parser.l"
|
1471
|
+
{ yy_pop_state(); return CODE_END; }
|
1472
|
+
YY_BREAK
|
1473
|
+
case 42:
|
1474
|
+
YY_RULE_SETUP
|
1475
|
+
#line 169 "parser.l"
|
1436
1476
|
{ yylval.svalue = " *"; return T_WORD; } /* skip lone star */
|
1437
1477
|
YY_BREAK
|
1438
|
-
case
|
1439
|
-
/* rule
|
1478
|
+
case 43:
|
1479
|
+
/* rule 43 can match eol */
|
1440
1480
|
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
1441
1481
|
(yy_c_buf_p) = yy_cp = yy_bp + 1;
|
1442
1482
|
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1443
1483
|
YY_RULE_SETUP
|
1444
|
-
#line
|
1484
|
+
#line 170 "parser.l"
|
1445
1485
|
{ yy_pop_state(); return BOLD_END; }
|
1446
1486
|
YY_BREAK
|
1447
1487
|
case YY_STATE_EOF(_BOLD):
|
1448
|
-
#line
|
1488
|
+
#line 171 "parser.l"
|
1449
1489
|
{ yy_pop_state(); return BOLD_END; }
|
1450
1490
|
YY_BREAK
|
1451
|
-
case
|
1491
|
+
case 44:
|
1452
1492
|
YY_RULE_SETUP
|
1453
|
-
#line
|
1493
|
+
#line 173 "parser.l"
|
1454
1494
|
{ yylval.svalue = " _"; return T_WORD; } /* skip lone underscore */
|
1455
1495
|
YY_BREAK
|
1456
|
-
case
|
1457
|
-
/* rule
|
1496
|
+
case 45:
|
1497
|
+
/* rule 45 can match eol */
|
1458
1498
|
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
|
1459
1499
|
(yy_c_buf_p) = yy_cp = yy_bp + 1;
|
1460
1500
|
YY_DO_BEFORE_ACTION; /* set up yytext again */
|
1461
1501
|
YY_RULE_SETUP
|
1462
|
-
#line
|
1502
|
+
#line 174 "parser.l"
|
1463
1503
|
{ yy_pop_state(); return ITALIC_END; }
|
1464
1504
|
YY_BREAK
|
1465
1505
|
case YY_STATE_EOF(_ITALIC):
|
1466
|
-
#line
|
1506
|
+
#line 175 "parser.l"
|
1467
1507
|
{ yy_pop_state(); return ITALIC_END; }
|
1468
1508
|
YY_BREAK
|
1469
|
-
case
|
1509
|
+
case 46:
|
1470
1510
|
YY_RULE_SETUP
|
1471
|
-
#line
|
1511
|
+
#line 177 "parser.l"
|
1472
1512
|
ECHO;
|
1473
1513
|
YY_BREAK
|
1474
|
-
#line
|
1514
|
+
#line 1515 "lex.yy.c"
|
1475
1515
|
case YY_STATE_EOF(INITIAL):
|
1476
1516
|
yyterminate();
|
1477
1517
|
|
@@ -1733,7 +1773,7 @@ static int yy_get_next_buffer (void)
|
|
1733
1773
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
1734
1774
|
{
|
1735
1775
|
yy_current_state = (int) yy_def[yy_current_state];
|
1736
|
-
if ( yy_current_state >=
|
1776
|
+
if ( yy_current_state >= 252 )
|
1737
1777
|
yy_c = yy_meta[(unsigned int) yy_c];
|
1738
1778
|
}
|
1739
1779
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
@@ -1756,11 +1796,11 @@ static int yy_get_next_buffer (void)
|
|
1756
1796
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
1757
1797
|
{
|
1758
1798
|
yy_current_state = (int) yy_def[yy_current_state];
|
1759
|
-
if ( yy_current_state >=
|
1799
|
+
if ( yy_current_state >= 252 )
|
1760
1800
|
yy_c = yy_meta[(unsigned int) yy_c];
|
1761
1801
|
}
|
1762
1802
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
1763
|
-
yy_is_jam = (yy_current_state ==
|
1803
|
+
yy_is_jam = (yy_current_state == 251);
|
1764
1804
|
if ( ! yy_is_jam )
|
1765
1805
|
*(yy_state_ptr)++ = yy_current_state;
|
1766
1806
|
|
@@ -2501,7 +2541,7 @@ void yyfree (void * ptr )
|
|
2501
2541
|
|
2502
2542
|
#define YYTABLES_NAME "yytables"
|
2503
2543
|
|
2504
|
-
#line
|
2544
|
+
#line 177 "parser.l"
|
2505
2545
|
|
2506
2546
|
|
2507
2547
|
|