aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director/lingo/lingo-lex.cpp')
-rw-r--r--engines/director/lingo/lingo-lex.cpp506
1 files changed, 259 insertions, 247 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp
index 829a423a01..c468801b63 100644
--- a/engines/director/lingo/lingo-lex.cpp
+++ b/engines/director/lingo/lingo-lex.cpp
@@ -364,8 +364,8 @@ static void yy_fatal_error (yyconst char msg[] );
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
-#define YY_NUM_RULES 70
-#define YY_END_OF_BUFFER 71
+#define YY_NUM_RULES 71
+#define YY_END_OF_BUFFER 72
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
@@ -373,36 +373,37 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static yyconst flex_int16_t yy_accept[256] =
+static yyconst flex_int16_t yy_accept[262] =
{ 0,
- 0, 0, 71, 69, 3, 67, 67, 69, 69, 69,
- 66, 66, 66, 65, 66, 66, 63, 63, 63, 63,
- 63, 63, 63, 63, 63, 63, 63, 63, 63, 63,
- 63, 63, 63, 63, 2, 2, 3, 67, 0, 0,
- 0, 0, 0, 68, 4, 62, 1, 64, 65, 61,
- 59, 60, 63, 63, 63, 63, 63, 63, 63, 63,
- 63, 63, 63, 63, 63, 22, 12, 63, 63, 63,
- 63, 63, 63, 63, 63, 63, 35, 36, 63, 38,
- 63, 63, 63, 63, 63, 63, 63, 63, 63, 52,
- 63, 63, 63, 2, 2, 0, 4, 1, 64, 63,
-
- 6, 63, 63, 63, 63, 63, 63, 16, 63, 63,
- 63, 63, 0, 63, 63, 63, 63, 63, 63, 63,
- 31, 63, 63, 34, 63, 63, 63, 42, 63, 44,
- 63, 63, 63, 63, 63, 63, 63, 63, 0, 63,
- 63, 8, 63, 10, 11, 15, 0, 16, 18, 63,
- 63, 63, 0, 63, 63, 25, 26, 27, 28, 63,
- 63, 63, 33, 37, 39, 63, 63, 63, 63, 46,
- 0, 51, 56, 63, 54, 58, 14, 5, 63, 63,
- 16, 16, 63, 19, 63, 21, 63, 63, 29, 63,
- 32, 63, 63, 63, 63, 63, 50, 50, 57, 63,
-
- 0, 7, 63, 16, 63, 20, 63, 63, 30, 63,
- 63, 43, 53, 45, 0, 0, 50, 55, 0, 63,
- 17, 63, 63, 63, 63, 0, 0, 0, 0, 50,
- 13, 9, 23, 63, 63, 41, 0, 0, 0, 50,
- 63, 40, 0, 0, 0, 0, 24, 49, 48, 49,
- 0, 0, 0, 47, 0
+ 0, 0, 72, 70, 3, 68, 68, 70, 70, 70,
+ 67, 67, 67, 66, 67, 67, 64, 64, 64, 64,
+ 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
+ 64, 64, 64, 64, 2, 2, 3, 68, 0, 0,
+ 0, 0, 0, 69, 4, 63, 1, 65, 66, 62,
+ 60, 61, 64, 64, 64, 64, 64, 64, 64, 64,
+ 64, 64, 64, 64, 64, 22, 12, 64, 64, 64,
+ 64, 64, 64, 64, 64, 64, 35, 36, 64, 38,
+ 64, 64, 64, 64, 64, 64, 64, 64, 64, 53,
+ 64, 64, 64, 2, 2, 0, 4, 1, 65, 64,
+
+ 6, 64, 64, 64, 64, 64, 64, 16, 64, 64,
+ 64, 64, 0, 64, 64, 64, 64, 64, 64, 64,
+ 31, 64, 64, 34, 64, 64, 64, 64, 43, 64,
+ 45, 64, 64, 64, 64, 64, 64, 64, 64, 0,
+ 64, 64, 8, 64, 10, 11, 15, 0, 16, 18,
+ 64, 64, 64, 0, 64, 64, 25, 26, 27, 28,
+ 64, 64, 64, 33, 37, 39, 64, 64, 64, 64,
+ 64, 47, 0, 52, 57, 64, 55, 59, 14, 5,
+ 64, 64, 16, 16, 64, 19, 64, 21, 64, 64,
+ 29, 64, 32, 64, 64, 64, 64, 64, 64, 51,
+
+ 51, 58, 64, 0, 7, 64, 16, 64, 20, 64,
+ 64, 30, 64, 64, 64, 44, 54, 46, 0, 0,
+ 51, 56, 0, 64, 17, 64, 64, 64, 64, 64,
+ 0, 0, 0, 0, 51, 13, 9, 23, 64, 64,
+ 41, 42, 0, 0, 0, 51, 64, 40, 0, 0,
+ 0, 0, 24, 50, 49, 50, 0, 0, 0, 48,
+ 0
} ;
static yyconst flex_int32_t yy_ec[256] =
@@ -448,73 +449,75 @@ static yyconst flex_int32_t yy_meta[65] =
5, 5, 5, 5
} ;
-static yyconst flex_int16_t yy_base[267] =
+static yyconst flex_int16_t yy_base[273] =
{ 0,
- 0, 63, 159, 646, 67, 71, 75, 79, 147, 0,
- 646, 133, 126, 54, 70, 94, 65, 67, 65, 61,
+ 0, 63, 159, 660, 67, 71, 75, 79, 147, 0,
+ 660, 133, 126, 54, 70, 94, 65, 67, 65, 61,
71, 87, 72, 0, 103, 81, 119, 109, 135, 118,
- 82, 112, 153, 155, 191, 208, 212, 646, 216, 179,
- 224, 119, 99, 646, 0, 646, 0, 88, 95, 646,
- 646, 646, 0, 113, 96, 105, 159, 169, 194, 172,
+ 82, 112, 153, 155, 191, 208, 212, 660, 216, 179,
+ 224, 119, 99, 660, 0, 660, 0, 88, 95, 660,
+ 660, 660, 0, 113, 96, 105, 159, 169, 194, 172,
188, 199, 215, 218, 201, 88, 0, 203, 218, 212,
212, 224, 213, 226, 211, 216, 0, 0, 223, 0,
- 235, 232, 222, 227, 232, 240, 237, 249, 259, 0,
- 263, 248, 253, 290, 299, 256, 0, 0, 84, 275,
-
- 0, 268, 266, 271, 287, 282, 291, 184, 280, 281,
- 289, 300, 322, 285, 304, 300, 305, 298, 298, 312,
- 0, 313, 297, 0, 313, 305, 309, 0, 326, 0,
- 323, 321, 332, 360, 331, 337, 325, 347, 347, 338,
- 342, 0, 359, 0, 0, 0, 375, 0, 0, 349,
- 361, 368, 357, 373, 361, 0, 0, 0, 0, 366,
- 367, 370, 0, 0, 381, 375, 385, 369, 370, 0,
- 404, 0, 0, 387, 387, 0, 412, 0, 398, 397,
- 0, 0, 391, 0, 399, 646, 401, 397, 0, 412,
- 0, 415, 406, 404, 419, 408, 441, 451, 0, 416,
-
- 447, 0, 429, 0, 424, 0, 448, 447, 0, 451,
- 438, 0, 0, 0, 471, 451, 475, 0, 453, 444,
- 0, 458, 465, 466, 447, 509, 473, 472, 474, 516,
- 646, 0, 0, 454, 476, 0, 482, 518, 494, 526,
- 495, 0, 512, 532, 514, 542, 0, 646, 538, 646,
- 540, 526, 547, 552, 646, 601, 603, 606, 609, 615,
- 620, 625, 628, 633, 635, 640
+ 235, 237, 219, 226, 238, 243, 262, 255, 259, 0,
+ 263, 251, 257, 290, 313, 262, 0, 0, 84, 277,
+
+ 0, 271, 269, 268, 278, 278, 287, 184, 276, 277,
+ 291, 303, 327, 293, 309, 306, 301, 306, 307, 317,
+ 0, 317, 309, 0, 316, 308, 312, 319, 0, 330,
+ 0, 328, 323, 330, 377, 330, 333, 341, 350, 350,
+ 342, 344, 0, 368, 0, 0, 0, 386, 0, 0,
+ 357, 368, 375, 364, 380, 367, 0, 0, 0, 0,
+ 372, 373, 377, 0, 0, 387, 382, 387, 392, 377,
+ 378, 0, 414, 0, 0, 394, 395, 0, 423, 0,
+ 400, 406, 0, 0, 402, 0, 411, 660, 410, 407,
+ 0, 422, 0, 424, 417, 416, 415, 423, 417, 450,
+
+ 456, 0, 424, 474, 0, 425, 0, 417, 0, 445,
+ 449, 0, 461, 446, 448, 0, 0, 0, 488, 466,
+ 482, 0, 463, 462, 0, 470, 475, 476, 468, 463,
+ 526, 487, 487, 488, 530, 660, 0, 0, 482, 494,
+ 0, 0, 495, 541, 508, 547, 503, 0, 523, 546,
+ 529, 553, 0, 660, 557, 660, 561, 531, 562, 566,
+ 660, 615, 617, 620, 623, 629, 634, 639, 642, 647,
+ 649, 654
} ;
-static yyconst flex_int16_t yy_def[267] =
+static yyconst flex_int16_t yy_def[273] =
{ 0,
- 255, 1, 255, 255, 255, 255, 255, 255, 256, 257,
- 255, 255, 255, 255, 255, 255, 258, 258, 258, 258,
- 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 258, 255, 255, 255, 255, 255, 255,
- 255, 255, 256, 255, 259, 255, 260, 255, 255, 255,
- 255, 255, 258, 258, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 255, 255, 255, 259, 260, 255, 258,
-
- 258, 258, 258, 258, 258, 258, 258, 261, 258, 258,
- 258, 258, 255, 258, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 258, 258, 258, 258, 258, 255, 258,
- 258, 258, 258, 258, 258, 258, 262, 263, 258, 258,
- 258, 258, 255, 258, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 258, 258, 258, 258, 258, 258, 258,
- 264, 258, 258, 258, 258, 258, 255, 258, 258, 258,
- 265, 263, 258, 258, 258, 255, 258, 258, 258, 258,
- 258, 258, 258, 258, 258, 258, 264, 264, 258, 258,
-
- 255, 258, 258, 265, 258, 258, 258, 258, 258, 258,
- 258, 258, 258, 258, 255, 255, 264, 258, 255, 258,
- 258, 258, 258, 258, 258, 255, 255, 255, 255, 264,
- 255, 258, 258, 258, 258, 258, 255, 255, 255, 264,
- 258, 258, 255, 266, 255, 255, 258, 255, 266, 255,
- 255, 255, 255, 266, 0, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255
+ 261, 1, 261, 261, 261, 261, 261, 261, 262, 263,
+ 261, 261, 261, 261, 261, 261, 264, 264, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
+ 264, 264, 264, 264, 261, 261, 261, 261, 261, 261,
+ 261, 261, 262, 261, 265, 261, 266, 261, 261, 261,
+ 261, 261, 264, 264, 264, 264, 264, 264, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
+ 264, 264, 264, 261, 261, 261, 265, 266, 261, 264,
+
+ 264, 264, 264, 264, 264, 264, 264, 267, 264, 264,
+ 264, 264, 261, 264, 264, 264, 264, 264, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 264, 261,
+ 264, 264, 264, 264, 264, 264, 264, 268, 269, 264,
+ 264, 264, 264, 261, 264, 264, 264, 264, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
+ 264, 264, 270, 264, 264, 264, 264, 264, 261, 264,
+ 264, 264, 271, 269, 264, 264, 264, 261, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 264, 270,
+
+ 270, 264, 264, 261, 264, 264, 271, 264, 264, 264,
+ 264, 264, 264, 264, 264, 264, 264, 264, 261, 261,
+ 270, 264, 261, 264, 264, 264, 264, 264, 264, 264,
+ 261, 261, 261, 261, 270, 261, 264, 264, 264, 264,
+ 264, 264, 261, 261, 261, 270, 264, 264, 261, 272,
+ 261, 261, 264, 261, 272, 261, 261, 261, 261, 272,
+ 0, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261
} ;
-static yyconst flex_int16_t yy_nxt[711] =
+static yyconst flex_int16_t yy_nxt[725] =
{ 0,
4, 5, 6, 7, 8, 9, 10, 11, 12, 11,
13, 4, 14, 15, 11, 16, 17, 18, 19, 20,
@@ -532,71 +535,73 @@ static yyconst flex_int16_t yy_nxt[711] =
42, 60, 65, 61, 67, 66, 102, 84, 63, 75,
70, 68, 85, 62, 71, 72, 47, 69, 76, 73,
101, 46, 86, 64, 81, 96, 87, 100, 74, 67,
- 82, 102, 44, 83, 75, 68, 77, 85, 255, 255,
+ 82, 102, 44, 83, 75, 68, 77, 85, 261, 261,
72, 69, 76, 78, 73, 79, 86, 80, 81, 96,
87, 100, 74, 88, 82, 103, 89, 83, 91, 92,
- 40, 77, 90, 40, 93, 147, 255, 78, 147, 79,
- 255, 80, 94, 38, 38, 95, 53, 104, 88, 42,
+ 40, 77, 90, 40, 93, 148, 261, 78, 148, 79,
+ 261, 80, 94, 38, 38, 95, 53, 104, 88, 42,
- 103, 89, 255, 91, 92, 107, 90, 108, 93, 95,
+ 103, 89, 261, 91, 92, 107, 90, 108, 93, 95,
38, 38, 95, 37, 38, 38, 39, 39, 38, 38,
39, 104, 105, 109, 42, 40, 41, 41, 40, 107,
- 112, 106, 108, 110, 111, 255, 114, 115, 116, 255,
+ 112, 106, 108, 110, 111, 261, 114, 115, 116, 261,
117, 118, 119, 125, 42, 121, 105, 120, 109, 123,
- 124, 126, 127, 132, 112, 106, 128, 129, 110, 111,
- 114, 115, 122, 116, 117, 118, 130, 119, 125, 42,
- 121, 120, 131, 123, 124, 133, 126, 127, 132, 134,
- 128, 129, 137, 135, 255, 138, 122, 136, 255, 139,
- 130, 94, 38, 38, 95, 140, 131, 141, 142, 133,
-
- 95, 38, 38, 95, 134, 143, 137, 144, 135, 138,
- 145, 146, 136, 139, 149, 150, 151, 152, 255, 154,
- 140, 141, 142, 113, 155, 158, 113, 157, 159, 143,
- 160, 163, 144, 156, 145, 161, 146, 162, 149, 150,
- 151, 164, 152, 154, 165, 166, 167, 168, 175, 155,
- 158, 157, 159, 169, 160, 163, 153, 156, 170, 173,
- 161, 171, 162, 174, 171, 164, 176, 177, 165, 166,
- 178, 167, 168, 175, 179, 180, 147, 169, 183, 147,
- 153, 184, 170, 173, 185, 255, 186, 174, 172, 187,
- 191, 176, 177, 188, 178, 189, 190, 192, 179, 193,
-
- 180, 194, 183, 195, 196, 171, 184, 199, 171, 185,
- 186, 200, 172, 201, 187, 191, 201, 188, 202, 189,
- 190, 203, 192, 205, 193, 206, 194, 195, 196, 207,
- 208, 209, 199, 210, 255, 211, 200, 198, 212, 213,
- 255, 214, 215, 202, 218, 215, 203, 205, 201, 206,
- 216, 201, 215, 207, 208, 215, 209, 220, 210, 211,
- 216, 198, 212, 221, 213, 214, 222, 223, 218, 224,
- 227, 219, 226, 225, 231, 226, 215, 232, 233, 215,
- 236, 220, 217, 234, 216, 229, 235, 221, 241, 237,
- 227, 222, 223, 238, 224, 227, 219, 225, 239, 231,
-
- 228, 232, 242, 233, 236, 229, 217, 230, 234, 229,
- 226, 235, 241, 226, 237, 227, 243, 215, 238, 244,
- 215, 245, 244, 239, 228, 216, 242, 246, 247, 229,
- 246, 230, 248, 244, 250, 216, 244, 255, 228, 255,
- 243, 251, 255, 251, 251, 245, 251, 253, 254, 255,
- 240, 254, 247, 254, 255, 255, 254, 248, 255, 250,
- 255, 227, 228, 255, 255, 255, 255, 255, 255, 252,
- 255, 252, 253, 255, 240, 255, 229, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 227, 255, 255, 255,
- 255, 255, 255, 252, 255, 252, 255, 255, 255, 255,
-
- 229, 43, 43, 255, 43, 43, 43, 45, 45, 53,
- 53, 53, 97, 97, 97, 98, 98, 255, 98, 98,
- 98, 148, 255, 148, 148, 148, 181, 255, 255, 181,
- 181, 182, 182, 182, 197, 255, 255, 197, 204, 204,
- 204, 249, 255, 255, 249, 3, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
-
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255
+ 124, 126, 261, 129, 112, 106, 130, 127, 110, 111,
+ 114, 115, 122, 116, 117, 118, 128, 119, 125, 42,
+ 121, 120, 131, 123, 124, 132, 126, 129, 133, 135,
+ 130, 134, 127, 136, 261, 138, 122, 137, 261, 139,
+ 128, 94, 38, 38, 95, 140, 131, 141, 145, 132,
+
+ 142, 143, 144, 133, 135, 134, 146, 147, 136, 138,
+ 150, 151, 137, 139, 95, 38, 38, 95, 152, 140,
+ 153, 159, 141, 145, 142, 143, 144, 155, 113, 156,
+ 146, 113, 147, 158, 150, 151, 160, 261, 157, 161,
+ 162, 163, 152, 164, 165, 153, 159, 166, 167, 168,
+ 169, 155, 170, 261, 156, 171, 172, 158, 175, 176,
+ 160, 154, 157, 161, 177, 162, 163, 164, 165, 178,
+ 179, 166, 167, 168, 180, 169, 181, 170, 173, 171,
+ 172, 173, 175, 176, 182, 154, 185, 148, 186, 177,
+ 148, 187, 261, 188, 178, 179, 189, 193, 180, 190,
+
+ 181, 191, 192, 194, 261, 174, 195, 196, 197, 182,
+ 185, 198, 199, 186, 202, 173, 187, 188, 173, 203,
+ 205, 189, 193, 190, 204, 191, 192, 204, 194, 174,
+ 206, 195, 196, 197, 208, 198, 199, 209, 210, 202,
+ 211, 212, 213, 217, 203, 205, 214, 201, 215, 216,
+ 218, 219, 222, 224, 219, 206, 225, 219, 208, 220,
+ 219, 209, 210, 226, 211, 220, 212, 213, 217, 227,
+ 214, 201, 215, 216, 218, 204, 222, 224, 204, 228,
+ 225, 229, 230, 219, 236, 232, 219, 221, 226, 231,
+ 238, 220, 231, 239, 227, 237, 240, 261, 223, 261,
+
+ 234, 241, 242, 243, 228, 229, 230, 232, 244, 236,
+ 232, 221, 245, 261, 235, 238, 247, 233, 239, 237,
+ 248, 240, 234, 223, 234, 241, 242, 231, 243, 249,
+ 231, 219, 232, 244, 219, 251, 253, 245, 235, 220,
+ 247, 233, 250, 254, 248, 250, 234, 250, 252, 256,
+ 250, 252, 259, 249, 257, 233, 220, 257, 261, 251,
+ 253, 261, 257, 260, 246, 257, 260, 260, 254, 261,
+ 260, 261, 232, 261, 256, 261, 261, 259, 261, 233,
+ 261, 261, 258, 261, 261, 261, 261, 234, 246, 261,
+ 258, 261, 261, 261, 261, 261, 261, 232, 261, 261,
+
+ 261, 261, 261, 261, 261, 261, 258, 261, 261, 261,
+ 261, 234, 261, 261, 258, 43, 43, 261, 43, 43,
+ 43, 45, 45, 53, 53, 53, 97, 97, 97, 98,
+ 98, 261, 98, 98, 98, 149, 261, 149, 149, 149,
+ 183, 261, 261, 183, 183, 184, 184, 184, 200, 261,
+ 261, 200, 207, 207, 207, 255, 261, 261, 255, 3,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261
} ;
-static yyconst flex_int16_t yy_chk[711] =
+static yyconst flex_int16_t yy_chk[725] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -625,57 +630,59 @@ static yyconst flex_int16_t yy_chk[711] =
39, 58, 59, 62, 40, 41, 41, 41, 41, 60,
65, 59, 61, 63, 64, 0, 68, 68, 69, 0,
70, 71, 72, 79, 41, 74, 59, 73, 62, 75,
- 76, 81, 82, 87, 65, 59, 83, 84, 63, 64,
- 68, 68, 74, 69, 70, 71, 85, 72, 79, 41,
- 74, 73, 86, 75, 76, 88, 81, 82, 87, 89,
- 83, 84, 92, 91, 0, 93, 74, 91, 0, 96,
- 85, 94, 94, 94, 94, 100, 86, 102, 103, 88,
-
- 95, 95, 95, 95, 89, 104, 92, 105, 91, 93,
- 106, 107, 91, 96, 109, 110, 111, 112, 0, 114,
- 100, 102, 103, 113, 115, 117, 113, 116, 118, 104,
- 119, 123, 105, 115, 106, 120, 107, 122, 109, 110,
- 111, 125, 112, 114, 126, 127, 129, 131, 137, 115,
- 117, 116, 118, 132, 119, 123, 113, 115, 133, 135,
- 120, 134, 122, 136, 134, 125, 138, 139, 126, 127,
- 140, 129, 131, 137, 141, 143, 147, 132, 150, 147,
- 113, 151, 133, 135, 152, 0, 153, 136, 134, 154,
- 162, 138, 139, 155, 140, 160, 161, 165, 141, 166,
-
- 143, 167, 150, 168, 169, 171, 151, 174, 171, 152,
- 153, 175, 134, 177, 154, 162, 177, 155, 179, 160,
- 161, 180, 165, 183, 166, 185, 167, 168, 169, 187,
- 188, 190, 174, 192, 0, 193, 175, 171, 194, 195,
- 0, 196, 197, 179, 200, 197, 180, 183, 201, 185,
- 197, 201, 198, 187, 188, 198, 190, 203, 192, 193,
- 198, 171, 194, 205, 195, 196, 207, 208, 200, 210,
- 216, 201, 215, 211, 219, 215, 217, 220, 222, 217,
- 225, 203, 198, 223, 217, 216, 224, 205, 234, 227,
- 215, 207, 208, 228, 210, 216, 201, 211, 229, 219,
-
- 215, 220, 235, 222, 225, 215, 198, 217, 223, 216,
- 226, 224, 234, 226, 227, 215, 237, 230, 228, 238,
- 230, 239, 238, 229, 215, 230, 235, 240, 241, 215,
- 240, 217, 243, 244, 245, 240, 244, 0, 226, 249,
- 237, 251, 249, 246, 251, 239, 246, 252, 253, 0,
- 230, 253, 241, 254, 0, 0, 254, 243, 0, 245,
- 0, 246, 226, 0, 0, 0, 0, 0, 0, 251,
- 0, 246, 252, 0, 230, 0, 246, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 246, 0, 0, 0,
- 0, 0, 0, 251, 0, 246, 0, 0, 0, 0,
-
- 246, 256, 256, 0, 256, 256, 256, 257, 257, 258,
- 258, 258, 259, 259, 259, 260, 260, 0, 260, 260,
- 260, 261, 0, 261, 261, 261, 262, 0, 0, 262,
- 262, 263, 263, 263, 264, 0, 0, 264, 265, 265,
- 265, 266, 0, 0, 266, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
-
- 255, 255, 255, 255, 255, 255, 255, 255, 255, 255
+ 76, 81, 0, 83, 65, 59, 84, 82, 63, 64,
+ 68, 68, 74, 69, 70, 71, 82, 72, 79, 41,
+ 74, 73, 85, 75, 76, 86, 81, 83, 87, 89,
+ 84, 88, 82, 91, 0, 92, 74, 91, 0, 93,
+ 82, 94, 94, 94, 94, 96, 85, 100, 105, 86,
+
+ 102, 103, 104, 87, 89, 88, 106, 107, 91, 92,
+ 109, 110, 91, 93, 95, 95, 95, 95, 111, 96,
+ 112, 117, 100, 105, 102, 103, 104, 114, 113, 115,
+ 106, 113, 107, 116, 109, 110, 118, 0, 115, 119,
+ 120, 122, 111, 123, 125, 112, 117, 126, 127, 128,
+ 130, 114, 132, 0, 115, 133, 134, 116, 136, 137,
+ 118, 113, 115, 119, 138, 120, 122, 123, 125, 139,
+ 140, 126, 127, 128, 141, 130, 142, 132, 135, 133,
+ 134, 135, 136, 137, 144, 113, 151, 148, 152, 138,
+ 148, 153, 0, 154, 139, 140, 155, 163, 141, 156,
+
+ 142, 161, 162, 166, 0, 135, 167, 168, 169, 144,
+ 151, 170, 171, 152, 176, 173, 153, 154, 173, 177,
+ 181, 155, 163, 156, 179, 161, 162, 179, 166, 135,
+ 182, 167, 168, 169, 185, 170, 171, 187, 189, 176,
+ 190, 192, 194, 198, 177, 181, 195, 173, 196, 197,
+ 199, 200, 203, 206, 200, 182, 208, 201, 185, 200,
+ 201, 187, 189, 210, 190, 201, 192, 194, 198, 211,
+ 195, 173, 196, 197, 199, 204, 203, 206, 204, 213,
+ 208, 214, 215, 221, 223, 220, 221, 201, 210, 219,
+ 226, 221, 219, 227, 211, 224, 228, 0, 204, 0,
+
+ 220, 229, 230, 232, 213, 214, 215, 219, 233, 223,
+ 220, 201, 234, 0, 221, 226, 239, 219, 227, 224,
+ 240, 228, 219, 204, 220, 229, 230, 231, 232, 243,
+ 231, 235, 219, 233, 235, 245, 247, 234, 221, 235,
+ 239, 219, 244, 249, 240, 244, 219, 250, 246, 251,
+ 250, 246, 258, 243, 252, 231, 246, 252, 255, 245,
+ 247, 255, 257, 259, 235, 257, 259, 260, 249, 0,
+ 260, 0, 252, 0, 251, 0, 0, 258, 0, 231,
+ 0, 0, 252, 0, 0, 0, 0, 252, 235, 0,
+ 257, 0, 0, 0, 0, 0, 0, 252, 0, 0,
+
+ 0, 0, 0, 0, 0, 0, 252, 0, 0, 0,
+ 0, 252, 0, 0, 257, 262, 262, 0, 262, 262,
+ 262, 263, 263, 264, 264, 264, 265, 265, 265, 266,
+ 266, 0, 266, 266, 266, 267, 0, 267, 267, 267,
+ 268, 0, 0, 268, 268, 269, 269, 269, 270, 0,
+ 0, 270, 271, 271, 271, 272, 0, 0, 272, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
+ 261, 261, 261, 261
} ;
static yy_state_type yy_last_accepting_state;
@@ -760,7 +767,7 @@ static int checkImmediate(int token) {
return token;
}
-#line 764 "engines/director/lingo/lingo-lex.cpp"
+#line 771 "engines/director/lingo/lingo-lex.cpp"
#define INITIAL 0
@@ -946,7 +953,7 @@ YY_DECL
#line 82 "engines/director/lingo/lingo-lex.l"
-#line 950 "engines/director/lingo/lingo-lex.cpp"
+#line 957 "engines/director/lingo/lingo-lex.cpp"
if ( !(yy_init) )
{
@@ -1000,13 +1007,13 @@ yy_match:
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 256 )
+ if ( yy_current_state >= 262 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
- while ( yy_base[yy_current_state] != 646 );
+ while ( yy_base[yy_current_state] != 660 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
@@ -1250,31 +1257,36 @@ YY_RULE_SETUP
case 42:
YY_RULE_SETUP
#line 137 "engines/director/lingo/lingo-lex.l"
-{ count(); return tPUT; }
+{ count(); return tPROPERTY; } // D4
YY_BREAK
case 43:
YY_RULE_SETUP
#line 138 "engines/director/lingo/lingo-lex.l"
-{ count(); return checkImmediate(tREPEAT); }
+{ count(); return tPUT; }
YY_BREAK
case 44:
YY_RULE_SETUP
#line 139 "engines/director/lingo/lingo-lex.l"
-{ count(); return tSET; }
+{ count(); return checkImmediate(tREPEAT); }
YY_BREAK
case 45:
YY_RULE_SETUP
#line 140 "engines/director/lingo/lingo-lex.l"
-{ count(); return tSTARTS; }
+{ count(); return tSET; }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 141 "engines/director/lingo/lingo-lex.l"
-{ count(); return tTELL; }
+{ count(); return tSTARTS; }
YY_BREAK
case 47:
YY_RULE_SETUP
#line 142 "engines/director/lingo/lingo-lex.l"
+{ count(); return tTELL; }
+ YY_BREAK
+case 48:
+YY_RULE_SETUP
+#line 143 "engines/director/lingo/lingo-lex.l"
{
count();
@@ -1287,9 +1299,9 @@ YY_RULE_SETUP
return THEENTITYWITHID;
}
YY_BREAK
-case 48:
+case 49:
YY_RULE_SETUP
-#line 153 "engines/director/lingo/lingo-lex.l"
+#line 154 "engines/director/lingo/lingo-lex.l"
{
count();
@@ -1334,9 +1346,9 @@ YY_RULE_SETUP
warning("Unhandled the entity %s", ptr);
}
YY_BREAK
-case 49:
+case 50:
YY_RULE_SETUP
-#line 196 "engines/director/lingo/lingo-lex.l"
+#line 197 "engines/director/lingo/lingo-lex.l"
{
count();
@@ -1372,9 +1384,9 @@ YY_RULE_SETUP
return THEENTITY;
}
YY_BREAK
-case 50:
+case 51:
YY_RULE_SETUP
-#line 230 "engines/director/lingo/lingo-lex.l"
+#line 231 "engines/director/lingo/lingo-lex.l"
{
count();
@@ -1398,69 +1410,69 @@ YY_RULE_SETUP
warning("Unhandled the entity %s", ptr);
}
YY_BREAK
-case 51:
-YY_RULE_SETUP
-#line 252 "engines/director/lingo/lingo-lex.l"
-{ count(); return tTHEN; }
- YY_BREAK
case 52:
YY_RULE_SETUP
#line 253 "engines/director/lingo/lingo-lex.l"
-{ count(); return tTO; }
+{ count(); return tTHEN; }
YY_BREAK
case 53:
YY_RULE_SETUP
#line 254 "engines/director/lingo/lingo-lex.l"
-{ count(); return tSPRITE; }
+{ count(); return tTO; }
YY_BREAK
case 54:
YY_RULE_SETUP
#line 255 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWITH; }
+{ count(); return tSPRITE; }
YY_BREAK
case 55:
YY_RULE_SETUP
#line 256 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWITHIN; }
+{ count(); return tWITH; }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 257 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWHEN; }
+{ count(); return tWITHIN; }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 258 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWHILE; }
+{ count(); return tWHEN; }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 259 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWORD; }
+{ count(); return tWHILE; }
YY_BREAK
case 59:
YY_RULE_SETUP
-#line 261 "engines/director/lingo/lingo-lex.l"
-{ count(); return tNEQ; }
+#line 260 "engines/director/lingo/lingo-lex.l"
+{ count(); return tWORD; }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 262 "engines/director/lingo/lingo-lex.l"
-{ count(); return tGE; }
+{ count(); return tNEQ; }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 263 "engines/director/lingo/lingo-lex.l"
-{ count(); return tLE; }
+{ count(); return tGE; }
YY_BREAK
case 62:
YY_RULE_SETUP
#line 264 "engines/director/lingo/lingo-lex.l"
-{ count(); return tCONCAT; }
+{ count(); return tLE; }
YY_BREAK
case 63:
YY_RULE_SETUP
-#line 266 "engines/director/lingo/lingo-lex.l"
+#line 265 "engines/director/lingo/lingo-lex.l"
+{ count(); return tCONCAT; }
+ YY_BREAK
+case 64:
+YY_RULE_SETUP
+#line 267 "engines/director/lingo/lingo-lex.l"
{
count();
yylval.s = new Common::String(yytext);
@@ -1504,43 +1516,43 @@ YY_RULE_SETUP
return ID;
}
YY_BREAK
-case 64:
-YY_RULE_SETUP
-#line 308 "engines/director/lingo/lingo-lex.l"
-{ count(); yylval.f = atof(yytext); return FLOAT; }
- YY_BREAK
case 65:
YY_RULE_SETUP
#line 309 "engines/director/lingo/lingo-lex.l"
-{ count(); yylval.i = strtol(yytext, NULL, 10); return INT; }
+{ count(); yylval.f = atof(yytext); return FLOAT; }
YY_BREAK
case 66:
YY_RULE_SETUP
#line 310 "engines/director/lingo/lingo-lex.l"
-{ count(); return *yytext; }
+{ count(); yylval.i = strtol(yytext, NULL, 10); return INT; }
YY_BREAK
case 67:
-/* rule 67 can match eol */
YY_RULE_SETUP
#line 311 "engines/director/lingo/lingo-lex.l"
-{ return '\n'; }
+{ count(); return *yytext; }
YY_BREAK
case 68:
+/* rule 68 can match eol */
YY_RULE_SETUP
#line 312 "engines/director/lingo/lingo-lex.l"
-{ count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; }
+{ return '\n'; }
YY_BREAK
case 69:
YY_RULE_SETUP
#line 313 "engines/director/lingo/lingo-lex.l"
-
+{ count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; }
YY_BREAK
case 70:
YY_RULE_SETUP
-#line 315 "engines/director/lingo/lingo-lex.l"
+#line 314 "engines/director/lingo/lingo-lex.l"
+
+ YY_BREAK
+case 71:
+YY_RULE_SETUP
+#line 316 "engines/director/lingo/lingo-lex.l"
ECHO;
YY_BREAK
-#line 1544 "engines/director/lingo/lingo-lex.cpp"
+#line 1556 "engines/director/lingo/lingo-lex.cpp"
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1833,7 +1845,7 @@ static int yy_get_next_buffer (void)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 256 )
+ if ( yy_current_state >= 262 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1861,11 +1873,11 @@ static int yy_get_next_buffer (void)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 256 )
+ if ( yy_current_state >= 262 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 255);
+ yy_is_jam = (yy_current_state == 261);
return yy_is_jam ? 0 : yy_current_state;
}
@@ -2503,7 +2515,7 @@ void yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
-#line 315 "engines/director/lingo/lingo-lex.l"
+#line 316 "engines/director/lingo/lingo-lex.l"