summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/lex.yy.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-07-27 16:24:49 -0700
committerIan Romanick <[email protected]>2009-07-27 16:24:49 -0700
commit1edd13bf23c7a9dad00420f519a35f75b27e853b (patch)
treed13dcc3a11e2f712d80b77f3c504dad144c9835c /src/mesa/shader/lex.yy.c
parent88018e2e073909ae807f16707f2701e068900926 (diff)
ARB prog parser: Add support for GL_ARB_fragment_program_shadow
Passes the piglit asmparsertest shadow-0[123].txt tests and progs/demos/shadowtex.
Diffstat (limited to 'src/mesa/shader/lex.yy.c')
-rw-r--r--src/mesa/shader/lex.yy.c1279
1 files changed, 652 insertions, 627 deletions
diff --git a/src/mesa/shader/lex.yy.c b/src/mesa/shader/lex.yy.c
index d5f3b09eb7c..1809d1e7f78 100644
--- a/src/mesa/shader/lex.yy.c
+++ b/src/mesa/shader/lex.yy.c
@@ -357,8 +357,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
*yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp;
-#define YY_NUM_RULES 176
-#define YY_END_OF_BUFFER 177
+#define YY_NUM_RULES 179
+#define YY_END_OF_BUFFER 180
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
@@ -366,79 +366,80 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static yyconst flex_int16_t yy_accept[645] =
+static yyconst flex_int16_t yy_accept[658] =
{ 0,
- 0, 0, 177, 175, 173, 172, 175, 175, 145, 171,
- 147, 147, 147, 147, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 173, 0, 0, 174, 145, 0,
- 146, 148, 168, 168, 0, 0, 0, 0, 168, 0,
- 0, 0, 0, 0, 0, 0, 132, 169, 133, 134,
- 159, 159, 159, 159, 0, 147, 0, 140, 141, 142,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
-
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 167, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 166, 166, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 165,
- 165, 165, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 156, 156, 156, 157, 157, 158, 149, 148,
- 149, 0, 150, 11, 13, 145, 15, 145, 16, 18,
- 145, 20, 22, 24, 26, 6, 28, 30, 31, 33,
- 35, 38, 36, 40, 41, 43, 45, 47, 49, 51,
-
- 145, 145, 145, 53, 55, 145, 57, 59, 61, 63,
- 65, 67, 69, 145, 71, 73, 75, 77, 145, 145,
- 145, 145, 145, 145, 0, 0, 0, 0, 148, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 93,
- 94, 96, 0, 164, 0, 0, 0, 0, 0, 0,
- 110, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 163, 162, 162, 122, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 153, 153, 154, 155, 0,
- 151, 145, 145, 145, 145, 145, 145, 145, 143, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
-
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 144,
- 145, 145, 145, 145, 145, 145, 145, 10, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 0, 170,
- 0, 0, 0, 86, 87, 0, 0, 0, 0, 0,
- 0, 0, 98, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 180, 178, 176, 175, 178, 178, 148, 174,
+ 150, 150, 150, 150, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 176, 0, 0, 177, 148, 0,
+ 149, 151, 171, 171, 0, 0, 0, 0, 171, 0,
+ 0, 0, 0, 0, 0, 0, 132, 172, 133, 134,
+ 162, 162, 162, 162, 0, 150, 0, 140, 141, 142,
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 148, 148, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 170, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 169, 169, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 161, 0, 0, 0, 126, 0, 128, 0, 0,
- 0, 0, 0, 0, 160, 152, 145, 145, 145, 4,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
-
- 9, 145, 145, 145, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 82, 145, 145,
- 0, 0, 0, 0, 0, 88, 89, 0, 0, 0,
- 0, 97, 0, 0, 101, 104, 0, 0, 0, 0,
- 0, 0, 0, 115, 116, 0, 0, 0, 0, 121,
+ 168, 168, 168, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 159, 159, 159, 160, 160, 161, 152,
+ 151, 152, 0, 153, 11, 13, 148, 15, 148, 16,
+ 18, 148, 20, 22, 24, 26, 6, 28, 30, 31,
+ 33, 35, 38, 36, 40, 41, 43, 45, 47, 49,
+
+ 51, 148, 148, 148, 53, 55, 148, 57, 59, 61,
+ 148, 63, 65, 67, 69, 148, 71, 73, 75, 77,
+ 148, 148, 148, 148, 148, 148, 0, 0, 0, 0,
+ 151, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 93, 94, 96, 0, 167, 0, 0, 0, 0,
+ 0, 0, 110, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 166, 165, 165, 122, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 156, 156, 157,
+ 158, 0, 154, 148, 148, 148, 148, 148, 148, 148,
+ 143, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 144, 148, 148, 148, 148, 148, 148, 148, 148,
+ 10, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 0, 173, 0, 0, 0, 86, 87, 0, 0,
+ 0, 0, 0, 0, 0, 98, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 145, 145, 145, 5, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
- 145, 7, 8, 145, 145, 145, 145, 145, 145, 145,
- 145, 145, 145, 145, 145, 145, 145, 145, 83, 145,
-
- 79, 0, 0, 0, 0, 137, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 107, 0, 111, 112, 0,
- 114, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 130, 131, 0, 0, 138, 12, 3, 14, 17,
- 19, 21, 23, 25, 27, 29, 32, 34, 39, 37,
- 42, 44, 46, 48, 50, 52, 54, 56, 58, 60,
- 62, 64, 66, 68, 70, 72, 74, 76, 78, 145,
- 81, 139, 0, 0, 84, 0, 90, 0, 0, 0,
- 99, 0, 0, 0, 0, 0, 0, 113, 0, 0,
- 119, 106, 0, 0, 0, 0, 0, 0, 135, 0,
-
- 80, 0, 0, 0, 0, 92, 95, 100, 0, 0,
- 105, 0, 0, 0, 118, 0, 0, 0, 0, 127,
- 129, 0, 2, 1, 0, 91, 0, 103, 0, 109,
- 117, 0, 0, 124, 125, 136, 0, 102, 0, 120,
- 123, 85, 108, 0
+ 0, 0, 0, 0, 164, 0, 0, 0, 126, 0,
+ 128, 0, 0, 0, 0, 0, 0, 163, 155, 148,
+ 148, 148, 4, 148, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+
+ 148, 148, 148, 9, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 82, 148, 148, 0, 0, 0, 0, 0, 88,
+ 89, 0, 0, 0, 0, 97, 0, 0, 101, 104,
+ 0, 0, 0, 0, 0, 0, 0, 115, 116, 0,
+ 0, 0, 0, 121, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 148, 148, 148, 5, 148, 148,
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+ 148, 148, 148, 148, 148, 7, 8, 148, 148, 148,
+ 148, 148, 148, 148, 148, 148, 148, 148, 148, 148,
+
+ 148, 148, 148, 83, 148, 79, 0, 0, 0, 0,
+ 137, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 107, 0, 111, 112, 0, 114, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 130, 131, 0, 0,
+ 138, 12, 3, 14, 17, 19, 21, 23, 25, 27,
+ 29, 32, 34, 39, 37, 42, 44, 46, 48, 50,
+ 52, 54, 56, 58, 60, 62, 148, 148, 148, 64,
+ 66, 68, 70, 72, 74, 76, 78, 148, 81, 139,
+ 0, 0, 84, 0, 90, 0, 0, 0, 99, 0,
+ 0, 0, 0, 0, 0, 113, 0, 0, 119, 106,
+
+ 0, 0, 0, 0, 0, 0, 135, 0, 145, 146,
+ 148, 80, 0, 0, 0, 0, 92, 95, 100, 0,
+ 0, 105, 0, 0, 0, 118, 0, 0, 0, 0,
+ 127, 129, 0, 148, 2, 1, 0, 91, 0, 103,
+ 0, 109, 117, 0, 0, 124, 125, 136, 147, 0,
+ 102, 0, 120, 123, 85, 108, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
@@ -484,157 +485,161 @@ static yyconst flex_int32_t yy_meta[66] =
2, 2, 2, 2, 2
} ;
-static yyconst flex_int16_t yy_base[649] =
+static yyconst flex_int16_t yy_base[662] =
{ 0,
- 0, 0, 904, 905, 901, 905, 898, 898, 0, 64,
- 80, 95, 117, 882, 115, 53, 38, 58, 55, 876,
- 121, 122, 67, 54, 115, 134, 65, 869, 840, 839,
- 851, 835, 849, 848, 889, 875, 886, 905, 0, 169,
- 905, 153, 133, 136, 17, 110, 131, 43, 148, 848,
- 834, 121, 146, 832, 844, 147, 905, 189, 190, 86,
- 189, 177, 185, 193, 250, 262, 273, 905, 905, 905,
- 852, 865, 859, 856, 847, 850, 846, 861, 255, 843,
- 857, 149, 843, 856, 847, 860, 837, 848, 839, 162,
- 840, 831, 840, 831, 830, 831, 825, 831, 842, 828,
-
- 825, 837, 828, 821, 837, 814, 165, 190, 833, 810,
- 795, 790, 807, 783, 788, 813, 144, 803, 225, 798,
- 286, 261, 800, 781, 263, 791, 787, 782, 96, 788,
- 774, 790, 787, 778, 270, 273, 780, 769, 783, 786,
- 768, 783, 770, 767, 774, 264, 782, 160, 269, 285,
- 288, 295, 759, 776, 777, 770, 752, 234, 753, 775,
- 766, 227, 284, 291, 295, 299, 303, 307, 905, 364,
- 375, 381, 387, 774, 205, 797, 0, 780, 771, 770,
- 789, 768, 767, 766, 765, 0, 764, 0, 763, 762,
- 0, 761, 760, 0, 759, 758, 757, 756, 755, 754,
-
- 769, 762, 775, 750, 749, 754, 747, 746, 745, 744,
- 743, 742, 741, 750, 739, 738, 737, 736, 728, 727,
- 712, 712, 711, 710, 752, 725, 713, 393, 400, 375,
- 717, 280, 714, 708, 708, 702, 715, 715, 700, 905,
- 905, 715, 703, 377, 710, 39, 707, 713, 376, 708,
- 905, 699, 706, 705, 708, 694, 693, 697, 692, 294,
- 697, 384, 396, 398, 905, 689, 687, 687, 695, 696,
- 678, 401, 683, 689, 364, 386, 394, 399, 403, 460,
- 466, 702, 714, 700, 699, 707, 697, 696, 0, 695,
- 694, 693, 692, 691, 690, 689, 688, 687, 686, 685,
-
- 684, 683, 682, 681, 684, 677, 684, 677, 676, 0,
- 675, 674, 673, 672, 671, 670, 669, 0, 668, 667,
- 666, 665, 644, 638, 643, 649, 632, 647, 374, 905,
- 646, 636, 640, 905, 905, 630, 639, 625, 642, 625,
- 628, 622, 905, 623, 622, 619, 626, 619, 627, 623,
- 633, 630, 612, 618, 625, 609, 608, 626, 608, 620,
- 619, 905, 618, 608, 612, 905, 599, 905, 604, 604,
- 612, 595, 596, 606, 905, 905, 637, 619, 635, 0,
- 633, 633, 632, 631, 630, 629, 628, 627, 626, 625,
- 624, 623, 622, 621, 620, 619, 618, 617, 604, 597,
-
- 0, 614, 613, 612, 611, 610, 609, 608, 607, 606,
- 605, 604, 603, 602, 572, 575, 555, 0, 556, 549,
- 556, 555, 556, 548, 566, 905, 905, 548, 546, 556,
- 549, 905, 544, 561, 429, 905, 552, 536, 537, 546,
- 537, 536, 536, 905, 535, 544, 534, 550, 547, 905,
- 546, 544, 533, 534, 530, 522, 529, 524, 525, 520,
- 545, 545, 543, 0, 542, 541, 540, 539, 538, 537,
- 536, 535, 534, 533, 532, 531, 530, 529, 528, 527,
- 526, 0, 0, 525, 524, 523, 522, 521, 520, 519,
- 518, 517, 516, 515, 514, 513, 492, 492, 0, 499,
-
- 0, 532, 531, 481, 499, 905, 494, 489, 482, 478,
- 490, 480, 478, 474, 490, 481, 480, 905, 905, 483,
- 905, 478, 471, 460, 471, 463, 467, 480, 475, 478,
- 460, 905, 905, 472, 461, 905, 0, 0, 0, 0,
+ 0, 0, 917, 918, 914, 918, 911, 911, 0, 64,
+ 80, 95, 117, 895, 115, 53, 38, 58, 55, 889,
+ 121, 122, 67, 54, 115, 137, 65, 882, 853, 852,
+ 864, 848, 862, 861, 902, 888, 899, 918, 0, 172,
+ 918, 156, 136, 139, 17, 107, 134, 43, 151, 861,
+ 847, 109, 149, 845, 857, 150, 918, 192, 193, 86,
+ 192, 180, 188, 196, 253, 265, 276, 918, 918, 918,
+ 865, 878, 872, 869, 860, 863, 859, 874, 258, 856,
+ 870, 170, 856, 869, 860, 873, 850, 861, 852, 135,
+ 853, 844, 853, 844, 843, 844, 838, 844, 855, 841,
+
+ 838, 850, 853, 840, 833, 849, 826, 157, 189, 845,
+ 822, 807, 802, 819, 795, 800, 825, 150, 815, 124,
+ 810, 289, 264, 812, 793, 266, 803, 799, 794, 224,
+ 800, 786, 802, 799, 790, 273, 276, 792, 781, 795,
+ 798, 780, 795, 782, 779, 786, 267, 794, 163, 272,
+ 288, 291, 298, 771, 788, 789, 782, 764, 238, 765,
+ 787, 778, 287, 294, 298, 302, 306, 310, 314, 918,
+ 371, 382, 388, 394, 786, 208, 809, 0, 792, 783,
+ 782, 801, 780, 779, 778, 777, 0, 776, 0, 775,
+ 774, 0, 773, 772, 0, 771, 770, 769, 768, 767,
+
+ 766, 781, 774, 787, 762, 761, 766, 759, 758, 757,
+ 777, 755, 754, 753, 752, 761, 750, 749, 748, 747,
+ 739, 738, 723, 723, 722, 721, 763, 736, 724, 400,
+ 407, 382, 728, 283, 725, 719, 719, 713, 726, 726,
+ 711, 918, 918, 726, 714, 384, 721, 39, 718, 724,
+ 383, 719, 918, 710, 717, 716, 719, 705, 704, 708,
+ 703, 92, 708, 391, 403, 405, 918, 700, 698, 698,
+ 706, 707, 689, 408, 694, 700, 371, 393, 401, 406,
+ 410, 467, 473, 713, 725, 711, 710, 718, 708, 707,
+ 0, 706, 705, 704, 703, 702, 701, 700, 699, 698,
+
+ 697, 696, 695, 694, 693, 692, 695, 688, 695, 688,
+ 687, 0, 686, 685, 684, 687, 682, 681, 680, 679,
+ 0, 678, 677, 676, 675, 654, 648, 653, 659, 642,
+ 657, 161, 918, 656, 646, 650, 918, 918, 640, 649,
+ 635, 652, 635, 638, 632, 918, 633, 632, 629, 636,
+ 629, 637, 633, 643, 640, 622, 628, 635, 619, 618,
+ 636, 618, 630, 629, 918, 628, 618, 622, 918, 609,
+ 918, 614, 614, 622, 605, 606, 616, 918, 918, 647,
+ 629, 645, 0, 643, 643, 642, 641, 640, 639, 638,
+ 637, 636, 635, 634, 633, 632, 631, 630, 629, 628,
+
+ 627, 614, 607, 0, 624, 623, 622, 621, 620, 598,
+ 618, 617, 616, 615, 614, 613, 612, 611, 581, 584,
+ 564, 0, 565, 558, 565, 564, 565, 557, 575, 918,
+ 918, 557, 555, 565, 558, 918, 553, 570, 239, 918,
+ 561, 545, 546, 555, 546, 545, 545, 918, 544, 553,
+ 543, 559, 556, 918, 555, 553, 542, 543, 539, 531,
+ 538, 533, 534, 529, 554, 554, 552, 0, 551, 550,
+ 549, 548, 547, 546, 545, 544, 543, 542, 541, 540,
+ 539, 538, 537, 536, 535, 0, 0, 534, 533, 532,
+ 531, 530, 478, 529, 528, 527, 526, 525, 524, 523,
+
+ 522, 501, 501, 0, 508, 0, 541, 540, 490, 508,
+ 918, 503, 498, 491, 487, 499, 489, 487, 483, 499,
+ 490, 489, 918, 918, 492, 918, 487, 480, 469, 480,
+ 472, 476, 489, 484, 487, 469, 918, 918, 481, 470,
+ 918, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 455,
- 0, 0, 505, 504, 905, 452, 905, 456, 456, 465,
- 905, 449, 463, 451, 453, 450, 458, 905, 436, 447,
- 905, 905, 451, 447, 439, 432, 426, 439, 905, 396,
-
- 0, 443, 437, 392, 378, 905, 905, 905, 378, 338,
- 905, 337, 317, 307, 905, 296, 290, 275, 275, 905,
- 905, 288, 905, 905, 268, 905, 261, 905, 264, 905,
- 905, 213, 158, 905, 905, 905, 128, 905, 75, 905,
- 905, 905, 905, 905, 484, 487, 489, 493
+ 0, 0, 0, 0, 0, 0, 505, 503, 496, 0,
+ 0, 0, 0, 0, 0, 0, 0, 449, 0, 0,
+ 499, 498, 918, 446, 918, 450, 450, 459, 918, 443,
+ 457, 445, 447, 444, 452, 918, 430, 441, 918, 918,
+
+ 445, 441, 434, 432, 404, 416, 918, 395, 0, 0,
+ 430, 0, 433, 429, 381, 373, 918, 918, 918, 344,
+ 344, 918, 343, 292, 309, 918, 293, 292, 279, 284,
+ 918, 918, 292, 302, 918, 918, 271, 918, 264, 918,
+ 267, 918, 918, 242, 236, 918, 918, 918, 0, 215,
+ 918, 121, 918, 918, 918, 918, 918, 509, 512, 514,
+ 518
} ;
-static yyconst flex_int16_t yy_def[649] =
+static yyconst flex_int16_t yy_def[662] =
{ 0,
- 644, 1, 644, 644, 644, 644, 644, 645, 646, 644,
- 644, 647, 647, 13, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 644, 644, 645, 644, 646, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 648, 644, 644, 644, 644, 644,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
-
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
-
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
-
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
-
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
-
- 646, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 646, 646, 646, 646, 646, 646, 646, 646,
- 646, 646, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
-
- 646, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 0, 644, 644, 644, 644
+ 657, 1, 657, 657, 657, 657, 657, 658, 659, 657,
+ 657, 660, 660, 13, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 657, 657, 658, 657, 659, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 661, 657, 657, 657, 657, 657,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+
+ 659, 659, 659, 659, 659, 659, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 659, 659, 659, 659, 659, 659, 659, 659, 659, 659,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+
+ 657, 657, 657, 657, 657, 657, 657, 657, 659, 659,
+ 659, 659, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 659, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 659, 657,
+ 657, 657, 657, 657, 657, 657, 0, 657, 657, 657,
+ 657
} ;
-static yyconst flex_int16_t yy_nxt[971] =
+static yyconst flex_int16_t yy_nxt[984] =
{ 0,
4, 5, 6, 7, 8, 9, 4, 10, 11, 12,
13, 14, 11, 11, 15, 9, 16, 17, 18, 19,
@@ -642,109 +647,111 @@ static yyconst flex_int16_t yy_nxt[971] =
25, 26, 27, 9, 9, 9, 28, 9, 9, 9,
9, 9, 9, 9, 29, 9, 9, 9, 9, 9,
9, 9, 9, 9, 30, 9, 31, 32, 33, 9,
- 34, 9, 9, 9, 9, 40, 79, 126, 96, 80,
- 127, 41, 42, 42, 42, 42, 42, 42, 76, 83,
- 77, 97, 344, 107, 81, 84, 78, 65, 66, 66,
- 66, 66, 66, 66, 82, 94, 133, 345, 67, 134,
+ 34, 9, 9, 9, 9, 40, 79, 127, 96, 80,
+ 128, 41, 42, 42, 42, 42, 42, 42, 76, 83,
+ 77, 97, 347, 108, 81, 84, 78, 65, 66, 66,
+ 66, 66, 66, 66, 82, 94, 134, 348, 67, 135,
- 95, 108, 65, 43, 44, 45, 46, 47, 48, 49,
+ 95, 109, 65, 43, 44, 45, 46, 47, 48, 49,
50, 51, 68, 67, 52, 53, 54, 55, 56, 57,
- 58, 59, 60, 67, 65, 61, 62, 63, 64, 159,
- 71, 98, 72, 99, 69, 67, 90, 643, 67, 73,
- 237, 86, 160, 87, 91, 74, 100, 75, 88, 92,
- 101, 89, 238, 128, 102, 93, 103, 129, 104, 187,
- 67, 42, 42, 42, 42, 42, 42, 105, 139, 106,
- 40, 121, 122, 122, 140, 125, 122, 188, 122, 196,
- 642, 122, 130, 131, 123, 141, 146, 135, 136, 122,
- 214, 124, 122, 122, 132, 123, 121, 147, 197, 142,
-
- 148, 215, 124, 149, 122, 216, 143, 257, 117, 118,
- 45, 46, 47, 48, 641, 50, 51, 258, 217, 52,
- 53, 54, 55, 56, 57, 119, 59, 60, 150, 151,
- 120, 154, 161, 155, 152, 283, 156, 157, 163, 162,
- 164, 165, 153, 284, 158, 122, 166, 162, 162, 167,
- 162, 162, 162, 162, 168, 162, 162, 162, 170, 170,
- 170, 170, 170, 170, 227, 640, 182, 183, 171, 65,
- 66, 66, 66, 66, 66, 66, 184, 270, 153, 172,
- 67, 173, 173, 173, 173, 173, 173, 271, 275, 275,
- 275, 275, 228, 171, 229, 229, 229, 229, 229, 229,
-
- 230, 230, 230, 230, 233, 67, 230, 639, 230, 230,
- 230, 638, 244, 230, 254, 230, 259, 230, 230, 230,
- 255, 637, 260, 332, 230, 230, 230, 262, 230, 230,
- 230, 636, 635, 230, 263, 264, 333, 261, 634, 359,
- 230, 230, 360, 633, 230, 275, 275, 275, 275, 632,
- 631, 230, 276, 275, 275, 277, 278, 275, 275, 275,
- 275, 275, 275, 275, 279, 275, 275, 275, 275, 275,
- 275, 275, 42, 42, 42, 42, 42, 42, 630, 629,
- 628, 280, 121, 281, 281, 281, 281, 281, 281, 173,
- 173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
-
- 173, 229, 229, 229, 229, 229, 229, 121, 229, 229,
- 229, 229, 229, 229, 330, 330, 330, 330, 421, 348,
- 330, 627, 330, 330, 330, 375, 375, 375, 375, 330,
- 626, 330, 349, 330, 422, 330, 330, 362, 330, 625,
- 330, 330, 369, 330, 370, 624, 371, 375, 375, 375,
- 375, 623, 330, 622, 330, 376, 375, 375, 375, 372,
- 375, 375, 375, 375, 375, 375, 375, 375, 281, 281,
- 281, 281, 281, 281, 281, 281, 281, 281, 281, 281,
- 513, 621, 620, 514, 37, 37, 37, 37, 39, 619,
- 39, 66, 66, 169, 169, 618, 169, 617, 616, 615,
-
- 614, 613, 612, 611, 610, 609, 608, 607, 606, 605,
- 604, 603, 602, 601, 600, 599, 598, 597, 596, 595,
- 594, 593, 592, 591, 590, 589, 588, 587, 586, 585,
- 584, 583, 582, 581, 580, 579, 578, 577, 576, 575,
- 574, 573, 572, 571, 570, 569, 568, 567, 566, 565,
- 564, 563, 562, 561, 560, 559, 558, 557, 556, 555,
- 554, 553, 552, 551, 550, 549, 548, 547, 546, 545,
- 544, 543, 542, 541, 540, 539, 538, 537, 536, 535,
- 534, 533, 532, 531, 530, 529, 528, 527, 526, 525,
- 524, 523, 522, 521, 520, 519, 518, 517, 516, 515,
-
- 512, 511, 510, 509, 508, 507, 506, 505, 504, 503,
- 502, 501, 500, 499, 498, 497, 496, 495, 494, 493,
- 492, 491, 490, 489, 488, 487, 486, 485, 484, 483,
- 482, 481, 480, 479, 478, 477, 476, 475, 474, 473,
- 472, 471, 470, 469, 468, 467, 466, 465, 464, 463,
- 462, 461, 460, 459, 458, 457, 456, 455, 454, 453,
- 452, 451, 450, 449, 448, 447, 446, 445, 444, 443,
- 442, 441, 440, 439, 438, 437, 436, 435, 434, 433,
- 432, 431, 430, 429, 428, 427, 426, 425, 424, 423,
- 420, 419, 418, 417, 416, 415, 414, 413, 412, 411,
-
- 410, 409, 408, 407, 406, 405, 404, 403, 402, 401,
- 400, 399, 398, 397, 396, 395, 394, 393, 392, 391,
- 390, 389, 388, 387, 386, 385, 384, 383, 382, 381,
- 380, 379, 378, 377, 374, 373, 368, 367, 366, 365,
- 364, 363, 361, 358, 357, 356, 355, 354, 353, 352,
- 351, 350, 347, 346, 343, 342, 341, 340, 339, 338,
- 337, 336, 335, 334, 331, 261, 233, 329, 328, 327,
- 326, 325, 324, 323, 322, 321, 320, 319, 318, 317,
- 316, 315, 314, 313, 312, 311, 310, 309, 308, 307,
- 306, 305, 304, 303, 302, 301, 300, 299, 298, 297,
-
- 296, 295, 294, 293, 292, 291, 290, 289, 288, 287,
- 286, 285, 282, 274, 273, 272, 269, 268, 267, 266,
- 265, 256, 253, 252, 251, 250, 249, 248, 247, 246,
- 245, 243, 242, 241, 240, 239, 236, 235, 234, 232,
- 231, 161, 226, 225, 224, 223, 222, 221, 220, 219,
- 218, 213, 212, 211, 210, 209, 208, 207, 206, 205,
- 204, 203, 202, 201, 200, 199, 198, 195, 194, 193,
- 192, 191, 190, 189, 186, 185, 181, 180, 179, 178,
- 177, 176, 175, 174, 145, 144, 138, 137, 38, 116,
- 35, 115, 114, 113, 112, 111, 110, 109, 85, 70,
-
- 38, 36, 35, 644, 3, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644
+ 58, 59, 60, 67, 65, 61, 62, 63, 64, 160,
+ 71, 98, 72, 99, 69, 67, 90, 362, 67, 73,
+ 363, 86, 161, 87, 91, 74, 100, 75, 88, 92,
+ 129, 89, 197, 101, 130, 93, 140, 102, 103, 104,
+ 67, 105, 141, 229, 42, 42, 42, 42, 42, 42,
+ 106, 198, 107, 40, 122, 123, 123, 154, 126, 123,
+ 188, 123, 216, 656, 123, 131, 132, 124, 142, 147,
+ 136, 137, 123, 217, 125, 123, 123, 133, 189, 122,
+
+ 148, 124, 143, 149, 218, 425, 150, 123, 125, 144,
+ 259, 118, 119, 45, 46, 47, 48, 219, 50, 51,
+ 260, 426, 52, 53, 54, 55, 56, 57, 120, 59,
+ 60, 151, 152, 121, 155, 162, 156, 153, 285, 157,
+ 158, 164, 163, 165, 166, 154, 286, 159, 123, 167,
+ 163, 163, 168, 163, 163, 163, 163, 169, 163, 163,
+ 163, 171, 171, 171, 171, 171, 171, 655, 239, 183,
+ 184, 172, 65, 66, 66, 66, 66, 66, 66, 185,
+ 240, 272, 173, 67, 174, 174, 174, 174, 174, 174,
+ 518, 273, 654, 519, 653, 230, 172, 231, 231, 231,
+
+ 231, 231, 231, 232, 232, 232, 232, 235, 67, 232,
+ 652, 232, 232, 232, 651, 246, 232, 256, 232, 261,
+ 232, 232, 232, 257, 650, 262, 335, 232, 232, 232,
+ 264, 232, 232, 232, 649, 648, 232, 265, 266, 336,
+ 263, 647, 646, 232, 232, 645, 644, 232, 277, 277,
+ 277, 277, 643, 642, 232, 277, 277, 277, 277, 278,
+ 277, 277, 279, 280, 277, 277, 277, 277, 277, 277,
+ 277, 281, 277, 277, 277, 277, 277, 277, 277, 42,
+ 42, 42, 42, 42, 42, 641, 640, 639, 282, 122,
+ 283, 283, 283, 283, 283, 283, 174, 174, 174, 174,
+
+ 174, 174, 174, 174, 174, 174, 174, 174, 231, 231,
+ 231, 231, 231, 231, 122, 231, 231, 231, 231, 231,
+ 231, 333, 333, 333, 333, 638, 351, 333, 637, 333,
+ 333, 333, 378, 378, 378, 378, 333, 636, 333, 352,
+ 333, 635, 333, 333, 365, 333, 634, 333, 333, 372,
+ 333, 373, 633, 374, 378, 378, 378, 378, 632, 333,
+ 631, 333, 379, 378, 378, 378, 375, 378, 378, 378,
+ 378, 378, 378, 378, 378, 283, 283, 283, 283, 283,
+ 283, 283, 283, 283, 283, 283, 283, 567, 568, 630,
+ 629, 628, 627, 626, 625, 624, 623, 622, 621, 620,
+
+ 619, 618, 617, 616, 615, 614, 613, 612, 569, 37,
+ 37, 37, 37, 39, 611, 39, 66, 66, 170, 170,
+ 610, 170, 609, 608, 607, 606, 605, 604, 603, 602,
+ 601, 600, 599, 598, 597, 596, 595, 594, 593, 592,
+ 591, 590, 589, 588, 587, 586, 585, 584, 583, 582,
+ 581, 580, 579, 578, 577, 576, 575, 574, 573, 572,
+ 571, 570, 566, 565, 564, 563, 562, 561, 560, 559,
+ 558, 557, 556, 555, 554, 553, 552, 551, 550, 549,
+ 548, 547, 546, 545, 544, 543, 542, 541, 540, 539,
+ 538, 537, 536, 535, 534, 533, 532, 531, 530, 529,
+
+ 528, 527, 526, 525, 524, 523, 522, 521, 520, 517,
+ 516, 515, 514, 513, 512, 511, 510, 509, 508, 507,
+ 506, 505, 504, 503, 502, 501, 500, 499, 498, 497,
+ 496, 495, 494, 493, 492, 491, 490, 489, 488, 487,
+ 486, 485, 484, 483, 482, 481, 480, 479, 478, 477,
+ 476, 475, 474, 473, 472, 471, 470, 469, 468, 467,
+ 466, 465, 464, 463, 462, 461, 460, 459, 458, 457,
+ 456, 455, 454, 453, 452, 451, 450, 449, 448, 447,
+ 446, 445, 444, 443, 442, 441, 440, 439, 438, 437,
+ 436, 435, 434, 433, 432, 431, 430, 429, 428, 427,
+
+ 424, 423, 422, 421, 420, 419, 418, 417, 416, 415,
+ 414, 413, 412, 411, 410, 409, 408, 407, 406, 405,
+ 404, 403, 402, 401, 400, 399, 398, 397, 396, 395,
+ 394, 393, 392, 391, 390, 389, 388, 387, 386, 385,
+ 384, 383, 382, 381, 380, 377, 376, 371, 370, 369,
+ 368, 367, 366, 364, 361, 360, 359, 358, 357, 356,
+ 355, 354, 353, 350, 349, 346, 345, 344, 343, 342,
+ 341, 340, 339, 338, 337, 334, 263, 235, 332, 331,
+ 330, 329, 328, 327, 326, 325, 324, 323, 322, 321,
+ 320, 319, 318, 317, 316, 315, 314, 313, 312, 311,
+
+ 310, 309, 308, 307, 306, 305, 304, 303, 302, 301,
+ 300, 299, 298, 297, 296, 295, 294, 293, 292, 291,
+ 290, 289, 288, 287, 284, 276, 275, 274, 271, 270,
+ 269, 268, 267, 258, 255, 254, 253, 252, 251, 250,
+ 249, 248, 247, 245, 244, 243, 242, 241, 238, 237,
+ 236, 234, 233, 162, 228, 227, 226, 225, 224, 223,
+ 222, 221, 220, 215, 214, 213, 212, 211, 210, 209,
+ 208, 207, 206, 205, 204, 203, 202, 201, 200, 199,
+ 196, 195, 194, 193, 192, 191, 190, 187, 186, 182,
+ 181, 180, 179, 178, 177, 176, 175, 146, 145, 139,
+
+ 138, 38, 117, 35, 116, 115, 114, 113, 112, 111,
+ 110, 85, 70, 38, 36, 35, 657, 3, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657
} ;
-static yyconst flex_int16_t yy_chk[971] =
+static yyconst flex_int16_t yy_chk[984] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -754,104 +761,106 @@ static yyconst flex_int16_t yy_chk[971] =
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 10, 17, 45, 24, 17,
45, 10, 10, 10, 10, 10, 10, 10, 16, 19,
- 16, 24, 246, 27, 18, 19, 16, 11, 11, 11,
- 11, 11, 11, 11, 18, 23, 48, 246, 11, 48,
+ 16, 24, 248, 27, 18, 19, 16, 11, 11, 11,
+ 11, 11, 11, 11, 18, 23, 48, 248, 11, 48,
23, 27, 12, 10, 10, 10, 10, 10, 10, 10,
10, 10, 12, 12, 10, 10, 10, 10, 10, 10,
10, 10, 10, 11, 13, 10, 10, 10, 10, 60,
- 15, 25, 15, 25, 13, 13, 22, 639, 12, 15,
- 129, 21, 60, 21, 22, 15, 25, 15, 21, 22,
- 26, 21, 129, 46, 26, 22, 26, 46, 26, 82,
- 13, 42, 42, 42, 42, 42, 42, 26, 52, 26,
- 40, 42, 43, 43, 52, 44, 44, 82, 43, 90,
- 637, 44, 47, 47, 43, 53, 56, 49, 49, 43,
- 107, 43, 44, 49, 47, 117, 42, 56, 90, 53,
-
- 56, 107, 117, 56, 49, 108, 53, 148, 40, 40,
- 40, 40, 40, 40, 633, 40, 40, 148, 108, 40,
- 40, 40, 40, 40, 40, 40, 40, 40, 58, 58,
- 40, 59, 61, 59, 58, 175, 59, 59, 62, 62,
- 62, 62, 58, 175, 59, 58, 63, 63, 63, 63,
- 61, 61, 61, 61, 64, 64, 64, 64, 65, 65,
- 65, 65, 65, 65, 119, 632, 79, 79, 65, 66,
- 66, 66, 66, 66, 66, 66, 79, 158, 119, 67,
- 66, 67, 67, 67, 67, 67, 67, 158, 162, 162,
- 162, 162, 121, 65, 121, 121, 121, 121, 121, 121,
-
- 122, 122, 125, 125, 125, 66, 122, 629, 125, 135,
- 135, 627, 136, 136, 146, 135, 149, 122, 136, 125,
- 146, 625, 149, 232, 150, 150, 135, 151, 151, 136,
- 150, 622, 619, 151, 152, 152, 232, 150, 618, 260,
- 152, 150, 260, 617, 151, 163, 163, 163, 163, 616,
- 614, 152, 164, 164, 164, 164, 165, 165, 165, 165,
- 166, 166, 166, 166, 167, 167, 167, 167, 168, 168,
- 168, 168, 170, 170, 170, 170, 170, 170, 613, 612,
- 610, 171, 170, 171, 171, 171, 171, 171, 171, 172,
- 172, 172, 172, 172, 172, 173, 173, 173, 173, 173,
-
- 173, 228, 228, 228, 228, 228, 228, 170, 229, 229,
- 229, 229, 229, 229, 230, 230, 244, 244, 329, 249,
- 230, 609, 244, 262, 262, 275, 275, 275, 275, 262,
- 605, 230, 249, 244, 329, 263, 263, 264, 264, 604,
- 262, 263, 272, 264, 272, 603, 272, 276, 276, 276,
- 276, 602, 263, 600, 264, 277, 277, 277, 277, 272,
- 278, 278, 278, 278, 279, 279, 279, 279, 280, 280,
- 280, 280, 280, 280, 281, 281, 281, 281, 281, 281,
- 435, 598, 597, 435, 645, 645, 645, 645, 646, 596,
- 646, 647, 647, 648, 648, 595, 648, 594, 593, 590,
-
- 589, 587, 586, 585, 584, 583, 582, 580, 579, 578,
- 576, 574, 573, 570, 535, 534, 531, 530, 529, 528,
- 527, 526, 525, 524, 523, 522, 520, 517, 516, 515,
- 514, 513, 512, 511, 510, 509, 508, 507, 505, 504,
- 503, 502, 500, 498, 497, 496, 495, 494, 493, 492,
- 491, 490, 489, 488, 487, 486, 485, 484, 481, 480,
- 479, 478, 477, 476, 475, 474, 473, 472, 471, 470,
- 469, 468, 467, 466, 465, 463, 462, 461, 460, 459,
- 458, 457, 456, 455, 454, 453, 452, 451, 449, 448,
- 447, 446, 445, 443, 442, 441, 440, 439, 438, 437,
-
- 434, 433, 431, 430, 429, 428, 425, 424, 423, 422,
- 421, 420, 419, 417, 416, 415, 414, 413, 412, 411,
- 410, 409, 408, 407, 406, 405, 404, 403, 402, 400,
- 399, 398, 397, 396, 395, 394, 393, 392, 391, 390,
- 389, 388, 387, 386, 385, 384, 383, 382, 381, 379,
- 378, 377, 374, 373, 372, 371, 370, 369, 367, 365,
- 364, 363, 361, 360, 359, 358, 357, 356, 355, 354,
- 353, 352, 351, 350, 349, 348, 347, 346, 345, 344,
- 342, 341, 340, 339, 338, 337, 336, 333, 332, 331,
- 328, 327, 326, 325, 324, 323, 322, 321, 320, 319,
-
- 317, 316, 315, 314, 313, 312, 311, 309, 308, 307,
- 306, 305, 304, 303, 302, 301, 300, 299, 298, 297,
- 296, 295, 294, 293, 292, 291, 290, 288, 287, 286,
- 285, 284, 283, 282, 274, 273, 271, 270, 269, 268,
- 267, 266, 261, 259, 258, 257, 256, 255, 254, 253,
- 252, 250, 248, 247, 245, 243, 242, 239, 238, 237,
- 236, 235, 234, 233, 231, 227, 226, 225, 224, 223,
- 222, 221, 220, 219, 218, 217, 216, 215, 214, 213,
- 212, 211, 210, 209, 208, 207, 206, 205, 204, 203,
- 202, 201, 200, 199, 198, 197, 196, 195, 193, 192,
-
- 190, 189, 187, 185, 184, 183, 182, 181, 180, 179,
- 178, 176, 174, 161, 160, 159, 157, 156, 155, 154,
- 153, 147, 145, 144, 143, 142, 141, 140, 139, 138,
- 137, 134, 133, 132, 131, 130, 128, 127, 126, 124,
- 123, 120, 118, 116, 115, 114, 113, 112, 111, 110,
- 109, 106, 105, 104, 103, 102, 101, 100, 99, 98,
- 97, 96, 95, 94, 93, 92, 91, 89, 88, 87,
- 86, 85, 84, 83, 81, 80, 78, 77, 76, 75,
- 74, 73, 72, 71, 55, 54, 51, 50, 37, 36,
- 35, 34, 33, 32, 31, 30, 29, 28, 20, 14,
-
- 8, 7, 5, 3, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644,
- 644, 644, 644, 644, 644, 644, 644, 644, 644, 644
+ 15, 25, 15, 25, 13, 13, 22, 262, 12, 15,
+ 262, 21, 60, 21, 22, 15, 25, 15, 21, 22,
+ 46, 21, 90, 26, 46, 22, 52, 26, 26, 26,
+ 13, 26, 52, 120, 42, 42, 42, 42, 42, 42,
+ 26, 90, 26, 40, 42, 43, 43, 120, 44, 44,
+ 82, 43, 108, 652, 44, 47, 47, 43, 53, 56,
+ 49, 49, 43, 108, 43, 44, 49, 47, 82, 42,
+
+ 56, 118, 53, 56, 109, 332, 56, 49, 118, 53,
+ 149, 40, 40, 40, 40, 40, 40, 109, 40, 40,
+ 149, 332, 40, 40, 40, 40, 40, 40, 40, 40,
+ 40, 58, 58, 40, 59, 61, 59, 58, 176, 59,
+ 59, 62, 62, 62, 62, 58, 176, 59, 58, 63,
+ 63, 63, 63, 61, 61, 61, 61, 64, 64, 64,
+ 64, 65, 65, 65, 65, 65, 65, 650, 130, 79,
+ 79, 65, 66, 66, 66, 66, 66, 66, 66, 79,
+ 130, 159, 67, 66, 67, 67, 67, 67, 67, 67,
+ 439, 159, 645, 439, 644, 122, 65, 122, 122, 122,
+
+ 122, 122, 122, 123, 123, 126, 126, 126, 66, 123,
+ 641, 126, 136, 136, 639, 137, 137, 147, 136, 150,
+ 123, 137, 126, 147, 637, 150, 234, 151, 151, 136,
+ 152, 152, 137, 151, 634, 633, 152, 153, 153, 234,
+ 151, 630, 629, 153, 151, 628, 627, 152, 163, 163,
+ 163, 163, 625, 624, 153, 164, 164, 164, 164, 165,
+ 165, 165, 165, 166, 166, 166, 166, 167, 167, 167,
+ 167, 168, 168, 168, 168, 169, 169, 169, 169, 171,
+ 171, 171, 171, 171, 171, 623, 621, 620, 172, 171,
+ 172, 172, 172, 172, 172, 172, 173, 173, 173, 173,
+
+ 173, 173, 174, 174, 174, 174, 174, 174, 230, 230,
+ 230, 230, 230, 230, 171, 231, 231, 231, 231, 231,
+ 231, 232, 232, 246, 246, 616, 251, 232, 615, 246,
+ 264, 264, 277, 277, 277, 277, 264, 614, 232, 251,
+ 246, 613, 265, 265, 266, 266, 611, 264, 265, 274,
+ 266, 274, 608, 274, 278, 278, 278, 278, 606, 265,
+ 605, 266, 279, 279, 279, 279, 274, 280, 280, 280,
+ 280, 281, 281, 281, 281, 282, 282, 282, 282, 282,
+ 282, 283, 283, 283, 283, 283, 283, 493, 493, 604,
+ 603, 602, 601, 598, 597, 595, 594, 593, 592, 591,
+
+ 590, 588, 587, 586, 584, 582, 581, 578, 493, 658,
+ 658, 658, 658, 659, 569, 659, 660, 660, 661, 661,
+ 568, 661, 567, 540, 539, 536, 535, 534, 533, 532,
+ 531, 530, 529, 528, 527, 525, 522, 521, 520, 519,
+ 518, 517, 516, 515, 514, 513, 512, 510, 509, 508,
+ 507, 505, 503, 502, 501, 500, 499, 498, 497, 496,
+ 495, 494, 492, 491, 490, 489, 488, 485, 484, 483,
+ 482, 481, 480, 479, 478, 477, 476, 475, 474, 473,
+ 472, 471, 470, 469, 467, 466, 465, 464, 463, 462,
+ 461, 460, 459, 458, 457, 456, 455, 453, 452, 451,
+
+ 450, 449, 447, 446, 445, 444, 443, 442, 441, 438,
+ 437, 435, 434, 433, 432, 429, 428, 427, 426, 425,
+ 424, 423, 421, 420, 419, 418, 417, 416, 415, 414,
+ 413, 412, 411, 410, 409, 408, 407, 406, 405, 403,
+ 402, 401, 400, 399, 398, 397, 396, 395, 394, 393,
+ 392, 391, 390, 389, 388, 387, 386, 385, 384, 382,
+ 381, 380, 377, 376, 375, 374, 373, 372, 370, 368,
+ 367, 366, 364, 363, 362, 361, 360, 359, 358, 357,
+ 356, 355, 354, 353, 352, 351, 350, 349, 348, 347,
+ 345, 344, 343, 342, 341, 340, 339, 336, 335, 334,
+
+ 331, 330, 329, 328, 327, 326, 325, 324, 323, 322,
+ 320, 319, 318, 317, 316, 315, 314, 313, 311, 310,
+ 309, 308, 307, 306, 305, 304, 303, 302, 301, 300,
+ 299, 298, 297, 296, 295, 294, 293, 292, 290, 289,
+ 288, 287, 286, 285, 284, 276, 275, 273, 272, 271,
+ 270, 269, 268, 263, 261, 260, 259, 258, 257, 256,
+ 255, 254, 252, 250, 249, 247, 245, 244, 241, 240,
+ 239, 238, 237, 236, 235, 233, 229, 228, 227, 226,
+ 225, 224, 223, 222, 221, 220, 219, 218, 217, 216,
+ 215, 214, 213, 212, 211, 210, 209, 208, 207, 206,
+
+ 205, 204, 203, 202, 201, 200, 199, 198, 197, 196,
+ 194, 193, 191, 190, 188, 186, 185, 184, 183, 182,
+ 181, 180, 179, 177, 175, 162, 161, 160, 158, 157,
+ 156, 155, 154, 148, 146, 145, 144, 143, 142, 141,
+ 140, 139, 138, 135, 134, 133, 132, 131, 129, 128,
+ 127, 125, 124, 121, 119, 117, 116, 115, 114, 113,
+ 112, 111, 110, 107, 106, 105, 104, 103, 102, 101,
+ 100, 99, 98, 97, 96, 95, 94, 93, 92, 91,
+ 89, 88, 87, 86, 85, 84, 83, 81, 80, 78,
+ 77, 76, 75, 74, 73, 72, 71, 55, 54, 51,
+
+ 50, 37, 36, 35, 34, 33, 32, 31, 30, 29,
+ 28, 20, 14, 8, 7, 5, 3, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657, 657, 657, 657, 657, 657, 657, 657,
+ 657, 657, 657
} ;
/* The intent behind this definition is that it'll catch
@@ -893,6 +902,7 @@ static yyconst flex_int16_t yy_chk[971] =
#define require_ARB_vp (yyextra->mode == ARB_vertex)
#define require_ARB_fp (yyextra->mode == ARB_fragment)
+#define require_shadow (yyextra->option.Shadow)
#define require_rect (yyextra->option.TexRect)
#define return_token_or_IDENTIFIER(condition, token) \
@@ -986,7 +996,7 @@ swiz_from_char(char c)
} while(0);
#define YY_EXTRA_TYPE struct asm_parser_state *
-#line 990 "lex.yy.c"
+#line 1000 "lex.yy.c"
#define INITIAL 0
@@ -1232,10 +1242,10 @@ YY_DECL
register int yy_act;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
-#line 133 "program_lexer.l"
+#line 134 "program_lexer.l"
-#line 1239 "lex.yy.c"
+#line 1249 "lex.yy.c"
yylval = yylval_param;
@@ -1292,13 +1302,13 @@ yy_match:
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 645 )
+ if ( yy_current_state >= 658 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
- while ( yy_base[yy_current_state] != 905 );
+ while ( yy_base[yy_current_state] != 918 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
@@ -1324,17 +1334,17 @@ do_action: /* This label is used only to access EOF actions. */
case 1:
YY_RULE_SETUP
-#line 135 "program_lexer.l"
+#line 136 "program_lexer.l"
{ return ARBvp_10; }
YY_BREAK
case 2:
YY_RULE_SETUP
-#line 136 "program_lexer.l"
+#line 137 "program_lexer.l"
{ return ARBfp_10; }
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 137 "program_lexer.l"
+#line 138 "program_lexer.l"
{
yylval->integer = at_address;
return_token_or_IDENTIFIER(require_ARB_vp, ADDRESS);
@@ -1342,778 +1352,793 @@ YY_RULE_SETUP
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 141 "program_lexer.l"
+#line 142 "program_lexer.l"
{ return ALIAS; }
YY_BREAK
case 5:
YY_RULE_SETUP
-#line 142 "program_lexer.l"
+#line 143 "program_lexer.l"
{ return ATTRIB; }
YY_BREAK
case 6:
YY_RULE_SETUP
-#line 143 "program_lexer.l"
+#line 144 "program_lexer.l"
{ return END; }
YY_BREAK
case 7:
YY_RULE_SETUP
-#line 144 "program_lexer.l"
+#line 145 "program_lexer.l"
{ return OPTION; }
YY_BREAK
case 8:
YY_RULE_SETUP
-#line 145 "program_lexer.l"
+#line 146 "program_lexer.l"
{ return OUTPUT; }
YY_BREAK
case 9:
YY_RULE_SETUP
-#line 146 "program_lexer.l"
+#line 147 "program_lexer.l"
{ return PARAM; }
YY_BREAK
case 10:
YY_RULE_SETUP
-#line 147 "program_lexer.l"
+#line 148 "program_lexer.l"
{ yylval->integer = at_temp; return TEMP; }
YY_BREAK
case 11:
YY_RULE_SETUP
-#line 149 "program_lexer.l"
+#line 150 "program_lexer.l"
{ return_opcode( 1, VECTOR_OP, ABS, OFF); }
YY_BREAK
case 12:
YY_RULE_SETUP
-#line 150 "program_lexer.l"
+#line 151 "program_lexer.l"
{ return_opcode(require_ARB_fp, VECTOR_OP, ABS, ZERO_ONE); }
YY_BREAK
case 13:
YY_RULE_SETUP
-#line 151 "program_lexer.l"
+#line 152 "program_lexer.l"
{ return_opcode( 1, BIN_OP, ADD, OFF); }
YY_BREAK
case 14:
YY_RULE_SETUP
-#line 152 "program_lexer.l"
+#line 153 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, ADD, ZERO_ONE); }
YY_BREAK
case 15:
YY_RULE_SETUP
-#line 153 "program_lexer.l"
+#line 154 "program_lexer.l"
{ return_opcode(require_ARB_vp, ARL, ARL, OFF); }
YY_BREAK
case 16:
YY_RULE_SETUP
-#line 155 "program_lexer.l"
+#line 156 "program_lexer.l"
{ return_opcode(require_ARB_fp, TRI_OP, CMP, OFF); }
YY_BREAK
case 17:
YY_RULE_SETUP
-#line 156 "program_lexer.l"
+#line 157 "program_lexer.l"
{ return_opcode(require_ARB_fp, TRI_OP, CMP, ZERO_ONE); }
YY_BREAK
case 18:
YY_RULE_SETUP
-#line 157 "program_lexer.l"
+#line 158 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, COS, OFF); }
YY_BREAK
case 19:
YY_RULE_SETUP
-#line 158 "program_lexer.l"
+#line 159 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, COS, ZERO_ONE); }
YY_BREAK
case 20:
YY_RULE_SETUP
-#line 160 "program_lexer.l"
+#line 161 "program_lexer.l"
{ return_opcode( 1, BIN_OP, DP3, OFF); }
YY_BREAK
case 21:
YY_RULE_SETUP
-#line 161 "program_lexer.l"
+#line 162 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, DP3, ZERO_ONE); }
YY_BREAK
case 22:
YY_RULE_SETUP
-#line 162 "program_lexer.l"
+#line 163 "program_lexer.l"
{ return_opcode( 1, BIN_OP, DP4, OFF); }
YY_BREAK
case 23:
YY_RULE_SETUP
-#line 163 "program_lexer.l"
+#line 164 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, DP4, ZERO_ONE); }
YY_BREAK
case 24:
YY_RULE_SETUP
-#line 164 "program_lexer.l"
+#line 165 "program_lexer.l"
{ return_opcode( 1, BIN_OP, DPH, OFF); }
YY_BREAK
case 25:
YY_RULE_SETUP
-#line 165 "program_lexer.l"
+#line 166 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, DPH, ZERO_ONE); }
YY_BREAK
case 26:
YY_RULE_SETUP
-#line 166 "program_lexer.l"
+#line 167 "program_lexer.l"
{ return_opcode( 1, BIN_OP, DST, OFF); }
YY_BREAK
case 27:
YY_RULE_SETUP
-#line 167 "program_lexer.l"
+#line 168 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, DST, ZERO_ONE); }
YY_BREAK
case 28:
YY_RULE_SETUP
-#line 169 "program_lexer.l"
+#line 170 "program_lexer.l"
{ return_opcode( 1, SCALAR_OP, EX2, OFF); }
YY_BREAK
case 29:
YY_RULE_SETUP
-#line 170 "program_lexer.l"
+#line 171 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, EX2, ZERO_ONE); }
YY_BREAK
case 30:
YY_RULE_SETUP
-#line 171 "program_lexer.l"
+#line 172 "program_lexer.l"
{ return_opcode(require_ARB_vp, SCALAR_OP, EXP, OFF); }
YY_BREAK
case 31:
YY_RULE_SETUP
-#line 173 "program_lexer.l"
+#line 174 "program_lexer.l"
{ return_opcode( 1, VECTOR_OP, FLR, OFF); }
YY_BREAK
case 32:
YY_RULE_SETUP
-#line 174 "program_lexer.l"
+#line 175 "program_lexer.l"
{ return_opcode(require_ARB_fp, VECTOR_OP, FLR, ZERO_ONE); }
YY_BREAK
case 33:
YY_RULE_SETUP
-#line 175 "program_lexer.l"
+#line 176 "program_lexer.l"
{ return_opcode( 1, VECTOR_OP, FRC, OFF); }
YY_BREAK
case 34:
YY_RULE_SETUP
-#line 176 "program_lexer.l"
+#line 177 "program_lexer.l"
{ return_opcode(require_ARB_fp, VECTOR_OP, FRC, ZERO_ONE); }
YY_BREAK
case 35:
YY_RULE_SETUP
-#line 178 "program_lexer.l"
+#line 179 "program_lexer.l"
{ return_opcode(require_ARB_fp, KIL, KIL, OFF); }
YY_BREAK
case 36:
YY_RULE_SETUP
-#line 180 "program_lexer.l"
+#line 181 "program_lexer.l"
{ return_opcode( 1, VECTOR_OP, LIT, OFF); }
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 181 "program_lexer.l"
+#line 182 "program_lexer.l"
{ return_opcode(require_ARB_fp, VECTOR_OP, LIT, ZERO_ONE); }
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 182 "program_lexer.l"
+#line 183 "program_lexer.l"
{ return_opcode( 1, SCALAR_OP, LG2, OFF); }
YY_BREAK
case 39:
YY_RULE_SETUP
-#line 183 "program_lexer.l"
+#line 184 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, LG2, ZERO_ONE); }
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 184 "program_lexer.l"
+#line 185 "program_lexer.l"
{ return_opcode(require_ARB_vp, SCALAR_OP, LOG, OFF); }
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 185 "program_lexer.l"
+#line 186 "program_lexer.l"
{ return_opcode(require_ARB_fp, TRI_OP, LRP, OFF); }
YY_BREAK
case 42:
YY_RULE_SETUP
-#line 186 "program_lexer.l"
+#line 187 "program_lexer.l"
{ return_opcode(require_ARB_fp, TRI_OP, LRP, ZERO_ONE); }
YY_BREAK
case 43:
YY_RULE_SETUP
-#line 188 "program_lexer.l"
+#line 189 "program_lexer.l"
{ return_opcode( 1, TRI_OP, MAD, OFF); }
YY_BREAK
case 44:
YY_RULE_SETUP
-#line 189 "program_lexer.l"
+#line 190 "program_lexer.l"
{ return_opcode(require_ARB_fp, TRI_OP, MAD, ZERO_ONE); }
YY_BREAK
case 45:
YY_RULE_SETUP
-#line 190 "program_lexer.l"
+#line 191 "program_lexer.l"
{ return_opcode( 1, BIN_OP, MAX, OFF); }
YY_BREAK
case 46:
YY_RULE_SETUP
-#line 191 "program_lexer.l"
+#line 192 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, MAX, ZERO_ONE); }
YY_BREAK
case 47:
YY_RULE_SETUP
-#line 192 "program_lexer.l"
+#line 193 "program_lexer.l"
{ return_opcode( 1, BIN_OP, MIN, OFF); }
YY_BREAK
case 48:
YY_RULE_SETUP
-#line 193 "program_lexer.l"
+#line 194 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, MIN, ZERO_ONE); }
YY_BREAK
case 49:
YY_RULE_SETUP
-#line 194 "program_lexer.l"
+#line 195 "program_lexer.l"
{ return_opcode( 1, VECTOR_OP, MOV, OFF); }
YY_BREAK
case 50:
YY_RULE_SETUP
-#line 195 "program_lexer.l"
+#line 196 "program_lexer.l"
{ return_opcode(require_ARB_fp, VECTOR_OP, MOV, ZERO_ONE); }
YY_BREAK
case 51:
YY_RULE_SETUP
-#line 196 "program_lexer.l"
+#line 197 "program_lexer.l"
{ return_opcode( 1, BIN_OP, MUL, OFF); }
YY_BREAK
case 52:
YY_RULE_SETUP
-#line 197 "program_lexer.l"
+#line 198 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, MUL, ZERO_ONE); }
YY_BREAK
case 53:
YY_RULE_SETUP
-#line 199 "program_lexer.l"
+#line 200 "program_lexer.l"
{ return_opcode( 1, BINSC_OP, POW, OFF); }
YY_BREAK
case 54:
YY_RULE_SETUP
-#line 200 "program_lexer.l"
+#line 201 "program_lexer.l"
{ return_opcode(require_ARB_fp, BINSC_OP, POW, ZERO_ONE); }
YY_BREAK
case 55:
YY_RULE_SETUP
-#line 202 "program_lexer.l"
+#line 203 "program_lexer.l"
{ return_opcode( 1, SCALAR_OP, RCP, OFF); }
YY_BREAK
case 56:
YY_RULE_SETUP
-#line 203 "program_lexer.l"
+#line 204 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, RCP, ZERO_ONE); }
YY_BREAK
case 57:
YY_RULE_SETUP
-#line 204 "program_lexer.l"
+#line 205 "program_lexer.l"
{ return_opcode( 1, SCALAR_OP, RSQ, OFF); }
YY_BREAK
case 58:
YY_RULE_SETUP
-#line 205 "program_lexer.l"
+#line 206 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, RSQ, ZERO_ONE); }
YY_BREAK
case 59:
YY_RULE_SETUP
-#line 207 "program_lexer.l"
+#line 208 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, SCS, OFF); }
YY_BREAK
case 60:
YY_RULE_SETUP
-#line 208 "program_lexer.l"
+#line 209 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, SCS, ZERO_ONE); }
YY_BREAK
case 61:
YY_RULE_SETUP
-#line 209 "program_lexer.l"
+#line 210 "program_lexer.l"
{ return_opcode( 1, BIN_OP, SGE, OFF); }
YY_BREAK
case 62:
YY_RULE_SETUP
-#line 210 "program_lexer.l"
+#line 211 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, SGE, ZERO_ONE); }
YY_BREAK
case 63:
YY_RULE_SETUP
-#line 211 "program_lexer.l"
+#line 212 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, SIN, OFF); }
YY_BREAK
case 64:
YY_RULE_SETUP
-#line 212 "program_lexer.l"
+#line 213 "program_lexer.l"
{ return_opcode(require_ARB_fp, SCALAR_OP, SIN, ZERO_ONE); }
YY_BREAK
case 65:
YY_RULE_SETUP
-#line 213 "program_lexer.l"
+#line 214 "program_lexer.l"
{ return_opcode( 1, BIN_OP, SLT, OFF); }
YY_BREAK
case 66:
YY_RULE_SETUP
-#line 214 "program_lexer.l"
+#line 215 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, SLT, ZERO_ONE); }
YY_BREAK
case 67:
YY_RULE_SETUP
-#line 215 "program_lexer.l"
+#line 216 "program_lexer.l"
{ return_opcode( 1, BIN_OP, SUB, OFF); }
YY_BREAK
case 68:
YY_RULE_SETUP
-#line 216 "program_lexer.l"
+#line 217 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, SUB, ZERO_ONE); }
YY_BREAK
case 69:
YY_RULE_SETUP
-#line 217 "program_lexer.l"
+#line 218 "program_lexer.l"
{ return_opcode( 1, SWZ, SWZ, OFF); }
YY_BREAK
case 70:
YY_RULE_SETUP
-#line 218 "program_lexer.l"
+#line 219 "program_lexer.l"
{ return_opcode(require_ARB_fp, SWZ, SWZ, ZERO_ONE); }
YY_BREAK
case 71:
YY_RULE_SETUP
-#line 220 "program_lexer.l"
+#line 221 "program_lexer.l"
{ return_opcode(require_ARB_fp, SAMPLE_OP, TEX, OFF); }
YY_BREAK
case 72:
YY_RULE_SETUP
-#line 221 "program_lexer.l"
+#line 222 "program_lexer.l"
{ return_opcode(require_ARB_fp, SAMPLE_OP, TEX, ZERO_ONE); }
YY_BREAK
case 73:
YY_RULE_SETUP
-#line 222 "program_lexer.l"
+#line 223 "program_lexer.l"
{ return_opcode(require_ARB_fp, SAMPLE_OP, TXB, OFF); }
YY_BREAK
case 74:
YY_RULE_SETUP
-#line 223 "program_lexer.l"
+#line 224 "program_lexer.l"
{ return_opcode(require_ARB_fp, SAMPLE_OP, TXB, ZERO_ONE); }
YY_BREAK
case 75:
YY_RULE_SETUP
-#line 224 "program_lexer.l"
+#line 225 "program_lexer.l"
{ return_opcode(require_ARB_fp, SAMPLE_OP, TXP, OFF); }
YY_BREAK
case 76:
YY_RULE_SETUP
-#line 225 "program_lexer.l"
+#line 226 "program_lexer.l"
{ return_opcode(require_ARB_fp, SAMPLE_OP, TXP, ZERO_ONE); }
YY_BREAK
case 77:
YY_RULE_SETUP
-#line 227 "program_lexer.l"
+#line 228 "program_lexer.l"
{ return_opcode( 1, BIN_OP, XPD, OFF); }
YY_BREAK
case 78:
YY_RULE_SETUP
-#line 228 "program_lexer.l"
+#line 229 "program_lexer.l"
{ return_opcode(require_ARB_fp, BIN_OP, XPD, ZERO_ONE); }
YY_BREAK
case 79:
YY_RULE_SETUP
-#line 230 "program_lexer.l"
+#line 231 "program_lexer.l"
{ return_token_or_IDENTIFIER(require_ARB_vp, VERTEX); }
YY_BREAK
case 80:
YY_RULE_SETUP
-#line 231 "program_lexer.l"
+#line 232 "program_lexer.l"
{ return_token_or_IDENTIFIER(require_ARB_fp, FRAGMENT); }
YY_BREAK
case 81:
YY_RULE_SETUP
-#line 232 "program_lexer.l"
+#line 233 "program_lexer.l"
{ return PROGRAM; }
YY_BREAK
case 82:
YY_RULE_SETUP
-#line 233 "program_lexer.l"
+#line 234 "program_lexer.l"
{ return STATE; }
YY_BREAK
case 83:
YY_RULE_SETUP
-#line 234 "program_lexer.l"
+#line 235 "program_lexer.l"
{ return RESULT; }
YY_BREAK
case 84:
YY_RULE_SETUP
-#line 236 "program_lexer.l"
+#line 237 "program_lexer.l"
{ return AMBIENT; }
YY_BREAK
case 85:
YY_RULE_SETUP
-#line 237 "program_lexer.l"
+#line 238 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, ATTENUATION); }
YY_BREAK
case 86:
YY_RULE_SETUP
-#line 238 "program_lexer.l"
+#line 239 "program_lexer.l"
{ return BACK; }
YY_BREAK
case 87:
YY_RULE_SETUP
-#line 239 "program_lexer.l"
+#line 240 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, CLIP); }
YY_BREAK
case 88:
YY_RULE_SETUP
-#line 240 "program_lexer.l"
+#line 241 "program_lexer.l"
{ return COLOR; }
YY_BREAK
case 89:
YY_RULE_SETUP
-#line 241 "program_lexer.l"
+#line 242 "program_lexer.l"
{ return_token_or_DOT(require_ARB_fp, DEPTH); }
YY_BREAK
case 90:
YY_RULE_SETUP
-#line 242 "program_lexer.l"
+#line 243 "program_lexer.l"
{ return DIFFUSE; }
YY_BREAK
case 91:
YY_RULE_SETUP
-#line 243 "program_lexer.l"
+#line 244 "program_lexer.l"
{ return DIRECTION; }
YY_BREAK
case 92:
YY_RULE_SETUP
-#line 244 "program_lexer.l"
+#line 245 "program_lexer.l"
{ return EMISSION; }
YY_BREAK
case 93:
YY_RULE_SETUP
-#line 245 "program_lexer.l"
+#line 246 "program_lexer.l"
{ return ENV; }
YY_BREAK
case 94:
YY_RULE_SETUP
-#line 246 "program_lexer.l"
+#line 247 "program_lexer.l"
{ return EYE; }
YY_BREAK
case 95:
YY_RULE_SETUP
-#line 247 "program_lexer.l"
+#line 248 "program_lexer.l"
{ return FOGCOORD; }
YY_BREAK
case 96:
YY_RULE_SETUP
-#line 248 "program_lexer.l"
+#line 249 "program_lexer.l"
{ return FOG; }
YY_BREAK
case 97:
YY_RULE_SETUP
-#line 249 "program_lexer.l"
+#line 250 "program_lexer.l"
{ return FRONT; }
YY_BREAK
case 98:
YY_RULE_SETUP
-#line 250 "program_lexer.l"
+#line 251 "program_lexer.l"
{ return HALF; }
YY_BREAK
case 99:
YY_RULE_SETUP
-#line 251 "program_lexer.l"
+#line 252 "program_lexer.l"
{ return INVERSE; }
YY_BREAK
case 100:
YY_RULE_SETUP
-#line 252 "program_lexer.l"
+#line 253 "program_lexer.l"
{ return INVTRANS; }
YY_BREAK
case 101:
YY_RULE_SETUP
-#line 253 "program_lexer.l"
+#line 254 "program_lexer.l"
{ return LIGHT; }
YY_BREAK
case 102:
YY_RULE_SETUP
-#line 254 "program_lexer.l"
+#line 255 "program_lexer.l"
{ return LIGHTMODEL; }
YY_BREAK
case 103:
YY_RULE_SETUP
-#line 255 "program_lexer.l"
+#line 256 "program_lexer.l"
{ return LIGHTPROD; }
YY_BREAK
case 104:
YY_RULE_SETUP
-#line 256 "program_lexer.l"
+#line 257 "program_lexer.l"
{ return LOCAL; }
YY_BREAK
case 105:
YY_RULE_SETUP
-#line 257 "program_lexer.l"
+#line 258 "program_lexer.l"
{ return MATERIAL; }
YY_BREAK
case 106:
YY_RULE_SETUP
-#line 258 "program_lexer.l"
+#line 259 "program_lexer.l"
{ return MAT_PROGRAM; }
YY_BREAK
case 107:
YY_RULE_SETUP
-#line 259 "program_lexer.l"
+#line 260 "program_lexer.l"
{ return MATRIX; }
YY_BREAK
case 108:
YY_RULE_SETUP
-#line 260 "program_lexer.l"
+#line 261 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, MATRIXINDEX); }
YY_BREAK
case 109:
YY_RULE_SETUP
-#line 261 "program_lexer.l"
+#line 262 "program_lexer.l"
{ return MODELVIEW; }
YY_BREAK
case 110:
YY_RULE_SETUP
-#line 262 "program_lexer.l"
+#line 263 "program_lexer.l"
{ return MVP; }
YY_BREAK
case 111:
YY_RULE_SETUP
-#line 263 "program_lexer.l"
+#line 264 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, NORMAL); }
YY_BREAK
case 112:
YY_RULE_SETUP
-#line 264 "program_lexer.l"
+#line 265 "program_lexer.l"
{ return OBJECT; }
YY_BREAK
case 113:
YY_RULE_SETUP
-#line 265 "program_lexer.l"
+#line 266 "program_lexer.l"
{ return PALETTE; }
YY_BREAK
case 114:
YY_RULE_SETUP
-#line 266 "program_lexer.l"
+#line 267 "program_lexer.l"
{ return PARAMS; }
YY_BREAK
case 115:
YY_RULE_SETUP
-#line 267 "program_lexer.l"
+#line 268 "program_lexer.l"
{ return PLANE; }
YY_BREAK
case 116:
YY_RULE_SETUP
-#line 268 "program_lexer.l"
+#line 269 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, POINT); }
YY_BREAK
case 117:
YY_RULE_SETUP
-#line 269 "program_lexer.l"
+#line 270 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, POINTSIZE); }
YY_BREAK
case 118:
YY_RULE_SETUP
-#line 270 "program_lexer.l"
+#line 271 "program_lexer.l"
{ return POSITION; }
YY_BREAK
case 119:
YY_RULE_SETUP
-#line 271 "program_lexer.l"
+#line 272 "program_lexer.l"
{ return PRIMARY; }
YY_BREAK
case 120:
YY_RULE_SETUP
-#line 272 "program_lexer.l"
+#line 273 "program_lexer.l"
{ return PROJECTION; }
YY_BREAK
case 121:
YY_RULE_SETUP
-#line 273 "program_lexer.l"
+#line 274 "program_lexer.l"
{ return_token_or_DOT(require_ARB_fp, RANGE); }
YY_BREAK
case 122:
YY_RULE_SETUP
-#line 274 "program_lexer.l"
+#line 275 "program_lexer.l"
{ return ROW; }
YY_BREAK
case 123:
YY_RULE_SETUP
-#line 275 "program_lexer.l"
+#line 276 "program_lexer.l"
{ return SCENECOLOR; }
YY_BREAK
case 124:
YY_RULE_SETUP
-#line 276 "program_lexer.l"
+#line 277 "program_lexer.l"
{ return SECONDARY; }
YY_BREAK
case 125:
YY_RULE_SETUP
-#line 277 "program_lexer.l"
+#line 278 "program_lexer.l"
{ return SHININESS; }
YY_BREAK
case 126:
YY_RULE_SETUP
-#line 278 "program_lexer.l"
+#line 279 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, SIZE); }
YY_BREAK
case 127:
YY_RULE_SETUP
-#line 279 "program_lexer.l"
+#line 280 "program_lexer.l"
{ return SPECULAR; }
YY_BREAK
case 128:
YY_RULE_SETUP
-#line 280 "program_lexer.l"
+#line 281 "program_lexer.l"
{ return SPOT; }
YY_BREAK
case 129:
YY_RULE_SETUP
-#line 281 "program_lexer.l"
+#line 282 "program_lexer.l"
{ return TEXCOORD; }
YY_BREAK
case 130:
YY_RULE_SETUP
-#line 282 "program_lexer.l"
+#line 283 "program_lexer.l"
{ return_token_or_DOT(require_ARB_fp, TEXENV); }
YY_BREAK
case 131:
YY_RULE_SETUP
-#line 283 "program_lexer.l"
+#line 284 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, TEXGEN); }
YY_BREAK
case 132:
YY_RULE_SETUP
-#line 284 "program_lexer.l"
+#line 285 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, TEXGEN_Q); }
YY_BREAK
case 133:
YY_RULE_SETUP
-#line 285 "program_lexer.l"
+#line 286 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, TEXGEN_S); }
YY_BREAK
case 134:
YY_RULE_SETUP
-#line 286 "program_lexer.l"
+#line 287 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, TEXGEN_T); }
YY_BREAK
case 135:
YY_RULE_SETUP
-#line 287 "program_lexer.l"
+#line 288 "program_lexer.l"
{ return TEXTURE; }
YY_BREAK
case 136:
YY_RULE_SETUP
-#line 288 "program_lexer.l"
+#line 289 "program_lexer.l"
{ return TRANSPOSE; }
YY_BREAK
case 137:
YY_RULE_SETUP
-#line 289 "program_lexer.l"
+#line 290 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, VTXATTRIB); }
YY_BREAK
case 138:
YY_RULE_SETUP
-#line 290 "program_lexer.l"
+#line 291 "program_lexer.l"
{ return_token_or_DOT(require_ARB_vp, WEIGHT); }
YY_BREAK
case 139:
YY_RULE_SETUP
-#line 292 "program_lexer.l"
+#line 293 "program_lexer.l"
{ return_token_or_IDENTIFIER(require_ARB_fp, TEXTURE_UNIT); }
YY_BREAK
case 140:
YY_RULE_SETUP
-#line 293 "program_lexer.l"
+#line 294 "program_lexer.l"
{ return_token_or_IDENTIFIER(require_ARB_fp, TEX_1D); }
YY_BREAK
case 141:
YY_RULE_SETUP
-#line 294 "program_lexer.l"
+#line 295 "program_lexer.l"
{ return_token_or_IDENTIFIER(require_ARB_fp, TEX_2D); }
YY_BREAK
case 142:
YY_RULE_SETUP
-#line 295 "program_lexer.l"
+#line 296 "program_lexer.l"
{ return_token_or_IDENTIFIER(require_ARB_fp, TEX_3D); }
YY_BREAK
case 143:
YY_RULE_SETUP
-#line 296 "program_lexer.l"
+#line 297 "program_lexer.l"
{ return_token_or_IDENTIFIER(require_ARB_fp, TEX_CUBE); }
YY_BREAK
case 144:
YY_RULE_SETUP
-#line 297 "program_lexer.l"
+#line 298 "program_lexer.l"
{ return_token_or_IDENTIFIER(require_ARB_fp && require_rect, TEX_RECT); }
YY_BREAK
case 145:
YY_RULE_SETUP
#line 299 "program_lexer.l"
+{ return_token_or_IDENTIFIER(require_ARB_fp && require_shadow, TEX_SHADOW1D); }
+ YY_BREAK
+case 146:
+YY_RULE_SETUP
+#line 300 "program_lexer.l"
+{ return_token_or_IDENTIFIER(require_ARB_fp && require_shadow, TEX_SHADOW2D); }
+ YY_BREAK
+case 147:
+YY_RULE_SETUP
+#line 301 "program_lexer.l"
+{ return_token_or_IDENTIFIER(require_ARB_fp && require_shadow && require_rect, TEX_SHADOWRECT); }
+ YY_BREAK
+case 148:
+YY_RULE_SETUP
+#line 303 "program_lexer.l"
{
yylval->string = strdup(yytext);
return IDENTIFIER;
}
YY_BREAK
-case 146:
+case 149:
YY_RULE_SETUP
-#line 304 "program_lexer.l"
+#line 308 "program_lexer.l"
{ return DOT_DOT; }
YY_BREAK
-case 147:
+case 150:
YY_RULE_SETUP
-#line 306 "program_lexer.l"
+#line 310 "program_lexer.l"
{
yylval->integer = strtol(yytext, NULL, 10);
return INTEGER;
}
YY_BREAK
-case 148:
+case 151:
YY_RULE_SETUP
-#line 310 "program_lexer.l"
+#line 314 "program_lexer.l"
{
yylval->real = strtod(yytext, NULL);
return REAL;
}
YY_BREAK
-case 149:
-/* rule 149 can match eol */
+case 152:
+/* rule 152 can match eol */
*yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
yyg->yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 314 "program_lexer.l"
+#line 318 "program_lexer.l"
{
yylval->real = strtod(yytext, NULL);
return REAL;
}
YY_BREAK
-case 150:
+case 153:
YY_RULE_SETUP
-#line 318 "program_lexer.l"
+#line 322 "program_lexer.l"
{
yylval->real = strtod(yytext, NULL);
return REAL;
}
YY_BREAK
-case 151:
+case 154:
YY_RULE_SETUP
-#line 322 "program_lexer.l"
+#line 326 "program_lexer.l"
{
yylval->real = strtod(yytext, NULL);
return REAL;
}
YY_BREAK
-case 152:
+case 155:
YY_RULE_SETUP
-#line 327 "program_lexer.l"
+#line 331 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_NOOP;
yylval->swiz_mask.mask = WRITEMASK_XYZW;
return MASK4;
}
YY_BREAK
-case 153:
+case 156:
YY_RULE_SETUP
-#line 333 "program_lexer.l"
+#line 337 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_XY
@@ -2121,27 +2146,27 @@ YY_RULE_SETUP
return MASK3;
}
YY_BREAK
-case 154:
+case 157:
YY_RULE_SETUP
-#line 339 "program_lexer.l"
+#line 343 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_XZW;
return MASK3;
}
YY_BREAK
-case 155:
+case 158:
YY_RULE_SETUP
-#line 344 "program_lexer.l"
+#line 348 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_YZW;
return MASK3;
}
YY_BREAK
-case 156:
+case 159:
YY_RULE_SETUP
-#line 350 "program_lexer.l"
+#line 354 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_X
@@ -2149,9 +2174,9 @@ YY_RULE_SETUP
return MASK2;
}
YY_BREAK
-case 157:
+case 160:
YY_RULE_SETUP
-#line 356 "program_lexer.l"
+#line 360 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_Y
@@ -2159,18 +2184,18 @@ YY_RULE_SETUP
return MASK2;
}
YY_BREAK
-case 158:
+case 161:
YY_RULE_SETUP
-#line 362 "program_lexer.l"
+#line 366 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_ZW;
return MASK2;
}
YY_BREAK
-case 159:
+case 162:
YY_RULE_SETUP
-#line 368 "program_lexer.l"
+#line 372 "program_lexer.l"
{
const unsigned s = swiz_from_char(yytext[1]);
yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(s, s, s, s);
@@ -2178,9 +2203,9 @@ YY_RULE_SETUP
return MASK1;
}
YY_BREAK
-case 160:
+case 163:
YY_RULE_SETUP
-#line 375 "program_lexer.l"
+#line 379 "program_lexer.l"
{
yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(swiz_from_char(yytext[1]),
swiz_from_char(yytext[2]),
@@ -2190,18 +2215,18 @@ YY_RULE_SETUP
return SWIZZLE;
}
YY_BREAK
-case 161:
+case 164:
YY_RULE_SETUP
-#line 384 "program_lexer.l"
+#line 388 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_NOOP;
yylval->swiz_mask.mask = WRITEMASK_XYZW;
return_token_or_DOT(require_ARB_fp, MASK4);
}
YY_BREAK
-case 162:
+case 165:
YY_RULE_SETUP
-#line 390 "program_lexer.l"
+#line 394 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_XY
@@ -2209,27 +2234,27 @@ YY_RULE_SETUP
return_token_or_DOT(require_ARB_fp, MASK3);
}
YY_BREAK
-case 163:
+case 166:
YY_RULE_SETUP
-#line 396 "program_lexer.l"
+#line 400 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_XZW;
return_token_or_DOT(require_ARB_fp, MASK3);
}
YY_BREAK
-case 164:
+case 167:
YY_RULE_SETUP
-#line 401 "program_lexer.l"
+#line 405 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_YZW;
return_token_or_DOT(require_ARB_fp, MASK3);
}
YY_BREAK
-case 165:
+case 168:
YY_RULE_SETUP
-#line 407 "program_lexer.l"
+#line 411 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_X
@@ -2237,9 +2262,9 @@ YY_RULE_SETUP
return_token_or_DOT(require_ARB_fp, MASK2);
}
YY_BREAK
-case 166:
+case 169:
YY_RULE_SETUP
-#line 413 "program_lexer.l"
+#line 417 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_Y
@@ -2247,18 +2272,18 @@ YY_RULE_SETUP
return_token_or_DOT(require_ARB_fp, MASK2);
}
YY_BREAK
-case 167:
+case 170:
YY_RULE_SETUP
-#line 419 "program_lexer.l"
+#line 423 "program_lexer.l"
{
yylval->swiz_mask.swizzle = SWIZZLE_INVAL;
yylval->swiz_mask.mask = WRITEMASK_ZW;
return_token_or_DOT(require_ARB_fp, MASK2);
}
YY_BREAK
-case 168:
+case 171:
YY_RULE_SETUP
-#line 425 "program_lexer.l"
+#line 429 "program_lexer.l"
{
const unsigned s = swiz_from_char(yytext[1]);
yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(s, s, s, s);
@@ -2266,9 +2291,9 @@ YY_RULE_SETUP
return_token_or_DOT(require_ARB_fp, MASK1);
}
YY_BREAK
-case 169:
+case 172:
YY_RULE_SETUP
-#line 433 "program_lexer.l"
+#line 437 "program_lexer.l"
{
if (require_ARB_vp) {
return TEXGEN_R;
@@ -2280,9 +2305,9 @@ YY_RULE_SETUP
}
}
YY_BREAK
-case 170:
+case 173:
YY_RULE_SETUP
-#line 444 "program_lexer.l"
+#line 448 "program_lexer.l"
{
yylval->swiz_mask.swizzle = MAKE_SWIZZLE4(swiz_from_char(yytext[1]),
swiz_from_char(yytext[2]),
@@ -2292,15 +2317,15 @@ YY_RULE_SETUP
return_token_or_DOT(require_ARB_fp, SWIZZLE);
}
YY_BREAK
-case 171:
+case 174:
YY_RULE_SETUP
-#line 453 "program_lexer.l"
+#line 457 "program_lexer.l"
{ return DOT; }
YY_BREAK
-case 172:
-/* rule 172 can match eol */
+case 175:
+/* rule 175 can match eol */
YY_RULE_SETUP
-#line 455 "program_lexer.l"
+#line 459 "program_lexer.l"
{
yylloc->first_line++;
yylloc->first_column = 1;
@@ -2309,30 +2334,30 @@ YY_RULE_SETUP
yylloc->position++;
}
YY_BREAK
-case 173:
+case 176:
YY_RULE_SETUP
-#line 462 "program_lexer.l"
+#line 466 "program_lexer.l"
/* eat whitespace */ ;
YY_BREAK
-case 174:
+case 177:
*yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
yyg->yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 463 "program_lexer.l"
+#line 467 "program_lexer.l"
/* eat comments */ ;
YY_BREAK
-case 175:
+case 178:
YY_RULE_SETUP
-#line 464 "program_lexer.l"
+#line 468 "program_lexer.l"
{ return yytext[0]; }
YY_BREAK
-case 176:
+case 179:
YY_RULE_SETUP
-#line 465 "program_lexer.l"
+#line 469 "program_lexer.l"
ECHO;
YY_BREAK
-#line 2336 "lex.yy.c"
+#line 2361 "lex.yy.c"
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -2626,7 +2651,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 645 )
+ if ( yy_current_state >= 658 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -2655,11 +2680,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 645 )
+ if ( yy_current_state >= 658 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 644);
+ yy_is_jam = (yy_current_state == 657);
return yy_is_jam ? 0 : yy_current_state;
}
@@ -3507,7 +3532,7 @@ void yyfree (void * ptr , yyscan_t yyscanner)
#define YYTABLES_NAME "yytables"
-#line 465 "program_lexer.l"
+#line 469 "program_lexer.l"