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.cpp463
1 files changed, 240 insertions, 223 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp
index b40ca07fcb..111574c6e9 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 48
-#define YY_END_OF_BUFFER 49
+#define YY_NUM_RULES 50
+#define YY_END_OF_BUFFER 51
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
@@ -373,25 +373,26 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static yyconst flex_int16_t yy_accept[159] =
+static yyconst flex_int16_t yy_accept[170] =
{ 0,
- 0, 0, 49, 47, 3, 45, 45, 47, 47, 44,
- 44, 44, 43, 44, 44, 41, 41, 41, 41, 41,
- 41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
- 41, 41, 2, 2, 3, 45, 0, 0, 45, 0,
- 0, 46, 40, 1, 42, 43, 39, 37, 38, 41,
- 41, 41, 41, 41, 41, 41, 41, 41, 15, 7,
- 41, 41, 41, 41, 41, 41, 41, 24, 25, 41,
- 41, 41, 41, 41, 41, 34, 41, 41, 2, 2,
- 0, 1, 42, 4, 41, 41, 41, 11, 41, 41,
- 41, 41, 41, 41, 19, 41, 41, 23, 41, 27,
-
- 41, 29, 41, 41, 41, 41, 0, 41, 6, 10,
- 12, 41, 41, 16, 17, 41, 41, 41, 22, 41,
- 41, 41, 0, 33, 41, 35, 9, 41, 13, 41,
- 18, 41, 21, 41, 41, 41, 32, 36, 0, 41,
- 14, 41, 41, 28, 30, 0, 0, 41, 20, 41,
- 0, 8, 5, 26, 0, 0, 31, 0
+ 0, 0, 51, 49, 3, 47, 47, 49, 49, 46,
+ 46, 46, 45, 46, 46, 43, 43, 43, 43, 43,
+ 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
+ 43, 43, 2, 2, 3, 47, 0, 0, 47, 0,
+ 0, 48, 42, 1, 44, 45, 41, 39, 40, 43,
+ 43, 43, 43, 43, 43, 43, 43, 43, 43, 16,
+ 7, 43, 43, 43, 43, 43, 43, 43, 43, 26,
+ 27, 43, 43, 43, 43, 43, 43, 36, 43, 43,
+ 2, 2, 0, 1, 44, 4, 43, 43, 43, 11,
+ 43, 43, 43, 43, 43, 43, 43, 20, 43, 43,
+
+ 43, 25, 43, 29, 43, 31, 43, 43, 43, 43,
+ 0, 43, 6, 10, 13, 43, 43, 43, 17, 18,
+ 43, 43, 43, 43, 24, 43, 43, 43, 0, 35,
+ 43, 37, 9, 43, 43, 14, 43, 19, 43, 43,
+ 23, 43, 43, 43, 34, 38, 0, 43, 43, 15,
+ 43, 22, 43, 30, 32, 0, 0, 43, 12, 21,
+ 43, 0, 8, 5, 28, 0, 0, 33, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
@@ -404,12 +405,12 @@ static yyconst flex_int32_t yy_ec[256] =
11, 11, 11, 11, 11, 11, 11, 7, 1, 12,
13, 14, 1, 1, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 24, 25, 26, 27, 28, 29,
- 24, 30, 31, 32, 33, 34, 35, 36, 24, 24,
- 1, 1, 1, 7, 37, 1, 38, 39, 40, 41,
+ 24, 30, 31, 32, 33, 34, 35, 36, 37, 24,
+ 1, 1, 1, 7, 38, 1, 39, 40, 41, 42,
- 42, 43, 44, 45, 46, 24, 24, 47, 48, 49,
- 50, 51, 24, 52, 53, 54, 55, 56, 57, 58,
- 24, 24, 1, 1, 1, 1, 1, 1, 1, 1,
+ 43, 44, 45, 46, 47, 24, 24, 48, 49, 50,
+ 51, 52, 24, 53, 54, 55, 56, 57, 58, 59,
+ 60, 24, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -426,166 +427,172 @@ static yyconst flex_int32_t yy_ec[256] =
1, 1, 1, 1, 1
} ;
-static yyconst flex_int32_t yy_meta[59] =
+static yyconst flex_int32_t yy_meta[61] =
{ 0,
1, 2, 3, 4, 2, 1, 1, 1, 1, 1,
5, 1, 1, 1, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 5, 6, 6, 6,
+ 6, 6, 6, 6, 6, 6, 6, 5, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6
+ 6, 6, 6, 6, 6, 6, 6, 6, 6, 6
} ;
-static yyconst flex_int16_t yy_base[164] =
+static yyconst flex_int16_t yy_base[175] =
{ 0,
- 0, 57, 188, 395, 61, 65, 69, 73, 153, 395,
- 137, 91, 50, 66, 85, 54, 0, 54, 55, 65,
- 56, 66, 75, 59, 82, 87, 97, 95, 77, 102,
- 108, 116, 161, 165, 169, 138, 173, 141, 177, 101,
- 87, 395, 395, 0, 78, 141, 395, 395, 395, 0,
- 113, 106, 100, 153, 167, 163, 172, 161, 0, 0,
- 158, 163, 175, 170, 161, 162, 167, 0, 0, 181,
- 170, 174, 172, 190, 188, 0, 191, 186, 229, 239,
- 196, 0, 74, 0, 197, 208, 203, 0, 204, 212,
- 223, 218, 218, 218, 215, 229, 222, 0, 221, 0,
-
- 237, 0, 229, 259, 238, 243, 247, 252, 0, 0,
- 0, 252, 258, 0, 0, 250, 259, 261, 0, 259,
- 268, 255, 192, 0, 265, 0, 290, 268, 0, 268,
- 0, 275, 0, 273, 270, 273, 308, 0, 314, 284,
- 0, 280, 284, 0, 0, 320, 298, 289, 0, 296,
- 308, 395, 0, 0, 327, 333, 338, 395, 370, 372,
- 378, 383, 388
+ 0, 59, 356, 417, 63, 67, 71, 75, 346, 417,
+ 343, 181, 52, 68, 132, 56, 0, 56, 57, 67,
+ 72, 68, 68, 69, 112, 70, 79, 103, 81, 103,
+ 106, 115, 139, 145, 162, 101, 166, 170, 174, 135,
+ 133, 417, 417, 0, 90, 163, 417, 417, 417, 0,
+ 112, 153, 146, 151, 166, 162, 169, 172, 163, 0,
+ 0, 160, 167, 171, 173, 166, 165, 164, 169, 0,
+ 0, 183, 174, 178, 184, 204, 206, 0, 204, 199,
+ 230, 242, 205, 0, 80, 0, 205, 211, 209, 0,
+ 208, 209, 216, 232, 222, 224, 225, 221, 235, 235,
+
+ 230, 0, 232, 0, 248, 0, 239, 266, 249, 248,
+ 256, 262, 0, 0, 0, 252, 264, 269, 0, 0,
+ 258, 272, 262, 269, 0, 272, 281, 266, 192, 0,
+ 281, 0, 300, 281, 276, 0, 285, 0, 291, 297,
+ 0, 289, 286, 291, 321, 0, 325, 304, 295, 0,
+ 302, 0, 302, 0, 0, 341, 305, 305, 0, 0,
+ 306, 322, 417, 0, 0, 342, 348, 359, 417, 392,
+ 394, 400, 405, 410
} ;
-static yyconst flex_int16_t yy_def[164] =
+static yyconst flex_int16_t yy_def[175] =
{ 0,
- 158, 1, 158, 158, 158, 158, 158, 158, 159, 158,
- 158, 158, 158, 158, 158, 160, 160, 160, 160, 160,
- 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
- 160, 160, 158, 158, 158, 158, 158, 158, 158, 158,
- 159, 158, 158, 161, 158, 158, 158, 158, 158, 160,
- 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
- 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
- 160, 160, 160, 160, 160, 160, 160, 160, 158, 158,
- 158, 161, 158, 160, 160, 160, 160, 160, 160, 160,
- 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
-
- 160, 160, 160, 160, 160, 160, 158, 160, 160, 160,
- 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
- 160, 160, 162, 160, 160, 160, 158, 160, 160, 160,
- 160, 160, 160, 160, 160, 160, 162, 160, 158, 160,
- 160, 160, 160, 160, 160, 158, 158, 160, 160, 160,
- 158, 158, 160, 160, 158, 163, 163, 0, 158, 158,
- 158, 158, 158
+ 169, 1, 169, 169, 169, 169, 169, 169, 170, 169,
+ 169, 169, 169, 169, 169, 171, 171, 171, 171, 171,
+ 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
+ 171, 171, 169, 169, 169, 169, 169, 169, 169, 169,
+ 170, 169, 169, 172, 169, 169, 169, 169, 169, 171,
+ 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
+ 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
+ 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
+ 169, 169, 169, 172, 169, 171, 171, 171, 171, 171,
+ 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
+
+ 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
+ 169, 171, 171, 171, 171, 171, 171, 171, 171, 171,
+ 171, 171, 171, 171, 171, 171, 171, 171, 173, 171,
+ 171, 171, 169, 171, 171, 171, 171, 171, 171, 171,
+ 171, 171, 171, 171, 173, 171, 169, 171, 171, 171,
+ 171, 171, 171, 171, 171, 169, 169, 171, 171, 171,
+ 171, 169, 169, 171, 171, 169, 174, 174, 0, 169,
+ 169, 169, 169, 169
} ;
-static yyconst flex_int16_t yy_nxt[454] =
+static yyconst flex_int16_t yy_nxt[478] =
{ 0,
4, 5, 6, 7, 8, 9, 10, 11, 12, 4,
13, 14, 10, 15, 16, 17, 18, 19, 20, 21,
22, 17, 23, 17, 24, 25, 26, 27, 28, 29,
- 30, 31, 17, 17, 32, 17, 17, 16, 17, 18,
- 19, 20, 21, 22, 17, 23, 24, 25, 26, 27,
- 28, 29, 30, 31, 17, 17, 32, 17, 33, 45,
- 46, 34, 35, 36, 36, 37, 38, 39, 39, 38,
- 38, 39, 39, 38, 37, 36, 36, 37, 47, 48,
- 51, 52, 53, 40, 83, 57, 62, 40, 83, 54,
- 58, 55, 42, 59, 60, 72, 63, 49, 64, 44,
-
- 56, 61, 51, 52, 53, 66, 40, 57, 62, 65,
- 40, 54, 58, 55, 67, 59, 68, 60, 72, 63,
- 73, 64, 56, 61, 70, 81, 69, 71, 66, 75,
- 84, 65, 85, 74, 86, 76, 67, 77, 78, 68,
- 36, 36, 38, 73, 43, 38, 70, 81, 69, 71,
- 45, 46, 75, 84, 85, 74, 86, 76, 42, 40,
- 77, 78, 79, 36, 36, 80, 80, 36, 36, 80,
- 35, 36, 36, 37, 37, 36, 36, 37, 38, 39,
- 39, 38, 40, 87, 88, 89, 90, 158, 91, 92,
- 93, 94, 95, 123, 96, 40, 123, 97, 98, 99,
-
- 158, 100, 101, 102, 103, 87, 104, 88, 89, 90,
- 91, 92, 93, 105, 94, 95, 96, 106, 40, 97,
- 98, 110, 99, 100, 101, 102, 107, 103, 108, 104,
- 79, 36, 36, 80, 109, 111, 105, 112, 113, 106,
- 80, 36, 36, 80, 110, 114, 115, 116, 107, 117,
- 108, 118, 158, 119, 120, 121, 109, 111, 122, 112,
- 123, 113, 125, 123, 126, 127, 128, 114, 115, 116,
- 129, 117, 130, 132, 118, 119, 120, 131, 121, 133,
- 122, 134, 135, 138, 125, 124, 136, 126, 127, 128,
- 140, 139, 141, 129, 139, 130, 132, 142, 158, 131,
-
- 143, 144, 133, 145, 134, 135, 138, 124, 136, 146,
- 148, 149, 146, 140, 141, 139, 150, 152, 139, 153,
- 142, 146, 143, 144, 146, 145, 154, 155, 156, 158,
- 158, 156, 148, 149, 156, 158, 147, 156, 150, 158,
- 152, 153, 158, 158, 158, 158, 158, 151, 154, 158,
- 155, 158, 158, 158, 158, 158, 158, 158, 158, 147,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 151,
- 41, 41, 158, 41, 41, 41, 50, 50, 82, 82,
- 158, 158, 82, 82, 137, 158, 158, 158, 137, 157,
- 158, 158, 158, 157, 3, 158, 158, 158, 158, 158,
-
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158
+ 30, 31, 17, 17, 32, 17, 17, 17, 16, 17,
+ 18, 19, 20, 21, 22, 17, 23, 24, 25, 26,
+ 27, 28, 29, 30, 31, 17, 17, 32, 17, 17,
+ 33, 45, 46, 34, 35, 36, 36, 37, 38, 39,
+ 39, 38, 38, 39, 39, 38, 37, 36, 36, 37,
+ 47, 48, 51, 52, 53, 40, 57, 61, 68, 40,
+ 85, 54, 59, 55, 62, 60, 63, 69, 70, 74,
+
+ 85, 58, 56, 36, 36, 51, 52, 53, 71, 40,
+ 57, 61, 68, 40, 54, 59, 55, 62, 60, 63,
+ 69, 75, 70, 74, 58, 56, 64, 77, 65, 86,
+ 66, 71, 72, 78, 76, 73, 79, 80, 42, 67,
+ 81, 36, 36, 82, 49, 75, 82, 36, 36, 82,
+ 64, 77, 65, 86, 66, 72, 78, 76, 73, 83,
+ 79, 80, 67, 35, 36, 36, 37, 37, 36, 36,
+ 37, 38, 45, 46, 38, 38, 39, 39, 38, 87,
+ 88, 89, 83, 90, 91, 92, 93, 97, 40, 44,
+ 94, 95, 40, 129, 96, 98, 129, 99, 100, 101,
+
+ 102, 103, 87, 88, 89, 104, 105, 90, 91, 92,
+ 93, 97, 40, 94, 95, 106, 40, 96, 107, 98,
+ 99, 100, 101, 102, 108, 103, 109, 114, 104, 105,
+ 110, 81, 36, 36, 82, 111, 112, 113, 106, 115,
+ 116, 117, 107, 82, 36, 36, 82, 118, 108, 119,
+ 109, 114, 120, 110, 121, 122, 123, 124, 111, 112,
+ 113, 125, 115, 116, 117, 126, 127, 129, 128, 132,
+ 129, 118, 119, 131, 133, 120, 134, 121, 122, 135,
+ 123, 124, 136, 137, 125, 138, 139, 141, 126, 140,
+ 127, 128, 130, 132, 142, 143, 131, 144, 133, 146,
+
+ 134, 147, 135, 148, 147, 149, 136, 137, 138, 150,
+ 139, 141, 140, 151, 152, 130, 153, 154, 142, 143,
+ 144, 155, 156, 146, 163, 156, 147, 148, 149, 147,
+ 158, 159, 150, 160, 161, 164, 165, 151, 152, 153,
+ 154, 166, 156, 167, 155, 156, 167, 157, 163, 167,
+ 43, 42, 167, 158, 159, 169, 160, 161, 164, 165,
+ 169, 169, 169, 169, 169, 166, 169, 169, 162, 169,
+ 169, 157, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 162, 41, 41, 169, 41, 41, 41, 50, 50,
+
+ 84, 84, 169, 169, 84, 84, 145, 169, 169, 169,
+ 145, 168, 169, 169, 169, 168, 3, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169
} ;
-static yyconst flex_int16_t yy_chk[454] =
+static yyconst flex_int16_t yy_chk[478] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 13,
- 13, 2, 5, 5, 5, 5, 6, 6, 6, 6,
- 7, 7, 7, 7, 8, 8, 8, 8, 14, 14,
- 16, 18, 19, 6, 83, 21, 24, 7, 45, 20,
- 22, 20, 41, 22, 23, 29, 25, 15, 25, 12,
-
- 20, 23, 16, 18, 19, 26, 6, 21, 24, 25,
- 7, 20, 22, 20, 26, 22, 27, 23, 29, 25,
- 30, 25, 20, 23, 28, 40, 27, 28, 26, 31,
- 51, 25, 52, 30, 53, 31, 26, 32, 32, 27,
- 36, 36, 38, 30, 11, 38, 28, 40, 27, 28,
- 46, 46, 31, 51, 52, 30, 53, 31, 9, 38,
- 32, 32, 33, 33, 33, 33, 34, 34, 34, 34,
- 35, 35, 35, 35, 37, 37, 37, 37, 39, 39,
- 39, 39, 38, 54, 55, 56, 57, 3, 58, 61,
- 62, 63, 64, 123, 65, 39, 123, 66, 67, 70,
-
- 0, 71, 72, 73, 74, 54, 75, 55, 56, 57,
- 58, 61, 62, 77, 63, 64, 65, 78, 39, 66,
- 67, 87, 70, 71, 72, 73, 81, 74, 85, 75,
- 79, 79, 79, 79, 86, 89, 77, 90, 91, 78,
- 80, 80, 80, 80, 87, 92, 93, 94, 81, 95,
- 85, 96, 0, 97, 99, 101, 86, 89, 103, 90,
- 104, 91, 105, 104, 106, 107, 108, 92, 93, 94,
- 112, 95, 113, 117, 96, 97, 99, 116, 101, 118,
- 103, 120, 121, 125, 105, 104, 122, 106, 107, 108,
- 128, 127, 130, 112, 127, 113, 117, 132, 0, 116,
-
- 134, 135, 118, 136, 120, 121, 125, 104, 122, 137,
- 140, 142, 137, 128, 130, 139, 143, 147, 139, 148,
- 132, 146, 134, 135, 146, 136, 150, 151, 155, 0,
- 0, 155, 140, 142, 156, 0, 139, 156, 143, 157,
- 147, 148, 157, 0, 0, 0, 0, 146, 150, 0,
- 151, 0, 0, 0, 0, 0, 0, 0, 0, 139,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 146,
- 159, 159, 0, 159, 159, 159, 160, 160, 161, 161,
- 0, 0, 161, 161, 162, 0, 0, 0, 162, 163,
- 0, 0, 0, 163, 158, 158, 158, 158, 158, 158,
-
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158, 158, 158, 158, 158, 158, 158, 158,
- 158, 158, 158
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 2, 13, 13, 2, 5, 5, 5, 5, 6, 6,
+ 6, 6, 7, 7, 7, 7, 8, 8, 8, 8,
+ 14, 14, 16, 18, 19, 6, 21, 23, 26, 7,
+ 85, 20, 22, 20, 23, 22, 24, 26, 27, 29,
+
+ 45, 21, 20, 36, 36, 16, 18, 19, 27, 6,
+ 21, 23, 26, 7, 20, 22, 20, 23, 22, 24,
+ 26, 30, 27, 29, 21, 20, 25, 31, 25, 51,
+ 25, 27, 28, 31, 30, 28, 32, 32, 41, 25,
+ 33, 33, 33, 33, 15, 30, 34, 34, 34, 34,
+ 25, 31, 25, 51, 25, 28, 31, 30, 28, 40,
+ 32, 32, 25, 35, 35, 35, 35, 37, 37, 37,
+ 37, 38, 46, 46, 38, 39, 39, 39, 39, 52,
+ 53, 54, 40, 55, 56, 57, 58, 64, 38, 12,
+ 59, 62, 39, 129, 63, 65, 129, 66, 67, 68,
+
+ 69, 72, 52, 53, 54, 73, 74, 55, 56, 57,
+ 58, 64, 38, 59, 62, 75, 39, 63, 76, 65,
+ 66, 67, 68, 69, 77, 72, 79, 89, 73, 74,
+ 80, 81, 81, 81, 81, 83, 87, 88, 75, 91,
+ 92, 93, 76, 82, 82, 82, 82, 94, 77, 95,
+ 79, 89, 96, 80, 97, 98, 99, 100, 83, 87,
+ 88, 101, 91, 92, 93, 103, 105, 108, 107, 110,
+ 108, 94, 95, 109, 111, 96, 112, 97, 98, 116,
+ 99, 100, 117, 118, 101, 121, 122, 124, 103, 123,
+ 105, 107, 108, 110, 126, 127, 109, 128, 111, 131,
+
+ 112, 133, 116, 134, 133, 135, 117, 118, 121, 137,
+ 122, 124, 123, 139, 140, 108, 142, 143, 126, 127,
+ 128, 144, 145, 131, 157, 145, 147, 134, 135, 147,
+ 148, 149, 137, 151, 153, 158, 161, 139, 140, 142,
+ 143, 162, 156, 166, 144, 156, 166, 147, 157, 167,
+ 11, 9, 167, 148, 149, 3, 151, 153, 158, 161,
+ 168, 0, 0, 168, 0, 162, 0, 0, 156, 0,
+ 0, 147, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 156, 170, 170, 0, 170, 170, 170, 171, 171,
+
+ 172, 172, 0, 0, 172, 172, 173, 0, 0, 0,
+ 173, 174, 0, 0, 0, 174, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
+ 169, 169, 169, 169, 169, 169, 169
} ;
static yy_state_type yy_last_accepting_state;
@@ -650,7 +657,7 @@ static void countnl() {
g_lingo->_colnumber = strlen(p);
}
-#line 654 "engines/director/lingo/lingo-lex.cpp"
+#line 661 "engines/director/lingo/lingo-lex.cpp"
#define INITIAL 0
@@ -838,7 +845,7 @@ YY_DECL
#line 60 "engines/director/lingo/lingo-lex.l"
-#line 842 "engines/director/lingo/lingo-lex.cpp"
+#line 849 "engines/director/lingo/lingo-lex.cpp"
if ( !(yy_init) )
{
@@ -892,13 +899,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 >= 159 )
+ if ( yy_current_state >= 170 )
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] != 395 );
+ while ( yy_base[yy_current_state] != 417 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
@@ -982,101 +989,111 @@ YY_RULE_SETUP
case 12:
YY_RULE_SETUP
#line 74 "engines/director/lingo/lingo-lex.l"
-{ count(); return tEXIT; }
+{ count(); return tFACTORY; }
YY_BREAK
case 13:
YY_RULE_SETUP
#line 75 "engines/director/lingo/lingo-lex.l"
-{ count(); return tFRAME; }
+{ count(); return tEXIT; }
YY_BREAK
case 14:
YY_RULE_SETUP
#line 76 "engines/director/lingo/lingo-lex.l"
-{ count(); return tGLOBAL; }
+{ count(); return tFRAME; }
YY_BREAK
case 15:
YY_RULE_SETUP
#line 77 "engines/director/lingo/lingo-lex.l"
-{ count(); return tGO; }
+{ count(); return tGLOBAL; }
YY_BREAK
case 16:
YY_RULE_SETUP
#line 78 "engines/director/lingo/lingo-lex.l"
-{ count(); return tINTO; }
+{ count(); return tGO; }
YY_BREAK
case 17:
YY_RULE_SETUP
#line 79 "engines/director/lingo/lingo-lex.l"
-{ count(); return tLOOP; }
+{ count(); return tINTO; }
YY_BREAK
case 18:
YY_RULE_SETUP
#line 80 "engines/director/lingo/lingo-lex.l"
-{ count(); return tMACRO; }
+{ count(); return tLOOP; }
YY_BREAK
case 19:
YY_RULE_SETUP
#line 81 "engines/director/lingo/lingo-lex.l"
-{ count(); return tMCI; }
+{ count(); return tMACRO; }
YY_BREAK
case 20:
YY_RULE_SETUP
#line 82 "engines/director/lingo/lingo-lex.l"
-{ count(); return tMCIWAIT; }
+{ count(); return tMCI; }
YY_BREAK
case 21:
YY_RULE_SETUP
#line 83 "engines/director/lingo/lingo-lex.l"
-{ count(); return tMOVIE; }
+{ count(); return tMCIWAIT; }
YY_BREAK
case 22:
YY_RULE_SETUP
#line 84 "engines/director/lingo/lingo-lex.l"
-{ count(); return tNEXT; }
+{ count(); return tMETHOD; }
YY_BREAK
case 23:
YY_RULE_SETUP
#line 85 "engines/director/lingo/lingo-lex.l"
-{ count(); return tNOT; }
+{ count(); return tMOVIE; }
YY_BREAK
case 24:
YY_RULE_SETUP
#line 86 "engines/director/lingo/lingo-lex.l"
-{ count(); return tOF; }
+{ count(); return tNEXT; }
YY_BREAK
case 25:
YY_RULE_SETUP
#line 87 "engines/director/lingo/lingo-lex.l"
-{ count(); return tOR; }
+{ count(); return tNOT; }
YY_BREAK
case 26:
YY_RULE_SETUP
#line 88 "engines/director/lingo/lingo-lex.l"
-{ count(); return tPREVIOUS; }
+{ count(); return tOF; }
YY_BREAK
case 27:
YY_RULE_SETUP
#line 89 "engines/director/lingo/lingo-lex.l"
-{ count(); return tPUT; }
+{ count(); return tOR; }
YY_BREAK
case 28:
YY_RULE_SETUP
#line 90 "engines/director/lingo/lingo-lex.l"
-{ count(); return tREPEAT; }
+{ count(); return tPREVIOUS; }
YY_BREAK
case 29:
YY_RULE_SETUP
#line 91 "engines/director/lingo/lingo-lex.l"
-{ count(); return tSET; }
+{ count(); return tPUT; }
YY_BREAK
case 30:
YY_RULE_SETUP
#line 92 "engines/director/lingo/lingo-lex.l"
-{ count(); return tSTARTS; }
+{ count(); return tREPEAT; }
YY_BREAK
case 31:
YY_RULE_SETUP
#line 93 "engines/director/lingo/lingo-lex.l"
+{ count(); return tSET; }
+ YY_BREAK
+case 32:
+YY_RULE_SETUP
+#line 94 "engines/director/lingo/lingo-lex.l"
+{ count(); return tSTARTS; }
+ YY_BREAK
+case 33:
+YY_RULE_SETUP
+#line 95 "engines/director/lingo/lingo-lex.l"
{
count();
@@ -1118,9 +1135,9 @@ YY_RULE_SETUP
error("Unhandled the entity %s", ptr);
}
YY_BREAK
-case 32:
+case 34:
YY_RULE_SETUP
-#line 133 "engines/director/lingo/lingo-lex.l"
+#line 135 "engines/director/lingo/lingo-lex.l"
{
count();
@@ -1141,49 +1158,49 @@ YY_RULE_SETUP
error("Unhandled the entity %s", ptr);
}
YY_BREAK
-case 33:
-YY_RULE_SETUP
-#line 152 "engines/director/lingo/lingo-lex.l"
-{ count(); return tTHEN; }
- YY_BREAK
-case 34:
-YY_RULE_SETUP
-#line 153 "engines/director/lingo/lingo-lex.l"
-{ count(); return tTO; }
- YY_BREAK
case 35:
YY_RULE_SETUP
#line 154 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWITH; }
+{ count(); return tTHEN; }
YY_BREAK
case 36:
YY_RULE_SETUP
#line 155 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWHILE; }
+{ count(); return tTO; }
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 157 "engines/director/lingo/lingo-lex.l"
-{ count(); return tNEQ; }
+#line 156 "engines/director/lingo/lingo-lex.l"
+{ count(); return tWITH; }
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 158 "engines/director/lingo/lingo-lex.l"
-{ count(); return tGE; }
+#line 157 "engines/director/lingo/lingo-lex.l"
+{ count(); return tWHILE; }
YY_BREAK
case 39:
YY_RULE_SETUP
#line 159 "engines/director/lingo/lingo-lex.l"
-{ count(); return tLE; }
+{ count(); return tNEQ; }
YY_BREAK
case 40:
YY_RULE_SETUP
#line 160 "engines/director/lingo/lingo-lex.l"
-{ count(); return tCONCAT; }
+{ count(); return tGE; }
YY_BREAK
case 41:
YY_RULE_SETUP
+#line 161 "engines/director/lingo/lingo-lex.l"
+{ count(); return tLE; }
+ YY_BREAK
+case 42:
+YY_RULE_SETUP
#line 162 "engines/director/lingo/lingo-lex.l"
+{ count(); return tCONCAT; }
+ YY_BREAK
+case 43:
+YY_RULE_SETUP
+#line 164 "engines/director/lingo/lingo-lex.l"
{
count();
yylval.s = new Common::String(yytext);
@@ -1194,43 +1211,43 @@ YY_RULE_SETUP
return ID;
}
YY_BREAK
-case 42:
-YY_RULE_SETUP
-#line 171 "engines/director/lingo/lingo-lex.l"
-{ count(); yylval.f = atof(yytext); return FLOAT; }
- YY_BREAK
-case 43:
-YY_RULE_SETUP
-#line 172 "engines/director/lingo/lingo-lex.l"
-{ count(); yylval.i = strtol(yytext, NULL, 10); return INT; }
- YY_BREAK
case 44:
YY_RULE_SETUP
#line 173 "engines/director/lingo/lingo-lex.l"
-{ count(); return *yytext; }
+{ count(); yylval.f = atof(yytext); return FLOAT; }
YY_BREAK
case 45:
-/* rule 45 can match eol */
YY_RULE_SETUP
#line 174 "engines/director/lingo/lingo-lex.l"
-{ return '\n'; }
+{ count(); yylval.i = strtol(yytext, NULL, 10); return INT; }
YY_BREAK
case 46:
YY_RULE_SETUP
#line 175 "engines/director/lingo/lingo-lex.l"
-{ count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; }
+{ count(); return *yytext; }
YY_BREAK
case 47:
+/* rule 47 can match eol */
YY_RULE_SETUP
#line 176 "engines/director/lingo/lingo-lex.l"
-
+{ return '\n'; }
YY_BREAK
case 48:
YY_RULE_SETUP
+#line 177 "engines/director/lingo/lingo-lex.l"
+{ count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; }
+ YY_BREAK
+case 49:
+YY_RULE_SETUP
#line 178 "engines/director/lingo/lingo-lex.l"
+
+ YY_BREAK
+case 50:
+YY_RULE_SETUP
+#line 180 "engines/director/lingo/lingo-lex.l"
ECHO;
YY_BREAK
-#line 1234 "engines/director/lingo/lingo-lex.cpp"
+#line 1251 "engines/director/lingo/lingo-lex.cpp"
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1523,7 +1540,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 >= 159 )
+ if ( yy_current_state >= 170 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1551,11 +1568,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 >= 159 )
+ if ( yy_current_state >= 170 )
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 == 158);
+ yy_is_jam = (yy_current_state == 169);
return yy_is_jam ? 0 : yy_current_state;
}
@@ -2230,7 +2247,7 @@ void yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
-#line 178 "engines/director/lingo/lingo-lex.l"
+#line 180 "engines/director/lingo/lingo-lex.l"