aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-03-29 22:00:59 +0200
committerEugene Sandulenko2017-03-29 22:17:18 +0200
commit74e923d42a36f1a20ebc2610e08402b1ae4c0fe5 (patch)
tree86177e538cbc0d9f8fabe928e141cce2835ae902 /engines/director/lingo/lingo-lex.cpp
parent5f36e65855458a7f146621d99ab09aa049cc6916 (diff)
downloadscummvm-rg350-74e923d42a36f1a20ebc2610e08402b1ae4c0fe5.tar.gz
scummvm-rg350-74e923d42a36f1a20ebc2610e08402b1ae4c0fe5.tar.bz2
scummvm-rg350-74e923d42a36f1a20ebc2610e08402b1ae4c0fe5.zip
DIRECTOR: Lingo: Added tTHENNL token
Diffstat (limited to 'engines/director/lingo/lingo-lex.cpp')
-rw-r--r--engines/director/lingo/lingo-lex.cpp396
1 files changed, 201 insertions, 195 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp
index c931dc8a56..7b0398367b 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 73
-#define YY_END_OF_BUFFER 74
+#define YY_NUM_RULES 74
+#define YY_END_OF_BUFFER 75
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
@@ -373,38 +373,38 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static yyconst flex_int16_t yy_accept[273] =
+static yyconst flex_int16_t yy_accept[274] =
{ 0,
- 0, 0, 74, 72, 4, 70, 70, 72, 72, 72,
- 69, 69, 69, 68, 69, 69, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 72, 3, 3, 4, 70, 0,
- 0, 0, 0, 0, 71, 5, 65, 2, 67, 68,
- 64, 62, 63, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 23, 13, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 36, 37, 66,
- 39, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 55, 66, 66, 66, 1, 3, 3, 0, 5, 2,
-
- 67, 66, 7, 66, 66, 66, 66, 66, 66, 17,
- 66, 66, 66, 66, 0, 66, 66, 66, 66, 66,
- 66, 66, 32, 66, 66, 35, 66, 66, 66, 66,
- 44, 66, 46, 66, 66, 66, 66, 66, 66, 66,
- 66, 0, 66, 66, 9, 66, 11, 12, 16, 0,
- 17, 19, 66, 66, 66, 0, 66, 66, 26, 27,
- 28, 29, 66, 66, 66, 34, 38, 40, 66, 66,
- 66, 66, 66, 48, 0, 54, 59, 66, 57, 61,
- 15, 6, 66, 66, 17, 17, 66, 20, 66, 22,
- 66, 66, 30, 66, 33, 66, 66, 66, 66, 66,
-
- 66, 53, 53, 53, 60, 66, 0, 8, 66, 17,
- 66, 21, 66, 66, 31, 66, 66, 66, 45, 56,
- 47, 0, 0, 53, 53, 58, 0, 66, 18, 66,
- 66, 66, 66, 66, 0, 0, 0, 0, 53, 53,
- 14, 10, 24, 66, 66, 42, 43, 0, 0, 0,
- 53, 53, 66, 41, 0, 0, 0, 0, 0, 25,
- 52, 51, 52, 0, 0, 0, 0, 0, 0, 49,
- 50, 0
+ 0, 0, 75, 73, 4, 71, 71, 73, 73, 73,
+ 70, 70, 70, 69, 70, 70, 67, 67, 67, 67,
+ 67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
+ 67, 67, 67, 67, 73, 3, 3, 4, 71, 0,
+ 0, 0, 0, 0, 72, 5, 66, 2, 68, 69,
+ 65, 63, 64, 67, 67, 67, 67, 67, 67, 67,
+ 67, 67, 67, 67, 67, 67, 23, 13, 67, 67,
+ 67, 67, 67, 67, 67, 67, 67, 36, 37, 67,
+ 39, 67, 67, 67, 67, 67, 67, 67, 67, 67,
+ 56, 67, 67, 67, 1, 3, 3, 0, 5, 2,
+
+ 68, 67, 7, 67, 67, 67, 67, 67, 67, 17,
+ 67, 67, 67, 67, 0, 67, 67, 67, 67, 67,
+ 67, 67, 32, 67, 67, 35, 67, 67, 67, 67,
+ 44, 67, 46, 67, 67, 67, 67, 67, 67, 67,
+ 67, 0, 67, 67, 9, 67, 11, 12, 16, 0,
+ 17, 19, 67, 67, 67, 0, 67, 67, 26, 27,
+ 28, 29, 67, 67, 67, 34, 38, 40, 67, 67,
+ 67, 67, 67, 48, 0, 54, 60, 67, 58, 62,
+ 15, 6, 67, 67, 17, 17, 67, 20, 67, 22,
+ 67, 67, 30, 67, 33, 67, 67, 67, 67, 67,
+
+ 67, 53, 53, 53, 55, 61, 67, 0, 8, 67,
+ 17, 67, 21, 67, 67, 31, 67, 67, 67, 45,
+ 57, 47, 0, 0, 53, 53, 59, 0, 67, 18,
+ 67, 67, 67, 67, 67, 0, 0, 0, 0, 53,
+ 53, 14, 10, 24, 67, 67, 42, 43, 0, 0,
+ 0, 53, 53, 67, 41, 0, 0, 0, 0, 0,
+ 25, 52, 51, 52, 0, 0, 0, 0, 0, 0,
+ 49, 50, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
@@ -450,9 +450,9 @@ static yyconst flex_int32_t yy_meta[66] =
5, 5, 5, 5, 1
} ;
-static yyconst flex_int16_t yy_base[284] =
+static yyconst flex_int16_t yy_base[285] =
{ 0,
- 0, 64, 160, 702, 68, 72, 76, 80, 148, 0,
+ 0, 64, 188, 702, 68, 72, 76, 80, 148, 0,
702, 129, 106, 55, 71, 95, 66, 68, 66, 62,
72, 88, 73, 0, 104, 82, 120, 110, 136, 119,
83, 113, 154, 156, 105, 192, 209, 213, 702, 217,
@@ -470,54 +470,54 @@ static yyconst flex_int16_t yy_base[284] =
359, 360, 350, 356, 0, 374, 0, 0, 0, 185,
0, 0, 363, 373, 379, 368, 382, 368, 0, 0,
0, 0, 373, 375, 387, 0, 0, 392, 385, 390,
- 395, 380, 383, 0, 418, 0, 0, 405, 403, 0,
+ 395, 380, 383, 0, 418, 157, 0, 405, 403, 0,
395, 0, 409, 406, 0, 0, 407, 0, 414, 702,
414, 410, 0, 412, 0, 427, 418, 416, 415, 433,
- 424, 473, 475, 479, 0, 433, 488, 0, 434, 0,
- 430, 0, 447, 474, 0, 477, 452, 463, 0, 0,
- 0, 495, 483, 497, 499, 0, 486, 471, 0, 493,
- 497, 498, 476, 483, 522, 509, 514, 512, 543, 555,
- 702, 0, 0, 508, 519, 0, 0, 515, 561, 530,
- 567, 578, 534, 0, 538, 584, 550, 589, 593, 0,
- 702, 595, 702, 599, 559, 603, 563, 610, 615, 616,
- 620, 702, 657, 659, 662, 665, 671, 676, 681, 684,
- 689, 691, 696
+ 424, 473, 475, 479, 456, 0, 433, 488, 0, 434,
+ 0, 430, 0, 447, 474, 0, 477, 452, 463, 0,
+ 0, 0, 495, 483, 497, 499, 0, 486, 471, 0,
+ 493, 497, 498, 476, 483, 522, 509, 514, 512, 543,
+ 555, 702, 0, 0, 508, 519, 0, 0, 515, 561,
+ 530, 567, 578, 534, 0, 538, 584, 550, 589, 593,
+ 0, 702, 595, 702, 599, 559, 603, 563, 610, 615,
+ 616, 620, 702, 657, 659, 662, 665, 671, 676, 681,
+ 684, 689, 691, 696
} ;
-static yyconst flex_int16_t yy_def[284] =
+static yyconst flex_int16_t yy_def[285] =
{ 0,
- 272, 1, 272, 272, 272, 272, 272, 272, 273, 274,
- 272, 272, 272, 272, 272, 272, 275, 275, 275, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 273, 272, 276, 272, 277, 272, 272,
- 272, 272, 272, 275, 275, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 272, 272, 272, 272, 276, 277,
-
- 272, 275, 275, 275, 275, 275, 275, 275, 275, 278,
- 275, 275, 275, 275, 272, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 275, 272, 275, 275, 275, 275, 275, 275, 275, 279,
- 280, 275, 275, 275, 275, 272, 275, 275, 275, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 281, 275, 275, 275, 275, 275,
- 272, 275, 275, 275, 282, 280, 275, 275, 275, 272,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
-
- 275, 281, 281, 281, 275, 275, 272, 275, 275, 282,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 275, 272, 272, 281, 281, 275, 272, 275, 275, 275,
- 275, 275, 275, 275, 272, 272, 272, 272, 281, 281,
- 272, 275, 275, 275, 275, 275, 275, 272, 272, 272,
- 281, 281, 275, 275, 272, 283, 272, 272, 272, 275,
- 272, 283, 272, 272, 272, 272, 272, 272, 272, 283,
- 283, 0, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272
+ 273, 1, 273, 273, 273, 273, 273, 273, 274, 275,
+ 273, 273, 273, 273, 273, 273, 276, 276, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 274, 273, 277, 273, 278, 273, 273,
+ 273, 273, 273, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 273, 273, 273, 273, 277, 278,
+
+ 273, 276, 276, 276, 276, 276, 276, 276, 276, 279,
+ 276, 276, 276, 276, 273, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 273, 276, 276, 276, 276, 276, 276, 276, 280,
+ 281, 276, 276, 276, 276, 273, 276, 276, 276, 276,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 276, 276, 282, 276, 276, 276, 276, 276,
+ 273, 276, 276, 276, 283, 281, 276, 276, 276, 273,
+ 276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+
+ 276, 282, 282, 282, 273, 276, 276, 273, 276, 276,
+ 283, 276, 276, 276, 276, 276, 276, 276, 276, 276,
+ 276, 276, 273, 273, 282, 282, 276, 273, 276, 276,
+ 276, 276, 276, 276, 276, 273, 273, 273, 273, 282,
+ 282, 273, 276, 276, 276, 276, 276, 276, 273, 273,
+ 273, 282, 282, 276, 276, 273, 284, 273, 273, 273,
+ 276, 273, 284, 273, 273, 273, 273, 273, 273, 273,
+ 284, 284, 0, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273
} ;
static yyconst flex_int16_t yy_nxt[768] =
@@ -538,74 +538,74 @@ static yyconst flex_int16_t yy_nxt[768] =
65, 43, 61, 66, 62, 68, 67, 103, 85, 64,
76, 71, 69, 86, 63, 72, 73, 47, 70, 77,
74, 49, 50, 87, 65, 82, 98, 88, 102, 75,
- 68, 83, 103, 45, 84, 76, 69, 78, 86, 272,
- 272, 73, 70, 77, 79, 74, 80, 87, 81, 82,
+ 68, 83, 103, 45, 84, 76, 69, 78, 86, 205,
+ 205, 73, 70, 77, 79, 74, 80, 87, 81, 82,
98, 88, 102, 75, 89, 83, 104, 90, 84, 92,
- 93, 41, 78, 91, 41, 94, 150, 272, 79, 150,
- 80, 272, 81, 96, 39, 39, 97, 105, 272, 89,
+ 93, 41, 78, 91, 41, 94, 150, 273, 79, 150,
+ 80, 273, 81, 96, 39, 39, 97, 105, 273, 89,
- 43, 104, 90, 272, 92, 93, 106, 91, 110, 94,
+ 43, 104, 90, 273, 92, 93, 106, 91, 110, 94,
97, 39, 39, 97, 38, 39, 39, 40, 40, 39,
39, 40, 105, 107, 109, 43, 41, 42, 42, 41,
- 106, 114, 108, 110, 111, 112, 113, 272, 116, 117,
- 118, 272, 119, 120, 121, 43, 127, 107, 109, 122,
- 125, 123, 272, 126, 128, 114, 108, 272, 131, 111,
+ 106, 114, 108, 110, 111, 112, 113, 273, 116, 117,
+ 118, 273, 119, 120, 121, 43, 127, 107, 109, 122,
+ 125, 123, 273, 126, 128, 114, 108, 273, 131, 111,
112, 113, 116, 117, 132, 118, 119, 120, 124, 121,
43, 127, 129, 122, 125, 133, 123, 126, 134, 128,
- 136, 130, 131, 135, 137, 138, 272, 140, 132, 139,
- 272, 141, 124, 96, 39, 39, 97, 129, 142, 133,
+ 136, 130, 131, 135, 137, 138, 273, 140, 132, 139,
+ 273, 141, 124, 96, 39, 39, 97, 129, 142, 133,
143, 147, 134, 144, 136, 130, 145, 146, 135, 137,
138, 140, 148, 149, 139, 141, 97, 39, 39, 97,
152, 150, 142, 153, 150, 143, 147, 144, 154, 155,
145, 146, 54, 157, 115, 160, 148, 115, 149, 158,
- 161, 272, 162, 164, 152, 163, 165, 153, 159, 166,
+ 161, 273, 162, 164, 152, 163, 165, 153, 159, 166,
167, 168, 154, 169, 155, 170, 171, 157, 172, 160,
- 173, 174, 272, 177, 158, 161, 162, 156, 164, 163,
+ 173, 174, 273, 177, 158, 161, 162, 156, 164, 163,
178, 165, 159, 166, 167, 168, 179, 169, 180, 170,
181, 171, 182, 172, 173, 174, 175, 177, 183, 175,
- 184, 156, 187, 188, 178, 189, 207, 190, 191, 207,
+ 184, 156, 187, 188, 178, 189, 208, 190, 191, 208,
192, 179, 193, 180, 194, 181, 182, 195, 196, 197,
198, 199, 183, 176, 200, 184, 187, 201, 188, 175,
- 189, 190, 175, 191, 192, 205, 193, 206, 194, 208,
- 209, 215, 195, 196, 197, 198, 199, 176, 200, 211,
- 212, 201, 213, 214, 203, 216, 272, 217, 218, 219,
- 205, 204, 206, 220, 208, 209, 215, 221, 272, 272,
- 272, 226, 228, 211, 212, 230, 213, 214, 203, 229,
- 216, 217, 218, 219, 222, 204, 222, 222, 220, 222,
- 222, 221, 223, 222, 223, 226, 228, 233, 223, 207,
- 230, 224, 207, 229, 231, 232, 235, 234, 222, 235,
-
- 222, 222, 236, 222, 242, 272, 223, 241, 223, 246,
- 225, 233, 227, 243, 236, 244, 224, 238, 245, 231,
- 232, 234, 247, 235, 237, 248, 235, 236, 242, 238,
- 239, 240, 241, 246, 225, 249, 250, 227, 243, 236,
- 244, 238, 253, 245, 222, 254, 247, 222, 237, 255,
- 248, 237, 223, 238, 239, 240, 222, 257, 261, 222,
- 249, 250, 256, 272, 223, 256, 253, 260, 258, 254,
- 263, 258, 272, 255, 272, 237, 223, 251, 272, 259,
- 268, 257, 259, 261, 269, 256, 272, 223, 256, 252,
- 264, 260, 272, 264, 266, 263, 272, 266, 272, 272,
-
- 264, 251, 272, 264, 266, 268, 272, 266, 236, 269,
- 272, 270, 236, 252, 270, 272, 271, 270, 265, 271,
- 270, 271, 267, 238, 271, 272, 272, 238, 265, 272,
- 272, 272, 267, 236, 272, 272, 272, 236, 272, 272,
- 272, 272, 265, 272, 272, 272, 267, 238, 272, 272,
- 272, 238, 265, 272, 272, 272, 267, 44, 44, 272,
+ 189, 190, 175, 191, 192, 206, 193, 207, 194, 209,
+ 210, 216, 195, 196, 197, 198, 199, 176, 200, 212,
+ 213, 201, 214, 215, 203, 217, 273, 218, 219, 220,
+ 206, 204, 207, 221, 209, 210, 216, 222, 205, 205,
+ 273, 227, 229, 212, 213, 231, 214, 215, 203, 230,
+ 217, 218, 219, 220, 223, 204, 223, 223, 221, 223,
+ 223, 222, 224, 223, 224, 227, 229, 234, 224, 208,
+ 231, 225, 208, 230, 232, 233, 236, 235, 223, 236,
+
+ 223, 223, 237, 223, 243, 273, 224, 242, 224, 247,
+ 226, 234, 228, 244, 237, 245, 225, 239, 246, 232,
+ 233, 235, 248, 236, 238, 249, 236, 237, 243, 239,
+ 240, 241, 242, 247, 226, 250, 251, 228, 244, 237,
+ 245, 239, 254, 246, 223, 255, 248, 223, 238, 256,
+ 249, 238, 224, 239, 240, 241, 223, 258, 262, 223,
+ 250, 251, 257, 273, 224, 257, 254, 261, 259, 255,
+ 264, 259, 273, 256, 273, 238, 224, 252, 273, 260,
+ 269, 258, 260, 262, 270, 257, 273, 224, 257, 253,
+ 265, 261, 273, 265, 267, 264, 273, 267, 273, 273,
+
+ 265, 252, 273, 265, 267, 269, 273, 267, 237, 270,
+ 273, 271, 237, 253, 271, 273, 272, 271, 266, 272,
+ 271, 272, 268, 239, 272, 273, 273, 239, 266, 273,
+ 273, 273, 268, 237, 273, 273, 273, 237, 273, 273,
+ 273, 273, 266, 273, 273, 273, 268, 239, 273, 273,
+ 273, 239, 266, 273, 273, 273, 268, 44, 44, 273,
44, 44, 44, 46, 46, 54, 54, 54, 99, 99,
- 99, 100, 100, 272, 100, 100, 100, 151, 272, 151,
- 151, 151, 185, 272, 272, 185, 185, 186, 186, 186,
- 202, 272, 272, 202, 210, 210, 210, 262, 272, 272,
-
- 262, 3, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272
+ 99, 100, 100, 273, 100, 100, 100, 151, 273, 151,
+ 151, 151, 185, 273, 273, 185, 185, 186, 186, 186,
+ 202, 273, 273, 202, 211, 211, 211, 263, 273, 273,
+
+ 263, 3, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273
} ;
static yyconst flex_int16_t yy_chk[768] =
@@ -626,10 +626,10 @@ static yyconst flex_int16_t yy_chk[768] =
22, 7, 21, 23, 21, 25, 23, 56, 31, 22,
28, 26, 25, 32, 21, 26, 27, 12, 25, 28,
27, 50, 50, 32, 22, 30, 43, 32, 55, 27,
- 25, 30, 56, 9, 30, 28, 25, 29, 32, 3,
- 0, 27, 25, 28, 29, 27, 29, 32, 29, 30,
+ 25, 30, 56, 9, 30, 28, 25, 29, 32, 176,
+ 176, 27, 25, 28, 29, 27, 29, 32, 29, 30,
43, 32, 55, 27, 33, 30, 57, 33, 30, 34,
- 34, 41, 29, 33, 41, 34, 150, 0, 29, 150,
+ 34, 41, 29, 33, 41, 34, 150, 3, 29, 150,
29, 0, 29, 36, 36, 36, 36, 58, 0, 33,
41, 57, 33, 0, 34, 34, 59, 33, 62, 34,
@@ -659,41 +659,41 @@ static yyconst flex_int16_t yy_chk[768] =
155, 156, 175, 157, 158, 178, 163, 179, 164, 183,
184, 194, 165, 168, 169, 170, 171, 137, 172, 187,
189, 173, 191, 192, 175, 196, 0, 197, 198, 199,
- 178, 175, 179, 200, 183, 184, 194, 201, 0, 0,
- 0, 206, 209, 187, 189, 213, 191, 192, 175, 211,
+ 178, 175, 179, 200, 183, 184, 194, 201, 205, 205,
+ 0, 207, 210, 187, 189, 214, 191, 192, 175, 212,
196, 197, 198, 199, 202, 175, 203, 202, 200, 203,
- 204, 201, 202, 204, 203, 206, 209, 217, 204, 207,
- 213, 203, 207, 211, 214, 216, 222, 218, 224, 222,
-
- 225, 224, 223, 225, 228, 0, 224, 227, 225, 233,
- 204, 217, 207, 230, 222, 231, 203, 223, 232, 214,
- 216, 218, 234, 235, 222, 236, 235, 223, 228, 222,
- 224, 225, 227, 233, 204, 237, 238, 207, 230, 222,
- 231, 223, 244, 232, 239, 245, 234, 239, 222, 248,
- 236, 235, 239, 222, 224, 225, 240, 250, 255, 240,
- 237, 238, 249, 0, 240, 249, 244, 253, 251, 245,
- 257, 251, 0, 248, 0, 235, 251, 239, 0, 252,
- 265, 250, 252, 255, 267, 256, 0, 252, 256, 240,
- 258, 253, 0, 258, 259, 257, 262, 259, 0, 262,
-
- 264, 239, 0, 264, 266, 265, 0, 266, 258, 267,
- 0, 268, 259, 240, 268, 0, 269, 270, 258, 269,
- 270, 271, 259, 258, 271, 0, 0, 259, 264, 0,
- 0, 0, 266, 258, 0, 0, 0, 259, 0, 0,
- 0, 0, 258, 0, 0, 0, 259, 258, 0, 0,
- 0, 259, 264, 0, 0, 0, 266, 273, 273, 0,
- 273, 273, 273, 274, 274, 275, 275, 275, 276, 276,
- 276, 277, 277, 0, 277, 277, 277, 278, 0, 278,
- 278, 278, 279, 0, 0, 279, 279, 280, 280, 280,
- 281, 0, 0, 281, 282, 282, 282, 283, 0, 0,
-
- 283, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
- 272, 272, 272, 272, 272, 272, 272
+ 204, 201, 202, 204, 203, 207, 210, 218, 204, 208,
+ 214, 203, 208, 212, 215, 217, 223, 219, 225, 223,
+
+ 226, 225, 224, 226, 229, 0, 225, 228, 226, 234,
+ 204, 218, 208, 231, 223, 232, 203, 224, 233, 215,
+ 217, 219, 235, 236, 223, 237, 236, 224, 229, 223,
+ 225, 226, 228, 234, 204, 238, 239, 208, 231, 223,
+ 232, 224, 245, 233, 240, 246, 235, 240, 223, 249,
+ 237, 236, 240, 223, 225, 226, 241, 251, 256, 241,
+ 238, 239, 250, 0, 241, 250, 245, 254, 252, 246,
+ 258, 252, 0, 249, 0, 236, 252, 240, 0, 253,
+ 266, 251, 253, 256, 268, 257, 0, 253, 257, 241,
+ 259, 254, 0, 259, 260, 258, 263, 260, 0, 263,
+
+ 265, 240, 0, 265, 267, 266, 0, 267, 259, 268,
+ 0, 269, 260, 241, 269, 0, 270, 271, 259, 270,
+ 271, 272, 260, 259, 272, 0, 0, 260, 265, 0,
+ 0, 0, 267, 259, 0, 0, 0, 260, 0, 0,
+ 0, 0, 259, 0, 0, 0, 260, 259, 0, 0,
+ 0, 260, 265, 0, 0, 0, 267, 274, 274, 0,
+ 274, 274, 274, 275, 275, 276, 276, 276, 277, 277,
+ 277, 278, 278, 0, 278, 278, 278, 279, 0, 279,
+ 279, 279, 280, 0, 0, 280, 280, 281, 281, 281,
+ 282, 0, 0, 282, 283, 283, 283, 284, 0, 0,
+
+ 284, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 273, 273, 273
} ;
static yy_state_type yy_last_accepting_state;
@@ -1021,7 +1021,7 @@ 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 >= 273 )
+ if ( yy_current_state >= 274 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1436,63 +1436,69 @@ YY_RULE_SETUP
{ count(); return tTHEN; }
YY_BREAK
case 55:
+/* rule 55 can match eol */
YY_RULE_SETUP
#line 254 "engines/director/lingo/lingo-lex.l"
-{ count(); return tTO; }
+{ count(); return tTHENNL; }
YY_BREAK
case 56:
YY_RULE_SETUP
#line 255 "engines/director/lingo/lingo-lex.l"
-{ count(); return tSPRITE; }
+{ count(); return tTO; }
YY_BREAK
case 57:
YY_RULE_SETUP
#line 256 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWITH; }
+{ count(); return tSPRITE; }
YY_BREAK
case 58:
YY_RULE_SETUP
#line 257 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWITHIN; }
+{ count(); return tWITH; }
YY_BREAK
case 59:
YY_RULE_SETUP
#line 258 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWHEN; }
+{ count(); return tWITHIN; }
YY_BREAK
case 60:
YY_RULE_SETUP
#line 259 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWHILE; }
+{ count(); return tWHEN; }
YY_BREAK
case 61:
YY_RULE_SETUP
#line 260 "engines/director/lingo/lingo-lex.l"
-{ count(); return tWORD; }
+{ count(); return tWHILE; }
YY_BREAK
case 62:
YY_RULE_SETUP
-#line 262 "engines/director/lingo/lingo-lex.l"
-{ count(); return tNEQ; }
+#line 261 "engines/director/lingo/lingo-lex.l"
+{ count(); return tWORD; }
YY_BREAK
case 63:
YY_RULE_SETUP
#line 263 "engines/director/lingo/lingo-lex.l"
-{ count(); return tGE; }
+{ count(); return tNEQ; }
YY_BREAK
case 64:
YY_RULE_SETUP
#line 264 "engines/director/lingo/lingo-lex.l"
-{ count(); return tLE; }
+{ count(); return tGE; }
YY_BREAK
case 65:
YY_RULE_SETUP
#line 265 "engines/director/lingo/lingo-lex.l"
-{ count(); return tCONCAT; }
+{ count(); return tLE; }
YY_BREAK
case 66:
YY_RULE_SETUP
-#line 267 "engines/director/lingo/lingo-lex.l"
+#line 266 "engines/director/lingo/lingo-lex.l"
+{ count(); return tCONCAT; }
+ YY_BREAK
+case 67:
+YY_RULE_SETUP
+#line 268 "engines/director/lingo/lingo-lex.l"
{
count();
yylval.s = new Common::String(yytext);
@@ -1539,43 +1545,43 @@ YY_RULE_SETUP
return ID;
}
YY_BREAK
-case 67:
-YY_RULE_SETUP
-#line 312 "engines/director/lingo/lingo-lex.l"
-{ count(); yylval.f = atof(yytext); return FLOAT; }
- YY_BREAK
case 68:
YY_RULE_SETUP
#line 313 "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 69:
YY_RULE_SETUP
#line 314 "engines/director/lingo/lingo-lex.l"
-{ count(); return *yytext; }
+{ count(); yylval.i = strtol(yytext, NULL, 10); return INT; }
YY_BREAK
case 70:
-/* rule 70 can match eol */
YY_RULE_SETUP
#line 315 "engines/director/lingo/lingo-lex.l"
-{ return '\n'; }
+{ count(); return *yytext; }
YY_BREAK
case 71:
+/* rule 71 can match eol */
YY_RULE_SETUP
#line 316 "engines/director/lingo/lingo-lex.l"
-{ count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; }
+{ return '\n'; }
YY_BREAK
case 72:
YY_RULE_SETUP
#line 317 "engines/director/lingo/lingo-lex.l"
-{ count(); }
+{ count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; }
YY_BREAK
case 73:
YY_RULE_SETUP
-#line 319 "engines/director/lingo/lingo-lex.l"
+#line 318 "engines/director/lingo/lingo-lex.l"
+{ count(); }
+ YY_BREAK
+case 74:
+YY_RULE_SETUP
+#line 320 "engines/director/lingo/lingo-lex.l"
ECHO;
YY_BREAK
-#line 1579 "engines/director/lingo/lingo-lex.cpp"
+#line 1585 "engines/director/lingo/lingo-lex.cpp"
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1868,7 +1874,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 >= 273 )
+ if ( yy_current_state >= 274 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1896,11 +1902,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 >= 273 )
+ if ( yy_current_state >= 274 )
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 == 272);
+ yy_is_jam = (yy_current_state == 273);
return yy_is_jam ? 0 : yy_current_state;
}
@@ -2538,7 +2544,7 @@ void yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
-#line 319 "engines/director/lingo/lingo-lex.l"
+#line 320 "engines/director/lingo/lingo-lex.l"