summaryrefslogtreecommitdiff
path: root/src/mesa/shader/program_parse.tab.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-09-04 17:27:27 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-09-04 17:31:05 -0700
commitd0adebb8d5ef680590b0f281a20516318c0b8b62 (patch)
tree57ca66f2b1144e7080189de37e80250faa964f79 /src/mesa/shader/program_parse.tab.c
parent9ea4319744fb7474635cb1994e1babe1552d4d4f (diff)
NV fp parser: Support instruction and TEMP / OUTPUT sizes
Adds support for declaring TEMP and OUTPUT variables as 'LONG' or 'SHORT' precision. The precision specifiers are parsed, but they are currently ignored. Some support for this may be added in the future, but neither Intel hardware nor, as far as I'm aware, Radeon hardware support multiple precisions. Also adds support for instruction precision ('X', 'H', and 'R') suffixes and instruction condition code output ('C') suffix. This results in a fairly major change to the lexer. Instructions are matched with all the possible suffix strings. The suffix string are then carved off by a context (i.e., which program mode and options are set) aware parser that converts the suffixes to bits in prog_instruction. This could have been handled in the same way _SAT was originally handled in the lexer, but it would have resulted in a very large lexer with lots of opportunity for cut-and-paste errors.
Diffstat (limited to 'src/mesa/shader/program_parse.tab.c')
-rw-r--r--src/mesa/shader/program_parse.tab.c776
1 files changed, 415 insertions, 361 deletions
diff --git a/src/mesa/shader/program_parse.tab.c b/src/mesa/shader/program_parse.tab.c
index b9a0e557ad..e741e9a13b 100644
--- a/src/mesa/shader/program_parse.tab.c
+++ b/src/mesa/shader/program_parse.tab.c
@@ -597,16 +597,16 @@ union yyalloc
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 5
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 375
+#define YYLAST 383
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 117
/* YYNNTS -- Number of nonterminals. */
-#define YYNNTS 136
+#define YYNNTS 137
/* YYNRULES -- Number of rules. */
-#define YYNRULES 270
+#define YYNRULES 272
/* YYNRULES -- Number of states. */
-#define YYNSTATES 456
+#define YYNSTATES 458
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
@@ -685,11 +685,11 @@ static const yytype_uint16 yyprhs[] =
564, 566, 568, 570, 572, 575, 577, 579, 581, 583,
589, 591, 595, 601, 607, 609, 613, 619, 621, 623,
625, 627, 629, 631, 633, 635, 637, 641, 647, 655,
- 665, 668, 671, 673, 675, 676, 677, 681, 682, 686,
- 690, 692, 697, 700, 703, 706, 709, 713, 716, 720,
- 721, 723, 725, 726, 728, 730, 731, 733, 735, 736,
- 738, 740, 741, 745, 746, 750, 751, 755, 757, 759,
- 761
+ 665, 668, 671, 673, 675, 676, 677, 682, 684, 685,
+ 686, 690, 694, 696, 702, 705, 708, 711, 714, 718,
+ 721, 725, 726, 728, 730, 731, 733, 735, 736, 738,
+ 740, 741, 743, 745, 746, 750, 751, 755, 756, 760,
+ 762, 764, 766
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
@@ -706,7 +706,7 @@ static const yytype_int16 yyrhs[] =
108, 141, -1, 17, 142, 108, 141, 108, 141, 108,
141, -1, 15, 142, 108, 141, 108, 136, 108, 137,
-1, 20, 141, -1, 22, 142, 108, 141, 108, 141,
- 108, 141, 108, 136, 108, 137, -1, 83, 247, -1,
+ 108, 141, 108, 136, 108, 137, -1, 83, 248, -1,
84, -1, 85, -1, 86, -1, 87, -1, 88, -1,
89, -1, 90, -1, 91, -1, 92, -1, 93, -1,
94, -1, 95, -1, 21, 142, 108, 147, 108, 144,
@@ -715,19 +715,19 @@ static const yytype_int16 yyrhs[] =
147, 160, 109, -1, 148, 161, -1, 156, 158, -1,
145, 108, 145, 108, 145, 108, 145, -1, 233, 146,
-1, 23, -1, 99, -1, 99, -1, 164, -1, 149,
- 110, 150, 111, -1, 178, -1, 240, -1, 99, -1,
+ 110, 150, 111, -1, 178, -1, 241, -1, 99, -1,
99, -1, 151, -1, 152, -1, 23, -1, 156, 157,
153, -1, -1, 112, 154, -1, 113, 155, -1, 23,
-1, 23, -1, 99, -1, 103, -1, 103, -1, 103,
-1, 103, -1, 100, -1, 104, -1, -1, 100, -1,
101, -1, 102, -1, 103, -1, -1, 163, -1, 170,
- -1, 234, -1, 236, -1, 239, -1, 252, -1, 7,
+ -1, 234, -1, 237, -1, 240, -1, 253, -1, 7,
99, 114, 164, -1, 96, 165, -1, 38, 169, -1,
- 60, -1, 98, 167, -1, 53, -1, 29, 245, -1,
- 37, -1, 74, 246, -1, 50, 110, 168, 111, -1,
+ 60, -1, 98, 167, -1, 53, -1, 29, 246, -1,
+ 37, -1, 74, 247, -1, 50, 110, 168, 111, -1,
97, 110, 166, 111, -1, 23, -1, -1, 110, 168,
- 111, -1, 23, -1, 60, -1, 29, 245, -1, 37,
- -1, 74, 246, -1, 171, -1, 172, -1, 10, 99,
+ 111, -1, 23, -1, 60, -1, 29, 246, -1, 37,
+ -1, 74, 247, -1, 171, -1, 172, -1, 10, 99,
174, -1, 10, 99, 110, 173, 111, 175, -1, -1,
23, -1, 114, 177, -1, 114, 115, 176, 116, -1,
179, -1, 176, 108, 179, -1, 181, -1, 217, -1,
@@ -736,13 +736,13 @@ static const yytype_int16 yyrhs[] =
182, -1, 73, 184, -1, 73, 187, -1, 73, 189,
-1, 73, 195, -1, 73, 191, -1, 73, 198, -1,
73, 200, -1, 73, 202, -1, 73, 204, -1, 73,
- 216, -1, 47, 244, 183, -1, 193, -1, 33, -1,
+ 216, -1, 47, 245, 183, -1, 193, -1, 33, -1,
69, -1, 43, 110, 194, 111, 185, -1, 193, -1,
60, -1, 26, -1, 72, 186, -1, 40, -1, 32,
- -1, 44, 188, -1, 25, -1, 244, 67, -1, 45,
- 110, 194, 111, 244, 190, -1, 193, -1, 75, 248,
+ -1, 44, 188, -1, 25, -1, 245, 67, -1, 45,
+ 110, 194, 111, 245, 190, -1, 193, -1, 75, 249,
192, -1, 29, -1, 25, -1, 31, -1, 71, -1,
- 23, -1, 76, 246, 196, 197, -1, 35, -1, 54,
+ 23, -1, 76, 247, 196, 197, -1, 35, -1, 54,
-1, 79, -1, 80, -1, 78, -1, 77, -1, 36,
199, -1, 29, -1, 56, -1, 28, 110, 201, 111,
57, -1, 23, -1, 58, 203, -1, 70, -1, 26,
@@ -750,7 +750,7 @@ static const yytype_int16 yyrhs[] =
-1, 66, 110, 210, 105, 210, 111, -1, 49, 211,
208, -1, -1, 209, -1, 41, -1, 82, -1, 42,
-1, 23, -1, 51, 212, -1, 63, -1, 52, -1,
- 81, 246, -1, 55, 110, 214, 111, -1, 48, 110,
+ 81, 247, -1, 55, 110, 214, 111, -1, 48, 110,
215, 111, -1, -1, 213, -1, 23, -1, 23, -1,
23, -1, 30, 64, -1, 221, -1, 224, -1, 219,
-1, 222, -1, 62, 34, 110, 220, 111, -1, 225,
@@ -762,16 +762,17 @@ static const yytype_int16 yyrhs[] =
-1, 115, 232, 108, 232, 116, -1, 115, 232, 108,
232, 108, 232, 116, -1, 115, 232, 108, 232, 108,
232, 108, 232, 116, -1, 233, 24, -1, 233, 23,
- -1, 112, -1, 113, -1, -1, -1, 11, 235, 238,
- -1, -1, 5, 237, 238, -1, 238, 108, 99, -1,
- 99, -1, 9, 99, 114, 240, -1, 65, 60, -1,
- 65, 37, -1, 65, 241, -1, 65, 59, -1, 65,
- 74, 246, -1, 65, 30, -1, 29, 242, 243, -1,
- -1, 39, -1, 27, -1, -1, 61, -1, 68, -1,
- -1, 39, -1, 27, -1, -1, 61, -1, 68, -1,
- -1, 110, 249, 111, -1, -1, 110, 250, 111, -1,
- -1, 110, 251, 111, -1, 23, -1, 23, -1, 23,
- -1, 6, 99, 114, 99, -1
+ -1, 112, -1, 113, -1, -1, -1, 236, 11, 235,
+ 239, -1, 99, -1, -1, -1, 5, 238, 239, -1,
+ 239, 108, 99, -1, 99, -1, 236, 9, 99, 114,
+ 241, -1, 65, 60, -1, 65, 37, -1, 65, 242,
+ -1, 65, 59, -1, 65, 74, 247, -1, 65, 30,
+ -1, 29, 243, 244, -1, -1, 39, -1, 27, -1,
+ -1, 61, -1, 68, -1, -1, 39, -1, 27, -1,
+ -1, 61, -1, 68, -1, -1, 110, 250, 111, -1,
+ -1, 110, 251, 111, -1, -1, 110, 252, 111, -1,
+ 23, -1, 23, -1, 23, -1, 6, 99, 114, 99,
+ -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
@@ -800,11 +801,11 @@ static const yytype_uint16 yyrline[] =
1598, 1603, 1616, 1624, 1635, 1643, 1643, 1645, 1645, 1647,
1657, 1662, 1669, 1679, 1688, 1693, 1700, 1710, 1720, 1732,
1732, 1733, 1733, 1735, 1745, 1753, 1763, 1771, 1779, 1788,
- 1799, 1803, 1809, 1810, 1811, 1814, 1814, 1817, 1817, 1820,
- 1826, 1834, 1847, 1856, 1865, 1869, 1878, 1887, 1898, 1905,
- 1910, 1919, 1931, 1934, 1943, 1954, 1955, 1956, 1959, 1960,
- 1961, 1964, 1965, 1968, 1969, 1972, 1973, 1976, 1987, 1998,
- 2009
+ 1799, 1803, 1809, 1810, 1811, 1814, 1814, 1817, 1852, 1856,
+ 1856, 1859, 1865, 1873, 1886, 1895, 1904, 1908, 1917, 1926,
+ 1937, 1944, 1949, 1958, 1970, 1973, 1982, 1993, 1994, 1995,
+ 1998, 1999, 2000, 2003, 2004, 2007, 2008, 2011, 2012, 2015,
+ 2026, 2037, 2048
};
#endif
@@ -866,9 +867,10 @@ static const char *const yytname[] =
"progLocalParam", "progEnvParamNum", "progLocalParamNum",
"paramConstDecl", "paramConstUse", "paramConstScalarDecl",
"paramConstScalarUse", "paramConstVector", "signedFloatConstant",
- "optionalSign", "TEMP_statement", "@1", "ADDRESS_statement", "@2",
- "varNameList", "OUTPUT_statement", "resultBinding", "resultColBinding",
- "optResultFaceType", "optResultColorType", "optFaceType", "optColorType",
+ "optionalSign", "TEMP_statement", "@1", "optVarSize",
+ "ADDRESS_statement", "@2", "varNameList", "OUTPUT_statement",
+ "resultBinding", "resultColBinding", "optResultFaceType",
+ "optResultColorType", "optFaceType", "optColorType",
"optTexCoordUnitNum", "optTexImageUnitNum", "optLegacyTexUnitNum",
"texCoordUnitNum", "texImageUnitNum", "legacyTexUnitNum",
"ALIAS_statement", 0
@@ -921,11 +923,11 @@ static const yytype_uint8 yyr1[] =
212, 213, 214, 215, 216, 217, 217, 218, 218, 219,
220, 220, 221, 222, 223, 223, 224, 225, 226, 227,
227, 228, 228, 229, 230, 230, 231, 231, 231, 231,
- 232, 232, 233, 233, 233, 235, 234, 237, 236, 238,
- 238, 239, 240, 240, 240, 240, 240, 240, 241, 242,
- 242, 242, 243, 243, 243, 244, 244, 244, 245, 245,
- 245, 246, 246, 247, 247, 248, 248, 249, 250, 251,
- 252
+ 232, 232, 233, 233, 233, 235, 234, 236, 236, 238,
+ 237, 239, 239, 240, 241, 241, 241, 241, 241, 241,
+ 242, 243, 243, 243, 244, 244, 244, 245, 245, 245,
+ 246, 246, 246, 247, 247, 248, 248, 249, 249, 250,
+ 251, 252, 253
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
@@ -954,11 +956,11 @@ static const yytype_uint8 yyr2[] =
1, 1, 1, 1, 2, 1, 1, 1, 1, 5,
1, 3, 5, 5, 1, 3, 5, 1, 1, 1,
1, 1, 1, 1, 1, 1, 3, 5, 7, 9,
- 2, 2, 1, 1, 0, 0, 3, 0, 3, 3,
- 1, 4, 2, 2, 2, 2, 3, 2, 3, 0,
- 1, 1, 0, 1, 1, 0, 1, 1, 0, 1,
- 1, 0, 3, 0, 3, 0, 3, 1, 1, 1,
- 4
+ 2, 2, 1, 1, 0, 0, 4, 1, 0, 0,
+ 3, 3, 1, 5, 2, 2, 2, 2, 3, 2,
+ 3, 0, 1, 1, 0, 1, 1, 0, 1, 1,
+ 0, 1, 1, 0, 3, 0, 3, 0, 3, 1,
+ 1, 1, 4
};
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
@@ -966,143 +968,143 @@ static const yytype_uint8 yyr2[] =
means the default is an error. */
static const yytype_uint16 yydefact[] =
{
- 0, 3, 4, 0, 6, 1, 9, 0, 5, 0,
- 0, 237, 0, 0, 0, 0, 235, 2, 0, 0,
- 0, 0, 0, 0, 0, 234, 0, 0, 8, 0,
- 12, 13, 14, 15, 16, 17, 18, 19, 21, 22,
- 23, 20, 0, 88, 89, 113, 114, 90, 91, 92,
- 93, 7, 0, 0, 0, 0, 0, 0, 0, 64,
- 0, 87, 63, 0, 0, 0, 0, 0, 75, 0,
- 0, 232, 233, 31, 0, 0, 0, 10, 11, 240,
- 238, 0, 0, 0, 117, 234, 115, 236, 249, 247,
- 243, 245, 242, 261, 244, 234, 83, 84, 85, 86,
- 53, 234, 234, 234, 234, 234, 234, 77, 54, 225,
- 224, 0, 0, 0, 0, 59, 0, 234, 82, 0,
- 60, 62, 126, 127, 205, 206, 128, 221, 222, 0,
- 234, 0, 270, 94, 241, 118, 0, 119, 123, 124,
- 125, 219, 220, 223, 0, 251, 250, 252, 0, 246,
- 0, 0, 0, 0, 26, 0, 25, 24, 258, 111,
- 109, 261, 96, 0, 0, 0, 0, 0, 0, 255,
- 0, 255, 0, 0, 265, 261, 134, 135, 136, 137,
- 139, 138, 140, 141, 142, 143, 0, 144, 258, 101,
- 0, 99, 97, 261, 0, 106, 95, 82, 0, 80,
- 79, 81, 51, 0, 0, 0, 239, 0, 231, 230,
- 253, 254, 248, 267, 0, 234, 234, 0, 47, 0,
- 50, 0, 234, 259, 260, 110, 112, 0, 0, 0,
- 204, 175, 176, 174, 0, 157, 257, 256, 156, 0,
- 0, 0, 0, 199, 195, 0, 194, 261, 187, 181,
- 180, 179, 0, 0, 0, 0, 100, 0, 102, 0,
- 0, 98, 0, 234, 226, 68, 0, 66, 67, 0,
- 234, 234, 0, 116, 262, 28, 27, 0, 78, 49,
- 263, 0, 0, 217, 0, 218, 0, 178, 0, 166,
- 0, 158, 0, 163, 164, 147, 148, 165, 145, 146,
- 0, 201, 193, 200, 0, 196, 189, 191, 190, 186,
- 188, 269, 0, 162, 161, 168, 169, 0, 0, 108,
- 0, 105, 0, 0, 52, 0, 61, 76, 70, 46,
- 0, 0, 0, 234, 48, 0, 33, 0, 234, 212,
- 216, 0, 0, 255, 203, 0, 202, 0, 266, 173,
- 172, 170, 171, 167, 192, 0, 103, 104, 107, 234,
- 227, 0, 0, 69, 234, 57, 58, 56, 234, 0,
- 0, 0, 121, 129, 132, 130, 207, 208, 131, 268,
- 0, 34, 35, 36, 37, 38, 39, 40, 41, 42,
- 43, 44, 45, 30, 29, 177, 152, 154, 151, 0,
- 149, 150, 0, 198, 197, 182, 0, 73, 71, 74,
- 72, 0, 0, 0, 0, 133, 184, 234, 120, 264,
- 155, 153, 159, 160, 234, 228, 234, 0, 0, 0,
- 0, 183, 122, 0, 0, 0, 0, 210, 0, 214,
- 0, 229, 234, 0, 209, 0, 213, 0, 0, 55,
- 32, 211, 215, 0, 0, 185
+ 0, 3, 4, 0, 6, 1, 9, 0, 5, 238,
+ 0, 239, 0, 0, 0, 2, 0, 0, 0, 0,
+ 0, 0, 0, 234, 0, 0, 237, 8, 0, 12,
+ 13, 14, 15, 16, 17, 18, 19, 21, 22, 23,
+ 20, 0, 88, 89, 113, 114, 90, 0, 91, 92,
+ 93, 7, 0, 0, 0, 0, 0, 64, 0, 87,
+ 63, 0, 0, 0, 0, 0, 75, 0, 0, 232,
+ 233, 31, 0, 0, 0, 10, 11, 0, 235, 242,
+ 240, 0, 0, 117, 234, 115, 251, 249, 245, 247,
+ 244, 263, 246, 234, 83, 84, 85, 86, 53, 234,
+ 234, 234, 234, 234, 234, 77, 54, 225, 224, 0,
+ 0, 0, 0, 59, 0, 234, 82, 0, 60, 62,
+ 126, 127, 205, 206, 128, 221, 222, 0, 234, 0,
+ 0, 0, 272, 94, 118, 0, 119, 123, 124, 125,
+ 219, 220, 223, 0, 253, 252, 254, 0, 248, 0,
+ 0, 0, 0, 26, 0, 25, 24, 260, 111, 109,
+ 263, 96, 0, 0, 0, 0, 0, 0, 257, 0,
+ 257, 0, 0, 267, 263, 134, 135, 136, 137, 139,
+ 138, 140, 141, 142, 143, 0, 144, 260, 101, 0,
+ 99, 97, 263, 0, 106, 95, 82, 0, 80, 79,
+ 81, 51, 0, 0, 0, 0, 236, 241, 0, 231,
+ 230, 255, 256, 250, 269, 0, 234, 234, 0, 47,
+ 0, 50, 0, 234, 261, 262, 110, 112, 0, 0,
+ 0, 204, 175, 176, 174, 0, 157, 259, 258, 156,
+ 0, 0, 0, 0, 199, 195, 0, 194, 263, 187,
+ 181, 180, 179, 0, 0, 0, 0, 100, 0, 102,
+ 0, 0, 98, 0, 234, 226, 68, 0, 66, 67,
+ 0, 234, 234, 243, 0, 116, 264, 28, 27, 0,
+ 78, 49, 265, 0, 0, 217, 0, 218, 0, 178,
+ 0, 166, 0, 158, 0, 163, 164, 147, 148, 165,
+ 145, 146, 0, 201, 193, 200, 0, 196, 189, 191,
+ 190, 186, 188, 271, 0, 162, 161, 168, 169, 0,
+ 0, 108, 0, 105, 0, 0, 52, 0, 61, 76,
+ 70, 46, 0, 0, 0, 234, 48, 0, 33, 0,
+ 234, 212, 216, 0, 0, 257, 203, 0, 202, 0,
+ 268, 173, 172, 170, 171, 167, 192, 0, 103, 104,
+ 107, 234, 227, 0, 0, 69, 234, 57, 58, 56,
+ 234, 0, 0, 0, 121, 129, 132, 130, 207, 208,
+ 131, 270, 0, 34, 35, 36, 37, 38, 39, 40,
+ 41, 42, 43, 44, 45, 30, 29, 177, 152, 154,
+ 151, 0, 149, 150, 0, 198, 197, 182, 0, 73,
+ 71, 74, 72, 0, 0, 0, 0, 133, 184, 234,
+ 120, 266, 155, 153, 159, 160, 234, 228, 234, 0,
+ 0, 0, 0, 183, 122, 0, 0, 0, 0, 210,
+ 0, 214, 0, 229, 234, 0, 209, 0, 213, 0,
+ 0, 55, 32, 211, 215, 0, 0, 185
};
/* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] =
{
- -1, 3, 4, 6, 8, 9, 28, 29, 30, 31,
- 32, 33, 34, 35, 36, 37, 38, 39, 40, 281,
- 393, 41, 151, 218, 73, 60, 69, 329, 330, 367,
- 219, 61, 119, 266, 267, 268, 363, 408, 410, 70,
- 328, 108, 279, 202, 100, 42, 43, 120, 196, 322,
- 261, 320, 162, 44, 45, 46, 136, 86, 273, 371,
- 137, 121, 372, 373, 122, 176, 298, 177, 400, 421,
- 178, 238, 179, 422, 180, 314, 299, 290, 181, 317,
- 353, 182, 233, 183, 288, 184, 251, 185, 415, 431,
- 186, 309, 310, 355, 248, 302, 303, 347, 345, 187,
- 123, 375, 376, 436, 124, 377, 438, 125, 284, 286,
- 378, 126, 141, 127, 128, 143, 74, 47, 57, 48,
- 52, 80, 49, 62, 94, 147, 212, 239, 225, 149,
- 336, 253, 214, 380, 312, 50
+ -1, 3, 4, 6, 8, 9, 27, 28, 29, 30,
+ 31, 32, 33, 34, 35, 36, 37, 38, 39, 283,
+ 395, 40, 150, 219, 71, 58, 67, 331, 332, 369,
+ 220, 59, 117, 267, 268, 269, 365, 410, 412, 68,
+ 330, 106, 281, 201, 98, 41, 42, 118, 195, 324,
+ 262, 322, 161, 43, 44, 45, 135, 85, 275, 373,
+ 136, 119, 374, 375, 120, 175, 300, 176, 402, 423,
+ 177, 239, 178, 424, 179, 316, 301, 292, 180, 319,
+ 355, 181, 234, 182, 290, 183, 252, 184, 417, 433,
+ 185, 311, 312, 357, 249, 304, 305, 349, 347, 186,
+ 121, 377, 378, 438, 122, 379, 440, 123, 286, 288,
+ 380, 124, 140, 125, 126, 142, 72, 46, 130, 47,
+ 48, 52, 80, 49, 60, 92, 146, 213, 240, 226,
+ 148, 338, 254, 215, 382, 314, 50
};
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
-#define YYPACT_NINF -403
+#define YYPACT_NINF -386
static const yytype_int16 yypact[] =
{
- 62, -403, -403, 41, -403, -403, 81, -36, -403, 198,
- -8, -403, -5, 18, 20, 35, -403, -403, -23, -23,
- -23, -23, -23, -23, 45, 131, -23, -23, -403, 58,
- -403, -403, -403, -403, -403, -403, -403, -403, -403, -403,
- -403, -403, 67, -403, -403, -403, -403, -403, -403, -403,
- -403, -403, 63, 86, 92, 128, 84, 63, 99, -403,
- 69, 133, -403, 87, 89, 129, 145, 146, -403, 147,
- 154, -403, -403, -403, -13, 150, 151, -403, -403, -403,
- 152, 162, -14, 197, 240, -34, -403, 152, 98, -403,
- -403, -403, -403, 155, -403, 131, -403, -403, -403, -403,
- -403, 131, 131, 131, 131, 131, 131, -403, -403, -403,
- -403, 72, 105, 77, 17, 156, 12, 131, 68, 157,
- -403, -403, -403, -403, -403, -403, -403, -403, -403, 12,
- 131, 165, -403, -403, -403, -403, 158, -403, -403, -403,
- -403, -403, -403, -403, 223, -403, -403, -16, 245, -403,
- 163, 164, -9, 167, -403, 168, -403, -403, 55, -403,
- -403, 155, -403, 170, 171, 172, 206, 2, 173, 34,
- 174, 127, 112, 1, 175, 155, -403, -403, -403, -403,
- -403, -403, -403, -403, -403, -403, 207, -403, 55, -403,
- 177, -403, -403, 155, 178, 179, -403, 68, 22, -403,
- -403, -403, -403, -6, 169, 182, -403, 180, -403, -403,
- -403, -403, -403, -403, 181, 131, 131, 12, -403, 188,
- 190, 195, 131, -403, -403, -403, -403, 272, 273, 274,
- -403, -403, -403, -403, 275, -403, -403, -403, -403, 232,
- 275, 79, 191, 277, -403, 192, -403, 155, 15, -403,
- -403, -403, 280, 276, 8, 194, -403, 283, -403, 284,
- 283, -403, 199, 131, -403, -403, 200, -403, -403, 209,
- 131, 131, 201, -403, -403, -403, -403, 204, -403, -403,
- 205, 210, 211, -403, 203, -403, 212, -403, 213, -403,
- 214, -403, 215, -403, -403, -403, -403, -403, -403, -403,
- 286, -403, -403, -403, 294, -403, -403, -403, -403, -403,
- -403, -403, 216, -403, -403, -403, -403, 161, 297, -403,
- 217, -403, 218, 219, -403, 76, -403, -403, 139, -403,
- 227, -4, 228, 30, -403, 298, -403, 137, 131, -403,
- -403, 265, 130, 127, -403, 220, -403, 226, -403, -403,
- -403, -403, -403, -403, -403, 229, -403, -403, -403, 131,
- -403, 315, 319, -403, 131, -403, -403, -403, 131, 123,
- 77, 80, -403, -403, -403, -403, -403, -403, -403, -403,
- 233, -403, -403, -403, -403, -403, -403, -403, -403, -403,
- -403, -403, -403, -403, -403, -403, -403, -403, -403, 311,
- -403, -403, 9, -403, -403, -403, 83, -403, -403, -403,
- -403, 237, 238, 239, 241, -403, 281, 30, -403, -403,
- -403, -403, -403, -403, 131, -403, 131, 195, 272, 273,
- 242, -403, -403, 234, 246, 247, 248, 243, 249, 251,
- 297, -403, 131, 137, -403, 272, -403, 273, 36, -403,
- -403, -403, -403, 297, 250, -403
+ 203, -386, -386, 23, -386, -386, 67, -50, -386, 20,
+ 16, -386, 21, 37, 48, -386, -19, -19, -19, -19,
+ -19, -19, 58, 131, -19, -19, -386, -386, 53, -386,
+ -386, -386, -386, -386, -386, -386, -386, -386, -386, -386,
+ -386, 64, -386, -386, -386, -386, -386, 229, -386, -386,
+ -386, -386, 77, 81, 89, 78, 95, -386, 75, 130,
+ -386, 119, 139, 140, 142, 146, -386, 147, 136, -386,
+ -386, -386, -14, 148, 149, -386, -386, 159, -386, -386,
+ 152, 162, -20, 239, -6, -386, 31, -386, -386, -386,
+ -386, 153, -386, 131, -386, -386, -386, -386, -386, 131,
+ 131, 131, 131, 131, 131, -386, -386, -386, -386, 28,
+ 50, 123, 40, 154, 30, 131, 101, 155, -386, -386,
+ -386, -386, -386, -386, -386, -386, -386, 30, 131, 156,
+ 77, 167, -386, -386, -386, 158, -386, -386, -386, -386,
+ -386, -386, -386, 218, -386, -386, 13, 244, -386, 160,
+ 163, -10, 164, -386, 165, -386, -386, 73, -386, -386,
+ 153, -386, 166, 168, 169, 210, 42, 170, 91, 171,
+ 100, 145, 38, 173, 153, -386, -386, -386, -386, -386,
+ -386, -386, -386, -386, -386, 209, -386, 73, -386, 174,
+ -386, -386, 153, 175, 176, -386, 101, 57, -386, -386,
+ -386, -386, -16, 179, 180, 225, 152, -386, 177, -386,
+ -386, -386, -386, -386, -386, 181, 131, 131, 30, -386,
+ 190, 191, 212, 131, -386, -386, -386, -386, 273, 274,
+ 275, -386, -386, -386, -386, 276, -386, -386, -386, -386,
+ 233, 276, 115, 192, 278, -386, 193, -386, 153, 9,
+ -386, -386, -386, 281, 277, 25, 195, -386, 284, -386,
+ 285, 284, -386, 200, 131, -386, -386, 199, -386, -386,
+ 208, 131, 131, -386, 197, -386, -386, -386, -386, 206,
+ -386, -386, 207, 205, 211, -386, 213, -386, 214, -386,
+ 215, -386, 216, -386, 217, -386, -386, -386, -386, -386,
+ -386, -386, 293, -386, -386, -386, 295, -386, -386, -386,
+ -386, -386, -386, -386, 219, -386, -386, -386, -386, 157,
+ 297, -386, 220, -386, 221, 222, -386, 66, -386, -386,
+ 133, -386, 226, -12, 230, 49, -386, 298, -386, 125,
+ 131, -386, -386, 265, 118, 100, -386, 228, -386, 232,
+ -386, -386, -386, -386, -386, -386, -386, 234, -386, -386,
+ -386, 131, -386, 300, 306, -386, 131, -386, -386, -386,
+ 131, 129, 123, 69, -386, -386, -386, -386, -386, -386,
+ -386, -386, 235, -386, -386, -386, -386, -386, -386, -386,
+ -386, -386, -386, -386, -386, -386, -386, -386, -386, -386,
+ -386, 308, -386, -386, 41, -386, -386, -386, 86, -386,
+ -386, -386, -386, 240, 241, 231, 237, -386, 286, 49,
+ -386, -386, -386, -386, -386, -386, 131, -386, 131, 212,
+ 273, 274, 243, -386, -386, 238, 242, 247, 245, 246,
+ 248, 252, 297, -386, 131, 125, -386, 273, -386, 274,
+ 45, -386, -386, -386, -386, 297, 250, -386
};
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int16 yypgoto[] =
{
- -403, -403, -403, -403, -403, -403, -403, -403, -403, -403,
- -403, -403, -403, -403, -403, -403, -403, -403, -403, -74,
- -81, -403, -98, 141, -82, 160, -403, -403, -358, -403,
- -41, -403, -403, -403, -403, -403, -403, -403, -403, 166,
- -403, -403, -403, 176, -403, -403, -403, 282, -403, -403,
- -403, 103, -403, -403, -403, -403, -403, -403, -403, -403,
- -403, -403, -52, -403, -84, -403, -403, -403, -403, -403,
- -403, -403, -403, -403, -403, -403, -333, 126, -403, -403,
- -403, -403, -403, -403, -403, -403, -403, -403, -403, -403,
- -3, -403, -403, -402, -403, -403, -403, -403, -403, -403,
- 285, -403, -403, -403, -403, -403, -403, -403, -398, -392,
- 287, -403, -403, -145, -83, -114, -85, -403, -403, -403,
- -403, 314, -403, 291, -403, -403, -403, -167, 187, -149,
- -403, -403, -403, -403, -403, -403
+ -386, -386, -386, -386, -386, -386, -386, -386, -386, -386,
+ -386, -386, -386, -386, -386, -386, -386, -386, -386, -71,
+ -80, -386, -96, 144, -81, 204, -386, -386, -350, -386,
+ -17, -386, -386, -386, -386, -386, -386, -386, -386, 161,
+ -386, -386, -386, 172, -386, -386, -386, 282, -386, -386,
+ -386, 105, -386, -386, -386, -386, -386, -386, -386, -386,
+ -386, -386, -52, -386, -83, -386, -386, -386, -386, -386,
+ -386, -386, -386, -386, -386, -386, -300, 128, -386, -386,
+ -386, -386, -386, -386, -386, -386, -386, -386, -386, -386,
+ -2, -386, -386, -327, -386, -386, -386, -386, -386, -386,
+ 287, -386, -386, -386, -386, -386, -386, -386, -385, -318,
+ 288, -386, -386, -145, -82, -112, -84, -386, -386, -386,
+ -386, -386, 249, -386, 178, -386, -386, -386, -166, 186,
+ -131, -386, -386, -386, -386, -386, -386
};
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
@@ -1112,86 +1114,88 @@ static const yytype_int16 yypgoto[] =
#define YYTABLE_NINF -222
static const yytype_int16 yytable[] =
{
- 144, 138, 142, 198, 241, 154, 411, 220, 157, 401,
- 109, 110, 226, 150, 109, 110, 152, 265, 152, 365,
- 153, 152, 155, 156, 111, 111, 254, 249, 112, 111,
- 437, 231, 144, 118, 293, 109, 110, 439, 448, 113,
- 294, 5, 58, 315, 258, 210, 188, 451, 205, 112,
- 111, 454, 211, 112, 189, 452, 306, 307, 232, 235,
- 113, 236, 316, 10, 113, 1, 2, 190, 434, 423,
- 191, 250, 220, 237, 112, 197, 59, 192, 71, 72,
- 297, 117, 114, 114, 449, 113, 115, 114, 204, 7,
- 115, 193, 369, 68, 53, 366, 116, 308, 305, 51,
- 217, 158, 117, 370, 293, 165, 117, 166, 114, 159,
- 294, 115, 295, 167, 194, 195, 223, 54, 276, 55,
- 168, 169, 170, 224, 171, 145, 172, 117, 88, 89,
- 263, 152, 160, 275, 56, 173, 90, 146, 264, 163,
- 282, 453, 71, 72, 68, 117, 161, 405, 296, 325,
- 297, 164, 174, 175, 236, 293, 396, 413, 91, 92,
- 242, 294, 79, 243, 244, 77, 237, 245, 199, 414,
- 397, 200, 201, 93, 78, 246, 402, 95, 144, 63,
- 64, 65, 66, 67, 359, 331, 75, 76, 417, 332,
- 398, 424, 360, 247, 84, 101, 418, 102, 85, 425,
- 81, 297, 399, 11, 12, 13, 82, 14, 15, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- 27, 381, 382, 383, 384, 385, 386, 387, 388, 389,
- 390, 391, 392, 96, 97, 98, 99, 103, 349, 350,
- 351, 352, 83, 71, 72, 406, 208, 209, 144, 374,
- 142, 361, 362, 104, 105, 106, 394, 107, 129, 130,
- 131, 132, 58, 135, 206, 148, -65, 203, 213, 207,
- 230, 215, 216, 255, 144, 221, 222, 270, 280, 331,
- 227, 228, 229, 234, 240, 252, 412, 257, 259, 260,
- 271, 278, 274, -221, 272, 283, 285, 287, 289, 291,
- 301, 300, 304, 311, 318, 313, 319, 321, 324, 344,
- 433, 326, 327, 334, 339, 335, 333, 346, 337, 338,
- 354, 379, 395, 340, 341, 342, 343, 348, 356, 357,
- 358, 403, 144, 374, 142, 364, 368, 404, 407, 144,
- 405, 331, 409, 420, 419, 426, 427, 430, 445, 428,
- 441, 429, 440, 435, 442, 443, 447, 331, 277, 444,
- 446, 455, 450, 323, 133, 432, 292, 416, 0, 269,
- 139, 87, 140, 262, 134, 256
+ 143, 137, 141, 197, 242, 153, 221, 266, 156, 107,
+ 108, 367, 149, 107, 108, 151, 413, 151, 109, 152,
+ 151, 154, 155, 5, 109, 11, 12, 13, 109, 227,
+ 14, 143, 15, 16, 17, 18, 19, 20, 21, 22,
+ 23, 24, 25, 255, 403, 439, 56, 204, 110, 10,
+ 308, 309, 110, 107, 108, 116, 110, 157, 144, 111,
+ 317, 259, 453, 111, 250, 158, 295, 111, 109, 187,
+ 145, 232, 296, 221, 211, 7, 112, 188, 436, 318,
+ 57, 212, 112, 66, 162, 113, 112, 368, 159, 113,
+ 189, 310, 110, 190, 451, 114, 163, 196, 233, 218,
+ 191, 115, 160, 111, 425, 115, 69, 70, 251, 115,
+ 203, 371, 299, 441, 192, 450, 236, 307, 237, 26,
+ 53, 278, 372, 51, 86, 87, 112, 237, 456, 113,
+ 238, 454, 88, 151, 224, 277, 54, 193, 194, 238,
+ 295, 225, 284, 295, 398, 115, 296, 55, 297, 296,
+ 455, 164, 327, 165, 89, 90, 407, 66, 399, 166,
+ 75, 69, 70, 415, 115, 264, 167, 168, 169, 91,
+ 170, 76, 171, 265, 361, 416, 79, 419, 400, 404,
+ 143, 172, 362, 93, 298, 420, 299, 333, 83, 299,
+ 401, 334, 84, 243, 426, 81, 244, 245, 173, 174,
+ 246, 198, 427, 82, 199, 200, 1, 2, 247, 383,
+ 384, 385, 386, 387, 388, 389, 390, 391, 392, 393,
+ 394, 61, 62, 63, 64, 65, 248, 99, 73, 74,
+ 94, 95, 96, 97, 351, 352, 353, 354, 77, 105,
+ 78, 209, 210, 69, 70, 363, 364, 100, 101, 408,
+ 102, 143, 376, 141, 103, 104, 127, 128, 129, 396,
+ 131, 132, 134, 147, -65, 202, 207, 214, 216, 208,
+ 205, 217, 222, 223, 231, 256, 228, 143, 229, 230,
+ 235, 241, 333, 253, 258, 260, 261, 271, 272, 414,
+ 56, 274, 276, 280, -221, 282, 285, 287, 289, 291,
+ 293, 303, 302, 306, 313, 320, 315, 321, 323, 326,
+ 328, 329, 335, 339, 435, 336, 346, 337, 348, 340,
+ 356, 381, 397, 409, 341, 342, 343, 344, 345, 411,
+ 350, 358, 359, 360, 366, 143, 376, 141, 370, 405,
+ 422, 430, 143, 406, 333, 407, 421, 431, 428, 429,
+ 444, 447, 432, 442, 443, 445, 446, 449, 437, 448,
+ 333, 457, 279, 270, 133, 452, 325, 434, 263, 294,
+ 418, 138, 139, 257, 0, 0, 0, 0, 0, 206,
+ 0, 0, 0, 273
};
static const yytype_int16 yycheck[] =
{
- 85, 85, 85, 117, 171, 103, 364, 152, 106, 342,
- 23, 24, 161, 95, 23, 24, 101, 23, 103, 23,
- 102, 106, 104, 105, 38, 38, 175, 26, 62, 38,
- 428, 29, 117, 74, 25, 23, 24, 429, 440, 73,
- 31, 0, 65, 35, 193, 61, 29, 445, 130, 62,
- 38, 453, 68, 62, 37, 447, 41, 42, 56, 25,
- 73, 27, 54, 99, 73, 3, 4, 50, 426, 402,
- 53, 70, 217, 39, 62, 116, 99, 60, 112, 113,
- 71, 115, 96, 96, 442, 73, 99, 96, 129, 8,
- 99, 74, 62, 99, 99, 99, 109, 82, 247, 107,
- 109, 29, 115, 73, 25, 28, 115, 30, 96, 37,
- 31, 99, 33, 36, 97, 98, 61, 99, 216, 99,
- 43, 44, 45, 68, 47, 27, 49, 115, 29, 30,
- 108, 216, 60, 215, 99, 58, 37, 39, 116, 34,
- 222, 105, 112, 113, 99, 115, 74, 111, 69, 263,
- 71, 46, 75, 76, 27, 25, 26, 34, 59, 60,
- 48, 31, 99, 51, 52, 107, 39, 55, 100, 46,
- 40, 103, 104, 74, 107, 63, 343, 108, 263, 19,
- 20, 21, 22, 23, 108, 270, 26, 27, 108, 271,
- 60, 108, 116, 81, 110, 108, 116, 108, 114, 116,
- 114, 71, 72, 5, 6, 7, 114, 9, 10, 11,
- 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
- 22, 84, 85, 86, 87, 88, 89, 90, 91, 92,
- 93, 94, 95, 100, 101, 102, 103, 108, 77, 78,
- 79, 80, 114, 112, 113, 359, 23, 24, 333, 333,
- 333, 112, 113, 108, 108, 108, 338, 103, 108, 108,
- 108, 99, 65, 23, 99, 110, 110, 110, 23, 111,
- 64, 108, 108, 66, 359, 108, 108, 108, 83, 364,
- 110, 110, 110, 110, 110, 110, 368, 110, 110, 110,
- 108, 103, 111, 103, 114, 23, 23, 23, 23, 67,
- 23, 110, 110, 23, 110, 29, 23, 23, 109, 23,
- 424, 111, 103, 109, 111, 110, 115, 23, 108, 108,
- 23, 23, 57, 111, 111, 111, 111, 111, 111, 111,
- 111, 111, 417, 417, 417, 108, 108, 111, 23, 424,
- 111, 426, 23, 32, 111, 108, 108, 66, 105, 110,
- 116, 110, 110, 427, 108, 108, 105, 442, 217, 111,
- 111, 111, 443, 260, 82, 417, 240, 370, -1, 203,
- 85, 57, 85, 197, 83, 188
+ 84, 84, 84, 115, 170, 101, 151, 23, 104, 23,
+ 24, 23, 93, 23, 24, 99, 366, 101, 38, 100,
+ 104, 102, 103, 0, 38, 5, 6, 7, 38, 160,
+ 10, 115, 12, 13, 14, 15, 16, 17, 18, 19,
+ 20, 21, 22, 174, 344, 430, 65, 128, 62, 99,
+ 41, 42, 62, 23, 24, 72, 62, 29, 27, 73,
+ 35, 192, 447, 73, 26, 37, 25, 73, 38, 29,
+ 39, 29, 31, 218, 61, 8, 96, 37, 428, 54,
+ 99, 68, 96, 99, 34, 99, 96, 99, 60, 99,
+ 50, 82, 62, 53, 444, 109, 46, 114, 56, 109,
+ 60, 115, 74, 73, 404, 115, 112, 113, 70, 115,
+ 127, 62, 71, 431, 74, 442, 25, 248, 27, 99,
+ 99, 217, 73, 107, 29, 30, 96, 27, 455, 99,
+ 39, 449, 37, 217, 61, 216, 99, 97, 98, 39,
+ 25, 68, 223, 25, 26, 115, 31, 99, 33, 31,
+ 105, 28, 264, 30, 59, 60, 111, 99, 40, 36,
+ 107, 112, 113, 34, 115, 108, 43, 44, 45, 74,
+ 47, 107, 49, 116, 108, 46, 99, 108, 60, 345,
+ 264, 58, 116, 108, 69, 116, 71, 271, 110, 71,
+ 72, 272, 114, 48, 108, 114, 51, 52, 75, 76,
+ 55, 100, 116, 114, 103, 104, 3, 4, 63, 84,
+ 85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
+ 95, 17, 18, 19, 20, 21, 81, 108, 24, 25,
+ 100, 101, 102, 103, 77, 78, 79, 80, 9, 103,
+ 11, 23, 24, 112, 113, 112, 113, 108, 108, 361,
+ 108, 335, 335, 335, 108, 108, 108, 108, 99, 340,
+ 108, 99, 23, 110, 110, 110, 99, 23, 108, 111,
+ 114, 108, 108, 108, 64, 66, 110, 361, 110, 110,
+ 110, 110, 366, 110, 110, 110, 110, 108, 108, 370,
+ 65, 114, 111, 103, 103, 83, 23, 23, 23, 23,
+ 67, 23, 110, 110, 23, 110, 29, 23, 23, 109,
+ 111, 103, 115, 108, 426, 109, 23, 110, 23, 108,
+ 23, 23, 57, 23, 111, 111, 111, 111, 111, 23,
+ 111, 111, 111, 111, 108, 419, 419, 419, 108, 111,
+ 32, 110, 426, 111, 428, 111, 111, 110, 108, 108,
+ 108, 105, 66, 110, 116, 108, 111, 105, 429, 111,
+ 444, 111, 218, 202, 82, 445, 261, 419, 196, 241,
+ 372, 84, 84, 187, -1, -1, -1, -1, -1, 130,
+ -1, -1, -1, 205
};
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
@@ -1199,51 +1203,51 @@ static const yytype_int16 yycheck[] =
static const yytype_uint8 yystos[] =
{
0, 3, 4, 118, 119, 0, 120, 8, 121, 122,
- 99, 5, 6, 7, 9, 10, 11, 12, 13, 14,
- 15, 16, 17, 18, 19, 20, 21, 22, 123, 124,
- 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
- 135, 138, 162, 163, 170, 171, 172, 234, 236, 239,
- 252, 107, 237, 99, 99, 99, 99, 235, 65, 99,
- 142, 148, 240, 142, 142, 142, 142, 142, 99, 143,
- 156, 112, 113, 141, 233, 142, 142, 107, 107, 99,
- 238, 114, 114, 114, 110, 114, 174, 238, 29, 30,
- 37, 59, 60, 74, 241, 108, 100, 101, 102, 103,
- 161, 108, 108, 108, 108, 108, 108, 103, 158, 23,
- 24, 38, 62, 73, 96, 99, 109, 115, 147, 149,
- 164, 178, 181, 217, 221, 224, 228, 230, 231, 108,
- 108, 108, 99, 164, 240, 23, 173, 177, 181, 217,
- 227, 229, 231, 232, 233, 27, 39, 242, 110, 246,
- 141, 139, 233, 141, 139, 141, 141, 139, 29, 37,
- 60, 74, 169, 34, 46, 28, 30, 36, 43, 44,
- 45, 47, 49, 58, 75, 76, 182, 184, 187, 189,
- 191, 195, 198, 200, 202, 204, 207, 216, 29, 37,
- 50, 53, 60, 74, 97, 98, 165, 147, 232, 100,
- 103, 104, 160, 110, 147, 141, 99, 111, 23, 24,
- 61, 68, 243, 23, 249, 108, 108, 109, 140, 147,
- 230, 108, 108, 61, 68, 245, 246, 110, 110, 110,
- 64, 29, 56, 199, 110, 25, 27, 39, 188, 244,
- 110, 244, 48, 51, 52, 55, 63, 81, 211, 26,
- 70, 203, 110, 248, 246, 66, 245, 110, 246, 110,
- 110, 167, 160, 108, 116, 23, 150, 151, 152, 156,
- 108, 108, 114, 175, 111, 141, 139, 140, 103, 159,
- 83, 136, 141, 23, 225, 23, 226, 23, 201, 23,
- 194, 67, 194, 25, 31, 33, 69, 71, 183, 193,
- 110, 23, 212, 213, 110, 246, 41, 42, 82, 208,
- 209, 23, 251, 29, 192, 35, 54, 196, 110, 23,
- 168, 23, 166, 168, 109, 232, 111, 103, 157, 144,
- 145, 233, 141, 115, 109, 110, 247, 108, 108, 111,
- 111, 111, 111, 111, 23, 215, 23, 214, 111, 77,
- 78, 79, 80, 197, 23, 210, 111, 111, 111, 108,
- 116, 112, 113, 153, 108, 23, 99, 146, 108, 62,
- 73, 176, 179, 180, 181, 218, 219, 222, 227, 23,
- 250, 84, 85, 86, 87, 88, 89, 90, 91, 92,
- 93, 94, 95, 137, 141, 57, 26, 40, 60, 72,
- 185, 193, 244, 111, 111, 111, 232, 23, 154, 23,
- 155, 145, 141, 34, 46, 205, 207, 108, 116, 111,
- 32, 186, 190, 193, 108, 116, 108, 108, 110, 110,
- 66, 206, 179, 232, 145, 136, 220, 225, 223, 226,
- 110, 116, 108, 108, 111, 105, 111, 105, 210, 145,
- 137, 225, 226, 105, 210, 111
+ 99, 5, 6, 7, 10, 12, 13, 14, 15, 16,
+ 17, 18, 19, 20, 21, 22, 99, 123, 124, 125,
+ 126, 127, 128, 129, 130, 131, 132, 133, 134, 135,
+ 138, 162, 163, 170, 171, 172, 234, 236, 237, 240,
+ 253, 107, 238, 99, 99, 99, 65, 99, 142, 148,
+ 241, 142, 142, 142, 142, 142, 99, 143, 156, 112,
+ 113, 141, 233, 142, 142, 107, 107, 9, 11, 99,
+ 239, 114, 114, 110, 114, 174, 29, 30, 37, 59,
+ 60, 74, 242, 108, 100, 101, 102, 103, 161, 108,
+ 108, 108, 108, 108, 108, 103, 158, 23, 24, 38,
+ 62, 73, 96, 99, 109, 115, 147, 149, 164, 178,
+ 181, 217, 221, 224, 228, 230, 231, 108, 108, 99,
+ 235, 108, 99, 164, 23, 173, 177, 181, 217, 227,
+ 229, 231, 232, 233, 27, 39, 243, 110, 247, 141,
+ 139, 233, 141, 139, 141, 141, 139, 29, 37, 60,
+ 74, 169, 34, 46, 28, 30, 36, 43, 44, 45,
+ 47, 49, 58, 75, 76, 182, 184, 187, 189, 191,
+ 195, 198, 200, 202, 204, 207, 216, 29, 37, 50,
+ 53, 60, 74, 97, 98, 165, 147, 232, 100, 103,
+ 104, 160, 110, 147, 141, 114, 239, 99, 111, 23,
+ 24, 61, 68, 244, 23, 250, 108, 108, 109, 140,
+ 147, 230, 108, 108, 61, 68, 246, 247, 110, 110,
+ 110, 64, 29, 56, 199, 110, 25, 27, 39, 188,
+ 245, 110, 245, 48, 51, 52, 55, 63, 81, 211,
+ 26, 70, 203, 110, 249, 247, 66, 246, 110, 247,
+ 110, 110, 167, 160, 108, 116, 23, 150, 151, 152,
+ 156, 108, 108, 241, 114, 175, 111, 141, 139, 140,
+ 103, 159, 83, 136, 141, 23, 225, 23, 226, 23,
+ 201, 23, 194, 67, 194, 25, 31, 33, 69, 71,
+ 183, 193, 110, 23, 212, 213, 110, 247, 41, 42,
+ 82, 208, 209, 23, 252, 29, 192, 35, 54, 196,
+ 110, 23, 168, 23, 166, 168, 109, 232, 111, 103,
+ 157, 144, 145, 233, 141, 115, 109, 110, 248, 108,
+ 108, 111, 111, 111, 111, 111, 23, 215, 23, 214,
+ 111, 77, 78, 79, 80, 197, 23, 210, 111, 111,
+ 111, 108, 116, 112, 113, 153, 108, 23, 99, 146,
+ 108, 62, 73, 176, 179, 180, 181, 218, 219, 222,
+ 227, 23, 251, 84, 85, 86, 87, 88, 89, 90,
+ 91, 92, 93, 94, 95, 137, 141, 57, 26, 40,
+ 60, 72, 185, 193, 245, 111, 111, 111, 232, 23,
+ 154, 23, 155, 145, 141, 34, 46, 205, 207, 108,
+ 116, 111, 32, 186, 190, 193, 108, 116, 108, 108,
+ 110, 110, 66, 206, 179, 232, 145, 136, 220, 225,
+ 223, 226, 110, 116, 108, 108, 111, 105, 111, 105,
+ 210, 145, 137, 225, 226, 105, 210, 111
};
#define yyerrok (yyerrstatus = 0)
@@ -4350,20 +4354,67 @@ yyreduce:
/* Line 1455 of yacc.c */
#line 1814 "program_parse.y"
- { (yyval.integer) = (yyvsp[(1) - (1)].integer); ;}
+ { (yyval.integer) = (yyvsp[(2) - (2)].integer); ;}
break;
case 237:
/* Line 1455 of yacc.c */
-#line 1817 "program_parse.y"
- { (yyval.integer) = (yyvsp[(1) - (1)].integer); ;}
+#line 1818 "program_parse.y"
+ {
+ /* NV_fragment_program_option defines the size qualifiers in a
+ * fairly broken way. "SHORT" or "LONG" can optionally be used
+ * before TEMP or OUTPUT. However, neither is a reserved word!
+ * This means that we have to parse it as an identifier, then check
+ * to make sure it's one of the valid values. *sigh*
+ *
+ * In addition, the grammar in the extension spec does *not* allow
+ * the size specifier to be optional, but all known implementations
+ * do.
+ */
+ if (!state->option.NV_fragment) {
+ yyerror(& (yylsp[(1) - (1)]), state, "unexpected IDENTIFIER");
+ YYERROR;
+ }
+
+ if (strcmp("SHORT", (yyvsp[(1) - (1)].string)) == 0) {
+ } else if (strcmp("LONG", (yyvsp[(1) - (1)].string)) == 0) {
+ } else {
+ char *const err_str =
+ make_error_string("invalid storage size specifier \"%s\"",
+ (yyvsp[(1) - (1)].string));
+
+ yyerror(& (yylsp[(1) - (1)]), state, (err_str != NULL)
+ ? err_str : "invalid storage size specifier");
+
+ if (err_str != NULL) {
+ _mesa_free(err_str);
+ }
+
+ YYERROR;
+ }
+ ;}
+ break;
+
+ case 238:
+
+/* Line 1455 of yacc.c */
+#line 1852 "program_parse.y"
+ {
+ ;}
break;
case 239:
/* Line 1455 of yacc.c */
-#line 1821 "program_parse.y"
+#line 1856 "program_parse.y"
+ { (yyval.integer) = (yyvsp[(1) - (1)].integer); ;}
+ break;
+
+ case 241:
+
+/* Line 1455 of yacc.c */
+#line 1860 "program_parse.y"
{
if (!declare_variable(state, (yyvsp[(3) - (3)].string), (yyvsp[(0) - (3)].integer), & (yylsp[(3) - (3)]))) {
YYERROR;
@@ -4371,10 +4422,10 @@ yyreduce:
;}
break;
- case 240:
+ case 242:
/* Line 1455 of yacc.c */
-#line 1827 "program_parse.y"
+#line 1866 "program_parse.y"
{
if (!declare_variable(state, (yyvsp[(1) - (1)].string), (yyvsp[(0) - (1)].integer), & (yylsp[(1) - (1)]))) {
YYERROR;
@@ -4382,26 +4433,26 @@ yyreduce:
;}
break;
- case 241:
+ case 243:
/* Line 1455 of yacc.c */
-#line 1835 "program_parse.y"
+#line 1874 "program_parse.y"
{
struct asm_symbol *const s =
- declare_variable(state, (yyvsp[(2) - (4)].string), at_output, & (yylsp[(2) - (4)]));
+ declare_variable(state, (yyvsp[(3) - (5)].string), at_output, & (yylsp[(3) - (5)]));
if (s == NULL) {
YYERROR;
} else {
- s->output_binding = (yyvsp[(4) - (4)].result);
+ s->output_binding = (yyvsp[(5) - (5)].result);
}
;}
break;
- case 242:
+ case 244:
/* Line 1455 of yacc.c */
-#line 1848 "program_parse.y"
+#line 1887 "program_parse.y"
{
if (state->mode == ARB_vertex) {
(yyval.result) = VERT_RESULT_HPOS;
@@ -4412,10 +4463,10 @@ yyreduce:
;}
break;
- case 243:
+ case 245:
/* Line 1455 of yacc.c */
-#line 1857 "program_parse.y"
+#line 1896 "program_parse.y"
{
if (state->mode == ARB_vertex) {
(yyval.result) = VERT_RESULT_FOGC;
@@ -4426,19 +4477,19 @@ yyreduce:
;}
break;
- case 244:
+ case 246:
/* Line 1455 of yacc.c */
-#line 1866 "program_parse.y"
+#line 1905 "program_parse.y"
{
(yyval.result) = (yyvsp[(2) - (2)].result);
;}
break;
- case 245:
+ case 247:
/* Line 1455 of yacc.c */
-#line 1870 "program_parse.y"
+#line 1909 "program_parse.y"
{
if (state->mode == ARB_vertex) {
(yyval.result) = VERT_RESULT_PSIZ;
@@ -4449,10 +4500,10 @@ yyreduce:
;}
break;
- case 246:
+ case 248:
/* Line 1455 of yacc.c */
-#line 1879 "program_parse.y"
+#line 1918 "program_parse.y"
{
if (state->mode == ARB_vertex) {
(yyval.result) = VERT_RESULT_TEX0 + (yyvsp[(3) - (3)].integer);
@@ -4463,10 +4514,10 @@ yyreduce:
;}
break;
- case 247:
+ case 249:
/* Line 1455 of yacc.c */
-#line 1888 "program_parse.y"
+#line 1927 "program_parse.y"
{
if (state->mode == ARB_fragment) {
(yyval.result) = FRAG_RESULT_DEPTH;
@@ -4477,19 +4528,19 @@ yyreduce:
;}
break;
- case 248:
+ case 250:
/* Line 1455 of yacc.c */
-#line 1899 "program_parse.y"
+#line 1938 "program_parse.y"
{
(yyval.result) = (yyvsp[(2) - (3)].integer) + (yyvsp[(3) - (3)].integer);
;}
break;
- case 249:
+ case 251:
/* Line 1455 of yacc.c */
-#line 1905 "program_parse.y"
+#line 1944 "program_parse.y"
{
(yyval.integer) = (state->mode == ARB_vertex)
? VERT_RESULT_COL0
@@ -4497,10 +4548,10 @@ yyreduce:
;}
break;
- case 250:
+ case 252:
/* Line 1455 of yacc.c */
-#line 1911 "program_parse.y"
+#line 1950 "program_parse.y"
{
if (state->mode == ARB_vertex) {
(yyval.integer) = VERT_RESULT_COL0;
@@ -4511,10 +4562,10 @@ yyreduce:
;}
break;
- case 251:
+ case 253:
/* Line 1455 of yacc.c */
-#line 1920 "program_parse.y"
+#line 1959 "program_parse.y"
{
if (state->mode == ARB_vertex) {
(yyval.integer) = VERT_RESULT_BFC0;
@@ -4525,19 +4576,19 @@ yyreduce:
;}
break;
- case 252:
+ case 254:
/* Line 1455 of yacc.c */
-#line 1931 "program_parse.y"
+#line 1970 "program_parse.y"
{
(yyval.integer) = 0;
;}
break;
- case 253:
+ case 255:
/* Line 1455 of yacc.c */
-#line 1935 "program_parse.y"
+#line 1974 "program_parse.y"
{
if (state->mode == ARB_vertex) {
(yyval.integer) = 0;
@@ -4548,10 +4599,10 @@ yyreduce:
;}
break;
- case 254:
+ case 256:
/* Line 1455 of yacc.c */
-#line 1944 "program_parse.y"
+#line 1983 "program_parse.y"
{
if (state->mode == ARB_vertex) {
(yyval.integer) = 1;
@@ -4562,94 +4613,94 @@ yyreduce:
;}
break;
- case 255:
+ case 257:
/* Line 1455 of yacc.c */
-#line 1954 "program_parse.y"
+#line 1993 "program_parse.y"
{ (yyval.integer) = 0; ;}
break;
- case 256:
+ case 258:
/* Line 1455 of yacc.c */
-#line 1955 "program_parse.y"
+#line 1994 "program_parse.y"
{ (yyval.integer) = 0; ;}
break;
- case 257:
+ case 259:
/* Line 1455 of yacc.c */
-#line 1956 "program_parse.y"
+#line 1995 "program_parse.y"
{ (yyval.integer) = 1; ;}
break;
- case 258:
+ case 260:
/* Line 1455 of yacc.c */
-#line 1959 "program_parse.y"
+#line 1998 "program_parse.y"
{ (yyval.integer) = 0; ;}
break;
- case 259:
+ case 261:
/* Line 1455 of yacc.c */
-#line 1960 "program_parse.y"
+#line 1999 "program_parse.y"
{ (yyval.integer) = 0; ;}
break;
- case 260:
+ case 262:
/* Line 1455 of yacc.c */
-#line 1961 "program_parse.y"
+#line 2000 "program_parse.y"
{ (yyval.integer) = 1; ;}
break;
- case 261:
+ case 263:
/* Line 1455 of yacc.c */
-#line 1964 "program_parse.y"
+#line 2003 "program_parse.y"
{ (yyval.integer) = 0; ;}
break;
- case 262:
+ case 264:
/* Line 1455 of yacc.c */
-#line 1965 "program_parse.y"
+#line 2004 "program_parse.y"
{ (yyval.integer) = (yyvsp[(2) - (3)].integer); ;}
break;
- case 263:
+ case 265:
/* Line 1455 of yacc.c */
-#line 1968 "program_parse.y"
+#line 2007 "program_parse.y"
{ (yyval.integer) = 0; ;}
break;
- case 264:
+ case 266:
/* Line 1455 of yacc.c */
-#line 1969 "program_parse.y"
+#line 2008 "program_parse.y"
{ (yyval.integer) = (yyvsp[(2) - (3)].integer); ;}
break;
- case 265:
+ case 267:
/* Line 1455 of yacc.c */
-#line 1972 "program_parse.y"
+#line 2011 "program_parse.y"
{ (yyval.integer) = 0; ;}
break;
- case 266:
+ case 268:
/* Line 1455 of yacc.c */
-#line 1973 "program_parse.y"
+#line 2012 "program_parse.y"
{ (yyval.integer) = (yyvsp[(2) - (3)].integer); ;}
break;
- case 267:
+ case 269:
/* Line 1455 of yacc.c */
-#line 1977 "program_parse.y"
+#line 2016 "program_parse.y"
{
if ((unsigned) (yyvsp[(1) - (1)].integer) >= state->MaxTextureCoordUnits) {
yyerror(& (yylsp[(1) - (1)]), state, "invalid texture coordinate unit selector");
@@ -4660,10 +4711,10 @@ yyreduce:
;}
break;
- case 268:
+ case 270:
/* Line 1455 of yacc.c */
-#line 1988 "program_parse.y"
+#line 2027 "program_parse.y"
{
if ((unsigned) (yyvsp[(1) - (1)].integer) >= state->MaxTextureImageUnits) {
yyerror(& (yylsp[(1) - (1)]), state, "invalid texture image unit selector");
@@ -4674,10 +4725,10 @@ yyreduce:
;}
break;
- case 269:
+ case 271:
/* Line 1455 of yacc.c */
-#line 1999 "program_parse.y"
+#line 2038 "program_parse.y"
{
if ((unsigned) (yyvsp[(1) - (1)].integer) >= state->MaxTextureUnits) {
yyerror(& (yylsp[(1) - (1)]), state, "invalid texture unit selector");
@@ -4688,10 +4739,10 @@ yyreduce:
;}
break;
- case 270:
+ case 272:
/* Line 1455 of yacc.c */
-#line 2010 "program_parse.y"
+#line 2049 "program_parse.y"
{
struct asm_symbol *exist = (struct asm_symbol *)
_mesa_symbol_table_find_symbol(state->st, 0, (yyvsp[(2) - (4)].string));
@@ -4715,7 +4766,7 @@ yyreduce:
/* Line 1455 of yacc.c */
-#line 4719 "program_parse.tab.c"
+#line 4770 "program_parse.tab.c"
default: break;
}
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
@@ -4934,7 +4985,7 @@ yyreturn:
/* Line 1675 of yacc.c */
-#line 2030 "program_parse.y"
+#line 2069 "program_parse.y"
void
@@ -5004,7 +5055,10 @@ asm_instruction_copy_ctor(const struct prog_instruction *base,
if (inst) {
_mesa_init_instructions(& inst->Base, 1);
inst->Base.Opcode = base->Opcode;
+ inst->Base.CondUpdate = base->CondUpdate;
+ inst->Base.CondDst = base->CondDst;
inst->Base.SaturateMode = base->SaturateMode;
+ inst->Base.Precision = base->Precision;
asm_instruction_set_operands(inst, dst, src0, src1, src2);
}