aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-02 21:28:35 +0100
committerEugene Sandulenko2019-12-02 21:28:35 +0100
commit5001cb8a1a02fb7f0e1555a7597d7e2278f315f0 (patch)
tree2ef1d25b0eb89151f71a12aa449d489dbdaa0313 /engines/director
parentbbc8b177ed75f83187116ead882a151b5c29c952 (diff)
downloadscummvm-rg350-5001cb8a1a02fb7f0e1555a7597d7e2278f315f0.tar.gz
scummvm-rg350-5001cb8a1a02fb7f0e1555a7597d7e2278f315f0.tar.bz2
scummvm-rg350-5001cb8a1a02fb7f0e1555a7597d7e2278f315f0.zip
DIRECTOR: LINGO: Simplify grammar
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/lingo/lingo-gr.cpp1692
-rw-r--r--engines/director/lingo/lingo-gr.y49
2 files changed, 856 insertions, 885 deletions
diff --git a/engines/director/lingo/lingo-gr.cpp b/engines/director/lingo/lingo-gr.cpp
index d0fc362b83..119043f098 100644
--- a/engines/director/lingo/lingo-gr.cpp
+++ b/engines/director/lingo/lingo-gr.cpp
@@ -540,16 +540,16 @@ union yyalloc
/* YYFINAL -- State number of the termination state. */
#define YYFINAL 127
/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 1764
+#define YYLAST 1848
/* YYNTOKENS -- Number of terminals. */
#define YYNTOKENS 105
/* YYNNTS -- Number of nonterminals. */
-#define YYNNTS 49
+#define YYNNTS 46
/* YYNRULES -- Number of rules. */
-#define YYNRULES 172
+#define YYNRULES 169
/* YYNRULES -- Number of states. */
-#define YYNSTATES 367
+#define YYNSTATES 364
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
#define YYUNDEFTOK 2
@@ -604,117 +604,114 @@ static const yytype_uint8 yytranslate[] =
static const yytype_uint16 yyprhs[] =
{
0, 0, 3, 7, 9, 12, 14, 16, 18, 20,
- 22, 23, 25, 27, 32, 37, 42, 47, 52, 57,
- 62, 67, 73, 75, 77, 79, 81, 83, 89, 100,
- 112, 116, 123, 128, 135, 145, 155, 165, 176, 187,
- 194, 195, 199, 202, 204, 207, 209, 216, 218, 225,
- 232, 235, 236, 239, 243, 245, 247, 248, 249, 251,
- 254, 257, 261, 263, 265, 267, 269, 271, 273, 275,
- 278, 281, 286, 291, 293, 295, 298, 300, 304, 308,
- 312, 316, 320, 324, 328, 332, 336, 340, 344, 348,
- 352, 355, 359, 363, 367, 371, 374, 377, 381, 385,
- 390, 395, 400, 407, 412, 419, 424, 431, 436, 443,
- 446, 449, 451, 453, 456, 458, 461, 464, 467, 469,
- 472, 475, 477, 480, 485, 490, 497, 502, 505, 509,
- 511, 515, 517, 521, 523, 527, 530, 533, 536, 539,
- 543, 546, 549, 551, 555, 558, 561, 564, 568, 571,
- 572, 576, 577, 586, 589, 590, 599, 608, 615, 618,
- 619, 621, 625, 630, 631, 633, 637, 638, 641, 642,
- 644, 648, 650
+ 21, 23, 25, 30, 35, 40, 45, 50, 55, 60,
+ 65, 71, 73, 75, 77, 79, 81, 87, 98, 110,
+ 114, 121, 126, 133, 143, 153, 163, 174, 185, 192,
+ 193, 197, 200, 202, 205, 207, 214, 216, 223, 230,
+ 233, 237, 239, 241, 242, 243, 245, 248, 251, 255,
+ 257, 259, 261, 263, 265, 267, 269, 272, 275, 280,
+ 285, 287, 289, 292, 294, 298, 302, 306, 310, 314,
+ 318, 322, 326, 330, 334, 338, 342, 346, 349, 353,
+ 357, 361, 365, 368, 371, 375, 379, 384, 389, 394,
+ 401, 406, 413, 418, 425, 430, 437, 440, 443, 445,
+ 447, 450, 452, 455, 458, 461, 463, 466, 469, 471,
+ 474, 479, 484, 491, 496, 499, 503, 505, 509, 511,
+ 515, 517, 521, 524, 527, 530, 533, 537, 540, 543,
+ 545, 549, 552, 555, 558, 562, 565, 566, 570, 571,
+ 580, 583, 584, 593, 602, 609, 612, 613, 615, 619,
+ 624, 625, 627, 631, 632, 635, 636, 638, 642, 644
};
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
static const yytype_int16 yyrhs[] =
{
- 106, 0, -1, 106, 107, 112, -1, 112, -1, 1,
+ 106, 0, -1, 106, 107, 111, -1, 111, -1, 1,
107, -1, 97, -1, 53, -1, 58, -1, 36, -1,
- 52, -1, -1, 144, -1, 115, -1, 49, 133, 42,
- 28, -1, 49, 133, 42, 134, -1, 49, 133, 75,
- 133, -1, 49, 133, 76, 133, -1, 51, 28, 69,
- 133, -1, 51, 13, 69, 133, -1, 51, 28, 54,
- 133, -1, 51, 13, 54, 133, -1, 51, 14, 133,
- 54, 133, -1, 151, -1, 133, -1, 135, -1, 114,
- -1, 116, -1, 124, 122, 130, 129, 32, -1, 125,
- 69, 133, 129, 54, 133, 129, 130, 129, 32, -1,
- 125, 69, 133, 129, 34, 54, 133, 129, 130, 129,
- 32, -1, 131, 114, 129, -1, 132, 133, 107, 130,
- 129, 32, -1, 132, 133, 54, 133, -1, 126, 122,
- 108, 130, 129, 32, -1, 126, 122, 108, 130, 129,
- 109, 130, 129, 32, -1, 126, 122, 108, 130, 129,
- 128, 118, 129, 32, -1, 126, 122, 108, 130, 129,
- 109, 128, 114, 129, -1, 126, 122, 111, 128, 114,
- 129, 119, 129, 117, 129, -1, 126, 122, 111, 128,
- 114, 129, 109, 128, 114, 129, -1, 126, 122, 111,
- 128, 114, 129, -1, -1, 109, 128, 114, -1, 118,
- 121, -1, 121, -1, 119, 120, -1, 120, -1, 127,
- 122, 111, 128, 115, 129, -1, 119, -1, 127, 122,
- 111, 128, 130, 129, -1, 127, 122, 108, 128, 130,
- 129, -1, 123, 133, -1, -1, 50, 57, -1, 50,
- 56, 28, -1, 41, -1, 110, -1, -1, -1, 128,
- -1, 130, 107, -1, 130, 115, -1, 55, 28, 111,
- -1, 87, -1, 12, -1, 15, -1, 31, -1, 29,
- -1, 134, -1, 23, -1, 24, 133, -1, 25, 153,
- -1, 25, 98, 153, 99, -1, 28, 98, 152, 99,
- -1, 28, -1, 13, -1, 14, 133, -1, 113, -1,
- 133, 92, 133, -1, 133, 93, 133, -1, 133, 94,
- 133, -1, 133, 95, 133, -1, 133, 74, 133, -1,
- 133, 100, 133, -1, 133, 101, 133, -1, 133, 69,
- 133, -1, 133, 70, 133, -1, 133, 65, 133, -1,
- 133, 66, 133, -1, 133, 71, 133, -1, 133, 72,
- 133, -1, 73, 133, -1, 133, 91, 133, -1, 133,
- 77, 133, -1, 133, 78, 133, -1, 133, 79, 133,
- -1, 92, 133, -1, 93, 133, -1, 98, 133, 99,
- -1, 102, 152, 103, -1, 84, 133, 85, 133, -1,
- 84, 133, 86, 133, -1, 80, 133, 47, 133, -1,
- 80, 133, 54, 133, 47, 133, -1, 81, 133, 47,
- 133, -1, 81, 133, 54, 133, 47, 133, -1, 82,
- 133, 47, 133, -1, 82, 133, 54, 133, 47, 133,
- -1, 83, 133, 47, 133, -1, 83, 133, 54, 133,
- 47, 133, -1, 27, 133, -1, 49, 133, -1, 139,
- -1, 142, -1, 37, 50, -1, 37, -1, 39, 136,
- -1, 88, 137, -1, 64, 138, -1, 17, -1, 19,
- 133, -1, 18, 133, -1, 18, -1, 20, 153, -1,
- 20, 98, 153, 99, -1, 90, 98, 28, 99, -1,
- 90, 98, 28, 104, 152, 99, -1, 61, 133, 56,
- 133, -1, 61, 133, -1, 21, 28, 152, -1, 28,
- -1, 136, 104, 28, -1, 28, -1, 137, 104, 28,
- -1, 28, -1, 138, 104, 28, -1, 40, 43, -1,
- 40, 46, -1, 40, 48, -1, 40, 140, -1, 40,
- 140, 141, -1, 40, 141, -1, 38, 133, -1, 133,
- -1, 47, 45, 133, -1, 45, 133, -1, 62, 63,
- -1, 62, 140, -1, 62, 140, 141, -1, 62, 141,
- -1, -1, 33, 143, 152, -1, -1, 44, 28, 145,
- 128, 148, 107, 150, 130, -1, 59, 28, -1, -1,
- 60, 28, 146, 128, 148, 107, 150, 130, -1, 147,
- 128, 148, 107, 150, 130, 32, 149, -1, 147, 128,
- 148, 107, 150, 130, -1, 89, 28, -1, -1, 28,
- -1, 148, 104, 28, -1, 148, 107, 104, 28, -1,
- -1, 28, -1, 149, 104, 28, -1, -1, 28, 153,
- -1, -1, 133, -1, 152, 104, 133, -1, 133, -1,
- 153, 104, 133, -1
+ -1, 141, -1, 114, -1, 49, 130, 42, 28, -1,
+ 49, 130, 42, 131, -1, 49, 130, 75, 130, -1,
+ 49, 130, 76, 130, -1, 51, 28, 69, 130, -1,
+ 51, 13, 69, 130, -1, 51, 28, 54, 130, -1,
+ 51, 13, 54, 130, -1, 51, 14, 130, 54, 130,
+ -1, 148, -1, 130, -1, 132, -1, 113, -1, 115,
+ -1, 121, 130, 127, 126, 32, -1, 122, 69, 130,
+ 126, 54, 130, 126, 127, 126, 32, -1, 122, 69,
+ 130, 126, 34, 54, 130, 126, 127, 126, 32, -1,
+ 128, 113, 126, -1, 129, 130, 107, 127, 126, 32,
+ -1, 129, 130, 54, 130, -1, 123, 130, 108, 127,
+ 126, 32, -1, 123, 130, 108, 127, 126, 109, 127,
+ 126, 32, -1, 123, 130, 108, 127, 126, 125, 117,
+ 126, 32, -1, 123, 130, 108, 127, 126, 109, 125,
+ 113, 126, -1, 123, 130, 52, 125, 113, 126, 118,
+ 126, 116, 126, -1, 123, 130, 52, 125, 113, 126,
+ 109, 125, 113, 126, -1, 123, 130, 52, 125, 113,
+ 126, -1, -1, 109, 125, 113, -1, 117, 120, -1,
+ 120, -1, 118, 119, -1, 119, -1, 124, 130, 52,
+ 125, 114, 126, -1, 118, -1, 124, 130, 52, 125,
+ 127, 126, -1, 124, 130, 108, 125, 127, 126, -1,
+ 50, 57, -1, 50, 56, 28, -1, 41, -1, 110,
+ -1, -1, -1, 125, -1, 127, 107, -1, 127, 114,
+ -1, 55, 28, 52, -1, 87, -1, 12, -1, 15,
+ -1, 31, -1, 29, -1, 131, -1, 23, -1, 24,
+ 130, -1, 25, 150, -1, 25, 98, 150, 99, -1,
+ 28, 98, 149, 99, -1, 28, -1, 13, -1, 14,
+ 130, -1, 112, -1, 130, 92, 130, -1, 130, 93,
+ 130, -1, 130, 94, 130, -1, 130, 95, 130, -1,
+ 130, 74, 130, -1, 130, 100, 130, -1, 130, 101,
+ 130, -1, 130, 69, 130, -1, 130, 70, 130, -1,
+ 130, 65, 130, -1, 130, 66, 130, -1, 130, 71,
+ 130, -1, 130, 72, 130, -1, 73, 130, -1, 130,
+ 91, 130, -1, 130, 77, 130, -1, 130, 78, 130,
+ -1, 130, 79, 130, -1, 92, 130, -1, 93, 130,
+ -1, 98, 130, 99, -1, 102, 149, 103, -1, 84,
+ 130, 85, 130, -1, 84, 130, 86, 130, -1, 80,
+ 130, 47, 130, -1, 80, 130, 54, 130, 47, 130,
+ -1, 81, 130, 47, 130, -1, 81, 130, 54, 130,
+ 47, 130, -1, 82, 130, 47, 130, -1, 82, 130,
+ 54, 130, 47, 130, -1, 83, 130, 47, 130, -1,
+ 83, 130, 54, 130, 47, 130, -1, 27, 130, -1,
+ 49, 130, -1, 136, -1, 139, -1, 37, 50, -1,
+ 37, -1, 39, 133, -1, 88, 134, -1, 64, 135,
+ -1, 17, -1, 19, 130, -1, 18, 130, -1, 18,
+ -1, 20, 150, -1, 20, 98, 150, 99, -1, 90,
+ 98, 28, 99, -1, 90, 98, 28, 104, 149, 99,
+ -1, 61, 130, 56, 130, -1, 61, 130, -1, 21,
+ 28, 149, -1, 28, -1, 133, 104, 28, -1, 28,
+ -1, 134, 104, 28, -1, 28, -1, 135, 104, 28,
+ -1, 40, 43, -1, 40, 46, -1, 40, 48, -1,
+ 40, 137, -1, 40, 137, 138, -1, 40, 138, -1,
+ 38, 130, -1, 130, -1, 47, 45, 130, -1, 45,
+ 130, -1, 62, 63, -1, 62, 137, -1, 62, 137,
+ 138, -1, 62, 138, -1, -1, 33, 140, 149, -1,
+ -1, 44, 28, 142, 125, 145, 107, 147, 127, -1,
+ 59, 28, -1, -1, 60, 28, 143, 125, 145, 107,
+ 147, 127, -1, 144, 125, 145, 107, 147, 127, 32,
+ 146, -1, 144, 125, 145, 107, 147, 127, -1, 89,
+ 28, -1, -1, 28, -1, 145, 104, 28, -1, 145,
+ 107, 104, 28, -1, -1, 28, -1, 146, 104, 28,
+ -1, -1, 28, 150, -1, -1, 130, -1, 149, 104,
+ 130, -1, 130, -1, 150, 104, 130, -1
};
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const yytype_uint16 yyrline[] =
{
- 0, 120, 120, 121, 122, 125, 132, 139, 146, 153,
- 156, 157, 158, 161, 167, 170, 171, 172, 178, 185,
- 191, 198, 206, 207, 208, 211, 212, 217, 230, 248,
- 262, 267, 270, 275, 285, 297, 309, 319, 329, 339,
- 351, 352, 355, 356, 359, 360, 363, 371, 372, 378,
- 386, 389, 392, 395, 402, 409, 417, 420, 423, 424,
- 425, 428, 434, 438, 441, 444, 447, 450, 451, 454,
- 457, 458, 459, 462, 466, 474, 480, 481, 482, 483,
- 484, 485, 486, 487, 488, 489, 490, 491, 492, 493,
- 494, 495, 496, 497, 498, 499, 500, 501, 502, 503,
- 504, 505, 506, 507, 508, 509, 510, 511, 512, 515,
- 520, 521, 522, 523, 524, 525, 526, 527, 528, 531,
- 534, 537, 541, 542, 543, 544, 545, 546, 547, 550,
- 551, 554, 555, 558, 559, 570, 571, 572, 573, 577,
- 581, 587, 588, 591, 592, 595, 596, 600, 604, 608,
- 608, 638, 638, 643, 644, 644, 649, 656, 662, 664,
- 665, 666, 667, 670, 671, 672, 675, 679, 687, 688,
- 689, 692, 693
+ 0, 120, 120, 121, 122, 125, 130, 135, 140, 145,
+ 146, 147, 150, 156, 159, 160, 161, 167, 174, 180,
+ 187, 195, 196, 197, 200, 201, 206, 219, 237, 251,
+ 256, 259, 264, 274, 286, 298, 308, 318, 328, 340,
+ 341, 344, 345, 348, 349, 352, 360, 361, 367, 375,
+ 378, 385, 392, 400, 403, 406, 407, 408, 411, 417,
+ 421, 424, 427, 430, 433, 434, 437, 440, 441, 442,
+ 445, 449, 457, 463, 464, 465, 466, 467, 468, 469,
+ 470, 471, 472, 473, 474, 475, 476, 477, 478, 479,
+ 480, 481, 482, 483, 484, 485, 486, 487, 488, 489,
+ 490, 491, 492, 493, 494, 495, 498, 503, 504, 505,
+ 506, 507, 508, 509, 510, 511, 514, 517, 520, 524,
+ 525, 526, 527, 528, 529, 530, 533, 534, 537, 538,
+ 541, 542, 553, 554, 555, 556, 560, 564, 570, 571,
+ 574, 575, 578, 579, 583, 587, 591, 591, 621, 621,
+ 626, 627, 627, 632, 639, 645, 647, 648, 649, 650,
+ 653, 654, 655, 658, 662, 670, 671, 672, 675, 676
};
#endif
@@ -739,14 +736,14 @@ static const char *const yytname[] =
"tINTERSECTS", "tWITHIN", "tTELL", "tPROPERTY", "tON", "tME", "'&'",
"'+'", "'-'", "'*'", "'/'", "'%'", "'\\n'", "'('", "')'", "'>'", "'<'",
"'['", "']'", "','", "$accept", "program", "nl", "thennl", "nlelse",
- "nlelsif", "then", "programline", "asgn", "stmtoneliner", "stmt",
- "ifstmt", "elsestmtoneliner", "elseifstmt", "elseifstmtoneliner",
- "elseifstmtoneliner1", "elseifstmt1", "cond", "begincond", "repeatwhile",
- "repeatwith", "if", "elseif", "begin", "end", "stmtlist", "when", "tell",
- "expr", "reference", "proc", "globallist", "propertylist",
- "instancelist", "gotofunc", "gotoframe", "gotomovie", "playfunc", "@1",
- "defn", "@2", "@3", "on", "argdef", "endargdef", "argstore", "macro",
- "arglist", "nonemptyarglist", 0
+ "nlelsif", "programline", "asgn", "stmtoneliner", "stmt", "ifstmt",
+ "elsestmtoneliner", "elseifstmt", "elseifstmtoneliner",
+ "elseifstmtoneliner1", "elseifstmt1", "repeatwhile", "repeatwith", "if",
+ "elseif", "begin", "end", "stmtlist", "when", "tell", "expr",
+ "reference", "proc", "globallist", "propertylist", "instancelist",
+ "gotofunc", "gotoframe", "gotomovie", "playfunc", "@1", "defn", "@2",
+ "@3", "on", "argdef", "endargdef", "argstore", "macro", "arglist",
+ "nonemptyarglist", 0
};
#endif
@@ -773,46 +770,44 @@ static const yytype_uint16 yytoknum[] =
static const yytype_uint8 yyr1[] =
{
0, 105, 106, 106, 106, 107, 108, 109, 110, 111,
- 112, 112, 112, 113, 113, 113, 113, 113, 113, 113,
- 113, 113, 114, 114, 114, 115, 115, 115, 115, 115,
- 115, 115, 115, 116, 116, 116, 116, 116, 116, 116,
- 117, 117, 118, 118, 119, 119, 120, 121, 121, 121,
- 122, 123, 124, 125, 126, 127, 128, 129, 130, 130,
- 130, 131, 132, 133, 133, 133, 133, 133, 133, 133,
- 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
- 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
- 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
- 133, 133, 133, 133, 133, 133, 133, 133, 133, 134,
- 135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
- 135, 135, 135, 135, 135, 135, 135, 135, 135, 136,
- 136, 137, 137, 138, 138, 139, 139, 139, 139, 139,
- 139, 140, 140, 141, 141, 142, 142, 142, 142, 143,
- 142, 145, 144, 144, 146, 144, 144, 144, 147, 148,
- 148, 148, 148, 149, 149, 149, 150, 151, 152, 152,
- 152, 153, 153
+ 111, 111, 112, 112, 112, 112, 112, 112, 112, 112,
+ 112, 113, 113, 113, 114, 114, 114, 114, 114, 114,
+ 114, 114, 115, 115, 115, 115, 115, 115, 115, 116,
+ 116, 117, 117, 118, 118, 119, 120, 120, 120, 121,
+ 122, 123, 124, 125, 126, 127, 127, 127, 128, 129,
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
+ 130, 130, 130, 130, 130, 130, 131, 132, 132, 132,
+ 132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
+ 132, 132, 132, 132, 132, 132, 133, 133, 134, 134,
+ 135, 135, 136, 136, 136, 136, 136, 136, 137, 137,
+ 138, 138, 139, 139, 139, 139, 140, 139, 142, 141,
+ 141, 143, 141, 141, 141, 144, 145, 145, 145, 145,
+ 146, 146, 146, 147, 148, 149, 149, 149, 150, 150
};
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
static const yytype_uint8 yyr2[] =
{
- 0, 2, 3, 1, 2, 1, 1, 1, 1, 1,
- 0, 1, 1, 4, 4, 4, 4, 4, 4, 4,
- 4, 5, 1, 1, 1, 1, 1, 5, 10, 11,
- 3, 6, 4, 6, 9, 9, 9, 10, 10, 6,
- 0, 3, 2, 1, 2, 1, 6, 1, 6, 6,
- 2, 0, 2, 3, 1, 1, 0, 0, 1, 2,
- 2, 3, 1, 1, 1, 1, 1, 1, 1, 2,
- 2, 4, 4, 1, 1, 2, 1, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 2, 3, 3, 3, 3, 2, 2, 3, 3, 4,
- 4, 4, 6, 4, 6, 4, 6, 4, 6, 2,
- 2, 1, 1, 2, 1, 2, 2, 2, 1, 2,
- 2, 1, 2, 4, 4, 6, 4, 2, 3, 1,
- 3, 1, 3, 1, 3, 2, 2, 2, 2, 3,
- 2, 2, 1, 3, 2, 2, 2, 3, 2, 0,
- 3, 0, 8, 2, 0, 8, 8, 6, 2, 0,
- 1, 3, 4, 0, 1, 3, 0, 2, 0, 1,
- 3, 1, 3
+ 0, 2, 3, 1, 2, 1, 1, 1, 1, 0,
+ 1, 1, 4, 4, 4, 4, 4, 4, 4, 4,
+ 5, 1, 1, 1, 1, 1, 5, 10, 11, 3,
+ 6, 4, 6, 9, 9, 9, 10, 10, 6, 0,
+ 3, 2, 1, 2, 1, 6, 1, 6, 6, 2,
+ 3, 1, 1, 0, 0, 1, 2, 2, 3, 1,
+ 1, 1, 1, 1, 1, 1, 2, 2, 4, 4,
+ 1, 1, 2, 1, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 2, 3, 3,
+ 3, 3, 2, 2, 3, 3, 4, 4, 4, 6,
+ 4, 6, 4, 6, 4, 6, 2, 2, 1, 1,
+ 2, 1, 2, 2, 2, 1, 2, 2, 1, 2,
+ 4, 4, 6, 4, 2, 3, 1, 3, 1, 3,
+ 1, 3, 2, 2, 2, 2, 3, 2, 2, 1,
+ 3, 2, 2, 2, 3, 2, 0, 3, 0, 8,
+ 2, 0, 8, 8, 6, 2, 0, 1, 3, 4,
+ 0, 1, 3, 0, 2, 0, 1, 3, 1, 3
};
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
@@ -820,474 +815,490 @@ static const yytype_uint8 yyr2[] =
means the default is an error. */
static const yytype_uint8 yydefact[] =
{
- 0, 0, 63, 74, 0, 64, 118, 121, 0, 0,
- 0, 68, 0, 0, 0, 73, 66, 65, 149, 114,
+ 0, 0, 60, 71, 0, 61, 115, 118, 0, 0,
+ 0, 65, 0, 0, 0, 70, 63, 62, 146, 111,
+ 0, 0, 51, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 59,
+ 0, 0, 0, 0, 0, 0, 165, 0, 3, 73,
+ 24, 11, 25, 0, 0, 0, 0, 0, 22, 64,
+ 23, 108, 109, 10, 53, 21, 5, 4, 70, 0,
+ 72, 117, 116, 0, 168, 119, 165, 66, 0, 67,
+ 106, 165, 164, 165, 110, 126, 112, 0, 132, 0,
+ 133, 0, 134, 139, 135, 137, 148, 107, 0, 49,
+ 0, 0, 0, 0, 150, 151, 124, 142, 143, 145,
+ 130, 114, 87, 0, 0, 0, 0, 0, 128, 113,
+ 155, 0, 92, 93, 0, 166, 0, 1, 9, 53,
0, 0, 54, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 62,
- 0, 0, 0, 0, 0, 0, 168, 0, 3, 76,
- 25, 12, 26, 51, 0, 51, 0, 0, 23, 67,
- 24, 111, 112, 11, 56, 22, 5, 4, 73, 0,
- 75, 120, 119, 0, 171, 122, 168, 69, 0, 70,
- 109, 168, 167, 168, 113, 129, 115, 0, 135, 0,
- 136, 0, 137, 142, 138, 140, 151, 110, 0, 52,
- 0, 0, 0, 0, 153, 154, 127, 145, 146, 148,
- 133, 117, 90, 0, 0, 0, 0, 0, 131, 116,
- 158, 0, 95, 96, 0, 169, 0, 1, 10, 56,
- 0, 0, 0, 57, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 159, 168, 0, 171, 0, 0, 128, 0,
- 169, 0, 150, 0, 141, 144, 0, 139, 56, 0,
- 0, 0, 53, 0, 0, 0, 0, 0, 9, 61,
- 56, 0, 147, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 97, 98, 0, 2,
- 58, 57, 50, 57, 6, 56, 56, 30, 0, 56,
- 86, 87, 84, 85, 88, 89, 81, 92, 93, 94,
- 91, 77, 78, 79, 80, 82, 83, 160, 0, 123,
- 172, 71, 72, 130, 143, 159, 13, 14, 15, 16,
- 20, 18, 0, 19, 17, 159, 126, 134, 101, 0,
- 103, 0, 105, 0, 107, 0, 99, 100, 132, 124,
- 168, 170, 59, 60, 0, 0, 57, 0, 32, 57,
- 0, 166, 0, 21, 0, 0, 0, 0, 0, 0,
- 27, 0, 0, 56, 57, 0, 161, 0, 56, 166,
- 166, 102, 104, 106, 108, 125, 0, 57, 33, 7,
- 56, 0, 39, 31, 162, 157, 56, 56, 57, 56,
- 58, 57, 8, 55, 57, 47, 45, 43, 51, 56,
- 57, 51, 163, 152, 155, 56, 57, 57, 0, 42,
- 0, 44, 0, 0, 40, 0, 164, 156, 57, 0,
- 36, 34, 35, 56, 56, 57, 56, 57, 56, 0,
- 0, 28, 56, 56, 38, 0, 37, 0, 165, 29,
- 57, 57, 57, 41, 49, 46, 48
+ 0, 156, 165, 0, 168, 0, 0, 125, 0, 166,
+ 0, 147, 0, 138, 141, 0, 136, 53, 0, 0,
+ 0, 50, 0, 0, 0, 0, 0, 58, 53, 0,
+ 144, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 94, 95, 0, 2, 55, 54,
+ 54, 53, 6, 53, 29, 0, 53, 83, 84, 81,
+ 82, 85, 86, 78, 89, 90, 91, 88, 74, 75,
+ 76, 77, 79, 80, 157, 0, 120, 169, 68, 69,
+ 127, 140, 156, 12, 13, 14, 15, 19, 17, 0,
+ 18, 16, 156, 123, 131, 98, 0, 100, 0, 102,
+ 0, 104, 0, 96, 97, 129, 121, 165, 167, 56,
+ 57, 0, 0, 0, 54, 31, 54, 0, 163, 0,
+ 20, 0, 0, 0, 0, 0, 0, 26, 0, 0,
+ 54, 53, 0, 158, 0, 53, 163, 163, 99, 101,
+ 103, 105, 122, 0, 54, 38, 32, 7, 53, 0,
+ 30, 159, 154, 53, 53, 54, 53, 8, 53, 52,
+ 54, 44, 0, 55, 54, 54, 46, 42, 0, 160,
+ 149, 152, 53, 54, 0, 43, 39, 0, 54, 0,
+ 41, 0, 0, 161, 153, 54, 0, 54, 53, 54,
+ 53, 35, 33, 34, 53, 53, 0, 0, 27, 37,
+ 0, 36, 0, 53, 53, 162, 28, 40, 54, 54,
+ 54, 45, 47, 48
};
/* YYDEFGOTO[NTERM-NUM]. */
static const yytype_int16 yydefgoto[] =
{
- -1, 47, 262, 205, 300, 313, 179, 48, 49, 50,
- 263, 52, 347, 314, 315, 316, 317, 129, 130, 53,
- 54, 55, 321, 200, 207, 201, 56, 57, 58, 59,
- 60, 86, 119, 111, 61, 94, 95, 62, 83, 63,
- 168, 180, 64, 228, 337, 288, 65, 161, 75
+ -1, 47, 259, 203, 298, 309, 48, 49, 50, 260,
+ 52, 339, 315, 316, 311, 317, 53, 54, 55, 312,
+ 198, 204, 199, 56, 57, 58, 59, 60, 86, 119,
+ 111, 61, 94, 95, 62, 83, 63, 167, 178, 64,
+ 225, 334, 285, 65, 160, 75
};
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
STATE-NUM. */
-#define YYPACT_NINF -288
+#define YYPACT_NINF -291
static const yytype_int16 yypact[] =
{
- 354, -81, -288, -288, 1007, -288, -288, 1007, 1007, 1047,
- 37, -288, 1007, 1123, 1007, 1163, -288, -288, -288, 41,
- 46, 891, -288, 70, 1007, 38, 12, 90, 97, 99,
- 1007, 931, 104, 1007, 1007, 1007, 1007, 1007, 1007, -288,
- 127, 132, 63, 1007, 1007, 1007, 1007, 4, -288, -288,
- -288, -288, -288, -288, 93, -288, 809, 1007, 1630, -288,
- -288, -288, -288, -288, -288, -288, -288, -288, 65, 1007,
- 1630, 1630, 1630, 1007, 1630, 60, 1007, 1630, 1007, 60,
- 1630, 1007, 60, 1007, -288, -288, 62, 1007, -288, 1007,
- -288, 122, -288, 1630, 36, -288, -288, 1197, 140, -288,
- -3, 1007, -2, 119, -288, -288, 1527, -288, 36, -288,
- -288, 73, -39, 1230, 1263, 1296, 1329, 1560, -288, 74,
- -288, 146, -39, -39, 1593, 1630, 20, -288, 445, -288,
- 1007, 1007, 52, -288, 1494, 1007, 1007, 1007, 1007, 1007,
- 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007,
- 1007, 1007, 151, 1007, 1197, 1593, -77, 1007, 77, -28,
- 1593, -14, 77, 165, 1630, 1630, 1007, -288, -288, 126,
- 1007, 1007, -288, 1007, 1007, 785, 1007, 1007, -288, -288,
- -288, 1007, -288, 167, 1007, 1007, 1007, 1007, 1007, 1007,
- 1007, 1007, 1007, 1007, 168, 18, -288, -288, 1007, -288,
- -288, 627, 1630, 1630, -288, -288, -288, -288, 1007, -288,
- 15, 15, 15, 15, 1663, 1663, -39, 1630, 15, 15,
- 19, -46, -46, -39, -39, 1630, 1630, -288, -44, -288,
- 1630, -288, -288, -288, 1630, 151, -288, -288, 1630, 1630,
- 1630, 15, 1007, 1630, 15, 151, 1630, -288, 1630, 1362,
- 1630, 1395, 1630, 1428, 1630, 1461, 1630, 1630, -288, -288,
- 1007, 1630, -288, -288, 166, 24, 627, 809, 1630, 627,
- 171, 102, -44, 1630, -44, 1007, 1007, 1007, 1007, 27,
- -288, 155, 1007, -8, -288, 178, -288, 183, -288, 102,
- 102, 1630, 1630, 1630, 1630, -288, 1007, 1630, -288, -288,
- -288, 177, 5, -288, -288, 536, -288, -288, 1630, -288,
- 809, 627, -288, -288, 177, 177, -288, -288, -288, -288,
- 177, -288, 186, 627, 627, -288, 627, -288, 184, -288,
- 185, -288, 52, 809, 157, 119, -288, 114, 627, 188,
- -288, -288, -288, -288, -288, -288, -288, -288, -288, 193,
- 190, -288, -288, 718, -288, 809, -288, 718, -288, -288,
- 627, -288, 627, -288, -288, -288, -288
+ 372, -75, -291, -291, 1025, -291, -291, 1025, 1025, 1065,
+ 27, -291, 1025, 1141, 1025, 1181, -291, -291, -291, -25,
+ 35, 909, -291, 39, 1025, 45, 51, 57, 65, 76,
+ 1025, 949, 79, 1025, 1025, 1025, 1025, 1025, 1025, -291,
+ 88, 89, 20, 1025, 1025, 1025, 1025, 2, -291, -291,
+ -291, -291, -291, 1025, 50, 1025, 827, 1025, 1747, -291,
+ -291, -291, -291, -291, -291, -291, -291, -291, 28, 1025,
+ 1747, 1747, 1747, 1025, 1747, 21, 1025, 1747, 1025, 21,
+ 1747, 1025, 21, 1025, -291, -291, 46, 1025, -291, 1025,
+ -291, 106, -291, 1747, 36, -291, -291, 1215, 124, -291,
+ -10, 1025, 18, 102, -291, -291, 1644, -291, 36, -291,
+ -291, 52, -53, 1248, 1281, 1314, 1347, 1677, -291, 53,
+ -291, 127, -53, -53, 1710, 1747, 6, -291, 463, 1747,
+ 1025, 1512, -291, 1611, 1025, 1025, 1025, 1025, 1025, 1025,
+ 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025,
+ 1025, 130, 1025, 1215, 1710, -46, 1025, 55, -30, 1710,
+ -8, 55, 132, 1747, 1747, 1025, -291, -291, 85, 1025,
+ 1025, -291, 1025, 1025, 803, 1025, 1025, -291, -291, 1025,
+ -291, 133, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025,
+ 1025, 1025, 136, -7, -291, -291, 1025, -291, -291, 645,
+ 1747, -291, -291, -291, -291, 1025, -291, 29, 29, 29,
+ 29, 151, 151, -53, 1747, 29, 29, 173, -6, -6,
+ -53, -53, 1747, 1747, -291, -48, -291, 1747, -291, -291,
+ -291, 1747, 130, -291, -291, 1747, 1747, 1747, 29, 1025,
+ 1747, 29, 130, 1747, -291, 1747, 1380, 1747, 1413, 1747,
+ 1446, 1747, 1479, 1747, 1747, -291, -291, 1025, 1747, -291,
+ -291, 139, 3, 827, 645, 1747, 645, 137, 64, -48,
+ 1747, -48, 1025, 1025, 1025, 1025, 1, -291, 121, 1025,
+ -291, -29, 145, -291, 150, -291, 64, 64, 1747, 1747,
+ 1747, 1747, -291, 1025, 1747, -22, -291, -291, -291, 153,
+ -291, -291, 554, -291, -291, 1747, -291, -291, -291, -291,
+ 153, -291, 1025, 827, 645, 153, 153, -291, 1025, 163,
+ 645, 645, -291, 645, 827, -291, 134, 1578, -291, 162,
+ -291, 164, 1545, -291, 91, 645, 166, -291, -291, -291,
+ -291, -291, -291, -291, -291, -291, 171, 168, -291, -291,
+ 827, -291, 736, 736, -291, -291, -291, -291, -291, 645,
+ 645, -291, -291, -291
};
/* YYPGOTO[NTERM-NUM]. */
static const yytype_int16 yypgoto[] =
{
- -288, -288, 17, -108, -287, -288, -127, 98, -288, -55,
- 0, -288, -288, -288, -75, -218, -89, -53, -288, -288,
- -288, -288, -244, -47, 1, -106, -288, -288, -1, 59,
- -288, -288, -288, -288, -288, 198, -21, -288, -288, -288,
- -288, -288, -288, -176, -288, -132, -288, -37, 6
+ -291, -291, 15, -131, -280, -291, 77, -291, -49, 0,
+ -291, -291, -291, -91, -290, -109, -291, -291, -291, -276,
+ -4, 23, -95, -291, -291, -3, 42, -291, -291, -291,
+ -291, -291, 176, -18, -291, -291, -291, -291, -291, -291,
+ -181, -291, -172, -291, -38, 4
};
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule which
number is the opposite. If zero, do what YYDEFACT says.
If YYTABLE_NINF, syntax error. */
-#define YYTABLE_NINF -11
+#define YYTABLE_NINF -10
static const yytype_int16 yytable[] =
{
- 51, 133, 132, 70, 127, 206, 71, 72, 74, 126,
- 109, 77, 74, 80, 74, 319, 66, 152, 67, 79,
- 93, 82, 229, 97, 298, 100, 101, 157, 141, 106,
- 93, 142, 112, 113, 114, 115, 116, 117, 142, 158,
- 102, 312, 122, 123, 124, 125, 162, 346, 148, 149,
- 299, 173, 176, 66, 150, 151, 134, 318, 281, 272,
- 270, 150, 151, 299, 128, 76, 174, 177, 154, 274,
- 318, 231, 155, 167, 85, 125, 157, 155, 282, 156,
- 160, 89, 125, 91, 159, 232, 164, 182, 165, 141,
- 198, 84, 142, 141, 98, 99, 142, 331, 96, 266,
- 175, 66, 331, 269, 178, 204, 145, 146, 147, 148,
- 149, 146, 147, 148, 149, 150, 151, 259, 103, 150,
- 151, 235, 260, 197, 198, 104, 295, 105, 51, 202,
- 203, 198, 110, 245, 210, 211, 212, 213, 214, 215,
- 216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
- 226, 209, 125, 14, 236, 118, 230, 306, 307, 267,
- 120, 121, 131, 153, 157, 234, 163, 166, 172, 238,
- 239, 178, 240, 241, 195, 243, 244, 183, 194, 227,
- 246, 198, 305, 248, 249, 250, 251, 252, 253, 254,
- 255, 256, 257, 233, 311, 247, 258, 261, 280, 286,
- 323, 324, 264, 326, 265, 344, 287, 268, 348, 296,
- 303, 304, 284, 312, 336, 299, 341, 342, 349, 338,
- 351, 358, 359, 279, 343, 329, 199, 320, 237, 108,
- 0, 0, 0, 0, 0, 0, 301, 0, 0, 0,
- 0, 273, 0, 0, 0, 271, 360, 362, 0, 0,
- 0, 0, 0, 310, 0, 327, 0, 0, 0, 125,
- 0, 0, 0, 0, 0, 332, 0, 283, 335, 0,
- 285, 0, 333, 0, 291, 292, 293, 294, 345, 0,
- 0, 297, 0, 0, 0, 302, 0, 0, 0, 289,
- 0, 290, 0, 0, 0, 308, 352, 353, 309, 355,
- 363, 357, 0, 0, 0, 0, 0, 0, 0, 325,
- 0, 0, 328, 0, 0, 330, 0, 0, 0, 0,
- 0, 334, 0, 0, 0, 0, 0, 339, 340, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 350,
- 0, 0, 0, 0, 0, 0, 354, 0, 356, 0,
- 0, 0, 0, 361, -10, 1, 0, 361, 0, 0,
- 0, 364, 365, 366, 0, 0, 2, 3, 4, 5,
+ 51, 70, 127, 296, 71, 72, 74, 132, 126, 77,
+ 74, 80, 74, 109, 307, 308, 67, 79, 93, 82,
+ 325, 97, 66, 318, 141, 84, 325, 106, 93, 297,
+ 112, 113, 114, 115, 116, 117, 297, 278, 157, 318,
+ 122, 123, 124, 125, 172, 161, 338, 149, 150, 66,
+ 129, 269, 131, 226, 133, 76, 267, 279, 156, 173,
+ 151, 271, 128, 85, 100, 101, 153, 96, 140, 228,
+ 154, 141, 175, 125, 156, 154, 166, 155, 159, 102,
+ 125, 89, 158, 91, 163, 103, 164, 176, 147, 148,
+ 180, 229, 256, 104, 149, 150, 196, 257, 174, 66,
+ 292, 98, 99, 140, 105, 196, 141, 110, 264, 195,
+ 196, 266, 14, 233, 303, 304, 118, 120, 121, 130,
+ 144, 145, 146, 147, 148, 156, 152, 200, 51, 149,
+ 150, 207, 208, 209, 210, 211, 212, 213, 214, 215,
+ 216, 217, 218, 219, 220, 221, 222, 223, 206, 125,
+ 162, 165, 171, 227, 177, 193, 181, 192, 224, 196,
+ 230, 244, 231, 232, 255, 283, 235, 236, 284, 237,
+ 238, 277, 240, 241, 242, 293, 243, 300, 301, 245,
+ 246, 247, 248, 249, 250, 251, 252, 253, 254, 307,
+ 302, 333, 297, 258, 342, 346, 343, 263, 348, 355,
+ 356, 345, 265, 314, 310, 197, 330, 108, 320, 321,
+ 234, 323, 0, 0, 280, 0, 134, 135, 0, 276,
+ 136, 137, 261, 262, 0, 140, 0, 335, 141, 142,
+ 143, 0, 0, 0, 0, 0, 270, 0, 0, 0,
+ 268, 0, 144, 145, 146, 147, 148, 140, 0, 0,
+ 141, 149, 150, 0, 125, 0, 0, 0, 359, 360,
+ 0, 0, 0, 0, 328, 145, 146, 147, 148, 288,
+ 289, 290, 291, 149, 150, 337, 294, 299, 0, 0,
+ 0, 0, 0, 0, 286, 0, 287, 281, 0, 282,
+ 305, 0, 0, 0, 313, 0, 0, 0, 0, 0,
+ 0, 357, 0, 295, 324, 0, 0, 0, 0, 327,
+ 0, 0, 0, 0, 0, 332, 0, 306, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 322, 0,
+ 0, 0, 0, 326, 350, 0, 352, 329, 331, 0,
+ 353, 354, 0, 0, 0, 0, 336, 0, 0, 0,
+ 0, 341, 358, 358, 0, 0, 0, 0, 347, 0,
+ 349, 0, 351, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, -9, 1, 0, 0, 0, 0, 0, 0,
+ 0, 361, 362, 363, 2, 3, 4, 5, 0, 6,
+ 7, 8, 9, 10, 0, 11, 12, 13, 0, 14,
+ 15, 16, 0, 17, 0, 18, 0, 0, 0, 19,
+ 0, 20, 21, 22, 0, 0, 23, 0, 0, 0,
+ 0, 24, 25, 26, 0, 0, 0, 27, 0, 0,
+ 0, 28, 29, 30, 31, 0, 32, 0, 0, 0,
+ 0, 0, 0, 0, 0, 33, 0, 0, 0, 0,
+ 0, 0, 34, 35, 36, 37, 38, 0, 0, 39,
+ 40, 41, 42, 0, 43, 44, 0, 0, 0, -9,
+ 45, 0, 0, 0, 46, 2, 3, 4, 5, 0,
+ 6, 7, 8, 9, 10, 0, 11, 12, 13, 0,
+ 14, 15, 16, 0, 17, 0, 18, 0, 0, 0,
+ 19, 0, 20, 21, 22, 0, 0, 23, 0, 0,
+ 0, 0, 24, 25, 26, 0, 0, 0, 27, 0,
+ 0, 0, 28, 29, 30, 31, 0, 32, 0, 0,
+ 0, 0, 0, 0, 0, 0, 33, 0, 0, 0,
+ 0, 0, 0, 34, 35, 36, 37, 38, 0, 0,
+ 39, 40, 41, 42, 0, 43, 44, 0, 0, 0,
+ 0, 45, 0, 0, 0, 46, 2, 3, 4, 5,
0, 6, 7, 8, 9, 10, 0, 11, 12, 13,
- 0, 14, 15, 16, 0, 17, 0, 18, 0, 0,
- 0, 19, 0, 20, 21, 22, 0, 0, 23, 0,
+ 0, 14, 15, 16, 0, 17, 319, 18, 0, 0,
+ 0, 19, 0, 20, 21, 22, 0, 0, 0, 0,
0, 0, 0, 24, 25, 26, 0, 0, 0, 27,
- 0, 0, 0, 28, 29, 30, 31, 0, 32, 0,
+ 0, 0, 0, 0, 0, 30, 31, 0, 32, 0,
0, 0, 0, 0, 0, 0, 0, 33, 0, 0,
0, 0, 0, 0, 34, 35, 36, 37, 38, 0,
- 0, 39, 40, 41, 42, 0, 43, 44, 0, 0,
- 0, -10, 45, 0, 0, 0, 46, 2, 3, 4,
+ 0, 39, 40, 0, 42, 0, 43, 44, 0, 0,
+ 0, 66, 45, 0, 0, 0, 46, 2, 3, 4,
5, 0, 6, 7, 8, 9, 10, 0, 11, 12,
13, 0, 14, 15, 16, 0, 17, 0, 18, 0,
- 0, 0, 19, 0, 20, 21, 22, 0, 0, 23,
+ 0, 0, 19, 0, 20, 21, 22, 0, 0, 0,
0, 0, 0, 0, 24, 25, 26, 0, 0, 0,
- 27, 0, 0, 0, 28, 29, 30, 31, 0, 32,
+ 27, 0, 0, 0, 0, 0, 30, 31, 0, 32,
0, 0, 0, 0, 0, 0, 0, 0, 33, 0,
0, 0, 0, 0, 0, 34, 35, 36, 37, 38,
- 0, 0, 39, 40, 41, 42, 0, 43, 44, 0,
- 0, 0, 0, 45, 0, 0, 0, 46, 2, 3,
+ 0, 0, 39, 40, 0, 42, 0, 43, 44, 0,
+ 0, 0, 66, 45, 0, 0, 0, 46, 2, 3,
4, 5, 0, 6, 7, 8, 9, 10, 0, 11,
- 12, 13, 0, 14, 15, 16, 0, 17, 322, 18,
+ 12, 13, 0, 14, 15, 16, 0, 17, 0, 18,
0, 0, 0, 19, 0, 20, 21, 22, 0, 0,
0, 0, 0, 0, 0, 24, 25, 26, 0, 0,
0, 27, 0, 0, 0, 0, 0, 30, 31, 0,
32, 0, 0, 0, 0, 0, 0, 0, 0, 33,
0, 0, 0, 0, 0, 0, 34, 35, 36, 37,
38, 0, 0, 39, 40, 0, 42, 0, 43, 44,
- 0, 0, 0, 66, 45, 0, 0, 0, 46, 2,
+ 0, 0, 0, 0, 45, 0, 0, 0, 46, 2,
3, 4, 5, 0, 6, 7, 8, 9, 10, 0,
- 11, 12, 13, 0, 14, 15, 16, 0, 17, 0,
- 18, 0, 0, 0, 19, 0, 20, 21, 22, 0,
- 0, 0, 0, 0, 0, 0, 24, 25, 26, 0,
- 0, 0, 27, 0, 0, 0, 0, 0, 30, 31,
- 0, 32, 0, 0, 0, 0, 0, 0, 0, 0,
- 33, 0, 0, 0, 0, 0, 0, 34, 35, 36,
- 37, 38, 0, 0, 39, 40, 0, 42, 0, 43,
- 44, 0, 0, 0, 66, 45, 0, 0, 0, 46,
- 2, 3, 4, 5, 0, 6, 7, 8, 9, 10,
- 0, 11, 12, 13, 0, 14, 15, 16, 0, 17,
- 0, 18, 0, 0, 0, 19, 0, 20, 21, 22,
- 0, 0, 0, 0, 0, 0, 0, 24, 25, 26,
- 0, 0, 0, 27, 0, 0, 0, 0, 0, 30,
- 31, 0, 32, 0, 0, 0, 0, 0, 0, 0,
- 0, 33, 0, 0, 0, 0, 0, 0, 34, 35,
- 36, 37, 38, 0, 0, 39, 40, 0, 42, 0,
- 43, 44, 0, 0, 0, 0, 45, 0, 0, 0,
- 46, 2, 3, 4, 5, 0, 6, 7, 8, 9,
- 10, 0, 11, 12, 13, 0, 14, 15, 16, 242,
- 17, 0, 18, 0, 0, 0, 19, 0, 20, 21,
- 135, 136, 0, 0, 137, 138, 139, 140, 24, 141,
- 26, 0, 142, 143, 144, 0, 0, 0, 0, 0,
- 30, 31, 0, 32, 0, 0, 145, 146, 147, 148,
- 149, 0, 33, 0, 0, 150, 151, 0, 0, 34,
- 35, 36, 37, 38, 0, 0, 0, 40, 0, 42,
- 0, 43, 44, 2, 3, 4, 5, 45, 0, 0,
- 0, 46, 0, 0, 11, 12, 13, 0, 14, 68,
- 16, 0, 17, 0, 0, 0, 0, 0, 0, 87,
- 0, 0, 0, 0, 88, 0, 89, 90, 91, 92,
- 69, 0, 26, 2, 3, 4, 5, 0, 0, 0,
- 0, 0, 0, 0, 11, 12, 13, 0, 14, 68,
- 16, 0, 17, 0, 33, 0, 0, 0, 0, 87,
- 0, 34, 35, 36, 37, 38, 89, 0, 91, 0,
- 69, 0, 26, 43, 44, 0, 0, 0, 0, 45,
- 0, 0, 0, 46, 107, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 33, 0, 0, 0, 0, 0,
- 0, 34, 35, 36, 37, 38, 0, 0, 0, 2,
- 3, 4, 5, 43, 44, 0, 0, 0, 0, 45,
- 11, 12, 13, 46, 14, 68, 16, 0, 17, 0,
+ 11, 12, 13, 0, 14, 15, 16, 239, 17, 0,
+ 18, 0, 0, 0, 19, 0, 20, 21, 134, 135,
+ 0, 0, 136, 137, 138, 139, 24, 140, 26, 0,
+ 141, 142, 143, 0, 0, 0, 0, 0, 30, 31,
+ 0, 32, 0, 0, 144, 145, 146, 147, 148, 0,
+ 33, 0, 0, 149, 150, 0, 0, 34, 35, 36,
+ 37, 38, 0, 0, 0, 40, 0, 42, 0, 43,
+ 44, 2, 3, 4, 5, 45, 0, 0, 0, 46,
+ 0, 0, 11, 12, 13, 0, 14, 68, 16, 0,
+ 17, 0, 0, 0, 0, 0, 0, 87, 0, 0,
+ 0, 0, 88, 0, 89, 90, 91, 92, 69, 0,
+ 26, 2, 3, 4, 5, 0, 0, 0, 0, 0,
+ 0, 0, 11, 12, 13, 0, 14, 68, 16, 0,
+ 17, 0, 33, 0, 0, 0, 0, 87, 0, 34,
+ 35, 36, 37, 38, 89, 0, 91, 0, 69, 0,
+ 26, 43, 44, 0, 0, 0, 0, 45, 0, 0,
+ 0, 46, 107, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 33, 0, 0, 0, 0, 0, 0, 34,
+ 35, 36, 37, 38, 0, 0, 0, 2, 3, 4,
+ 5, 43, 44, 0, 0, 0, 0, 45, 11, 12,
+ 13, 46, 14, 68, 16, 0, 17, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 69, 0, 26, 2,
- 3, 4, 5, 0, 0, 0, 0, 0, 0, 0,
- 11, 12, 13, 0, 14, 68, 16, 0, 17, 0,
- 33, 0, 0, 0, 0, 0, 0, 34, 35, 36,
- 37, 38, 0, 0, 0, 0, 69, 0, 26, 43,
- 44, 0, 0, 0, 0, 45, 0, 0, 0, 46,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 33, 0, 0, 0, 0, 0, 0, 34, 35, 36,
- 37, 38, 0, 0, 0, 2, 3, 4, 5, 43,
- 44, 0, 0, 0, 0, 73, 11, 12, 13, 46,
- 14, 68, 16, 0, 17, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 69, 0, 26, 2, 3, 4, 5, 0,
- 0, 0, 0, 0, 0, 0, 11, 12, 13, 0,
- 14, 68, 16, 0, 17, 0, 33, 0, 0, 0,
- 0, 0, 0, 34, 35, 36, 37, 38, 0, 0,
- 0, 0, 69, 0, 26, 43, 44, 0, 0, 0,
- 0, 78, 0, 0, 0, 46, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 33, 0, 0, 169,
- 0, 0, 0, 34, 35, 36, 37, 38, 0, 0,
- 0, 0, 0, 0, 0, 43, 44, 0, 0, 0,
- 0, 81, 135, 136, 0, 46, 137, 138, 139, 140,
- 0, 141, 170, 171, 142, 143, 144, 184, 0, 0,
- 0, 0, 0, 0, 185, 0, 0, 0, 145, 146,
- 147, 148, 149, 0, 0, 135, 136, 150, 151, 137,
- 138, 139, 140, 0, 141, 0, 0, 142, 143, 144,
- 186, 0, 0, 0, 0, 0, 0, 187, 0, 0,
- 0, 145, 146, 147, 148, 149, 0, 0, 135, 136,
- 150, 151, 137, 138, 139, 140, 0, 141, 0, 0,
- 142, 143, 144, 188, 0, 0, 0, 0, 0, 0,
- 189, 0, 0, 0, 145, 146, 147, 148, 149, 0,
- 0, 135, 136, 150, 151, 137, 138, 139, 140, 0,
- 141, 0, 0, 142, 143, 144, 190, 0, 0, 0,
- 0, 0, 0, 191, 0, 0, 0, 145, 146, 147,
- 148, 149, 0, 0, 135, 136, 150, 151, 137, 138,
- 139, 140, 0, 141, 0, 0, 142, 143, 144, 275,
+ 0, 0, 0, 0, 69, 0, 26, 2, 3, 4,
+ 5, 0, 0, 0, 0, 0, 0, 0, 11, 12,
+ 13, 0, 14, 68, 16, 0, 17, 0, 33, 0,
+ 0, 0, 0, 0, 0, 34, 35, 36, 37, 38,
+ 0, 0, 0, 0, 69, 0, 26, 43, 44, 0,
+ 0, 0, 0, 45, 0, 0, 0, 46, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 33, 0,
+ 0, 0, 0, 0, 0, 34, 35, 36, 37, 38,
+ 0, 0, 0, 2, 3, 4, 5, 43, 44, 0,
+ 0, 0, 0, 73, 11, 12, 13, 46, 14, 68,
+ 16, 0, 17, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 145, 146, 147, 148, 149, 0, 0, 135, 136, 150,
- 151, 137, 138, 139, 140, 0, 141, 0, 0, 142,
- 143, 144, 276, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 145, 146, 147, 148, 149, 0, 0,
- 135, 136, 150, 151, 137, 138, 139, 140, 0, 141,
- 0, 0, 142, 143, 144, 277, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 145, 146, 147, 148,
- 149, 0, 0, 135, 136, 150, 151, 137, 138, 139,
- 140, 0, 141, 0, 0, 142, 143, 144, 278, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 145,
- 146, 147, 148, 149, 0, 0, 135, 136, 150, 151,
- 137, 138, 139, 140, 0, 141, 0, 0, 142, 143,
- 144, 0, 0, 0, 0, 0, 0, 0, 208, 0,
- 0, 0, 145, 146, 147, 148, 149, 0, 0, 135,
- 136, 150, 151, 137, 138, 139, 140, 0, 141, 0,
- 0, 142, 143, 144, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 181, 0, 145, 146, 147, 148, 149,
- 0, 66, 135, 136, 150, 151, 137, 138, 139, 140,
- 0, 141, 0, 0, 142, 143, 144, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 145, 146,
- 147, 148, 149, 0, 0, 135, 136, 150, 151, 137,
- 138, 139, 140, 0, 141, 0, 0, 142, 143, 144,
- 0, 0, 0, 0, 0, 192, 193, 0, 0, 0,
- 0, 145, 146, 147, 148, 149, 0, 0, 135, 136,
- 150, 151, 137, 138, 139, 140, 0, 141, 0, 0,
- 142, 143, 144, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 145, 146, 147, 148, 149, 0,
- 0, 0, 196, 150, 151, 135, 136, 0, 0, 137,
- 138, 139, 140, 0, 141, 0, 0, 142, 143, 144,
+ 69, 0, 26, 2, 3, 4, 5, 0, 0, 0,
+ 0, 0, 0, 0, 11, 12, 13, 0, 14, 68,
+ 16, 0, 17, 0, 33, 0, 0, 0, 0, 0,
+ 0, 34, 35, 36, 37, 38, 0, 0, 0, 0,
+ 69, 0, 26, 43, 44, 0, 0, 0, 0, 78,
+ 0, 0, 0, 46, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 33, 0, 0, 168, 0, 0,
+ 0, 34, 35, 36, 37, 38, 0, 0, 0, 0,
+ 0, 0, 0, 43, 44, 0, 0, 0, 0, 81,
+ 134, 135, 0, 46, 136, 137, 138, 139, 0, 140,
+ 169, 170, 141, 142, 143, 182, 0, 0, 0, 0,
+ 0, 0, 183, 0, 0, 0, 144, 145, 146, 147,
+ 148, 0, 0, 134, 135, 149, 150, 136, 137, 138,
+ 139, 0, 140, 0, 0, 141, 142, 143, 184, 0,
+ 0, 0, 0, 0, 0, 185, 0, 0, 0, 144,
+ 145, 146, 147, 148, 0, 0, 134, 135, 149, 150,
+ 136, 137, 138, 139, 0, 140, 0, 0, 141, 142,
+ 143, 186, 0, 0, 0, 0, 0, 0, 187, 0,
+ 0, 0, 144, 145, 146, 147, 148, 0, 0, 134,
+ 135, 149, 150, 136, 137, 138, 139, 0, 140, 0,
+ 0, 141, 142, 143, 188, 0, 0, 0, 0, 0,
+ 0, 189, 0, 0, 0, 144, 145, 146, 147, 148,
+ 0, 0, 134, 135, 149, 150, 136, 137, 138, 139,
+ 0, 140, 0, 0, 141, 142, 143, 272, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 144, 145,
+ 146, 147, 148, 0, 0, 134, 135, 149, 150, 136,
+ 137, 138, 139, 0, 140, 0, 0, 141, 142, 143,
+ 273, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 144, 145, 146, 147, 148, 0, 0, 134, 135,
+ 149, 150, 136, 137, 138, 139, 0, 140, 0, 0,
+ 141, 142, 143, 274, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 144, 145, 146, 147, 148, 0,
+ 0, 134, 135, 149, 150, 136, 137, 138, 139, 0,
+ 140, 0, 0, 141, 142, 143, 275, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 144, 145, 146,
+ 147, 148, 0, 0, 134, 135, 149, 150, 136, 137,
+ 138, 139, 0, 140, 0, 0, 141, 142, 143, 0,
+ 0, 0, 0, 0, 201, 202, 0, 0, 0, 0,
+ 144, 145, 146, 147, 148, 0, 0, 134, 135, 149,
+ 150, 136, 137, 138, 139, 0, 140, 0, 0, 141,
+ 142, 143, 0, 0, 0, 0, 0, 344, 202, 0,
+ 0, 0, 0, 144, 145, 146, 147, 148, 0, 0,
+ 134, 135, 149, 150, 136, 137, 138, 139, 0, 140,
+ 0, 0, 141, 142, 143, 0, 0, 0, 0, 0,
+ 340, 0, 0, 0, 0, 0, 144, 145, 146, 147,
+ 148, 0, 0, 134, 135, 149, 150, 136, 137, 138,
+ 139, 0, 140, 0, 0, 141, 142, 143, 0, 0,
+ 0, 0, 0, 0, 0, 205, 0, 0, 0, 144,
+ 145, 146, 147, 148, 0, 0, 134, 135, 149, 150,
+ 136, 137, 138, 139, 0, 140, 0, 0, 141, 142,
+ 143, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 179, 0, 144, 145, 146, 147, 148, 0, 66, 134,
+ 135, 149, 150, 136, 137, 138, 139, 0, 140, 0,
+ 0, 141, 142, 143, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 144, 145, 146, 147, 148,
+ 0, 0, 134, 135, 149, 150, 136, 137, 138, 139,
+ 0, 140, 0, 0, 141, 142, 143, 0, 0, 0,
+ 0, 0, 190, 191, 0, 0, 0, 0, 144, 145,
+ 146, 147, 148, 0, 0, 134, 135, 149, 150, 136,
+ 137, 138, 139, 0, 140, 0, 0, 141, 142, 143,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 145, 146, 147, 148, 149, 0, 0, 135, 136,
- 150, 151, 137, 138, 0, 0, 0, 141, 0, 0,
- 142, 143, 144, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 145, 146, 147, 148, 149, 0,
- 0, 0, 0, 150, 151
+ 0, 144, 145, 146, 147, 148, 0, 0, 0, 194,
+ 149, 150, 134, 135, 0, 0, 136, 137, 138, 139,
+ 0, 140, 0, 0, 141, 142, 143, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 144, 145,
+ 146, 147, 148, 0, 0, 0, 0, 149, 150
};
static const yytype_int16 yycheck[] =
{
- 0, 56, 55, 4, 0, 132, 7, 8, 9, 46,
- 31, 12, 13, 14, 15, 302, 97, 64, 1, 13,
- 21, 15, 99, 24, 32, 13, 14, 104, 74, 30,
- 31, 77, 33, 34, 35, 36, 37, 38, 77, 76,
- 28, 36, 43, 44, 45, 46, 83, 334, 94, 95,
- 58, 54, 54, 97, 100, 101, 57, 301, 34, 235,
- 104, 100, 101, 58, 47, 28, 69, 69, 69, 245,
- 314, 99, 73, 94, 28, 76, 104, 78, 54, 73,
- 81, 45, 83, 47, 78, 99, 87, 108, 89, 74,
- 104, 50, 77, 74, 56, 57, 77, 315, 28, 205,
- 101, 97, 320, 209, 52, 53, 91, 92, 93, 94,
- 95, 92, 93, 94, 95, 100, 101, 99, 28, 100,
- 101, 168, 104, 103, 104, 28, 99, 28, 128, 130,
- 131, 104, 28, 180, 135, 136, 137, 138, 139, 140,
- 141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
- 151, 134, 153, 27, 28, 28, 157, 289, 290, 206,
- 28, 98, 69, 98, 104, 166, 104, 45, 28, 170,
- 171, 52, 173, 174, 28, 176, 177, 104, 104, 28,
- 181, 104, 288, 184, 185, 186, 187, 188, 189, 190,
- 191, 192, 193, 28, 300, 28, 28, 198, 32, 28,
- 306, 307, 201, 309, 203, 332, 104, 208, 335, 54,
- 32, 28, 267, 36, 28, 58, 32, 32, 104, 325,
- 32, 28, 32, 260, 332, 314, 128, 302, 169, 31,
- -1, -1, -1, -1, -1, -1, 283, -1, -1, -1,
- -1, 242, -1, -1, -1, 228, 352, 353, -1, -1,
- -1, -1, -1, 300, -1, 310, -1, -1, -1, 260,
- -1, -1, -1, -1, -1, 318, -1, 266, 321, -1,
- 269, -1, 319, -1, 275, 276, 277, 278, 333, -1,
- -1, 282, -1, -1, -1, 284, -1, -1, -1, 272,
- -1, 274, -1, -1, -1, 296, 343, 344, 297, 346,
- 355, 348, -1, -1, -1, -1, -1, -1, -1, 308,
- -1, -1, 311, -1, -1, 314, -1, -1, -1, -1,
- -1, 320, -1, -1, -1, -1, -1, 326, 327, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 338,
- -1, -1, -1, -1, -1, -1, 345, -1, 347, -1,
- -1, -1, -1, 353, 0, 1, -1, 357, -1, -1,
- -1, 360, 361, 362, -1, -1, 12, 13, 14, 15,
+ 0, 4, 0, 32, 7, 8, 9, 56, 46, 12,
+ 13, 14, 15, 31, 36, 295, 1, 13, 21, 15,
+ 310, 24, 97, 299, 77, 50, 316, 30, 31, 58,
+ 33, 34, 35, 36, 37, 38, 58, 34, 76, 315,
+ 43, 44, 45, 46, 54, 83, 326, 100, 101, 97,
+ 53, 232, 55, 99, 57, 28, 104, 54, 104, 69,
+ 64, 242, 47, 28, 13, 14, 69, 28, 74, 99,
+ 73, 77, 54, 76, 104, 78, 94, 73, 81, 28,
+ 83, 45, 78, 47, 87, 28, 89, 69, 94, 95,
+ 108, 99, 99, 28, 100, 101, 104, 104, 101, 97,
+ 99, 56, 57, 74, 28, 104, 77, 28, 203, 103,
+ 104, 206, 27, 28, 286, 287, 28, 28, 98, 69,
+ 91, 92, 93, 94, 95, 104, 98, 130, 128, 100,
+ 101, 134, 135, 136, 137, 138, 139, 140, 141, 142,
+ 143, 144, 145, 146, 147, 148, 149, 150, 133, 152,
+ 104, 45, 28, 156, 52, 28, 104, 104, 28, 104,
+ 28, 28, 165, 167, 28, 28, 169, 170, 104, 172,
+ 173, 32, 175, 176, 178, 54, 179, 32, 28, 182,
+ 183, 184, 185, 186, 187, 188, 189, 190, 191, 36,
+ 285, 28, 58, 196, 32, 104, 32, 201, 32, 28,
+ 32, 332, 205, 298, 295, 128, 315, 31, 303, 304,
+ 168, 306, -1, -1, 263, -1, 65, 66, -1, 257,
+ 69, 70, 199, 200, -1, 74, -1, 322, 77, 78,
+ 79, -1, -1, -1, -1, -1, 239, -1, -1, -1,
+ 225, -1, 91, 92, 93, 94, 95, 74, -1, -1,
+ 77, 100, 101, -1, 257, -1, -1, -1, 353, 354,
+ -1, -1, -1, -1, 313, 92, 93, 94, 95, 272,
+ 273, 274, 275, 100, 101, 324, 279, 281, -1, -1,
+ -1, -1, -1, -1, 269, -1, 271, 264, -1, 266,
+ 293, -1, -1, -1, 298, -1, -1, -1, -1, -1,
+ -1, 350, -1, 280, 308, -1, -1, -1, -1, 312,
+ -1, -1, -1, -1, -1, 318, -1, 294, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 305, -1,
+ -1, -1, -1, 310, 338, -1, 340, 314, 315, -1,
+ 344, 345, -1, -1, -1, -1, 323, -1, -1, -1,
+ -1, 328, 352, 353, -1, -1, -1, -1, 335, -1,
+ 337, -1, 339, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 0, 1, -1, -1, -1, -1, -1, -1,
+ -1, 358, 359, 360, 12, 13, 14, 15, -1, 17,
+ 18, 19, 20, 21, -1, 23, 24, 25, -1, 27,
+ 28, 29, -1, 31, -1, 33, -1, -1, -1, 37,
+ -1, 39, 40, 41, -1, -1, 44, -1, -1, -1,
+ -1, 49, 50, 51, -1, -1, -1, 55, -1, -1,
+ -1, 59, 60, 61, 62, -1, 64, -1, -1, -1,
+ -1, -1, -1, -1, -1, 73, -1, -1, -1, -1,
+ -1, -1, 80, 81, 82, 83, 84, -1, -1, 87,
+ 88, 89, 90, -1, 92, 93, -1, -1, -1, 97,
+ 98, -1, -1, -1, 102, 12, 13, 14, 15, -1,
+ 17, 18, 19, 20, 21, -1, 23, 24, 25, -1,
+ 27, 28, 29, -1, 31, -1, 33, -1, -1, -1,
+ 37, -1, 39, 40, 41, -1, -1, 44, -1, -1,
+ -1, -1, 49, 50, 51, -1, -1, -1, 55, -1,
+ -1, -1, 59, 60, 61, 62, -1, 64, -1, -1,
+ -1, -1, -1, -1, -1, -1, 73, -1, -1, -1,
+ -1, -1, -1, 80, 81, 82, 83, 84, -1, -1,
+ 87, 88, 89, 90, -1, 92, 93, -1, -1, -1,
+ -1, 98, -1, -1, -1, 102, 12, 13, 14, 15,
-1, 17, 18, 19, 20, 21, -1, 23, 24, 25,
- -1, 27, 28, 29, -1, 31, -1, 33, -1, -1,
- -1, 37, -1, 39, 40, 41, -1, -1, 44, -1,
+ -1, 27, 28, 29, -1, 31, 32, 33, -1, -1,
+ -1, 37, -1, 39, 40, 41, -1, -1, -1, -1,
-1, -1, -1, 49, 50, 51, -1, -1, -1, 55,
- -1, -1, -1, 59, 60, 61, 62, -1, 64, -1,
+ -1, -1, -1, -1, -1, 61, 62, -1, 64, -1,
-1, -1, -1, -1, -1, -1, -1, 73, -1, -1,
-1, -1, -1, -1, 80, 81, 82, 83, 84, -1,
- -1, 87, 88, 89, 90, -1, 92, 93, -1, -1,
+ -1, 87, 88, -1, 90, -1, 92, 93, -1, -1,
-1, 97, 98, -1, -1, -1, 102, 12, 13, 14,
15, -1, 17, 18, 19, 20, 21, -1, 23, 24,
25, -1, 27, 28, 29, -1, 31, -1, 33, -1,
- -1, -1, 37, -1, 39, 40, 41, -1, -1, 44,
+ -1, -1, 37, -1, 39, 40, 41, -1, -1, -1,
-1, -1, -1, -1, 49, 50, 51, -1, -1, -1,
- 55, -1, -1, -1, 59, 60, 61, 62, -1, 64,
+ 55, -1, -1, -1, -1, -1, 61, 62, -1, 64,
-1, -1, -1, -1, -1, -1, -1, -1, 73, -1,
-1, -1, -1, -1, -1, 80, 81, 82, 83, 84,
- -1, -1, 87, 88, 89, 90, -1, 92, 93, -1,
- -1, -1, -1, 98, -1, -1, -1, 102, 12, 13,
+ -1, -1, 87, 88, -1, 90, -1, 92, 93, -1,
+ -1, -1, 97, 98, -1, -1, -1, 102, 12, 13,
14, 15, -1, 17, 18, 19, 20, 21, -1, 23,
- 24, 25, -1, 27, 28, 29, -1, 31, 32, 33,
+ 24, 25, -1, 27, 28, 29, -1, 31, -1, 33,
-1, -1, -1, 37, -1, 39, 40, 41, -1, -1,
-1, -1, -1, -1, -1, 49, 50, 51, -1, -1,
-1, 55, -1, -1, -1, -1, -1, 61, 62, -1,
64, -1, -1, -1, -1, -1, -1, -1, -1, 73,
-1, -1, -1, -1, -1, -1, 80, 81, 82, 83,
84, -1, -1, 87, 88, -1, 90, -1, 92, 93,
- -1, -1, -1, 97, 98, -1, -1, -1, 102, 12,
+ -1, -1, -1, -1, 98, -1, -1, -1, 102, 12,
13, 14, 15, -1, 17, 18, 19, 20, 21, -1,
- 23, 24, 25, -1, 27, 28, 29, -1, 31, -1,
- 33, -1, -1, -1, 37, -1, 39, 40, 41, -1,
- -1, -1, -1, -1, -1, -1, 49, 50, 51, -1,
- -1, -1, 55, -1, -1, -1, -1, -1, 61, 62,
- -1, 64, -1, -1, -1, -1, -1, -1, -1, -1,
- 73, -1, -1, -1, -1, -1, -1, 80, 81, 82,
- 83, 84, -1, -1, 87, 88, -1, 90, -1, 92,
- 93, -1, -1, -1, 97, 98, -1, -1, -1, 102,
- 12, 13, 14, 15, -1, 17, 18, 19, 20, 21,
- -1, 23, 24, 25, -1, 27, 28, 29, -1, 31,
- -1, 33, -1, -1, -1, 37, -1, 39, 40, 41,
- -1, -1, -1, -1, -1, -1, -1, 49, 50, 51,
- -1, -1, -1, 55, -1, -1, -1, -1, -1, 61,
- 62, -1, 64, -1, -1, -1, -1, -1, -1, -1,
- -1, 73, -1, -1, -1, -1, -1, -1, 80, 81,
- 82, 83, 84, -1, -1, 87, 88, -1, 90, -1,
- 92, 93, -1, -1, -1, -1, 98, -1, -1, -1,
- 102, 12, 13, 14, 15, -1, 17, 18, 19, 20,
- 21, -1, 23, 24, 25, -1, 27, 28, 29, 54,
- 31, -1, 33, -1, -1, -1, 37, -1, 39, 40,
- 65, 66, -1, -1, 69, 70, 71, 72, 49, 74,
- 51, -1, 77, 78, 79, -1, -1, -1, -1, -1,
- 61, 62, -1, 64, -1, -1, 91, 92, 93, 94,
- 95, -1, 73, -1, -1, 100, 101, -1, -1, 80,
- 81, 82, 83, 84, -1, -1, -1, 88, -1, 90,
- -1, 92, 93, 12, 13, 14, 15, 98, -1, -1,
- -1, 102, -1, -1, 23, 24, 25, -1, 27, 28,
- 29, -1, 31, -1, -1, -1, -1, -1, -1, 38,
- -1, -1, -1, -1, 43, -1, 45, 46, 47, 48,
+ 23, 24, 25, -1, 27, 28, 29, 54, 31, -1,
+ 33, -1, -1, -1, 37, -1, 39, 40, 65, 66,
+ -1, -1, 69, 70, 71, 72, 49, 74, 51, -1,
+ 77, 78, 79, -1, -1, -1, -1, -1, 61, 62,
+ -1, 64, -1, -1, 91, 92, 93, 94, 95, -1,
+ 73, -1, -1, 100, 101, -1, -1, 80, 81, 82,
+ 83, 84, -1, -1, -1, 88, -1, 90, -1, 92,
+ 93, 12, 13, 14, 15, 98, -1, -1, -1, 102,
+ -1, -1, 23, 24, 25, -1, 27, 28, 29, -1,
+ 31, -1, -1, -1, -1, -1, -1, 38, -1, -1,
+ -1, -1, 43, -1, 45, 46, 47, 48, 49, -1,
+ 51, 12, 13, 14, 15, -1, -1, -1, -1, -1,
+ -1, -1, 23, 24, 25, -1, 27, 28, 29, -1,
+ 31, -1, 73, -1, -1, -1, -1, 38, -1, 80,
+ 81, 82, 83, 84, 45, -1, 47, -1, 49, -1,
+ 51, 92, 93, -1, -1, -1, -1, 98, -1, -1,
+ -1, 102, 63, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, 73, -1, -1, -1, -1, -1, -1, 80,
+ 81, 82, 83, 84, -1, -1, -1, 12, 13, 14,
+ 15, 92, 93, -1, -1, -1, -1, 98, 23, 24,
+ 25, 102, 27, 28, 29, -1, 31, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 49, -1, 51, 12, 13, 14,
+ 15, -1, -1, -1, -1, -1, -1, -1, 23, 24,
+ 25, -1, 27, 28, 29, -1, 31, -1, 73, -1,
+ -1, -1, -1, -1, -1, 80, 81, 82, 83, 84,
+ -1, -1, -1, -1, 49, -1, 51, 92, 93, -1,
+ -1, -1, -1, 98, -1, -1, -1, 102, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 73, -1,
+ -1, -1, -1, -1, -1, 80, 81, 82, 83, 84,
+ -1, -1, -1, 12, 13, 14, 15, 92, 93, -1,
+ -1, -1, -1, 98, 23, 24, 25, 102, 27, 28,
+ 29, -1, 31, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
49, -1, 51, 12, 13, 14, 15, -1, -1, -1,
-1, -1, -1, -1, 23, 24, 25, -1, 27, 28,
- 29, -1, 31, -1, 73, -1, -1, -1, -1, 38,
- -1, 80, 81, 82, 83, 84, 45, -1, 47, -1,
+ 29, -1, 31, -1, 73, -1, -1, -1, -1, -1,
+ -1, 80, 81, 82, 83, 84, -1, -1, -1, -1,
49, -1, 51, 92, 93, -1, -1, -1, -1, 98,
- -1, -1, -1, 102, 63, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 73, -1, -1, -1, -1, -1,
- -1, 80, 81, 82, 83, 84, -1, -1, -1, 12,
- 13, 14, 15, 92, 93, -1, -1, -1, -1, 98,
- 23, 24, 25, 102, 27, 28, 29, -1, 31, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 49, -1, 51, 12,
- 13, 14, 15, -1, -1, -1, -1, -1, -1, -1,
- 23, 24, 25, -1, 27, 28, 29, -1, 31, -1,
- 73, -1, -1, -1, -1, -1, -1, 80, 81, 82,
- 83, 84, -1, -1, -1, -1, 49, -1, 51, 92,
- 93, -1, -1, -1, -1, 98, -1, -1, -1, 102,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 73, -1, -1, -1, -1, -1, -1, 80, 81, 82,
- 83, 84, -1, -1, -1, 12, 13, 14, 15, 92,
- 93, -1, -1, -1, -1, 98, 23, 24, 25, 102,
- 27, 28, 29, -1, 31, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 49, -1, 51, 12, 13, 14, 15, -1,
- -1, -1, -1, -1, -1, -1, 23, 24, 25, -1,
- 27, 28, 29, -1, 31, -1, 73, -1, -1, -1,
- -1, -1, -1, 80, 81, 82, 83, 84, -1, -1,
- -1, -1, 49, -1, 51, 92, 93, -1, -1, -1,
- -1, 98, -1, -1, -1, 102, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 73, -1, -1, 42,
- -1, -1, -1, 80, 81, 82, 83, 84, -1, -1,
- -1, -1, -1, -1, -1, 92, 93, -1, -1, -1,
- -1, 98, 65, 66, -1, 102, 69, 70, 71, 72,
- -1, 74, 75, 76, 77, 78, 79, 47, -1, -1,
- -1, -1, -1, -1, 54, -1, -1, -1, 91, 92,
+ -1, -1, -1, 102, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, 73, -1, -1, 42, -1, -1,
+ -1, 80, 81, 82, 83, 84, -1, -1, -1, -1,
+ -1, -1, -1, 92, 93, -1, -1, -1, -1, 98,
+ 65, 66, -1, 102, 69, 70, 71, 72, -1, 74,
+ 75, 76, 77, 78, 79, 47, -1, -1, -1, -1,
+ -1, -1, 54, -1, -1, -1, 91, 92, 93, 94,
+ 95, -1, -1, 65, 66, 100, 101, 69, 70, 71,
+ 72, -1, 74, -1, -1, 77, 78, 79, 47, -1,
+ -1, -1, -1, -1, -1, 54, -1, -1, -1, 91,
+ 92, 93, 94, 95, -1, -1, 65, 66, 100, 101,
+ 69, 70, 71, 72, -1, 74, -1, -1, 77, 78,
+ 79, 47, -1, -1, -1, -1, -1, -1, 54, -1,
+ -1, -1, 91, 92, 93, 94, 95, -1, -1, 65,
+ 66, 100, 101, 69, 70, 71, 72, -1, 74, -1,
+ -1, 77, 78, 79, 47, -1, -1, -1, -1, -1,
+ -1, 54, -1, -1, -1, 91, 92, 93, 94, 95,
+ -1, -1, 65, 66, 100, 101, 69, 70, 71, 72,
+ -1, 74, -1, -1, 77, 78, 79, 47, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 91, 92,
93, 94, 95, -1, -1, 65, 66, 100, 101, 69,
70, 71, 72, -1, 74, -1, -1, 77, 78, 79,
- 47, -1, -1, -1, -1, -1, -1, 54, -1, -1,
+ 47, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 91, 92, 93, 94, 95, -1, -1, 65, 66,
100, 101, 69, 70, 71, 72, -1, 74, -1, -1,
77, 78, 79, 47, -1, -1, -1, -1, -1, -1,
- 54, -1, -1, -1, 91, 92, 93, 94, 95, -1,
+ -1, -1, -1, -1, 91, 92, 93, 94, 95, -1,
-1, 65, 66, 100, 101, 69, 70, 71, 72, -1,
74, -1, -1, 77, 78, 79, 47, -1, -1, -1,
- -1, -1, -1, 54, -1, -1, -1, 91, 92, 93,
+ -1, -1, -1, -1, -1, -1, -1, 91, 92, 93,
94, 95, -1, -1, 65, 66, 100, 101, 69, 70,
- 71, 72, -1, 74, -1, -1, 77, 78, 79, 47,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 71, 72, -1, 74, -1, -1, 77, 78, 79, -1,
+ -1, -1, -1, -1, 52, 53, -1, -1, -1, -1,
91, 92, 93, 94, 95, -1, -1, 65, 66, 100,
101, 69, 70, 71, 72, -1, 74, -1, -1, 77,
- 78, 79, 47, -1, -1, -1, -1, -1, -1, -1,
+ 78, 79, -1, -1, -1, -1, -1, 52, 53, -1,
-1, -1, -1, 91, 92, 93, 94, 95, -1, -1,
65, 66, 100, 101, 69, 70, 71, 72, -1, 74,
- -1, -1, 77, 78, 79, 47, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 91, 92, 93, 94,
+ -1, -1, 77, 78, 79, -1, -1, -1, -1, -1,
+ 52, -1, -1, -1, -1, -1, 91, 92, 93, 94,
95, -1, -1, 65, 66, 100, 101, 69, 70, 71,
- 72, -1, 74, -1, -1, 77, 78, 79, 47, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 91,
+ 72, -1, 74, -1, -1, 77, 78, 79, -1, -1,
+ -1, -1, -1, -1, -1, 54, -1, -1, -1, 91,
92, 93, 94, 95, -1, -1, 65, 66, 100, 101,
69, 70, 71, 72, -1, 74, -1, -1, 77, 78,
- 79, -1, -1, -1, -1, -1, -1, -1, 54, -1,
- -1, -1, 91, 92, 93, 94, 95, -1, -1, 65,
+ 79, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ 56, -1, 91, 92, 93, 94, 95, -1, 97, 65,
66, 100, 101, 69, 70, 71, 72, -1, 74, -1,
-1, 77, 78, 79, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 56, -1, 91, 92, 93, 94, 95,
- -1, 97, 65, 66, 100, 101, 69, 70, 71, 72,
+ -1, -1, -1, -1, -1, 91, 92, 93, 94, 95,
+ -1, -1, 65, 66, 100, 101, 69, 70, 71, 72,
-1, 74, -1, -1, 77, 78, 79, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 91, 92,
+ -1, -1, 85, 86, -1, -1, -1, -1, 91, 92,
93, 94, 95, -1, -1, 65, 66, 100, 101, 69,
70, 71, 72, -1, 74, -1, -1, 77, 78, 79,
- -1, -1, -1, -1, -1, 85, 86, -1, -1, -1,
- -1, 91, 92, 93, 94, 95, -1, -1, 65, 66,
- 100, 101, 69, 70, 71, 72, -1, 74, -1, -1,
- 77, 78, 79, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 91, 92, 93, 94, 95, -1,
- -1, -1, 99, 100, 101, 65, 66, -1, -1, 69,
- 70, 71, 72, -1, 74, -1, -1, 77, 78, 79,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 91, 92, 93, 94, 95, -1, -1, 65, 66,
- 100, 101, 69, 70, -1, -1, -1, 74, -1, -1,
- 77, 78, 79, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 91, 92, 93, 94, 95, -1,
- -1, -1, -1, 100, 101
+ -1, 91, 92, 93, 94, 95, -1, -1, -1, 99,
+ 100, 101, 65, 66, -1, -1, 69, 70, 71, 72,
+ -1, 74, -1, -1, 77, 78, 79, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 91, 92,
+ 93, 94, 95, -1, -1, -1, -1, 100, 101
};
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
@@ -1298,39 +1309,39 @@ static const yytype_uint8 yystos[] =
21, 23, 24, 25, 27, 28, 29, 31, 33, 37,
39, 40, 41, 44, 49, 50, 51, 55, 59, 60,
61, 62, 64, 73, 80, 81, 82, 83, 84, 87,
- 88, 89, 90, 92, 93, 98, 102, 106, 112, 113,
- 114, 115, 116, 124, 125, 126, 131, 132, 133, 134,
- 135, 139, 142, 144, 147, 151, 97, 107, 28, 49,
- 133, 133, 133, 98, 133, 153, 28, 133, 98, 153,
- 133, 98, 153, 143, 50, 28, 136, 38, 43, 45,
- 46, 47, 48, 133, 140, 141, 28, 133, 56, 57,
- 13, 14, 28, 28, 28, 28, 133, 63, 140, 141,
- 28, 138, 133, 133, 133, 133, 133, 133, 28, 137,
- 28, 98, 133, 133, 133, 133, 152, 0, 107, 122,
- 123, 69, 122, 114, 133, 65, 66, 69, 70, 71,
- 72, 74, 77, 78, 79, 91, 92, 93, 94, 95,
- 100, 101, 128, 98, 133, 133, 153, 104, 152, 153,
- 133, 152, 152, 104, 133, 133, 45, 141, 145, 42,
- 75, 76, 28, 54, 69, 133, 54, 69, 52, 111,
- 146, 56, 141, 104, 47, 54, 47, 54, 47, 54,
- 47, 54, 85, 86, 104, 28, 99, 103, 104, 112,
- 128, 130, 133, 133, 53, 108, 111, 129, 54, 107,
- 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
- 133, 133, 133, 133, 133, 133, 133, 28, 148, 99,
- 133, 99, 99, 28, 133, 128, 28, 134, 133, 133,
- 133, 133, 54, 133, 133, 128, 133, 28, 133, 133,
- 133, 133, 133, 133, 133, 133, 133, 133, 28, 99,
- 104, 133, 107, 115, 129, 129, 130, 128, 133, 130,
- 104, 107, 148, 133, 148, 47, 47, 47, 47, 152,
- 32, 34, 54, 129, 114, 129, 28, 104, 150, 107,
- 107, 133, 133, 133, 133, 99, 54, 133, 32, 58,
- 109, 128, 129, 32, 28, 130, 150, 150, 133, 129,
- 128, 130, 36, 110, 118, 119, 120, 121, 127, 109,
- 119, 127, 32, 130, 130, 129, 130, 114, 129, 121,
- 129, 120, 122, 128, 129, 122, 28, 149, 130, 129,
- 129, 32, 32, 108, 111, 114, 109, 117, 111, 104,
- 129, 32, 128, 128, 129, 128, 129, 128, 28, 32,
- 130, 115, 130, 114, 129, 129, 129
+ 88, 89, 90, 92, 93, 98, 102, 106, 111, 112,
+ 113, 114, 115, 121, 122, 123, 128, 129, 130, 131,
+ 132, 136, 139, 141, 144, 148, 97, 107, 28, 49,
+ 130, 130, 130, 98, 130, 150, 28, 130, 98, 150,
+ 130, 98, 150, 140, 50, 28, 133, 38, 43, 45,
+ 46, 47, 48, 130, 137, 138, 28, 130, 56, 57,
+ 13, 14, 28, 28, 28, 28, 130, 63, 137, 138,
+ 28, 135, 130, 130, 130, 130, 130, 130, 28, 134,
+ 28, 98, 130, 130, 130, 130, 149, 0, 107, 130,
+ 69, 130, 113, 130, 65, 66, 69, 70, 71, 72,
+ 74, 77, 78, 79, 91, 92, 93, 94, 95, 100,
+ 101, 125, 98, 130, 130, 150, 104, 149, 150, 130,
+ 149, 149, 104, 130, 130, 45, 138, 142, 42, 75,
+ 76, 28, 54, 69, 130, 54, 69, 52, 143, 56,
+ 138, 104, 47, 54, 47, 54, 47, 54, 47, 54,
+ 85, 86, 104, 28, 99, 103, 104, 111, 125, 127,
+ 130, 52, 53, 108, 126, 54, 107, 130, 130, 130,
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
+ 130, 130, 130, 130, 28, 145, 99, 130, 99, 99,
+ 28, 130, 125, 28, 131, 130, 130, 130, 130, 54,
+ 130, 130, 125, 130, 28, 130, 130, 130, 130, 130,
+ 130, 130, 130, 130, 130, 28, 99, 104, 130, 107,
+ 114, 126, 126, 125, 127, 130, 127, 104, 107, 145,
+ 130, 145, 47, 47, 47, 47, 149, 32, 34, 54,
+ 113, 126, 126, 28, 104, 147, 107, 107, 130, 130,
+ 130, 130, 99, 54, 130, 126, 32, 58, 109, 125,
+ 32, 28, 127, 147, 147, 130, 126, 36, 109, 110,
+ 118, 119, 124, 125, 127, 117, 118, 120, 124, 32,
+ 127, 127, 126, 127, 125, 119, 126, 130, 113, 126,
+ 120, 126, 130, 28, 146, 127, 126, 113, 109, 116,
+ 52, 126, 32, 32, 52, 108, 104, 126, 32, 126,
+ 125, 126, 125, 125, 125, 28, 32, 113, 114, 127,
+ 127, 126, 126, 126
};
#define yyerrok (yyerrstatus = 0)
@@ -2153,45 +2164,32 @@ yyreduce:
#line 125 "engines/director/lingo/lingo-gr.y"
{
g_lingo->_linenumber++;
- g_lingo->_colnumber = 1;
-
- g_lingo->_inCond = false; ;}
+ g_lingo->_colnumber = 1; ;}
break;
case 6:
-#line 132 "engines/director/lingo/lingo-gr.y"
+#line 130 "engines/director/lingo/lingo-gr.y"
{
g_lingo->_linenumber++;
- g_lingo->_colnumber = 1;
-
- g_lingo->_inCond = false; ;}
+ g_lingo->_colnumber = 1; ;}
break;
case 7:
-#line 139 "engines/director/lingo/lingo-gr.y"
+#line 135 "engines/director/lingo/lingo-gr.y"
{
g_lingo->_linenumber++;
- g_lingo->_colnumber = 5;
-
- g_lingo->_inCond = false; ;}
+ g_lingo->_colnumber = 5; ;}
break;
case 8:
-#line 146 "engines/director/lingo/lingo-gr.y"
+#line 140 "engines/director/lingo/lingo-gr.y"
{
g_lingo->_linenumber++;
- g_lingo->_colnumber = 8;
-
- g_lingo->_inCond = false; ;}
+ g_lingo->_colnumber = 8; ;}
break;
- case 9:
-#line 153 "engines/director/lingo/lingo-gr.y"
- { g_lingo->_inCond = false; ;}
- break;
-
- case 13:
-#line 161 "engines/director/lingo/lingo-gr.y"
+ case 12:
+#line 150 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_varpush);
g_lingo->codeString((yyvsp[(4) - (4)].s)->c_str());
@@ -2200,25 +2198,25 @@ yyreduce:
delete (yyvsp[(4) - (4)].s); ;}
break;
- case 14:
-#line 167 "engines/director/lingo/lingo-gr.y"
+ case 13:
+#line 156 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_assign);
(yyval.code) = (yyvsp[(2) - (4)].code); ;}
break;
- case 15:
-#line 170 "engines/director/lingo/lingo-gr.y"
+ case 14:
+#line 159 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = g_lingo->code1(g_lingo->c_after); ;}
break;
- case 16:
-#line 171 "engines/director/lingo/lingo-gr.y"
+ case 15:
+#line 160 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = g_lingo->code1(g_lingo->c_before); ;}
break;
- case 17:
-#line 172 "engines/director/lingo/lingo-gr.y"
+ case 16:
+#line 161 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_varpush);
g_lingo->codeString((yyvsp[(2) - (4)].s)->c_str());
@@ -2227,8 +2225,8 @@ yyreduce:
delete (yyvsp[(2) - (4)].s); ;}
break;
- case 18:
-#line 178 "engines/director/lingo/lingo-gr.y"
+ case 17:
+#line 167 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(0); // Put dummy id
@@ -2238,8 +2236,8 @@ yyreduce:
(yyval.code) = (yyvsp[(4) - (4)].code); ;}
break;
- case 19:
-#line 185 "engines/director/lingo/lingo-gr.y"
+ case 18:
+#line 174 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_varpush);
g_lingo->codeString((yyvsp[(2) - (4)].s)->c_str());
@@ -2248,8 +2246,8 @@ yyreduce:
delete (yyvsp[(2) - (4)].s); ;}
break;
- case 20:
-#line 191 "engines/director/lingo/lingo-gr.y"
+ case 19:
+#line 180 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(0); // Put dummy id
@@ -2259,8 +2257,8 @@ yyreduce:
(yyval.code) = (yyvsp[(4) - (4)].code); ;}
break;
- case 21:
-#line 198 "engines/director/lingo/lingo-gr.y"
+ case 20:
+#line 187 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_swap);
g_lingo->code1(g_lingo->c_theentityassign);
@@ -2269,8 +2267,8 @@ yyreduce:
(yyval.code) = (yyvsp[(5) - (5)].code); ;}
break;
- case 27:
-#line 217 "engines/director/lingo/lingo-gr.y"
+ case 26:
+#line 206 "engines/director/lingo/lingo-gr.y"
{
inst body = 0, end = 0;
WRITE_UINT32(&body, (yyvsp[(3) - (5)].code) - (yyvsp[(1) - (5)].code));
@@ -2281,8 +2279,8 @@ yyreduce:
checkEnd((yyvsp[(5) - (5)].s), "repeat", true); ;}
break;
- case 28:
-#line 230 "engines/director/lingo/lingo-gr.y"
+ case 27:
+#line 219 "engines/director/lingo/lingo-gr.y"
{
inst init = 0, finish = 0, body = 0, end = 0, inc = 0;
WRITE_UINT32(&init, (yyvsp[(3) - (10)].code) - (yyvsp[(1) - (10)].code));
@@ -2299,8 +2297,8 @@ yyreduce:
checkEnd((yyvsp[(10) - (10)].s), "repeat", true); ;}
break;
- case 29:
-#line 248 "engines/director/lingo/lingo-gr.y"
+ case 28:
+#line 237 "engines/director/lingo/lingo-gr.y"
{
inst init = 0, finish = 0, body = 0, end = 0, inc = 0;
WRITE_UINT32(&init, (yyvsp[(3) - (11)].code) - (yyvsp[(1) - (11)].code));
@@ -2317,8 +2315,8 @@ yyreduce:
checkEnd((yyvsp[(11) - (11)].s), "repeat", true); ;}
break;
- case 30:
-#line 262 "engines/director/lingo/lingo-gr.y"
+ case 29:
+#line 251 "engines/director/lingo/lingo-gr.y"
{
inst end = 0;
WRITE_UINT32(&end, (yyvsp[(3) - (3)].code) - (yyvsp[(1) - (3)].code));
@@ -2326,22 +2324,22 @@ yyreduce:
(*g_lingo->_currentScript)[(yyvsp[(1) - (3)].code) + 1] = end; ;}
break;
- case 31:
-#line 267 "engines/director/lingo/lingo-gr.y"
+ case 30:
+#line 256 "engines/director/lingo/lingo-gr.y"
{
warning("STUB: TELL is not implemented");
checkEnd((yyvsp[(6) - (6)].s), "tell", true); ;}
break;
- case 32:
-#line 270 "engines/director/lingo/lingo-gr.y"
+ case 31:
+#line 259 "engines/director/lingo/lingo-gr.y"
{
warning("STUB: TELL is not implemented");
;}
break;
- case 33:
-#line 275 "engines/director/lingo/lingo-gr.y"
+ case 32:
+#line 264 "engines/director/lingo/lingo-gr.y"
{
inst then = 0, end = 0;
WRITE_UINT32(&then, (yyvsp[(4) - (6)].code) - (yyvsp[(1) - (6)].code));
@@ -2354,8 +2352,8 @@ yyreduce:
g_lingo->processIf(0, 0); ;}
break;
- case 34:
-#line 285 "engines/director/lingo/lingo-gr.y"
+ case 33:
+#line 274 "engines/director/lingo/lingo-gr.y"
{
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, (yyvsp[(4) - (9)].code) - (yyvsp[(1) - (9)].code));
@@ -2370,8 +2368,8 @@ yyreduce:
g_lingo->processIf(0, 0); ;}
break;
- case 35:
-#line 297 "engines/director/lingo/lingo-gr.y"
+ case 34:
+#line 286 "engines/director/lingo/lingo-gr.y"
{
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, (yyvsp[(4) - (9)].code) - (yyvsp[(1) - (9)].code));
@@ -2386,8 +2384,8 @@ yyreduce:
g_lingo->processIf(0, (yyvsp[(8) - (9)].code) - (yyvsp[(1) - (9)].code)); ;}
break;
- case 36:
-#line 309 "engines/director/lingo/lingo-gr.y"
+ case 35:
+#line 298 "engines/director/lingo/lingo-gr.y"
{
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, (yyvsp[(4) - (9)].code) - (yyvsp[(1) - (9)].code));
@@ -2400,8 +2398,8 @@ yyreduce:
g_lingo->processIf(0, (yyvsp[(9) - (9)].code) - (yyvsp[(1) - (9)].code)); ;}
break;
- case 37:
-#line 319 "engines/director/lingo/lingo-gr.y"
+ case 36:
+#line 308 "engines/director/lingo/lingo-gr.y"
{
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, (yyvsp[(4) - (10)].code) - (yyvsp[(1) - (10)].code));
@@ -2414,8 +2412,8 @@ yyreduce:
g_lingo->processIf(0, (yyvsp[(10) - (10)].code) - (yyvsp[(1) - (10)].code)); ;}
break;
- case 38:
-#line 329 "engines/director/lingo/lingo-gr.y"
+ case 37:
+#line 318 "engines/director/lingo/lingo-gr.y"
{
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, (yyvsp[(4) - (10)].code) - (yyvsp[(1) - (10)].code));
@@ -2428,8 +2426,8 @@ yyreduce:
g_lingo->processIf(0, 0); ;}
break;
- case 39:
-#line 339 "engines/director/lingo/lingo-gr.y"
+ case 38:
+#line 328 "engines/director/lingo/lingo-gr.y"
{
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, (yyvsp[(4) - (6)].code) - (yyvsp[(1) - (6)].code));
@@ -2442,18 +2440,18 @@ yyreduce:
g_lingo->processIf(0, 0); ;}
break;
- case 40:
-#line 351 "engines/director/lingo/lingo-gr.y"
+ case 39:
+#line 340 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = 0; ;}
break;
- case 41:
-#line 352 "engines/director/lingo/lingo-gr.y"
+ case 40:
+#line 341 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = (yyvsp[(2) - (3)].code); ;}
break;
- case 46:
-#line 363 "engines/director/lingo/lingo-gr.y"
+ case 45:
+#line 352 "engines/director/lingo/lingo-gr.y"
{
inst then = 0;
WRITE_UINT32(&then, (yyvsp[(4) - (6)].code) - (yyvsp[(1) - (6)].code));
@@ -2462,8 +2460,8 @@ yyreduce:
g_lingo->codeLabel((yyvsp[(1) - (6)].code)); ;}
break;
- case 48:
-#line 372 "engines/director/lingo/lingo-gr.y"
+ case 47:
+#line 361 "engines/director/lingo/lingo-gr.y"
{
inst then = 0;
WRITE_UINT32(&then, (yyvsp[(5) - (6)].code) - (yyvsp[(1) - (6)].code));
@@ -2472,8 +2470,8 @@ yyreduce:
g_lingo->codeLabel((yyvsp[(1) - (6)].code)); ;}
break;
- case 49:
-#line 378 "engines/director/lingo/lingo-gr.y"
+ case 48:
+#line 367 "engines/director/lingo/lingo-gr.y"
{
inst then = 0;
WRITE_UINT32(&then, (yyvsp[(5) - (6)].code) - (yyvsp[(1) - (6)].code));
@@ -2482,23 +2480,13 @@ yyreduce:
g_lingo->codeLabel((yyvsp[(1) - (6)].code)); ;}
break;
- case 50:
-#line 386 "engines/director/lingo/lingo-gr.y"
- { g_lingo->code1(STOP); ;}
- break;
-
- case 51:
-#line 389 "engines/director/lingo/lingo-gr.y"
- { g_lingo->_inCond = true; ;}
- break;
-
- case 52:
-#line 392 "engines/director/lingo/lingo-gr.y"
+ case 49:
+#line 375 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = g_lingo->code3(g_lingo->c_repeatwhilecode, STOP, STOP); ;}
break;
- case 53:
-#line 395 "engines/director/lingo/lingo-gr.y"
+ case 50:
+#line 378 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code3(g_lingo->c_repeatwithcode, STOP, STOP);
g_lingo->code3(STOP, STOP, STOP);
@@ -2506,8 +2494,8 @@ yyreduce:
delete (yyvsp[(3) - (3)].s); ;}
break;
- case 54:
-#line 402 "engines/director/lingo/lingo-gr.y"
+ case 51:
+#line 385 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_ifcode);
g_lingo->code3(STOP, STOP, STOP);
@@ -2515,8 +2503,8 @@ yyreduce:
g_lingo->codeLabel(0); ;}
break;
- case 55:
-#line 409 "engines/director/lingo/lingo-gr.y"
+ case 52:
+#line 392 "engines/director/lingo/lingo-gr.y"
{
inst skipEnd;
WRITE_UINT32(&skipEnd, 1); // We have to skip end to avoid multiple executions
@@ -2525,23 +2513,23 @@ yyreduce:
g_lingo->code1(skipEnd); ;}
break;
- case 56:
-#line 417 "engines/director/lingo/lingo-gr.y"
+ case 53:
+#line 400 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = g_lingo->_currentScript->size(); ;}
break;
- case 57:
-#line 420 "engines/director/lingo/lingo-gr.y"
+ case 54:
+#line 403 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(STOP); (yyval.code) = g_lingo->_currentScript->size(); ;}
break;
- case 58:
-#line 423 "engines/director/lingo/lingo-gr.y"
+ case 55:
+#line 406 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = g_lingo->_currentScript->size(); ;}
break;
- case 61:
-#line 428 "engines/director/lingo/lingo-gr.y"
+ case 58:
+#line 411 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_whencode);
g_lingo->code1(STOP);
@@ -2549,82 +2537,82 @@ yyreduce:
delete (yyvsp[(2) - (3)].s); ;}
break;
- case 62:
-#line 434 "engines/director/lingo/lingo-gr.y"
+ case 59:
+#line 417 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_tellcode);
g_lingo->code1(STOP); ;}
break;
- case 63:
-#line 438 "engines/director/lingo/lingo-gr.y"
+ case 60:
+#line 421 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt((yyvsp[(1) - (1)].i)); ;}
break;
- case 64:
-#line 441 "engines/director/lingo/lingo-gr.y"
+ case 61:
+#line 424 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_floatpush);
g_lingo->codeFloat((yyvsp[(1) - (1)].f)); ;}
break;
- case 65:
-#line 444 "engines/director/lingo/lingo-gr.y"
+ case 62:
+#line 427 "engines/director/lingo/lingo-gr.y"
{ // D3
(yyval.code) = g_lingo->code1(g_lingo->c_symbolpush);
g_lingo->codeString((yyvsp[(1) - (1)].s)->c_str()); ;}
break;
- case 66:
-#line 447 "engines/director/lingo/lingo-gr.y"
+ case 63:
+#line 430 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_stringpush);
g_lingo->codeString((yyvsp[(1) - (1)].s)->c_str()); ;}
break;
- case 68:
-#line 451 "engines/director/lingo/lingo-gr.y"
+ case 65:
+#line 434 "engines/director/lingo/lingo-gr.y"
{
g_lingo->codeFunc((yyvsp[(1) - (1)].s), 0);
delete (yyvsp[(1) - (1)].s); ;}
break;
- case 69:
-#line 454 "engines/director/lingo/lingo-gr.y"
+ case 66:
+#line 437 "engines/director/lingo/lingo-gr.y"
{
g_lingo->codeFunc((yyvsp[(1) - (2)].s), 1);
delete (yyvsp[(1) - (2)].s); ;}
break;
- case 70:
-#line 457 "engines/director/lingo/lingo-gr.y"
+ case 67:
+#line 440 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeFunc((yyvsp[(1) - (2)].s), (yyvsp[(2) - (2)].narg)); ;}
break;
- case 71:
-#line 458 "engines/director/lingo/lingo-gr.y"
+ case 68:
+#line 441 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeFunc((yyvsp[(1) - (4)].s), (yyvsp[(3) - (4)].narg)); ;}
break;
- case 72:
-#line 459 "engines/director/lingo/lingo-gr.y"
+ case 69:
+#line 442 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->codeFunc((yyvsp[(1) - (4)].s), (yyvsp[(3) - (4)].narg));
delete (yyvsp[(1) - (4)].s); ;}
break;
- case 73:
-#line 462 "engines/director/lingo/lingo-gr.y"
+ case 70:
+#line 445 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_eval);
g_lingo->codeString((yyvsp[(1) - (1)].s)->c_str());
delete (yyvsp[(1) - (1)].s); ;}
break;
- case 74:
-#line 466 "engines/director/lingo/lingo-gr.y"
+ case 71:
+#line 449 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(0); // Put dummy id
@@ -2635,8 +2623,8 @@ yyreduce:
g_lingo->code2(e, f); ;}
break;
- case 75:
-#line 474 "engines/director/lingo/lingo-gr.y"
+ case 72:
+#line 457 "engines/director/lingo/lingo-gr.y"
{
(yyval.code) = g_lingo->code1(g_lingo->c_theentitypush);
inst e = 0, f = 0;
@@ -2645,395 +2633,395 @@ yyreduce:
g_lingo->code2(e, f); ;}
break;
- case 77:
-#line 481 "engines/director/lingo/lingo-gr.y"
+ case 74:
+#line 464 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_add); ;}
break;
- case 78:
-#line 482 "engines/director/lingo/lingo-gr.y"
+ case 75:
+#line 465 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_sub); ;}
break;
- case 79:
-#line 483 "engines/director/lingo/lingo-gr.y"
+ case 76:
+#line 466 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_mul); ;}
break;
- case 80:
-#line 484 "engines/director/lingo/lingo-gr.y"
+ case 77:
+#line 467 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_div); ;}
break;
- case 81:
-#line 485 "engines/director/lingo/lingo-gr.y"
+ case 78:
+#line 468 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_mod); ;}
break;
- case 82:
-#line 486 "engines/director/lingo/lingo-gr.y"
+ case 79:
+#line 469 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_gt); ;}
break;
- case 83:
-#line 487 "engines/director/lingo/lingo-gr.y"
+ case 80:
+#line 470 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_lt); ;}
break;
- case 84:
-#line 488 "engines/director/lingo/lingo-gr.y"
+ case 81:
+#line 471 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_eq); ;}
break;
- case 85:
-#line 489 "engines/director/lingo/lingo-gr.y"
+ case 82:
+#line 472 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_neq); ;}
break;
- case 86:
-#line 490 "engines/director/lingo/lingo-gr.y"
+ case 83:
+#line 473 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_ge); ;}
break;
- case 87:
-#line 491 "engines/director/lingo/lingo-gr.y"
+ case 84:
+#line 474 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_le); ;}
break;
- case 88:
-#line 492 "engines/director/lingo/lingo-gr.y"
+ case 85:
+#line 475 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_and); ;}
break;
- case 89:
-#line 493 "engines/director/lingo/lingo-gr.y"
+ case 86:
+#line 476 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_or); ;}
break;
- case 90:
-#line 494 "engines/director/lingo/lingo-gr.y"
+ case 87:
+#line 477 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_not); ;}
break;
- case 91:
-#line 495 "engines/director/lingo/lingo-gr.y"
+ case 88:
+#line 478 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_ampersand); ;}
break;
- case 92:
-#line 496 "engines/director/lingo/lingo-gr.y"
+ case 89:
+#line 479 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_concat); ;}
break;
- case 93:
-#line 497 "engines/director/lingo/lingo-gr.y"
+ case 90:
+#line 480 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_contains); ;}
break;
- case 94:
-#line 498 "engines/director/lingo/lingo-gr.y"
+ case 91:
+#line 481 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_starts); ;}
break;
- case 95:
-#line 499 "engines/director/lingo/lingo-gr.y"
+ case 92:
+#line 482 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = (yyvsp[(2) - (2)].code); ;}
break;
- case 96:
-#line 500 "engines/director/lingo/lingo-gr.y"
+ case 93:
+#line 483 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = (yyvsp[(2) - (2)].code); g_lingo->code1(g_lingo->c_negate); ;}
break;
- case 97:
-#line 501 "engines/director/lingo/lingo-gr.y"
+ case 94:
+#line 484 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = (yyvsp[(2) - (3)].code); ;}
break;
- case 98:
-#line 502 "engines/director/lingo/lingo-gr.y"
+ case 95:
+#line 485 "engines/director/lingo/lingo-gr.y"
{ (yyval.code) = g_lingo->code1(g_lingo->c_arraypush); g_lingo->codeArray((yyvsp[(2) - (3)].narg)); ;}
break;
- case 99:
-#line 503 "engines/director/lingo/lingo-gr.y"
+ case 96:
+#line 486 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_intersects); ;}
break;
- case 100:
-#line 504 "engines/director/lingo/lingo-gr.y"
+ case 97:
+#line 487 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_within); ;}
break;
- case 101:
-#line 505 "engines/director/lingo/lingo-gr.y"
+ case 98:
+#line 488 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_charOf); ;}
break;
- case 102:
-#line 506 "engines/director/lingo/lingo-gr.y"
+ case 99:
+#line 489 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_charToOf); ;}
break;
- case 103:
-#line 507 "engines/director/lingo/lingo-gr.y"
+ case 100:
+#line 490 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_itemOf); ;}
break;
- case 104:
-#line 508 "engines/director/lingo/lingo-gr.y"
+ case 101:
+#line 491 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_itemToOf); ;}
break;
- case 105:
-#line 509 "engines/director/lingo/lingo-gr.y"
+ case 102:
+#line 492 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_lineOf); ;}
break;
- case 106:
-#line 510 "engines/director/lingo/lingo-gr.y"
+ case 103:
+#line 493 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_lineToOf); ;}
break;
- case 107:
-#line 511 "engines/director/lingo/lingo-gr.y"
+ case 104:
+#line 494 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_wordOf); ;}
break;
- case 108:
-#line 512 "engines/director/lingo/lingo-gr.y"
+ case 105:
+#line 495 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_wordToOf); ;}
break;
- case 109:
-#line 515 "engines/director/lingo/lingo-gr.y"
+ case 106:
+#line 498 "engines/director/lingo/lingo-gr.y"
{
g_lingo->codeFunc((yyvsp[(1) - (2)].s), 1);
delete (yyvsp[(1) - (2)].s); ;}
break;
- case 110:
-#line 520 "engines/director/lingo/lingo-gr.y"
+ case 107:
+#line 503 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_printtop); ;}
break;
- case 113:
-#line 523 "engines/director/lingo/lingo-gr.y"
+ case 110:
+#line 506 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_exitRepeat); ;}
break;
- case 114:
-#line 524 "engines/director/lingo/lingo-gr.y"
+ case 111:
+#line 507 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_procret); ;}
break;
- case 118:
-#line 528 "engines/director/lingo/lingo-gr.y"
+ case 115:
+#line 511 "engines/director/lingo/lingo-gr.y"
{
g_lingo->codeFunc((yyvsp[(1) - (1)].s), 0);
delete (yyvsp[(1) - (1)].s); ;}
break;
- case 119:
-#line 531 "engines/director/lingo/lingo-gr.y"
+ case 116:
+#line 514 "engines/director/lingo/lingo-gr.y"
{
g_lingo->codeFunc((yyvsp[(1) - (2)].s), 1);
delete (yyvsp[(1) - (2)].s); ;}
break;
- case 120:
-#line 534 "engines/director/lingo/lingo-gr.y"
+ case 117:
+#line 517 "engines/director/lingo/lingo-gr.y"
{
g_lingo->codeFunc((yyvsp[(1) - (2)].s), 1);
delete (yyvsp[(1) - (2)].s); ;}
break;
- case 121:
-#line 537 "engines/director/lingo/lingo-gr.y"
+ case 118:
+#line 520 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_voidpush);
g_lingo->codeFunc((yyvsp[(1) - (1)].s), 1);
delete (yyvsp[(1) - (1)].s); ;}
break;
- case 122:
-#line 541 "engines/director/lingo/lingo-gr.y"
+ case 119:
+#line 524 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeFunc((yyvsp[(1) - (2)].s), (yyvsp[(2) - (2)].narg)); ;}
break;
- case 123:
-#line 542 "engines/director/lingo/lingo-gr.y"
+ case 120:
+#line 525 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeFunc((yyvsp[(1) - (4)].s), (yyvsp[(3) - (4)].narg)); ;}
break;
- case 124:
-#line 543 "engines/director/lingo/lingo-gr.y"
+ case 121:
+#line 526 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeMe((yyvsp[(3) - (4)].s), 0); ;}
break;
- case 125:
-#line 544 "engines/director/lingo/lingo-gr.y"
+ case 122:
+#line 527 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeMe((yyvsp[(3) - (6)].s), (yyvsp[(5) - (6)].narg)); ;}
break;
- case 126:
-#line 545 "engines/director/lingo/lingo-gr.y"
+ case 123:
+#line 528 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_open); ;}
break;
- case 127:
-#line 546 "engines/director/lingo/lingo-gr.y"
+ case 124:
+#line 529 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code2(g_lingo->c_voidpush, g_lingo->c_open); ;}
break;
- case 128:
-#line 547 "engines/director/lingo/lingo-gr.y"
+ case 125:
+#line 530 "engines/director/lingo/lingo-gr.y"
{ Common::String s(*(yyvsp[(1) - (3)].s)); s += '-'; s += *(yyvsp[(2) - (3)].s); g_lingo->codeFunc(&s, (yyvsp[(3) - (3)].narg)); ;}
break;
- case 129:
-#line 550 "engines/director/lingo/lingo-gr.y"
+ case 126:
+#line 533 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_global); g_lingo->codeString((yyvsp[(1) - (1)].s)->c_str()); delete (yyvsp[(1) - (1)].s); ;}
break;
- case 130:
-#line 551 "engines/director/lingo/lingo-gr.y"
+ case 127:
+#line 534 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_global); g_lingo->codeString((yyvsp[(3) - (3)].s)->c_str()); delete (yyvsp[(3) - (3)].s); ;}
break;
- case 131:
-#line 554 "engines/director/lingo/lingo-gr.y"
+ case 128:
+#line 537 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_property); g_lingo->codeString((yyvsp[(1) - (1)].s)->c_str()); delete (yyvsp[(1) - (1)].s); ;}
break;
- case 132:
-#line 555 "engines/director/lingo/lingo-gr.y"
+ case 129:
+#line 538 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_property); g_lingo->codeString((yyvsp[(3) - (3)].s)->c_str()); delete (yyvsp[(3) - (3)].s); ;}
break;
- case 133:
-#line 558 "engines/director/lingo/lingo-gr.y"
+ case 130:
+#line 541 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_instance); g_lingo->codeString((yyvsp[(1) - (1)].s)->c_str()); delete (yyvsp[(1) - (1)].s); ;}
break;
- case 134:
-#line 559 "engines/director/lingo/lingo-gr.y"
+ case 131:
+#line 542 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_instance); g_lingo->codeString((yyvsp[(3) - (3)].s)->c_str()); delete (yyvsp[(3) - (3)].s); ;}
break;
- case 135:
-#line 570 "engines/director/lingo/lingo-gr.y"
+ case 132:
+#line 553 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_gotoloop); ;}
break;
- case 136:
-#line 571 "engines/director/lingo/lingo-gr.y"
+ case 133:
+#line 554 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_gotonext); ;}
break;
- case 137:
-#line 572 "engines/director/lingo/lingo-gr.y"
+ case 134:
+#line 555 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_gotoprevious); ;}
break;
- case 138:
-#line 573 "engines/director/lingo/lingo-gr.y"
+ case 135:
+#line 556 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(1);
g_lingo->code1(g_lingo->c_goto); ;}
break;
- case 139:
-#line 577 "engines/director/lingo/lingo-gr.y"
+ case 136:
+#line 560 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(3);
g_lingo->code1(g_lingo->c_goto); ;}
break;
- case 140:
-#line 581 "engines/director/lingo/lingo-gr.y"
+ case 137:
+#line 564 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(2);
g_lingo->code1(g_lingo->c_goto); ;}
break;
- case 145:
-#line 595 "engines/director/lingo/lingo-gr.y"
+ case 142:
+#line 578 "engines/director/lingo/lingo-gr.y"
{ g_lingo->code1(g_lingo->c_playdone); ;}
break;
- case 146:
-#line 596 "engines/director/lingo/lingo-gr.y"
+ case 143:
+#line 579 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(1);
g_lingo->code1(g_lingo->c_play); ;}
break;
- case 147:
-#line 600 "engines/director/lingo/lingo-gr.y"
+ case 144:
+#line 583 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(3);
g_lingo->code1(g_lingo->c_play); ;}
break;
- case 148:
-#line 604 "engines/director/lingo/lingo-gr.y"
+ case 145:
+#line 587 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_intpush);
g_lingo->codeInt(2);
g_lingo->code1(g_lingo->c_play); ;}
break;
- case 149:
-#line 608 "engines/director/lingo/lingo-gr.y"
+ case 146:
+#line 591 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeSetImmediate(true); ;}
break;
- case 150:
-#line 608 "engines/director/lingo/lingo-gr.y"
+ case 147:
+#line 591 "engines/director/lingo/lingo-gr.y"
{
g_lingo->codeSetImmediate(false);
g_lingo->codeFunc((yyvsp[(1) - (3)].s), (yyvsp[(3) - (3)].narg)); ;}
break;
- case 151:
-#line 638 "engines/director/lingo/lingo-gr.y"
+ case 148:
+#line 621 "engines/director/lingo/lingo-gr.y"
{ g_lingo->_indef = true; g_lingo->_currentFactory.clear(); ;}
break;
- case 152:
-#line 639 "engines/director/lingo/lingo-gr.y"
+ case 149:
+#line 622 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_procret);
g_lingo->define(*(yyvsp[(2) - (8)].s), (yyvsp[(4) - (8)].code), (yyvsp[(5) - (8)].narg));
g_lingo->_indef = false; ;}
break;
- case 153:
-#line 643 "engines/director/lingo/lingo-gr.y"
+ case 150:
+#line 626 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeFactory(*(yyvsp[(2) - (2)].s)); ;}
break;
- case 154:
-#line 644 "engines/director/lingo/lingo-gr.y"
+ case 151:
+#line 627 "engines/director/lingo/lingo-gr.y"
{ g_lingo->_indef = true; ;}
break;
- case 155:
-#line 645 "engines/director/lingo/lingo-gr.y"
+ case 152:
+#line 628 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_procret);
g_lingo->define(*(yyvsp[(2) - (8)].s), (yyvsp[(4) - (8)].code), (yyvsp[(5) - (8)].narg) + 1, &g_lingo->_currentFactory);
g_lingo->_indef = false; ;}
break;
- case 156:
-#line 649 "engines/director/lingo/lingo-gr.y"
+ case 153:
+#line 632 "engines/director/lingo/lingo-gr.y"
{ // D3
g_lingo->code1(g_lingo->c_procret);
g_lingo->define(*(yyvsp[(1) - (8)].s), (yyvsp[(2) - (8)].code), (yyvsp[(3) - (8)].narg));
@@ -3043,8 +3031,8 @@ yyreduce:
checkEnd((yyvsp[(7) - (8)].s), (yyvsp[(1) - (8)].s)->c_str(), false); ;}
break;
- case 157:
-#line 656 "engines/director/lingo/lingo-gr.y"
+ case 154:
+#line 639 "engines/director/lingo/lingo-gr.y"
{ // D4. No 'end' clause
g_lingo->code1(g_lingo->c_procret);
g_lingo->define(*(yyvsp[(1) - (6)].s), (yyvsp[(2) - (6)].code), (yyvsp[(3) - (6)].narg));
@@ -3052,38 +3040,38 @@ yyreduce:
g_lingo->_ignoreMe = false; ;}
break;
- case 158:
-#line 662 "engines/director/lingo/lingo-gr.y"
+ case 155:
+#line 645 "engines/director/lingo/lingo-gr.y"
{ (yyval.s) = (yyvsp[(2) - (2)].s); g_lingo->_indef = true; g_lingo->_currentFactory.clear(); g_lingo->_ignoreMe = true; ;}
break;
- case 159:
-#line 664 "engines/director/lingo/lingo-gr.y"
+ case 156:
+#line 647 "engines/director/lingo/lingo-gr.y"
{ (yyval.narg) = 0; ;}
break;
- case 160:
-#line 665 "engines/director/lingo/lingo-gr.y"
+ case 157:
+#line 648 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeArg((yyvsp[(1) - (1)].s)); (yyval.narg) = 1; ;}
break;
- case 161:
-#line 666 "engines/director/lingo/lingo-gr.y"
+ case 158:
+#line 649 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeArg((yyvsp[(3) - (3)].s)); (yyval.narg) = (yyvsp[(1) - (3)].narg) + 1; ;}
break;
- case 162:
-#line 667 "engines/director/lingo/lingo-gr.y"
+ case 159:
+#line 650 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeArg((yyvsp[(4) - (4)].s)); (yyval.narg) = (yyvsp[(1) - (4)].narg) + 1; ;}
break;
- case 166:
-#line 675 "engines/director/lingo/lingo-gr.y"
+ case 163:
+#line 658 "engines/director/lingo/lingo-gr.y"
{ g_lingo->codeArgStore(); ;}
break;
- case 167:
-#line 679 "engines/director/lingo/lingo-gr.y"
+ case 164:
+#line 662 "engines/director/lingo/lingo-gr.y"
{
g_lingo->code1(g_lingo->c_call);
g_lingo->codeString((yyvsp[(1) - (2)].s)->c_str());
@@ -3092,34 +3080,34 @@ yyreduce:
g_lingo->code1(numpar); ;}
break;
- case 168:
-#line 687 "engines/director/lingo/lingo-gr.y"
+ case 165:
+#line 670 "engines/director/lingo/lingo-gr.y"
{ (yyval.narg) = 0; ;}
break;
- case 169:
-#line 688 "engines/director/lingo/lingo-gr.y"
+ case 166:
+#line 671 "engines/director/lingo/lingo-gr.y"
{ (yyval.narg) = 1; ;}
break;
- case 170:
-#line 689 "engines/director/lingo/lingo-gr.y"
+ case 167:
+#line 672 "engines/director/lingo/lingo-gr.y"
{ (yyval.narg) = (yyvsp[(1) - (3)].narg) + 1; ;}
break;
- case 171:
-#line 692 "engines/director/lingo/lingo-gr.y"
+ case 168:
+#line 675 "engines/director/lingo/lingo-gr.y"
{ (yyval.narg) = 1; ;}
break;
- case 172:
-#line 693 "engines/director/lingo/lingo-gr.y"
+ case 169:
+#line 676 "engines/director/lingo/lingo-gr.y"
{ (yyval.narg) = (yyvsp[(1) - (3)].narg) + 1; ;}
break;
/* Line 1267 of yacc.c. */
-#line 3123 "engines/director/lingo/lingo-gr.cpp"
+#line 3111 "engines/director/lingo/lingo-gr.cpp"
default: break;
}
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
@@ -3333,6 +3321,6 @@ yyreturn:
}
-#line 696 "engines/director/lingo/lingo-gr.y"
+#line 679 "engines/director/lingo/lingo-gr.y"
diff --git a/engines/director/lingo/lingo-gr.y b/engines/director/lingo/lingo-gr.y
index 892a24c57b..1703cfbf23 100644
--- a/engines/director/lingo/lingo-gr.y
+++ b/engines/director/lingo/lingo-gr.y
@@ -124,33 +124,22 @@ program: program nl programline
nl: '\n' {
g_lingo->_linenumber++;
- g_lingo->_colnumber = 1;
-
- g_lingo->_inCond = false; }
+ g_lingo->_colnumber = 1; }
;
thennl: tTHENNL {
g_lingo->_linenumber++;
- g_lingo->_colnumber = 1;
-
- g_lingo->_inCond = false; }
+ g_lingo->_colnumber = 1; }
;
nlelse: tNLELSE {
g_lingo->_linenumber++;
- g_lingo->_colnumber = 5;
-
- g_lingo->_inCond = false; }
+ g_lingo->_colnumber = 5; }
;
nlelsif: tNLELSIF {
g_lingo->_linenumber++;
- g_lingo->_colnumber = 8;
-
- g_lingo->_inCond = false; }
- ;
-
-then: tTHEN { g_lingo->_inCond = false; }
+ g_lingo->_colnumber = 8; }
;
programline: /* empty */
@@ -214,7 +203,7 @@ stmt: stmtoneliner
// statements
// end repeat
//
- | repeatwhile cond stmtlist end ENDCLAUSE {
+ | repeatwhile expr stmtlist end ENDCLAUSE {
inst body = 0, end = 0;
WRITE_UINT32(&body, $3 - $1);
WRITE_UINT32(&end, $4 - $1);
@@ -272,7 +261,7 @@ stmt: stmtoneliner
}
;
-ifstmt: if cond thennl stmtlist end ENDCLAUSE {
+ifstmt: if expr thennl stmtlist end ENDCLAUSE {
inst then = 0, end = 0;
WRITE_UINT32(&then, $4 - $1);
WRITE_UINT32(&end, $5 - $1);
@@ -282,7 +271,7 @@ ifstmt: if cond thennl stmtlist end ENDCLAUSE {
checkEnd($6, "if", true);
g_lingo->processIf(0, 0); }
- | if cond thennl stmtlist end nlelse stmtlist end ENDCLAUSE {
+ | if expr thennl stmtlist end nlelse stmtlist end ENDCLAUSE {
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, $4 - $1);
WRITE_UINT32(&else1, $7 - $1);
@@ -294,7 +283,7 @@ ifstmt: if cond thennl stmtlist end ENDCLAUSE {
checkEnd($9, "if", true);
g_lingo->processIf(0, 0); }
- | if cond thennl stmtlist end begin elseifstmt end ENDCLAUSE {
+ | if expr thennl stmtlist end begin elseifstmt end ENDCLAUSE {
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, $4 - $1);
WRITE_UINT32(&else1, $6 - $1);
@@ -306,7 +295,7 @@ ifstmt: if cond thennl stmtlist end ENDCLAUSE {
checkEnd($9, "if", true);
g_lingo->processIf(0, $8 - $1); }
- | if cond thennl stmtlist end nlelse begin stmtoneliner end {
+ | if expr thennl stmtlist end nlelse begin stmtoneliner end {
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, $4 - $1);
WRITE_UINT32(&else1, $7 - $1);
@@ -316,7 +305,7 @@ ifstmt: if cond thennl stmtlist end ENDCLAUSE {
(*g_lingo->_currentScript)[$1 + 3] = end; /* end, if cond fails */
g_lingo->processIf(0, $9 - $1); }
- | if cond then begin stmtoneliner end elseifstmtoneliner end elsestmtoneliner end {
+ | if expr tTHEN begin stmtoneliner end elseifstmtoneliner end elsestmtoneliner end {
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, $4 - $1);
WRITE_UINT32(&else1, $6 - $1);
@@ -326,7 +315,7 @@ ifstmt: if cond thennl stmtlist end ENDCLAUSE {
(*g_lingo->_currentScript)[$1 + 3] = end; /* end, if cond fails */
g_lingo->processIf(0, $10 - $1); }
- | if cond then begin stmtoneliner end nlelse begin stmtoneliner end {
+ | if expr tTHEN begin stmtoneliner end nlelse begin stmtoneliner end {
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, $4 - $1);
WRITE_UINT32(&else1, $8 - $1);
@@ -336,7 +325,7 @@ ifstmt: if cond thennl stmtlist end ENDCLAUSE {
(*g_lingo->_currentScript)[$1 + 3] = end; /* end, if cond fails */
g_lingo->processIf(0, 0); }
- | if cond then begin stmtoneliner end {
+ | if expr tTHEN begin stmtoneliner end {
inst then = 0, else1 = 0, end = 0;
WRITE_UINT32(&then, $4 - $1);
WRITE_UINT32(&else1, 0);
@@ -360,7 +349,7 @@ elseifstmtoneliner: elseifstmtoneliner elseifstmtoneliner1
| elseifstmtoneliner1
;
-elseifstmtoneliner1: elseif cond then begin stmt end {
+elseifstmtoneliner1: elseif expr tTHEN begin stmt end {
inst then = 0;
WRITE_UINT32(&then, $4 - $1);
(*g_lingo->_currentScript)[$1 + 1] = then; /* thenpart */
@@ -369,13 +358,13 @@ elseifstmtoneliner1: elseif cond then begin stmt end {
;
elseifstmt1: elseifstmtoneliner
- | elseif cond then begin stmtlist end {
+ | elseif expr tTHEN begin stmtlist end {
inst then = 0;
WRITE_UINT32(&then, $5 - $1);
(*g_lingo->_currentScript)[$1 + 1] = then; /* thenpart */
g_lingo->codeLabel($1); }
- | elseif cond thennl begin stmtlist end {
+ | elseif expr thennl begin stmtlist end {
inst then = 0;
WRITE_UINT32(&then, $5 - $1);
(*g_lingo->_currentScript)[$1 + 1] = then; /* thenpart */
@@ -383,12 +372,6 @@ elseifstmt1: elseifstmtoneliner
g_lingo->codeLabel($1); }
;
-cond: begincond expr { g_lingo->code1(STOP); }
- ;
-
-begincond: /* nothing */ { g_lingo->_inCond = true; }
- ;
-
repeatwhile: tREPEAT tWHILE { $$ = g_lingo->code3(g_lingo->c_repeatwhilecode, STOP, STOP); }
;
@@ -425,7 +408,7 @@ stmtlist: begin { $$ = g_lingo->_currentScript->size(); }
| stmtlist stmt
;
-when: tWHEN ID then {
+when: tWHEN ID tTHEN {
$$ = g_lingo->code1(g_lingo->c_whencode);
g_lingo->code1(STOP);
g_lingo->codeString($2->c_str());