diff options
author | Eugene Sandulenko | 2017-02-07 09:47:33 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-02-07 09:47:33 +0100 |
commit | b37a3e522461236bb4804415f83fbddb12d862a4 (patch) | |
tree | aef963d612bef891cc67ee04d3248cbac0690915 /engines/director/lingo/lingo-lex.cpp | |
parent | e0b7e823b242d3e5c3bbba41f5d07014c8a35f0c (diff) | |
download | scummvm-rg350-b37a3e522461236bb4804415f83fbddb12d862a4.tar.gz scummvm-rg350-b37a3e522461236bb4804415f83fbddb12d862a4.tar.bz2 scummvm-rg350-b37a3e522461236bb4804415f83fbddb12d862a4.zip |
DIRECTOR: Lingo: Documented D4 "Movie in a window" Lingo
Diffstat (limited to 'engines/director/lingo/lingo-lex.cpp')
-rw-r--r-- | engines/director/lingo/lingo-lex.cpp | 537 |
1 files changed, 271 insertions, 266 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp index e26eed1a81..8675768fb1 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 69 -#define YY_END_OF_BUFFER 70 +#define YY_NUM_RULES 70 +#define YY_END_OF_BUFFER 71 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -373,36 +373,36 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[253] = +static yyconst flex_int16_t yy_accept[256] = { 0, - 0, 0, 70, 68, 3, 66, 66, 68, 68, 68, - 65, 65, 65, 64, 65, 65, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 2, 2, 3, 66, 0, 0, - 0, 0, 0, 67, 4, 61, 1, 63, 64, 60, - 58, 59, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 22, 12, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 35, 36, 62, 38, - 62, 62, 62, 62, 62, 62, 62, 62, 51, 62, - 62, 62, 2, 2, 0, 4, 1, 63, 62, 6, - - 62, 62, 62, 62, 62, 62, 16, 62, 62, 62, - 62, 0, 62, 62, 62, 62, 62, 62, 62, 31, - 62, 62, 34, 62, 62, 62, 42, 62, 44, 62, - 62, 62, 62, 62, 62, 62, 0, 62, 62, 8, - 62, 10, 11, 15, 0, 16, 18, 62, 62, 62, - 0, 62, 62, 25, 26, 27, 28, 62, 62, 62, - 33, 37, 39, 62, 62, 62, 62, 0, 50, 55, - 62, 53, 57, 14, 5, 62, 62, 16, 16, 62, - 19, 62, 21, 62, 62, 29, 62, 32, 62, 62, - 62, 62, 62, 49, 49, 56, 62, 0, 7, 62, - - 16, 62, 20, 62, 62, 30, 62, 62, 43, 52, - 45, 0, 0, 49, 54, 0, 62, 17, 62, 62, - 62, 62, 0, 0, 0, 0, 49, 13, 9, 23, - 62, 62, 41, 0, 0, 0, 49, 62, 40, 0, - 0, 0, 0, 24, 48, 47, 48, 0, 0, 0, - 46, 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 } ; static yyconst flex_int32_t yy_ec[256] = @@ -448,73 +448,73 @@ static yyconst flex_int32_t yy_meta[65] = 5, 5, 5, 5 } ; -static yyconst flex_int16_t yy_base[264] = +static yyconst flex_int16_t yy_base[267] = { 0, - 0, 63, 160, 645, 67, 71, 75, 79, 140, 0, - 645, 133, 126, 54, 70, 94, 65, 67, 65, 61, + 0, 63, 159, 646, 67, 71, 75, 79, 147, 0, + 646, 133, 126, 54, 70, 94, 65, 67, 65, 61, 71, 87, 72, 0, 103, 81, 119, 109, 135, 118, - 82, 112, 146, 155, 194, 208, 212, 645, 216, 181, - 220, 121, 99, 645, 0, 645, 0, 88, 95, 645, - 645, 645, 0, 118, 96, 105, 142, 177, 197, 173, - 183, 183, 210, 215, 204, 88, 0, 202, 217, 211, - 213, 225, 211, 228, 208, 216, 0, 0, 228, 0, - 235, 232, 220, 225, 227, 235, 255, 255, 0, 260, - 248, 251, 291, 300, 253, 0, 0, 84, 267, 0, - - 260, 258, 263, 278, 280, 279, 314, 277, 282, 290, - 302, 321, 293, 300, 301, 311, 300, 301, 311, 0, - 312, 304, 0, 311, 303, 307, 0, 326, 0, 323, - 317, 364, 322, 332, 337, 345, 349, 343, 344, 0, - 354, 0, 0, 0, 189, 0, 0, 348, 358, 364, - 354, 365, 352, 0, 0, 0, 0, 357, 358, 368, - 0, 0, 374, 369, 380, 364, 368, 408, 0, 0, - 384, 390, 0, 237, 0, 397, 395, 0, 0, 391, - 0, 398, 645, 397, 394, 0, 401, 0, 410, 401, - 397, 412, 401, 434, 455, 0, 408, 465, 0, 409, - - 0, 407, 0, 432, 432, 0, 444, 432, 0, 0, - 0, 475, 444, 481, 0, 447, 438, 0, 452, 455, - 454, 448, 479, 476, 475, 476, 502, 645, 0, 0, - 473, 489, 0, 482, 519, 491, 525, 489, 0, 504, - 526, 518, 540, 0, 645, 544, 645, 546, 522, 550, - 551, 645, 600, 602, 605, 608, 614, 619, 624, 627, - 632, 634, 639 + 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, + 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 } ; -static yyconst flex_int16_t yy_def[264] = +static yyconst flex_int16_t yy_def[267] = { 0, - 252, 1, 252, 252, 252, 252, 252, 252, 253, 254, - 252, 252, 252, 252, 252, 252, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 252, 252, 252, 252, 252, 252, - 252, 252, 253, 252, 256, 252, 257, 252, 252, 252, - 252, 252, 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, 252, 252, 252, 256, 257, 252, 255, 255, - - 255, 255, 255, 255, 255, 255, 258, 255, 255, 255, - 255, 252, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 252, 255, 255, 255, - 255, 255, 255, 255, 259, 260, 255, 255, 255, 255, - 252, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 255, 255, 255, 255, 261, 255, 255, - 255, 255, 255, 252, 255, 255, 255, 262, 260, 255, - 255, 255, 252, 255, 255, 255, 255, 255, 255, 255, - 255, 255, 255, 261, 261, 255, 255, 252, 255, 255, - - 262, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 255, 252, 252, 261, 255, 252, 255, 255, 255, 255, - 255, 255, 252, 252, 252, 252, 261, 252, 255, 255, - 255, 255, 255, 252, 252, 252, 261, 255, 255, 252, - 263, 252, 252, 255, 252, 263, 252, 252, 252, 252, - 263, 0, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252 + 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 } ; -static yyconst flex_int16_t yy_nxt[710] = +static yyconst flex_int16_t yy_nxt[711] = { 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 11, 13, 4, 14, 15, 11, 16, 17, 18, 19, 20, @@ -524,79 +524,79 @@ static yyconst flex_int16_t yy_nxt[710] = 26, 27, 28, 29, 30, 24, 31, 32, 33, 24, 24, 34, 24, 24, 35, 48, 49, 36, 37, 38, 38, 39, 40, 41, 41, 40, 40, 41, 41, 40, - 39, 38, 38, 39, 50, 51, 54, 56, 57, 112, - 59, 42, 112, 55, 58, 42, 98, 60, 65, 61, + 39, 38, 38, 39, 50, 51, 54, 56, 57, 113, + 59, 42, 113, 55, 58, 42, 99, 60, 65, 61, - 98, 66, 84, 63, 44, 70, 48, 49, 52, 62, - 71, 54, 56, 57, 59, 100, 42, 55, 58, 64, - 42, 60, 65, 61, 67, 66, 101, 84, 63, 75, + 99, 66, 84, 63, 44, 70, 48, 49, 52, 62, + 71, 54, 56, 57, 59, 101, 42, 55, 58, 64, + 42, 60, 65, 61, 67, 66, 102, 84, 63, 75, 70, 68, 85, 62, 71, 72, 47, 69, 76, 73, - 100, 46, 86, 64, 81, 44, 87, 95, 74, 67, - 82, 101, 99, 83, 75, 68, 77, 85, 102, 252, - 72, 69, 76, 78, 73, 79, 86, 80, 81, 88, - 87, 95, 74, 252, 82, 89, 99, 83, 90, 91, - 252, 77, 40, 102, 92, 40, 252, 78, 252, 79, - 145, 80, 252, 145, 88, 93, 38, 38, 94, 89, - - 252, 42, 107, 90, 91, 103, 106, 108, 92, 94, - 38, 38, 94, 37, 38, 38, 39, 39, 38, 38, - 39, 40, 41, 41, 40, 104, 42, 107, 109, 103, - 106, 110, 108, 111, 105, 113, 114, 115, 198, 116, - 42, 198, 117, 118, 252, 119, 122, 120, 124, 104, - 123, 125, 126, 109, 127, 128, 110, 111, 105, 113, - 114, 129, 115, 116, 121, 42, 117, 130, 118, 119, - 122, 131, 120, 124, 123, 132, 125, 126, 127, 128, - 133, 252, 135, 136, 134, 129, 137, 138, 121, 139, - 140, 130, 93, 38, 38, 94, 131, 141, 142, 144, - - 132, 94, 38, 38, 94, 133, 135, 136, 143, 134, - 137, 147, 138, 139, 140, 145, 148, 149, 145, 150, - 153, 141, 112, 142, 144, 112, 53, 152, 155, 154, - 157, 156, 143, 158, 159, 147, 160, 252, 161, 162, - 148, 149, 163, 164, 150, 153, 165, 166, 252, 167, - 170, 152, 155, 154, 157, 151, 156, 158, 171, 159, - 172, 160, 161, 162, 173, 168, 163, 164, 168, 174, - 177, 165, 166, 167, 170, 175, 176, 180, 181, 151, - 182, 184, 171, 183, 185, 172, 186, 187, 188, 173, - 189, 252, 169, 190, 174, 177, 191, 252, 192, 175, - - 176, 180, 193, 181, 196, 182, 184, 183, 185, 168, - 186, 187, 168, 188, 197, 189, 169, 199, 190, 200, - 206, 191, 192, 202, 203, 204, 193, 205, 207, 196, - 208, 209, 210, 252, 211, 212, 215, 217, 212, 197, - 252, 195, 199, 213, 200, 206, 218, 202, 203, 204, - 219, 205, 220, 207, 208, 209, 212, 210, 211, 212, - 215, 217, 221, 224, 213, 195, 198, 222, 228, 198, - 218, 229, 230, 231, 232, 219, 223, 220, 226, 223, - 223, 233, 212, 223, 252, 212, 214, 221, 224, 216, - 213, 222, 234, 228, 224, 229, 235, 230, 231, 232, - - 236, 252, 226, 212, 225, 233, 212, 238, 225, 226, - 214, 213, 252, 227, 216, 239, 240, 234, 242, 224, - 241, 235, 244, 241, 245, 236, 243, 241, 225, 243, - 241, 238, 225, 226, 213, 252, 237, 227, 247, 239, - 240, 248, 242, 250, 248, 252, 244, 248, 252, 245, - 248, 251, 251, 252, 251, 251, 252, 252, 252, 224, - 237, 252, 252, 247, 252, 252, 252, 252, 250, 249, - 252, 252, 252, 252, 226, 249, 252, 252, 252, 252, - 252, 252, 252, 252, 224, 252, 252, 252, 252, 252, - 252, 252, 252, 249, 252, 252, 252, 252, 226, 249, - - 43, 43, 252, 43, 43, 43, 45, 45, 53, 53, - 53, 96, 96, 96, 97, 97, 252, 97, 97, 97, - 146, 252, 146, 146, 146, 178, 252, 252, 178, 178, - 179, 179, 179, 194, 252, 252, 194, 201, 201, 201, - 246, 252, 252, 246, 3, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - - 252, 252, 252, 252, 252, 252, 252, 252, 252 + 101, 46, 86, 64, 81, 96, 87, 100, 74, 67, + 82, 102, 44, 83, 75, 68, 77, 85, 255, 255, + 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, + + 103, 89, 255, 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, + 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 } ; -static yyconst flex_int16_t yy_chk[710] = +static yyconst flex_int16_t yy_chk[711] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -607,75 +607,75 @@ static yyconst flex_int16_t yy_chk[710] = 1, 1, 1, 1, 2, 14, 14, 2, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 15, 15, 17, 18, 19, 66, - 20, 6, 66, 17, 19, 7, 98, 21, 23, 21, + 20, 6, 66, 17, 19, 7, 99, 21, 23, 21, 48, 23, 31, 22, 43, 26, 49, 49, 16, 21, 26, 17, 18, 19, 20, 55, 6, 17, 19, 22, 7, 21, 23, 21, 25, 23, 56, 31, 22, 28, 26, 25, 32, 21, 26, 27, 13, 25, 28, 27, - 55, 12, 32, 22, 30, 9, 32, 42, 27, 25, - 30, 56, 54, 30, 28, 25, 29, 32, 57, 3, - 27, 25, 28, 29, 27, 29, 32, 29, 30, 33, - 32, 42, 27, 0, 30, 33, 54, 30, 34, 34, - 0, 29, 40, 57, 34, 40, 0, 29, 0, 29, - 145, 29, 0, 145, 33, 35, 35, 35, 35, 33, - - 0, 40, 61, 34, 34, 58, 60, 62, 34, 36, + 55, 12, 32, 22, 30, 42, 32, 54, 27, 25, + 30, 56, 9, 30, 28, 25, 29, 32, 3, 0, + 27, 25, 28, 29, 27, 29, 32, 29, 30, 42, + 32, 54, 27, 33, 30, 57, 33, 30, 34, 34, + 40, 29, 33, 40, 34, 108, 0, 29, 108, 29, + 0, 29, 35, 35, 35, 35, 108, 58, 33, 40, + + 57, 33, 0, 34, 34, 60, 33, 61, 34, 36, 36, 36, 36, 37, 37, 37, 37, 39, 39, 39, - 39, 41, 41, 41, 41, 59, 40, 61, 63, 58, - 60, 64, 62, 65, 59, 68, 68, 69, 174, 70, - 41, 174, 71, 72, 0, 73, 75, 74, 79, 59, - 76, 81, 82, 63, 83, 84, 64, 65, 59, 68, - 68, 85, 69, 70, 74, 41, 71, 86, 72, 73, - 75, 87, 74, 79, 76, 88, 81, 82, 83, 84, - 90, 0, 91, 92, 90, 85, 95, 99, 74, 101, - 102, 86, 93, 93, 93, 93, 87, 103, 104, 106, - - 88, 94, 94, 94, 94, 90, 91, 92, 105, 90, - 95, 108, 99, 101, 102, 107, 109, 110, 107, 111, - 114, 103, 112, 104, 106, 112, 107, 113, 115, 114, - 117, 116, 105, 118, 119, 108, 121, 0, 122, 124, - 109, 110, 125, 126, 111, 114, 128, 130, 0, 131, - 133, 113, 115, 114, 117, 112, 116, 118, 134, 119, - 135, 121, 122, 124, 136, 132, 125, 126, 132, 137, - 141, 128, 130, 131, 133, 138, 139, 148, 149, 112, - 150, 152, 134, 151, 153, 135, 158, 159, 160, 136, - 163, 0, 132, 164, 137, 141, 165, 0, 166, 138, - - 139, 148, 167, 149, 171, 150, 152, 151, 153, 168, - 158, 159, 168, 160, 172, 163, 132, 176, 164, 177, - 187, 165, 166, 180, 182, 184, 167, 185, 189, 171, - 190, 191, 192, 0, 193, 194, 197, 200, 194, 172, - 0, 168, 176, 194, 177, 187, 202, 180, 182, 184, - 204, 185, 205, 189, 190, 191, 195, 192, 193, 195, - 197, 200, 207, 213, 195, 168, 198, 208, 216, 198, - 202, 217, 219, 220, 221, 204, 212, 205, 213, 212, - 223, 222, 214, 223, 0, 214, 195, 207, 213, 198, - 214, 208, 224, 216, 212, 217, 225, 219, 220, 221, - - 226, 0, 213, 227, 212, 222, 227, 231, 223, 212, - 195, 227, 0, 214, 198, 232, 234, 224, 236, 212, - 235, 225, 238, 235, 240, 226, 237, 241, 212, 237, - 241, 231, 223, 212, 237, 0, 227, 214, 242, 232, - 234, 243, 236, 249, 243, 246, 238, 248, 246, 240, - 248, 250, 251, 0, 250, 251, 0, 0, 0, 243, - 227, 0, 0, 242, 0, 0, 0, 0, 249, 243, - 0, 0, 0, 0, 243, 248, 0, 0, 0, 0, - 0, 0, 0, 0, 243, 0, 0, 0, 0, 0, - 0, 0, 0, 243, 0, 0, 0, 0, 243, 248, - - 253, 253, 0, 253, 253, 253, 254, 254, 255, 255, - 255, 256, 256, 256, 257, 257, 0, 257, 257, 257, - 258, 0, 258, 258, 258, 259, 0, 0, 259, 259, - 260, 260, 260, 261, 0, 0, 261, 262, 262, 262, - 263, 0, 0, 263, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - - 252, 252, 252, 252, 252, 252, 252, 252, 252 + 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 } ; static yy_state_type yy_last_accepting_state; @@ -1000,13 +1000,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 >= 253 ) + if ( yy_current_state >= 256 ) 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] != 645 ); + while ( yy_base[yy_current_state] != 646 ); yy_find_action: yy_act = yy_accept[yy_current_state]; @@ -1270,6 +1270,11 @@ YY_RULE_SETUP case 46: YY_RULE_SETUP #line 141 "engines/director/lingo/lingo-lex.l" +{ count(); return tTELL; } + YY_BREAK +case 47: +YY_RULE_SETUP +#line 142 "engines/director/lingo/lingo-lex.l" { count(); @@ -1279,9 +1284,9 @@ YY_RULE_SETUP return THEENTITYWITHID; } YY_BREAK -case 47: +case 48: YY_RULE_SETUP -#line 149 "engines/director/lingo/lingo-lex.l" +#line 150 "engines/director/lingo/lingo-lex.l" { count(); @@ -1323,9 +1328,9 @@ YY_RULE_SETUP warning("Unhandled the entity %s", ptr); } YY_BREAK -case 48: +case 49: YY_RULE_SETUP -#line 189 "engines/director/lingo/lingo-lex.l" +#line 190 "engines/director/lingo/lingo-lex.l" { count(); @@ -1358,9 +1363,9 @@ YY_RULE_SETUP return THEENTITY; } YY_BREAK -case 49: +case 50: YY_RULE_SETUP -#line 220 "engines/director/lingo/lingo-lex.l" +#line 221 "engines/director/lingo/lingo-lex.l" { count(); @@ -1381,69 +1386,69 @@ YY_RULE_SETUP warning("Unhandled the entity %s", ptr); } YY_BREAK -case 50: -YY_RULE_SETUP -#line 239 "engines/director/lingo/lingo-lex.l" -{ count(); return tTHEN; } - YY_BREAK case 51: YY_RULE_SETUP #line 240 "engines/director/lingo/lingo-lex.l" -{ count(); return tTO; } +{ count(); return tTHEN; } YY_BREAK case 52: YY_RULE_SETUP #line 241 "engines/director/lingo/lingo-lex.l" -{ count(); return tSPRITE; } +{ count(); return tTO; } YY_BREAK case 53: YY_RULE_SETUP #line 242 "engines/director/lingo/lingo-lex.l" -{ count(); return tWITH; } +{ count(); return tSPRITE; } YY_BREAK case 54: YY_RULE_SETUP #line 243 "engines/director/lingo/lingo-lex.l" -{ count(); return tWITHIN; } +{ count(); return tWITH; } YY_BREAK case 55: YY_RULE_SETUP #line 244 "engines/director/lingo/lingo-lex.l" -{ count(); return tWHEN; } +{ count(); return tWITHIN; } YY_BREAK case 56: YY_RULE_SETUP #line 245 "engines/director/lingo/lingo-lex.l" -{ count(); return tWHILE; } +{ count(); return tWHEN; } YY_BREAK case 57: YY_RULE_SETUP #line 246 "engines/director/lingo/lingo-lex.l" -{ count(); return tWORD; } +{ count(); return tWHILE; } YY_BREAK case 58: YY_RULE_SETUP -#line 248 "engines/director/lingo/lingo-lex.l" -{ count(); return tNEQ; } +#line 247 "engines/director/lingo/lingo-lex.l" +{ count(); return tWORD; } YY_BREAK case 59: YY_RULE_SETUP #line 249 "engines/director/lingo/lingo-lex.l" -{ count(); return tGE; } +{ count(); return tNEQ; } YY_BREAK case 60: YY_RULE_SETUP #line 250 "engines/director/lingo/lingo-lex.l" -{ count(); return tLE; } +{ count(); return tGE; } YY_BREAK case 61: YY_RULE_SETUP #line 251 "engines/director/lingo/lingo-lex.l" -{ count(); return tCONCAT; } +{ count(); return tLE; } YY_BREAK case 62: YY_RULE_SETUP -#line 253 "engines/director/lingo/lingo-lex.l" +#line 252 "engines/director/lingo/lingo-lex.l" +{ count(); return tCONCAT; } + YY_BREAK +case 63: +YY_RULE_SETUP +#line 254 "engines/director/lingo/lingo-lex.l" { count(); yylval.s = new Common::String(yytext); @@ -1484,43 +1489,43 @@ YY_RULE_SETUP return ID; } YY_BREAK -case 63: -YY_RULE_SETUP -#line 292 "engines/director/lingo/lingo-lex.l" -{ count(); yylval.f = atof(yytext); return FLOAT; } - YY_BREAK case 64: YY_RULE_SETUP #line 293 "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 65: YY_RULE_SETUP #line 294 "engines/director/lingo/lingo-lex.l" -{ count(); return *yytext; } +{ count(); yylval.i = strtol(yytext, NULL, 10); return INT; } YY_BREAK case 66: -/* rule 66 can match eol */ YY_RULE_SETUP #line 295 "engines/director/lingo/lingo-lex.l" -{ return '\n'; } +{ count(); return *yytext; } YY_BREAK case 67: +/* rule 67 can match eol */ YY_RULE_SETUP #line 296 "engines/director/lingo/lingo-lex.l" -{ count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; } +{ return '\n'; } YY_BREAK case 68: YY_RULE_SETUP #line 297 "engines/director/lingo/lingo-lex.l" - +{ count(); yylval.s = new Common::String(&yytext[1]); yylval.s->deleteLastChar(); return STRING; } YY_BREAK case 69: YY_RULE_SETUP -#line 299 "engines/director/lingo/lingo-lex.l" +#line 298 "engines/director/lingo/lingo-lex.l" + + YY_BREAK +case 70: +YY_RULE_SETUP +#line 300 "engines/director/lingo/lingo-lex.l" ECHO; YY_BREAK -#line 1524 "engines/director/lingo/lingo-lex.cpp" +#line 1529 "engines/director/lingo/lingo-lex.cpp" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -1813,7 +1818,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 >= 253 ) + if ( yy_current_state >= 256 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -1841,11 +1846,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 >= 253 ) + if ( yy_current_state >= 256 ) 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 == 252); + yy_is_jam = (yy_current_state == 255); return yy_is_jam ? 0 : yy_current_state; } @@ -2483,7 +2488,7 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 299 "engines/director/lingo/lingo-lex.l" +#line 300 "engines/director/lingo/lingo-lex.l" |