diff options
Diffstat (limited to 'src/moc/moc_lex.cpp')
-rw-r--r-- | src/moc/moc_lex.cpp | 1392 |
1 files changed, 740 insertions, 652 deletions
diff --git a/src/moc/moc_lex.cpp b/src/moc/moc_lex.cpp index 0bcb929cb..cb2651b4d 100644 --- a/src/moc/moc_lex.cpp +++ b/src/moc/moc_lex.cpp @@ -8,7 +8,7 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 31 +#define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif @@ -30,7 +30,15 @@ /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ -#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + +/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, + * if you want the limit (max/min) macros for int types. + */ +#ifndef __STDC_LIMIT_MACROS +#define __STDC_LIMIT_MACROS 1 +#endif + #include <inttypes.h> typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; @@ -45,7 +53,6 @@ typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; -#endif /* ! C99 */ /* Limits of integral types. */ #ifndef INT8_MIN @@ -76,6 +83,8 @@ typedef unsigned int flex_uint32_t; #define UINT32_MAX (4294967295U) #endif +#endif /* ! C99 */ + #endif /* ! FLEXINT_H */ #ifdef __cplusplus @@ -85,11 +94,12 @@ typedef unsigned int flex_uint32_t; #else /* ! __cplusplus */ -#if __STDC__ +/* C99 requires __STDC__ to be defined as 1. */ +#if defined (__STDC__) #define YY_USE_CONST -#endif /* __STDC__ */ +#endif /* defined (__STDC__) */ #endif /* ! __cplusplus */ #ifdef YY_USE_CONST @@ -131,9 +141,21 @@ typedef unsigned int flex_uint32_t; /* Size of default input buffer. */ #ifndef YY_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k. + * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. + * Ditto for the __ia64__ case accordingly. + */ +#define YY_BUF_SIZE 32768 +#else #define YY_BUF_SIZE 16384 +#endif /* __ia64__ */ #endif +/* The state buf must be large enough to hold one state per character in the main buffer. + */ +#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) + #ifndef YY_TYPEDEF_YY_BUFFER_STATE #define YY_TYPEDEF_YY_BUFFER_STATE typedef struct yy_buffer_state *YY_BUFFER_STATE; @@ -165,14 +187,9 @@ extern FILE *yyin, *yyout; #define unput(c) yyunput( c, (yytext_ptr) ) -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ - #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T -typedef unsigned int yy_size_t; +typedef size_t yy_size_t; #endif #ifndef YY_STRUCT_YY_BUFFER_STATE @@ -267,7 +284,7 @@ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ +static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches @@ -360,7 +377,7 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[615] = +static yyconst flex_int16_t yy_accept[623] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -369,67 +386,68 @@ static yyconst flex_int16_t yy_accept[615] = 105, 105, 105, 105, 139, 134, 148, 139, 113, 148, 148, 148, 130, 148, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 139, 134, 140, 139, 140, 140, 106, - 106, 106, 106, 15, 16, 139, 134, 141, 139, 141, - 141, 107, 107, 107, 107, 107, 28, 29, 139, 134, - - 145, 139, 54, 55, 58, 145, 59, 56, 57, 60, - 139, 134, 143, 139, 42, 43, 46, 143, 47, 44, - 45, 139, 134, 144, 139, 48, 49, 52, 144, 53, - 50, 51, 139, 134, 142, 139, 111, 142, 13, 14, - 139, 134, 137, 137, 112, 61, 62, 137, 137, 134, - 149, 139, 149, 139, 134, 147, 139, 147, 139, 134, - 34, 35, 100, 100, 100, 100, 100, 104, 101, 102, - 103, 139, 136, 135, 139, 134, 134, 134, 0, 108, - 0, 105, 105, 105, 105, 105, 113, 0, 0, 123, - 0, 0, 132, 131, 130, 92, 99, 99, 99, 99, + 99, 99, 99, 99, 139, 134, 140, 139, 140, 140, + 106, 106, 106, 106, 106, 15, 16, 139, 134, 141, + 139, 141, 141, 107, 107, 107, 107, 107, 28, 29, + + 139, 134, 145, 139, 54, 55, 58, 145, 59, 56, + 57, 60, 139, 134, 143, 139, 42, 43, 46, 143, + 47, 44, 45, 139, 134, 144, 139, 48, 49, 52, + 144, 53, 50, 51, 139, 134, 142, 139, 111, 142, + 13, 14, 139, 134, 137, 137, 112, 61, 62, 137, + 137, 134, 149, 139, 149, 139, 134, 147, 139, 147, + 139, 134, 34, 35, 100, 100, 100, 100, 100, 104, + 101, 102, 103, 139, 136, 135, 139, 134, 134, 134, + 0, 108, 0, 105, 105, 105, 105, 105, 113, 0, + 0, 123, 0, 0, 132, 131, 130, 92, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, 0, 109, - 0, 106, 106, 106, 106, 106, 106, 0, 110, 0, - 107, 107, 107, 107, 107, 111, 0, 138, 112, 0, - 138, 100, 100, 100, 100, 100, 100, 104, 0, 135, - 134, 105, 105, 105, 105, 114, 0, 0, 114, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 93, 131, 99, 99, 99, 99, 99, 99, 87, 99, - 99, 99, 99, 99, 99, 99, 99, 99, 99, 76, - 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, + 99, 0, 109, 0, 106, 106, 106, 106, 106, 106, + 106, 0, 110, 0, 107, 107, 107, 107, 107, 111, + 0, 138, 112, 0, 138, 100, 100, 100, 100, 100, + 100, 104, 0, 135, 134, 105, 105, 105, 105, 114, + 0, 0, 114, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 93, 131, 99, 99, 99, 99, + 99, 99, 99, 87, 99, 99, 99, 99, 99, 99, + + 99, 99, 99, 99, 76, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 106, 106, 106, 106, 106, 106, 106, 106, - 106, 106, 107, 107, 107, 107, 100, 100, 100, 100, - 100, 100, 134, 105, 105, 105, 105, 129, 125, 124, - 126, 0, 127, 122, 115, 116, 117, 118, 119, 120, - 121, 0, 99, 99, 99, 99, 99, 99, 99, 65, - 74, 99, 99, 99, 83, 99, 99, 99, 99, 77, + 99, 99, 99, 99, 99, 99, 99, 106, 106, 106, + 106, 106, 106, 106, 106, 106, 106, 106, 107, 107, + 107, 107, 100, 100, 100, 100, 100, 100, 134, 105, + 105, 105, 105, 129, 125, 124, 126, 0, 127, 122, + 115, 116, 117, 118, 119, 120, 121, 0, 99, 99, + 99, 99, 99, 99, 99, 65, 74, 99, 99, 99, + 83, 99, 99, 99, 99, 77, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 99, 99, 99, 99, 82, - - 99, 106, 106, 106, 106, 106, 106, 106, 106, 106, - 106, 106, 107, 107, 107, 107, 100, 36, 100, 100, - 100, 100, 134, 1, 105, 105, 3, 127, 128, 99, - 99, 99, 99, 99, 99, 99, 84, 72, 99, 99, - 80, 99, 99, 99, 99, 99, 99, 99, 99, 99, - 75, 99, 99, 7, 99, 99, 99, 96, 99, 86, - 99, 97, 99, 99, 106, 106, 106, 106, 106, 106, - 106, 106, 106, 106, 21, 30, 107, 107, 33, 100, - 39, 100, 100, 37, 134, 105, 105, 99, 99, 99, - 99, 99, 12, 99, 81, 68, 63, 69, 99, 99, - - 99, 99, 99, 90, 99, 99, 78, 67, 85, 99, - 99, 99, 99, 99, 106, 106, 106, 106, 106, 27, - 106, 106, 17, 106, 107, 107, 100, 100, 38, 134, - 105, 105, 99, 11, 99, 99, 99, 99, 95, 99, - 99, 88, 99, 99, 6, 99, 64, 99, 71, 99, - 106, 26, 106, 106, 106, 19, 106, 20, 107, 107, - 100, 100, 134, 134, 105, 4, 99, 5, 99, 99, - 99, 99, 91, 99, 66, 94, 79, 73, 106, 23, - 106, 106, 106, 107, 31, 100, 100, 133, 2, 99, - 99, 99, 99, 98, 89, 106, 106, 106, 18, 32, - - 100, 100, 99, 10, 9, 70, 106, 25, 24, 40, - 41, 8, 22, 0 + + 99, 99, 99, 99, 99, 82, 99, 106, 106, 106, + 106, 106, 106, 106, 106, 106, 106, 106, 107, 107, + 107, 107, 100, 36, 100, 100, 100, 100, 134, 1, + 105, 105, 3, 127, 128, 99, 99, 99, 99, 99, + 99, 99, 84, 72, 99, 99, 80, 99, 99, 99, + 99, 99, 99, 99, 99, 99, 75, 99, 99, 7, + 99, 99, 99, 96, 99, 86, 99, 97, 99, 99, + 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, + 21, 30, 107, 107, 33, 100, 39, 100, 100, 37, + 134, 105, 105, 99, 99, 99, 99, 12, 99, 99, + + 81, 68, 63, 69, 99, 99, 99, 99, 99, 90, + 99, 99, 78, 67, 85, 99, 99, 99, 99, 99, + 106, 106, 106, 106, 27, 106, 106, 106, 17, 106, + 107, 107, 100, 100, 38, 134, 105, 105, 99, 11, + 99, 99, 99, 99, 95, 99, 99, 88, 99, 99, + 6, 99, 64, 99, 71, 99, 106, 26, 106, 106, + 106, 19, 106, 20, 107, 107, 100, 100, 134, 134, + 105, 4, 99, 99, 99, 99, 99, 99, 91, 99, + 66, 94, 79, 73, 106, 106, 106, 106, 106, 107, + 31, 100, 100, 133, 2, 99, 99, 99, 5, 99, + + 98, 89, 106, 106, 106, 23, 18, 32, 100, 100, + 99, 10, 9, 70, 106, 25, 24, 40, 41, 8, + 22, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -476,160 +494,160 @@ static yyconst flex_int32_t yy_meta[72] = 1 } ; -static yyconst flex_int16_t yy_base[642] = +static yyconst flex_int16_t yy_base[649] = { 0, - 0, 3, 16, 5, 87, 9, 158, 229, 300, 176, - 370, 440, 207, 510, 382, 555, 184, 399, 600, 645, - 188, 254, 204, 266, 691, 177, 278, 416, 1189, 1190, - 182, 1190, 183, 220, 1137, 1190, 196, 207, 214, 0, - 1130, 1138, 1133, 1121, 260, 1132, 1190, 211, 1137, 243, - 281, 251, 382, 1164, 0, 1133, 1132, 213, 320, 1118, - 226, 138, 1118, 1116, 1110, 1126, 1112, 327, 1120, 351, - 378, 350, 375, 434, 1120, 1190, 408, 394, 442, 0, - 1123, 392, 403, 1190, 1190, 459, 1118, 1190, 461, 427, - 458, 0, 1111, 1119, 1114, 1102, 1190, 1190, 471, 1113, - - 1190, 464, 1190, 1190, 1190, 465, 1190, 1190, 1190, 1190, - 477, 1112, 1190, 479, 1190, 1190, 1190, 475, 1190, 1190, - 1190, 487, 1111, 1190, 489, 1190, 1190, 1190, 484, 1190, - 1190, 1190, 493, 1110, 1190, 498, 1115, 492, 1190, 1190, - 501, 1108, 1190, 506, 1113, 1190, 1190, 507, 523, 1106, - 1190, 528, 514, 530, 1105, 1190, 532, 527, 536, 1104, - 1190, 1190, 0, 1129, 1128, 411, 1115, 1106, 1190, 1190, - 1190, 541, 1190, 0, 543, 0, 0, 1098, 505, 1190, - 1145, 0, 1100, 1089, 1088, 1089, 1099, 543, 1136, 1135, - 758, 1129, 537, 555, 560, 1190, 0, 554, 1084, 1081, - - 1074, 1089, 1088, 1076, 1069, 1068, 1068, 1071, 1074, 220, - 1070, 1064, 1069, 1074, 522, 1076, 1070, 1063, 1068, 1061, - 493, 1062, 1057, 1057, 382, 1061, 1054, 524, 517, 1190, - 1111, 0, 560, 530, 1065, 1059, 1052, 555, 1190, 1107, - 0, 1062, 1051, 1050, 1051, 1061, 592, 604, 1060, 606, - 612, 0, 1066, 477, 1066, 1068, 1072, 1055, 612, 0, - 1046, 1035, 1045, 1035, 1036, 1190, 1087, 1086, 1085, 614, - 616, 1084, 1083, 1082, 1081, 1080, 1079, 1078, 1077, 1076, - 1190, 610, 1051, 1048, 465, 1043, 1054, 1019, 0, 1017, - 1014, 1012, 1011, 1024, 1014, 1019, 1022, 1017, 1012, 0, - - 1013, 1018, 1013, 1002, 997, 998, 1004, 1004, 997, 999, - 993, 992, 990, 993, 993, 1000, 991, 994, 990, 984, - 996, 998, 1014, 1011, 543, 1006, 1017, 975, 976, 982, - 979, 973, 973, 983, 973, 974, 1003, 1007, 1005, 1000, - 991, 988, 970, 962, 961, 966, 968, 1190, 1190, 1190, - 1190, 620, 1190, 1190, 1190, 1190, 1190, 1190, 1190, 1190, - 1190, 1014, 999, 979, 988, 992, 982, 976, 957, 0, - 0, 950, 948, 954, 0, 948, 945, 949, 948, 0, - 957, 942, 956, 955, 950, 945, 937, 935, 539, 935, - 941, 946, 938, 927, 942, 933, 937, 936, 924, 0, - - 924, 966, 946, 955, 959, 949, 943, 933, 928, 923, - 930, 914, 913, 912, 917, 919, 945, 0, 932, 935, - 944, 943, 908, 0, 905, 917, 0, 1190, 1190, 922, - 920, 921, 904, 905, 895, 876, 0, 0, 875, 867, - 0, 867, 858, 845, 836, 832, 824, 832, 775, 759, - 0, 764, 768, 0, 768, 752, 767, 0, 762, 0, - 754, 0, 764, 754, 771, 776, 780, 767, 767, 763, - 736, 749, 748, 740, 0, 0, 735, 747, 0, 761, - 0, 754, 768, 0, 739, 742, 725, 750, 749, 763, - 748, 759, 0, 724, 0, 0, 0, 0, 730, 733, - - 720, 727, 714, 0, 725, 713, 0, 0, 0, 711, - 721, 719, 713, 712, 730, 729, 743, 727, 665, 0, - 636, 623, 0, 623, 637, 620, 662, 661, 0, 636, - 630, 627, 649, 0, 638, 647, 638, 622, 0, 623, - 610, 0, 619, 608, 0, 617, 0, 617, 0, 615, - 637, 0, 624, 633, 624, 0, 608, 0, 609, 605, - 634, 633, 607, 372, 593, 0, 610, 0, 618, 602, - 593, 587, 0, 587, 0, 0, 0, 0, 604, 0, - 612, 594, 581, 570, 0, 581, 562, 1190, 0, 541, - 451, 413, 376, 0, 0, 361, 357, 255, 0, 0, - - 246, 234, 171, 0, 0, 0, 147, 0, 0, 0, - 0, 0, 0, 1190, 826, 832, 838, 844, 850, 856, - 862, 868, 874, 880, 886, 888, 894, 900, 902, 908, - 910, 916, 918, 924, 930, 932, 938, 944, 950, 953, - 958 + 0, 3, 16, 5, 87, 9, 158, 227, 233, 302, + 307, 377, 319, 447, 331, 492, 343, 355, 537, 582, + 369, 390, 395, 398, 628, 311, 425, 464, 1206, 1207, + 229, 1207, 316, 364, 1154, 1207, 304, 307, 328, 0, + 1147, 1155, 1150, 1138, 403, 1149, 1207, 352, 1154, 317, + 403, 374, 425, 1181, 0, 1150, 1160, 1148, 311, 387, + 1134, 348, 274, 1134, 1132, 1126, 1142, 1128, 370, 1136, + 407, 428, 361, 401, 476, 1136, 1207, 443, 386, 471, + 0, 1139, 1149, 423, 430, 1207, 1207, 505, 1133, 1207, + 487, 407, 489, 0, 1126, 1134, 1129, 1117, 1207, 1207, + + 510, 1128, 1207, 512, 1207, 1207, 1207, 496, 1207, 1207, + 1207, 1207, 515, 1127, 1207, 517, 1207, 1207, 1207, 512, + 1207, 1207, 1207, 521, 1126, 1207, 526, 1207, 1207, 1207, + 520, 1207, 1207, 1207, 529, 1125, 1207, 541, 1130, 524, + 1207, 1207, 545, 1123, 1207, 550, 1128, 1207, 1207, 545, + 557, 1121, 1207, 559, 554, 563, 1120, 1207, 568, 562, + 571, 1119, 1207, 1207, 0, 1144, 1143, 420, 1130, 1121, + 1207, 1207, 1207, 576, 1207, 0, 590, 0, 0, 1113, + 544, 1207, 1160, 0, 1115, 1104, 1103, 1104, 1114, 593, + 1151, 1150, 695, 1144, 589, 592, 597, 1207, 0, 678, + + 1108, 1098, 1095, 1088, 1103, 1102, 1090, 1083, 1082, 1082, + 1085, 1088, 286, 1084, 1078, 1083, 1088, 520, 1090, 1084, + 1077, 1082, 1075, 506, 1076, 1071, 1071, 554, 1075, 1068, + 543, 577, 1207, 1125, 0, 683, 1081, 558, 1078, 1072, + 1065, 700, 1207, 1120, 0, 1075, 1064, 1063, 1064, 1074, + 611, 617, 1073, 619, 717, 0, 1079, 686, 1079, 1081, + 1085, 1068, 710, 0, 1059, 1048, 1058, 1048, 1049, 1207, + 1100, 1099, 1098, 715, 718, 1097, 1096, 1095, 1094, 1093, + 1092, 1091, 1090, 1089, 1207, 712, 1064, 1061, 1052, 1055, + 1066, 1056, 1030, 0, 1028, 1025, 1023, 1022, 1035, 1025, + + 1030, 1033, 1028, 1023, 0, 1024, 1029, 1024, 1013, 1008, + 1009, 1015, 1015, 1008, 1010, 1004, 1003, 1001, 1004, 1004, + 1011, 1002, 1005, 1001, 995, 1007, 1009, 1025, 1022, 1013, + 1016, 1027, 1017, 984, 985, 991, 988, 982, 982, 992, + 982, 983, 1012, 1016, 1014, 1009, 1000, 997, 979, 971, + 970, 975, 977, 1207, 1207, 1207, 1207, 724, 1207, 1207, + 1207, 1207, 1207, 1207, 1207, 1207, 1207, 1023, 1008, 988, + 1002, 992, 986, 1002, 966, 0, 0, 959, 957, 963, + 0, 957, 954, 958, 957, 0, 966, 951, 965, 964, + 959, 954, 946, 944, 573, 944, 950, 955, 947, 936, + + 951, 942, 946, 945, 933, 0, 933, 975, 955, 969, + 959, 953, 969, 942, 937, 932, 939, 923, 922, 921, + 926, 928, 954, 0, 941, 944, 953, 952, 917, 0, + 914, 926, 0, 1207, 1207, 935, 940, 934, 935, 931, + 938, 911, 0, 0, 914, 906, 0, 913, 911, 905, + 900, 896, 895, 908, 907, 892, 0, 898, 903, 0, + 903, 888, 903, 0, 898, 0, 890, 0, 900, 891, + 908, 913, 907, 908, 904, 911, 876, 889, 888, 880, + 0, 0, 875, 887, 0, 901, 0, 894, 908, 0, + 879, 882, 865, 890, 889, 889, 900, 0, 899, 864, + + 0, 0, 0, 0, 870, 873, 860, 867, 854, 0, + 865, 853, 0, 0, 0, 851, 861, 861, 855, 854, + 872, 871, 871, 882, 0, 881, 853, 840, 0, 840, + 854, 837, 879, 878, 0, 853, 847, 844, 862, 0, + 854, 840, 849, 819, 0, 814, 801, 0, 806, 795, + 0, 797, 0, 790, 0, 781, 799, 0, 798, 782, + 790, 0, 710, 0, 710, 706, 734, 733, 708, 365, + 700, 0, 718, 726, 710, 708, 699, 690, 0, 690, + 0, 0, 0, 0, 704, 712, 696, 695, 660, 652, + 0, 596, 563, 1207, 0, 500, 479, 449, 0, 429, + + 0, 0, 448, 429, 379, 0, 0, 0, 364, 339, + 285, 0, 0, 0, 279, 0, 0, 0, 0, 0, + 0, 1207, 763, 769, 775, 781, 787, 793, 799, 805, + 811, 817, 819, 825, 831, 833, 839, 841, 847, 849, + 855, 861, 863, 869, 875, 881, 884, 889 } ; -static yyconst flex_int16_t yy_def[642] = +static yyconst flex_int16_t yy_def[649] = { 0, - 615, 615, 614, 3, 614, 5, 616, 616, 614, 9, - 617, 617, 618, 618, 619, 619, 620, 620, 621, 621, - 622, 622, 623, 623, 614, 25, 615, 615, 614, 614, - 614, 614, 614, 614, 624, 614, 614, 625, 614, 626, - 626, 626, 626, 626, 614, 624, 614, 614, 627, 628, - 614, 614, 614, 614, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 614, 624, 614, 614, 630, 614, 631, - 631, 631, 631, 614, 614, 614, 624, 614, 614, 632, - 614, 633, 633, 633, 633, 633, 614, 614, 614, 624, - - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 624, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 624, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 624, 614, 614, 634, 614, 614, 614, - 614, 624, 614, 614, 635, 614, 614, 614, 614, 624, - 614, 614, 614, 614, 624, 614, 614, 614, 614, 624, - 614, 614, 636, 636, 636, 636, 636, 637, 614, 614, - 614, 614, 614, 638, 614, 624, 624, 624, 625, 614, - 625, 626, 626, 626, 626, 626, 627, 627, 614, 614, - 639, 614, 614, 614, 614, 614, 629, 629, 629, 629, - - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 630, 614, - 630, 631, 631, 631, 631, 631, 631, 632, 614, 632, - 633, 633, 633, 633, 633, 634, 634, 614, 635, 635, - 614, 636, 636, 636, 636, 636, 636, 637, 637, 638, - 624, 626, 626, 626, 626, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 640, - 614, 614, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 631, 631, 631, 631, 631, 631, 631, 631, - 631, 631, 633, 633, 633, 633, 636, 636, 636, 636, - 636, 636, 624, 626, 626, 626, 626, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 640, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - - 629, 631, 631, 631, 631, 631, 631, 631, 631, 631, - 631, 631, 633, 633, 633, 633, 636, 636, 636, 636, - 636, 636, 624, 626, 626, 626, 626, 614, 614, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 631, 631, 631, 631, 631, 631, - 631, 631, 631, 631, 631, 633, 633, 633, 633, 636, - 636, 636, 636, 636, 624, 626, 626, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 631, 631, 631, 631, 631, 631, - 631, 631, 631, 631, 633, 633, 636, 636, 636, 641, - 626, 626, 629, 629, 629, 629, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 629, 629, - 631, 631, 631, 631, 631, 631, 631, 631, 633, 633, - 636, 636, 641, 641, 626, 626, 629, 629, 629, 629, - 629, 629, 629, 629, 629, 629, 629, 629, 631, 631, - 631, 631, 631, 633, 633, 636, 636, 614, 626, 629, - 629, 629, 629, 629, 629, 631, 631, 631, 631, 633, - - 636, 636, 629, 629, 629, 629, 631, 631, 631, 636, - 636, 629, 631, 0, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614 + 623, 623, 622, 3, 622, 5, 622, 7, 622, 9, + 624, 624, 625, 625, 626, 626, 627, 627, 628, 628, + 629, 629, 630, 630, 622, 25, 623, 623, 622, 622, + 622, 622, 622, 622, 631, 622, 622, 632, 622, 633, + 633, 633, 633, 633, 622, 631, 622, 622, 634, 635, + 622, 622, 622, 622, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 622, 631, 622, 622, 637, 622, + 638, 638, 638, 638, 638, 622, 622, 622, 631, 622, + 622, 639, 622, 640, 640, 640, 640, 640, 622, 622, + + 622, 631, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 631, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 631, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 631, 622, 622, 641, 622, + 622, 622, 622, 631, 622, 622, 642, 622, 622, 622, + 622, 631, 622, 622, 622, 622, 631, 622, 622, 622, + 622, 631, 622, 622, 643, 643, 643, 643, 643, 644, + 622, 622, 622, 622, 622, 645, 622, 631, 631, 631, + 632, 622, 632, 633, 633, 633, 633, 633, 634, 634, + 622, 622, 646, 622, 622, 622, 622, 622, 636, 636, + + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 637, 622, 637, 638, 638, 638, 638, 638, 638, + 638, 639, 622, 639, 640, 640, 640, 640, 640, 641, + 641, 622, 642, 642, 622, 643, 643, 643, 643, 643, + 643, 644, 644, 645, 631, 633, 633, 633, 633, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 647, 622, 622, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 638, 638, 638, + 638, 638, 638, 638, 638, 638, 638, 638, 640, 640, + 640, 640, 643, 643, 643, 643, 643, 643, 631, 633, + 633, 633, 633, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 647, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + + 636, 636, 636, 636, 636, 636, 636, 638, 638, 638, + 638, 638, 638, 638, 638, 638, 638, 638, 640, 640, + 640, 640, 643, 643, 643, 643, 643, 643, 631, 633, + 633, 633, 633, 622, 622, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, + 638, 640, 640, 640, 640, 643, 643, 643, 643, 643, + 631, 633, 633, 636, 636, 636, 636, 636, 636, 636, + + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 638, 638, 638, 638, 638, 638, 638, 638, 638, 638, + 640, 640, 643, 643, 643, 648, 633, 633, 636, 636, + 636, 636, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 636, 636, 638, 638, 638, 638, + 638, 638, 638, 638, 640, 640, 643, 643, 648, 648, + 633, 633, 636, 636, 636, 636, 636, 636, 636, 636, + 636, 636, 636, 636, 638, 638, 638, 638, 638, 640, + 640, 643, 643, 622, 633, 636, 636, 636, 636, 636, + + 636, 636, 638, 638, 638, 638, 638, 640, 643, 643, + 636, 636, 636, 636, 638, 638, 638, 643, 643, 636, + 638, 0, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622 } ; -static yyconst flex_int16_t yy_nxt[1262] = +static yyconst flex_int16_t yy_nxt[1279] = { 0, - 614, 31, 31, 32, 31, 34, 32, 45, 35, 614, - 46, 74, 33, 614, 75, 33, 36, 37, 37, 32, + 622, 31, 31, 32, 31, 34, 32, 45, 35, 622, + 46, 75, 33, 622, 76, 33, 36, 37, 37, 32, 38, 36, 36, 36, 36, 36, 36, 36, 39, 36, 36, 36, 36, 36, 36, 36, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, @@ -641,135 +659,136 @@ static yyconst flex_int16_t yy_nxt[1262] = 53, 53, 53, 54, 47, 47, 47, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, - 55, 55, 56, 55, 55, 55, 55, 55, 55, 55, - 47, 47, 47, 57, 58, 55, 59, 60, 61, 62, - 55, 55, 63, 64, 65, 66, 67, 68, 69, 70, - 71, 72, 73, 55, 55, 55, 47, 47, 76, 77, - 77, 32, 78, 76, 76, 76, 76, 76, 76, 76, - 79, 76, 76, 76, 76, 76, 76, 76, 99, 34, - 613, 100, 35, 172, 172, 136, 136, 32, 137, 152, - 152, 32, 173, 81, 208, 174, 138, 172, 172, 209, - - 153, 76, 76, 76, 612, 157, 157, 32, 114, 114, - 32, 180, 172, 172, 115, 116, 158, 117, 82, 118, - 83, 172, 175, 173, 119, 176, 174, 84, 85, 76, - 77, 86, 32, 78, 87, 76, 76, 76, 76, 76, - 76, 79, 76, 76, 76, 76, 76, 76, 76, 190, - 120, 181, 121, 139, 140, 152, 154, 32, 611, 155, - 173, 172, 175, 174, 81, 176, 153, 157, 159, 32, - 610, 160, 76, 76, 76, 200, 299, 201, 158, 31, - 31, 32, 168, 300, 206, 169, 170, 191, 171, 82, - 33, 83, 192, 207, 193, 193, 193, 609, 84, 85, - - 88, 89, 89, 32, 90, 88, 88, 88, 88, 88, - 88, 88, 91, 88, 88, 88, 88, 88, 88, 88, - 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, - 92, 92, 92, 92, 92, 92, 92, 92, 92, 92, - 92, 92, 92, 88, 88, 88, 92, 92, 92, 93, - 92, 92, 92, 92, 92, 92, 92, 92, 94, 92, - 92, 92, 92, 95, 96, 92, 92, 92, 92, 97, - 98, 102, 102, 32, 202, 588, 203, 103, 104, 204, - 105, 608, 106, 125, 125, 32, 607, 107, 215, 126, - 127, 216, 128, 194, 129, 195, 195, 195, 230, 130, - - 136, 141, 32, 137, 142, 218, 219, 220, 225, 172, - 172, 138, 226, 108, 221, 109, 564, 31, 34, 32, - 168, 35, 606, 169, 170, 131, 171, 132, 33, 222, - 227, 239, 223, 255, 228, 172, 175, 317, 231, 176, - 110, 102, 111, 32, 318, 112, 224, 103, 104, 256, - 105, 173, 106, 234, 174, 605, 235, 107, 236, 237, - 172, 175, 172, 172, 176, 172, 172, 173, 139, 140, - 174, 240, 172, 175, 173, 604, 176, 174, 172, 175, - 172, 172, 176, 108, 173, 109, 365, 174, 172, 175, - 172, 172, 176, 173, 172, 175, 174, 338, 176, 172, - - 172, 173, 172, 175, 174, 366, 176, 248, 248, 180, - 110, 114, 122, 32, 339, 123, 173, 115, 116, 174, - 117, 230, 118, 173, 248, 251, 174, 119, 176, 172, - 172, 172, 175, 172, 172, 176, 173, 172, 175, 174, - 312, 176, 172, 172, 172, 175, 187, 187, 176, 181, - 193, 193, 193, 120, 313, 121, 125, 133, 32, 239, - 134, 231, 126, 127, 404, 128, 603, 129, 282, 282, - 282, 194, 130, 195, 195, 195, 283, 305, 284, 321, - 322, 306, 323, 405, 324, 328, 452, 285, 286, 329, - 453, 287, 602, 325, 326, 246, 246, 327, 131, 240, - - 132, 144, 144, 32, 145, 248, 248, 146, 147, 249, - 249, 601, 148, 248, 251, 258, 258, 176, 146, 147, - 351, 600, 353, 282, 282, 282, 428, 352, 352, 352, - 352, 599, 598, 352, 352, 597, 596, 595, 594, 593, - 592, 591, 590, 146, 589, 147, 144, 149, 32, 145, - 150, 564, 146, 147, 587, 586, 585, 148, 584, 583, - 582, 581, 580, 146, 147, 579, 578, 577, 576, 575, - 574, 573, 572, 571, 570, 569, 568, 567, 566, 565, - 564, 562, 561, 560, 559, 558, 557, 556, 146, 555, - 147, 30, 31, 31, 32, 30, 30, 30, 161, 162, - - 30, 30, 30, 33, 30, 30, 30, 30, 30, 30, - 30, 163, 163, 163, 164, 163, 163, 163, 163, 163, - 163, 163, 163, 163, 163, 163, 163, 165, 166, 163, - 163, 163, 167, 163, 30, 30, 30, 163, 163, 163, - 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, - 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, - 30, 30, 268, 554, 269, 553, 552, 551, 550, 549, - 548, 270, 271, 547, 546, 545, 544, 543, 542, 541, - 540, 539, 538, 537, 536, 535, 534, 533, 532, 531, - 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, - - 520, 519, 272, 518, 517, 273, 274, 516, 515, 514, - 275, 513, 512, 511, 510, 509, 276, 508, 507, 277, - 506, 278, 505, 279, 504, 280, 30, 30, 30, 30, - 30, 30, 80, 80, 80, 80, 80, 80, 101, 101, - 101, 101, 101, 101, 113, 113, 113, 113, 113, 113, - 124, 124, 124, 124, 124, 124, 135, 135, 135, 135, - 135, 135, 143, 143, 143, 143, 143, 143, 151, 151, - 151, 151, 151, 151, 156, 156, 156, 156, 156, 156, - 177, 503, 177, 177, 177, 177, 179, 502, 179, 179, - 179, 179, 182, 182, 187, 501, 500, 187, 187, 187, - - 189, 499, 189, 189, 189, 189, 197, 197, 229, 498, - 229, 229, 229, 229, 232, 232, 238, 497, 238, 238, - 238, 238, 241, 241, 246, 496, 495, 246, 246, 246, - 249, 494, 493, 249, 249, 249, 252, 252, 258, 492, - 491, 258, 258, 258, 260, 490, 260, 260, 260, 260, - 267, 489, 267, 267, 267, 267, 362, 362, 563, 488, - 563, 563, 563, 563, 487, 486, 485, 484, 483, 482, - 481, 480, 479, 478, 477, 476, 475, 474, 473, 472, - 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, - 461, 460, 459, 458, 457, 456, 455, 454, 451, 450, - - 449, 448, 447, 446, 445, 444, 443, 442, 441, 440, - 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, - 429, 427, 426, 425, 424, 423, 422, 421, 420, 419, - 418, 417, 416, 415, 414, 413, 412, 411, 410, 409, - 408, 407, 406, 403, 402, 401, 400, 399, 398, 397, - 396, 395, 394, 393, 392, 391, 390, 389, 388, 387, - 386, 385, 384, 383, 382, 381, 380, 379, 378, 377, - 376, 375, 374, 373, 372, 371, 370, 369, 368, 367, - 364, 363, 348, 361, 360, 359, 358, 357, 356, 355, - 354, 350, 349, 348, 347, 346, 345, 344, 343, 259, - - 342, 341, 340, 337, 250, 247, 336, 335, 334, 333, - 238, 332, 331, 330, 229, 320, 319, 316, 315, 314, - 311, 310, 309, 308, 307, 304, 303, 302, 301, 298, - 297, 296, 295, 294, 293, 292, 291, 290, 289, 288, - 281, 266, 266, 188, 265, 264, 263, 262, 179, 261, - 259, 257, 254, 253, 178, 178, 178, 250, 178, 247, - 178, 178, 178, 178, 245, 244, 243, 242, 178, 233, - 178, 217, 214, 213, 212, 211, 210, 205, 199, 198, - 196, 188, 178, 186, 185, 184, 183, 178, 614, 29, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614 + 55, 55, 56, 55, 55, 57, 55, 55, 55, 55, + 47, 47, 47, 58, 59, 55, 60, 61, 62, 63, + 55, 55, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 73, 74, 55, 55, 55, 47, 47, 77, 78, + 78, 32, 79, 77, 77, 77, 77, 77, 77, 77, + 80, 77, 77, 77, 77, 77, 77, 77, 81, 81, + 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, + 81, 81, 81, 82, 81, 81, 83, 81, 81, 81, + + 81, 77, 77, 77, 81, 81, 81, 81, 81, 81, + 81, 81, 81, 81, 81, 81, 81, 81, 84, 81, + 85, 81, 81, 81, 81, 81, 81, 86, 87, 88, + 174, 174, 89, 90, 91, 91, 32, 92, 90, 90, + 90, 90, 90, 90, 90, 93, 90, 90, 90, 90, + 90, 90, 90, 94, 94, 94, 94, 94, 94, 94, + 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, + 94, 94, 94, 94, 94, 94, 90, 90, 90, 94, + 94, 94, 95, 94, 94, 94, 94, 94, 94, 94, + 94, 96, 94, 94, 94, 94, 97, 98, 94, 94, + + 94, 94, 99, 100, 101, 174, 174, 102, 104, 104, + 32, 182, 621, 34, 105, 106, 35, 107, 620, 108, + 116, 116, 32, 192, 109, 175, 117, 118, 176, 119, + 211, 120, 127, 127, 32, 212, 121, 175, 128, 129, + 176, 130, 304, 131, 138, 138, 32, 139, 132, 305, + 110, 183, 111, 174, 174, 140, 138, 143, 32, 139, + 144, 193, 122, 619, 123, 174, 177, 140, 594, 178, + 154, 154, 32, 203, 133, 204, 134, 112, 104, 113, + 32, 155, 114, 175, 105, 106, 176, 107, 618, 108, + 233, 154, 156, 32, 109, 157, 159, 159, 32, 159, + + 161, 32, 155, 162, 174, 177, 209, 160, 178, 570, + 160, 243, 141, 142, 194, 210, 195, 195, 195, 228, + 110, 617, 111, 229, 141, 142, 31, 31, 32, 170, + 234, 218, 171, 172, 219, 173, 196, 33, 197, 197, + 197, 205, 259, 206, 174, 174, 207, 112, 116, 124, + 32, 244, 125, 616, 117, 118, 230, 119, 260, 120, + 231, 221, 222, 223, 121, 31, 34, 32, 170, 35, + 224, 171, 172, 615, 173, 614, 33, 174, 177, 225, + 175, 178, 226, 176, 238, 240, 241, 239, 174, 174, + 122, 613, 123, 127, 135, 32, 227, 136, 175, 128, + + 129, 176, 130, 612, 131, 175, 174, 177, 176, 132, + 178, 174, 177, 174, 174, 178, 174, 177, 174, 174, + 178, 175, 174, 177, 176, 611, 178, 174, 174, 175, + 174, 177, 176, 175, 178, 133, 176, 134, 146, 146, + 32, 147, 174, 174, 148, 149, 174, 177, 182, 150, + 178, 252, 252, 317, 175, 148, 149, 176, 252, 255, + 174, 174, 178, 175, 174, 177, 176, 318, 178, 174, + 174, 175, 174, 177, 176, 310, 178, 174, 174, 311, + 148, 233, 149, 146, 151, 32, 147, 152, 183, 148, + 149, 174, 177, 610, 150, 178, 189, 189, 326, 327, + + 148, 149, 195, 195, 195, 286, 286, 286, 196, 322, + 197, 197, 197, 334, 250, 250, 323, 335, 252, 252, + 458, 234, 253, 253, 459, 148, 609, 149, 30, 31, + 31, 32, 30, 30, 30, 163, 164, 30, 30, 30, + 33, 30, 30, 30, 30, 30, 30, 30, 165, 165, + 165, 166, 165, 165, 165, 165, 165, 165, 165, 165, + 165, 165, 165, 165, 167, 168, 165, 165, 165, 169, + 165, 30, 30, 30, 165, 165, 165, 165, 165, 165, + 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, + 165, 165, 165, 165, 165, 165, 165, 30, 30, 272, + + 287, 273, 288, 608, 243, 328, 344, 329, 274, 275, + 607, 289, 290, 262, 262, 291, 330, 331, 252, 255, + 332, 357, 178, 345, 359, 286, 286, 286, 358, 358, + 434, 358, 358, 606, 605, 604, 603, 358, 358, 276, + 602, 601, 277, 278, 244, 600, 599, 279, 598, 597, + 596, 595, 570, 280, 593, 592, 281, 591, 282, 590, + 283, 589, 284, 30, 30, 30, 30, 30, 30, 103, + 103, 103, 103, 103, 103, 115, 115, 115, 115, 115, + 115, 126, 126, 126, 126, 126, 126, 137, 137, 137, + 137, 137, 137, 145, 145, 145, 145, 145, 145, 153, + + 153, 153, 153, 153, 153, 158, 158, 158, 158, 158, + 158, 179, 588, 179, 179, 179, 179, 181, 587, 181, + 181, 181, 181, 184, 184, 189, 586, 585, 189, 189, + 189, 191, 584, 191, 191, 191, 191, 199, 199, 232, + 583, 232, 232, 232, 232, 235, 235, 242, 582, 242, + 242, 242, 242, 245, 245, 250, 581, 580, 250, 250, + 250, 253, 579, 578, 253, 253, 253, 256, 256, 262, + 577, 576, 262, 262, 262, 264, 575, 264, 264, 264, + 264, 271, 574, 271, 271, 271, 271, 368, 368, 569, + 573, 569, 569, 569, 569, 572, 571, 570, 568, 567, + + 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, + 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, + 546, 545, 544, 543, 542, 541, 540, 539, 538, 537, + 536, 535, 534, 533, 532, 531, 530, 529, 528, 527, + 526, 525, 524, 523, 522, 521, 520, 519, 518, 517, + 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, + 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, + 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, + 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, + 476, 475, 474, 473, 472, 471, 470, 469, 468, 467, + + 466, 465, 464, 463, 462, 461, 460, 457, 456, 455, + 454, 453, 452, 451, 450, 449, 448, 447, 446, 445, + 444, 443, 442, 441, 440, 439, 438, 437, 436, 435, + 433, 432, 431, 430, 429, 428, 427, 426, 425, 424, + 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, + 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, + 403, 402, 401, 400, 399, 398, 397, 396, 395, 394, + 393, 392, 391, 390, 389, 388, 387, 386, 385, 384, + 383, 382, 381, 380, 379, 378, 377, 376, 375, 374, + 373, 372, 371, 370, 369, 354, 367, 366, 365, 364, + + 363, 362, 361, 360, 356, 355, 354, 353, 352, 351, + 350, 349, 263, 348, 347, 346, 343, 254, 251, 342, + 341, 340, 339, 242, 338, 337, 336, 333, 232, 325, + 324, 321, 320, 319, 316, 315, 314, 313, 312, 309, + 308, 307, 306, 303, 302, 301, 300, 299, 298, 297, + 296, 295, 294, 293, 292, 285, 270, 270, 190, 269, + 268, 267, 266, 181, 265, 263, 261, 258, 257, 180, + 180, 180, 254, 180, 251, 180, 180, 180, 180, 249, + 248, 247, 246, 180, 237, 236, 180, 220, 217, 216, + 215, 214, 213, 208, 202, 201, 200, 198, 190, 180, + + 188, 187, 186, 185, 180, 622, 29, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622 } ; -static yyconst flex_int16_t yy_chk[1262] = +static yyconst flex_int16_t yy_chk[1279] = { 0, 0, 1, 1, 1, 2, 2, 2, 4, 2, 0, 4, 6, 1, 0, 6, 2, 3, 3, 3, 3, @@ -789,127 +808,128 @@ static yyconst flex_int16_t yy_chk[1262] = 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 10, 26, - 607, 10, 26, 31, 31, 17, 17, 17, 17, 21, - 21, 21, 33, 7, 62, 33, 17, 37, 37, 62, - - 21, 7, 7, 7, 603, 23, 23, 23, 13, 13, - 13, 38, 48, 48, 13, 13, 23, 13, 7, 13, - 7, 34, 34, 39, 13, 34, 39, 7, 7, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, - 8, 8, 8, 8, 8, 8, 8, 8, 8, 50, - 13, 38, 13, 17, 17, 22, 22, 22, 602, 22, - 52, 45, 45, 52, 8, 45, 22, 24, 24, 24, - 601, 24, 8, 8, 8, 58, 210, 58, 24, 27, - 27, 27, 27, 210, 61, 27, 27, 50, 27, 8, - 27, 8, 51, 61, 51, 51, 51, 598, 8, 8, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, + 31, 31, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, - 9, 11, 11, 11, 59, 564, 59, 11, 11, 59, - 11, 597, 11, 15, 15, 15, 596, 11, 68, 15, - 15, 68, 15, 53, 15, 53, 53, 53, 78, 15, - - 18, 18, 18, 18, 18, 70, 70, 70, 72, 77, - 77, 18, 72, 11, 70, 11, 564, 28, 28, 28, - 28, 28, 593, 28, 28, 15, 28, 15, 28, 71, - 73, 90, 71, 166, 73, 74, 74, 225, 78, 74, - 11, 12, 12, 12, 225, 12, 71, 12, 12, 166, - 12, 79, 12, 82, 79, 592, 82, 12, 83, 83, - 86, 86, 89, 89, 86, 102, 102, 91, 18, 18, - 91, 90, 99, 99, 106, 591, 99, 106, 111, 111, - 114, 114, 111, 12, 118, 12, 285, 118, 122, 122, - 125, 125, 122, 129, 133, 133, 129, 254, 133, 136, - - 136, 138, 141, 141, 138, 285, 141, 144, 144, 179, - 12, 14, 14, 14, 254, 14, 148, 14, 14, 148, - 14, 229, 14, 153, 149, 149, 153, 14, 149, 152, - 152, 154, 154, 157, 157, 154, 158, 159, 159, 158, - 221, 159, 172, 172, 175, 175, 188, 188, 175, 179, - 193, 193, 193, 14, 221, 14, 16, 16, 16, 238, - 16, 229, 16, 16, 325, 16, 590, 16, 194, 194, - 194, 195, 16, 195, 195, 195, 198, 215, 198, 228, - 228, 215, 233, 325, 233, 234, 389, 198, 198, 234, - 389, 198, 587, 233, 233, 247, 247, 233, 16, 238, - - 16, 19, 19, 19, 19, 248, 248, 19, 19, 250, - 250, 586, 19, 251, 251, 259, 259, 251, 19, 19, - 270, 584, 271, 282, 282, 282, 352, 270, 270, 271, - 271, 583, 582, 352, 352, 581, 579, 574, 572, 571, - 570, 569, 567, 19, 565, 19, 20, 20, 20, 20, - 20, 563, 20, 20, 562, 561, 560, 20, 559, 557, - 555, 554, 553, 20, 20, 551, 550, 548, 546, 544, - 543, 541, 540, 538, 537, 536, 535, 533, 532, 531, - 530, 528, 527, 526, 525, 524, 522, 521, 20, 519, - 20, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 9, 9, 9, 9, 10, 37, 37, 10, 11, 11, + 11, 38, 615, 26, 11, 11, 26, 11, 611, 11, + 13, 13, 13, 50, 11, 33, 13, 13, 33, 13, + 63, 13, 15, 15, 15, 63, 13, 39, 15, 15, + 39, 15, 213, 15, 17, 17, 17, 17, 15, 213, + 11, 38, 11, 48, 48, 17, 18, 18, 18, 18, + 18, 50, 13, 610, 13, 34, 34, 18, 570, 34, + 21, 21, 21, 59, 15, 59, 15, 11, 12, 12, + 12, 21, 12, 52, 12, 12, 52, 12, 609, 12, + 79, 22, 22, 22, 12, 22, 23, 23, 23, 24, + + 24, 24, 22, 24, 45, 45, 62, 23, 45, 570, + 24, 92, 17, 17, 51, 62, 51, 51, 51, 73, + 12, 605, 12, 73, 18, 18, 27, 27, 27, 27, + 79, 69, 27, 27, 69, 27, 53, 27, 53, 53, + 53, 60, 168, 60, 78, 78, 60, 12, 14, 14, + 14, 92, 14, 604, 14, 14, 74, 14, 168, 14, + 74, 71, 71, 71, 14, 28, 28, 28, 28, 28, + 71, 28, 28, 603, 28, 600, 28, 75, 75, 72, + 80, 75, 72, 80, 84, 85, 85, 84, 91, 91, + 14, 598, 14, 16, 16, 16, 72, 16, 93, 16, + + 16, 93, 16, 597, 16, 108, 88, 88, 108, 16, + 88, 101, 101, 104, 104, 101, 113, 113, 116, 116, + 113, 120, 124, 124, 120, 596, 124, 127, 127, 131, + 135, 135, 131, 140, 135, 16, 140, 16, 19, 19, + 19, 19, 138, 138, 19, 19, 143, 143, 181, 19, + 143, 146, 146, 224, 150, 19, 19, 150, 151, 151, + 154, 154, 151, 155, 156, 156, 155, 224, 156, 159, + 159, 160, 161, 161, 160, 218, 161, 174, 174, 218, + 19, 232, 19, 20, 20, 20, 20, 20, 181, 20, + 20, 177, 177, 593, 20, 177, 190, 190, 231, 231, + + 20, 20, 195, 195, 195, 196, 196, 196, 197, 228, + 197, 197, 197, 238, 251, 251, 228, 238, 252, 252, + 395, 232, 254, 254, 395, 20, 592, 20, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, - 25, 25, 191, 518, 191, 517, 516, 515, 514, 513, - 512, 191, 191, 511, 510, 506, 505, 503, 502, 501, - 500, 499, 494, 492, 491, 490, 489, 488, 487, 486, - 485, 483, 482, 480, 478, 477, 474, 473, 472, 471, - - 470, 469, 191, 468, 467, 191, 191, 466, 465, 464, - 191, 463, 461, 459, 457, 456, 191, 455, 453, 191, - 452, 191, 450, 191, 449, 191, 615, 615, 615, 615, - 615, 615, 616, 616, 616, 616, 616, 616, 617, 617, - 617, 617, 617, 617, 618, 618, 618, 618, 618, 618, - 619, 619, 619, 619, 619, 619, 620, 620, 620, 620, - 620, 620, 621, 621, 621, 621, 621, 621, 622, 622, - 622, 622, 622, 622, 623, 623, 623, 623, 623, 623, - 624, 448, 624, 624, 624, 624, 625, 447, 625, 625, - 625, 625, 626, 626, 627, 446, 445, 627, 627, 627, - - 628, 444, 628, 628, 628, 628, 629, 629, 630, 443, - 630, 630, 630, 630, 631, 631, 632, 442, 632, 632, - 632, 632, 633, 633, 634, 440, 439, 634, 634, 634, - 635, 436, 435, 635, 635, 635, 636, 636, 637, 434, - 433, 637, 637, 637, 638, 432, 638, 638, 638, 638, - 639, 431, 639, 639, 639, 639, 640, 640, 641, 430, - 641, 641, 641, 641, 426, 425, 423, 422, 421, 420, - 419, 417, 416, 415, 414, 413, 412, 411, 410, 409, - 408, 407, 406, 405, 404, 403, 402, 401, 399, 398, - 397, 396, 395, 394, 393, 392, 391, 390, 388, 387, - - 386, 385, 384, 383, 382, 381, 379, 378, 377, 376, - 374, 373, 372, 369, 368, 367, 366, 365, 364, 363, - 362, 347, 346, 345, 344, 343, 342, 341, 340, 339, - 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, - 328, 327, 326, 324, 323, 322, 321, 320, 319, 318, - 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, - 307, 306, 305, 304, 303, 302, 301, 299, 298, 297, - 296, 295, 294, 293, 292, 291, 290, 288, 287, 286, - 284, 283, 280, 279, 278, 277, 276, 275, 274, 273, - 272, 269, 268, 267, 265, 264, 263, 262, 261, 258, - - 257, 256, 255, 253, 249, 246, 245, 244, 243, 242, - 240, 237, 236, 235, 231, 227, 226, 224, 223, 222, - 220, 219, 218, 217, 216, 214, 213, 212, 211, 209, - 208, 207, 206, 205, 204, 203, 202, 201, 200, 199, - 192, 190, 189, 187, 186, 185, 184, 183, 181, 178, - 168, 167, 165, 164, 160, 155, 150, 145, 142, 137, - 134, 123, 112, 100, 96, 95, 94, 93, 87, 81, - 75, 69, 67, 66, 65, 64, 63, 60, 57, 56, - 54, 49, 46, 44, 43, 42, 41, 35, 29, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614, 614, 614, 614, 614, 614, 614, 614, 614, 614, - 614 + 25, 25, 25, 25, 25, 25, 25, 25, 25, 193, + + 200, 193, 200, 590, 242, 236, 258, 236, 193, 193, + 589, 200, 200, 263, 263, 200, 236, 236, 255, 255, + 236, 274, 255, 258, 275, 286, 286, 286, 274, 274, + 358, 275, 275, 588, 587, 586, 585, 358, 358, 193, + 580, 578, 193, 193, 242, 577, 576, 193, 575, 574, + 573, 571, 569, 193, 568, 567, 193, 566, 193, 565, + 193, 563, 193, 623, 623, 623, 623, 623, 623, 624, + 624, 624, 624, 624, 624, 625, 625, 625, 625, 625, + 625, 626, 626, 626, 626, 626, 626, 627, 627, 627, + 627, 627, 627, 628, 628, 628, 628, 628, 628, 629, + + 629, 629, 629, 629, 629, 630, 630, 630, 630, 630, + 630, 631, 561, 631, 631, 631, 631, 632, 560, 632, + 632, 632, 632, 633, 633, 634, 559, 557, 634, 634, + 634, 635, 556, 635, 635, 635, 635, 636, 636, 637, + 554, 637, 637, 637, 637, 638, 638, 639, 552, 639, + 639, 639, 639, 640, 640, 641, 550, 549, 641, 641, + 641, 642, 547, 546, 642, 642, 642, 643, 643, 644, + 544, 543, 644, 644, 644, 645, 542, 645, 645, 645, + 645, 646, 541, 646, 646, 646, 646, 647, 647, 648, + 539, 648, 648, 648, 648, 538, 537, 536, 534, 533, + + 532, 531, 530, 528, 527, 526, 524, 523, 522, 521, + 520, 519, 518, 517, 516, 512, 511, 509, 508, 507, + 506, 505, 500, 499, 497, 496, 495, 494, 493, 492, + 491, 489, 488, 486, 484, 483, 480, 479, 478, 477, + 476, 475, 474, 473, 472, 471, 470, 469, 467, 465, + 463, 462, 461, 459, 458, 456, 455, 454, 453, 452, + 451, 450, 449, 448, 446, 445, 442, 441, 440, 439, + 438, 437, 436, 432, 431, 429, 428, 427, 426, 425, + 423, 422, 421, 420, 419, 418, 417, 416, 415, 414, + 413, 412, 411, 410, 409, 408, 407, 405, 404, 403, + + 402, 401, 400, 399, 398, 397, 396, 394, 393, 392, + 391, 390, 389, 388, 387, 385, 384, 383, 382, 380, + 379, 378, 375, 374, 373, 372, 371, 370, 369, 368, + 353, 352, 351, 350, 349, 348, 347, 346, 345, 344, + 343, 342, 341, 340, 339, 338, 337, 336, 335, 334, + 333, 332, 331, 330, 329, 328, 327, 326, 325, 324, + 323, 322, 321, 320, 319, 318, 317, 316, 315, 314, + 313, 312, 311, 310, 309, 308, 307, 306, 304, 303, + 302, 301, 300, 299, 298, 297, 296, 295, 293, 292, + 291, 290, 289, 288, 287, 284, 283, 282, 281, 280, + + 279, 278, 277, 276, 273, 272, 271, 269, 268, 267, + 266, 265, 262, 261, 260, 259, 257, 253, 250, 249, + 248, 247, 246, 244, 241, 240, 239, 237, 234, 230, + 229, 227, 226, 225, 223, 222, 221, 220, 219, 217, + 216, 215, 214, 212, 211, 210, 209, 208, 207, 206, + 205, 204, 203, 202, 201, 194, 192, 191, 189, 188, + 187, 186, 185, 183, 180, 170, 169, 167, 166, 162, + 157, 152, 147, 144, 139, 136, 125, 114, 102, 98, + 97, 96, 95, 89, 83, 82, 76, 70, 68, 67, + 66, 65, 64, 61, 58, 57, 56, 54, 49, 46, + + 44, 43, 42, 41, 35, 29, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622, 622, 622, + 622, 622, 622, 622, 622, 622, 622, 622 } ; static yy_state_type yy_last_accepting_state; @@ -928,22 +948,22 @@ int yy_flex_debug = 0; char *yytext; #line 1 "moc.l" /**************************************************************************** -** $Id: qt/moc_lex.cpp 3.3.8 edited Feb 2 14:59 $ ** ** Lexical analyzer for meta object compiler ** ** Created : 930417 ** -** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved. +** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** ** This file is part of the TQt GUI Toolkit. ** -** This file may be used under the terms of the GNU General Public -** License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Alternatively you may (at your option) use any -** later version of the GNU General Public License if such license has -** been publicly approved by Trolltech ASA (or its successors, if any) +** This file may be used under the terms of the GNU General +** Public License versions 2.0 or 3.0 as published by the Free +** Software Foundation and appearing in the files LICENSE.GPL2 +** and LICENSE.GPL3 included in the packaging of this file. +** Alternatively you may (at your option) use any later version +** of the GNU General Public License if such license has been +** publicly approved by Trolltech ASA (or its successors, if any) ** and the KDE Free TQt Foundation. ** ** Please review the following information to ensure GNU General @@ -966,7 +986,7 @@ char *yytext; ** herein. ** *****************************************************************************/ -#line 39 "moc.l" +#line 42 "moc.l" #ifdef MOC_YACC_CODE #ifdef MOC_MWERKS_PLUGIN @@ -1032,7 +1052,7 @@ extern void addExpressionChar( const char ); extern void addExpressionString( const char * ); extern void moc_warn( const char *msg ); -#line 1033 "lex.yy.c" +#line 1056 "lex.yy.c" #define INITIAL 0 #define OUTSIDE 1 @@ -1061,6 +1081,37 @@ extern void moc_warn( const char *msg ); #define YY_EXTRA_TYPE void * #endif +static int yy_init_globals (void ); + +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int yylex_destroy (void ); + +int yyget_debug (void ); + +void yyset_debug (int debug_flag ); + +YY_EXTRA_TYPE yyget_extra (void ); + +void yyset_extra (YY_EXTRA_TYPE user_defined ); + +FILE *yyget_in (void ); + +void yyset_in (FILE * in_str ); + +FILE *yyget_out (void ); + +void yyset_out (FILE * out_str ); + +int yyget_leng (void ); + +char *yyget_text (void ); + +int yyget_lineno (void ); + +void yyset_lineno (int line_number ); + /* Macros after this point can all be overridden by user definitions in * section 1. */ @@ -1095,7 +1146,12 @@ static int input (void ); /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE +#ifdef __ia64__ +/* On IA-64, the buffer size is 16k, not 8k */ +#define YY_READ_BUF_SIZE 16384 +#else #define YY_READ_BUF_SIZE 8192 +#endif /* __ia64__ */ #endif /* Copy whatever the last rule matched to the standard output. */ @@ -1103,7 +1159,7 @@ static int input (void ); /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) +#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, @@ -1199,14 +1255,14 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 110 "moc.l" +#line 113 "moc.l" -#line 1203 "lex.yy.c" +#line 1262 "lex.yy.c" - if ( (yy_init) ) + if ( !(yy_init) ) { - (yy_init) = 0; + (yy_init) = 1; #ifdef YY_USER_INIT YY_USER_INIT; @@ -1256,13 +1312,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 >= 615 ) + if ( yy_current_state >= 623 ) 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] != 1190 ); + while ( yy_base[yy_current_state] != 1207 ); yy_find_action: yy_act = yy_accept[yy_current_state]; @@ -1288,341 +1344,341 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 112 "moc.l" +#line 115 "moc.l" { X; BEGIN QT_DEF; return CLASS; } YY_BREAK case 2: YY_RULE_SETUP -#line 115 "moc.l" +#line 118 "moc.l" { X; BEGIN QT_DEF; return NAMESPACE; } YY_BREAK case 3: YY_RULE_SETUP -#line 118 "moc.l" +#line 121 "moc.l" { X; BEGIN QT_DEF; return USING; } YY_BREAK case 4: YY_RULE_SETUP -#line 121 "moc.l" +#line 124 "moc.l" { X; BEGIN QT_DEF; return TEMPLATE; } YY_BREAK case 5: YY_RULE_SETUP -#line 124 "moc.l" -{ X; return Q_OBJECT; } +#line 127 "moc.l" +{ X; return TQ_OBJECT; } YY_BREAK case 6: YY_RULE_SETUP -#line 125 "moc.l" +#line 128 "moc.l" { X; return SIGNALS; } YY_BREAK case 7: YY_RULE_SETUP -#line 126 "moc.l" +#line 129 "moc.l" { X; return SLOTS; } YY_BREAK case 8: YY_RULE_SETUP -#line 127 "moc.l" +#line 130 "moc.l" { X; return Q_CLASSINFO; } YY_BREAK case 9: YY_RULE_SETUP -#line 128 "moc.l" +#line 131 "moc.l" { X; return Q_PROPERTY; } YY_BREAK case 10: YY_RULE_SETUP -#line 129 "moc.l" +#line 132 "moc.l" { X; return Q_OVERRIDE; } YY_BREAK case 11: YY_RULE_SETUP -#line 130 "moc.l" +#line 133 "moc.l" { X; return Q_ENUMS; } YY_BREAK case 12: YY_RULE_SETUP -#line 131 "moc.l" +#line 134 "moc.l" { X; return Q_SETS; } YY_BREAK case 13: YY_RULE_SETUP -#line 133 "moc.l" +#line 136 "moc.l" { fctLevel++;Y; } YY_BREAK case 14: YY_RULE_SETUP -#line 134 "moc.l" +#line 137 "moc.l" { fctLevel--;Y;if (fctLevel==0){X;return '}';}} YY_BREAK case 15: YY_RULE_SETUP -#line 135 "moc.l" +#line 138 "moc.l" { classPLevel++;Y; } YY_BREAK case 16: YY_RULE_SETUP -#line 136 "moc.l" +#line 139 "moc.l" { classPLevel--;Y;if (classPLevel == 0) {X;return '}';} } YY_BREAK case 17: YY_RULE_SETUP -#line 138 "moc.l" +#line 141 "moc.l" { X;if( classPLevel == 1 ) return PUBLIC; } YY_BREAK case 18: YY_RULE_SETUP -#line 139 "moc.l" +#line 142 "moc.l" { X;if( classPLevel == 1 ) return PROTECTED; } YY_BREAK case 19: YY_RULE_SETUP -#line 140 "moc.l" +#line 143 "moc.l" { X;if( classPLevel == 1 ) return PRIVATE; } YY_BREAK case 20: YY_RULE_SETUP -#line 141 "moc.l" +#line 144 "moc.l" { X;if( classPLevel == 1 ) return SIGNALS; } YY_BREAK case 21: YY_RULE_SETUP -#line 142 "moc.l" +#line 145 "moc.l" { X;if( classPLevel == 1 ) return SLOTS; } YY_BREAK case 22: YY_RULE_SETUP -#line 143 "moc.l" +#line 146 "moc.l" { X;if( classPLevel == 1 ) return Q_CLASSINFO; } YY_BREAK case 23: YY_RULE_SETUP -#line 144 "moc.l" +#line 147 "moc.l" { X; if ( classPLevel == 1 ) - return Q_OBJECT; + return TQ_OBJECT; else if ( classPLevel > 1 ) - moc_warn( "Cannot use Q_OBJECT in nested class." ); + moc_warn( "Cannot use TQ_OBJECT in nested class." ); } YY_BREAK case 24: YY_RULE_SETUP -#line 150 "moc.l" +#line 153 "moc.l" { X;if( classPLevel == 1 ) return Q_PROPERTY; } YY_BREAK case 25: YY_RULE_SETUP -#line 151 "moc.l" +#line 154 "moc.l" { X;if( classPLevel == 1 ) return Q_OVERRIDE; } YY_BREAK case 26: YY_RULE_SETUP -#line 152 "moc.l" +#line 155 "moc.l" { X;if( classPLevel == 1 ) return Q_ENUMS; } YY_BREAK case 27: YY_RULE_SETUP -#line 153 "moc.l" +#line 156 "moc.l" { X;if( classPLevel == 1 ) return Q_SETS; } YY_BREAK case 28: YY_RULE_SETUP -#line 155 "moc.l" +#line 158 "moc.l" { namespacePLevel++;Y; } YY_BREAK case 29: YY_RULE_SETUP -#line 156 "moc.l" +#line 159 "moc.l" { namespacePLevel--;Y;if (namespacePLevel == 0) {X;return '}';}} YY_BREAK case 30: YY_RULE_SETUP -#line 158 "moc.l" +#line 161 "moc.l" { X; BEGIN QT_DEF; return CLASS; } YY_BREAK case 31: YY_RULE_SETUP -#line 161 "moc.l" +#line 164 "moc.l" { X; BEGIN QT_DEF; return TEMPLATE; } YY_BREAK case 32: YY_RULE_SETUP -#line 164 "moc.l" +#line 167 "moc.l" { X; BEGIN QT_DEF; return NAMESPACE; } YY_BREAK case 33: YY_RULE_SETUP -#line 167 "moc.l" +#line 170 "moc.l" { X; BEGIN QT_DEF; return USING; } YY_BREAK case 34: YY_RULE_SETUP -#line 171 "moc.l" +#line 174 "moc.l" { X; return '('; } YY_BREAK case 35: YY_RULE_SETUP -#line 172 "moc.l" +#line 175 "moc.l" { X; return ')'; } YY_BREAK case 36: YY_RULE_SETUP -#line 173 "moc.l" +#line 176 "moc.l" { X; return READ; } YY_BREAK case 37: YY_RULE_SETUP -#line 174 "moc.l" +#line 177 "moc.l" { X; return WRITE; } YY_BREAK case 38: YY_RULE_SETUP -#line 175 "moc.l" +#line 178 "moc.l" { X; return STORED; } YY_BREAK case 39: YY_RULE_SETUP -#line 176 "moc.l" +#line 179 "moc.l" { X; return RESET; } YY_BREAK case 40: YY_RULE_SETUP -#line 177 "moc.l" +#line 180 "moc.l" { X; return DESIGNABLE; } YY_BREAK case 41: YY_RULE_SETUP -#line 178 "moc.l" +#line 181 "moc.l" { X; return SCRIPTABLE; } YY_BREAK case 42: YY_RULE_SETUP -#line 181 "moc.l" +#line 184 "moc.l" { expLevel++;X; } YY_BREAK case 43: YY_RULE_SETUP -#line 182 "moc.l" +#line 185 "moc.l" { expLevel--;Y;if (expLevel == 0) { X; BEGIN QT_DEF; return ')';} } YY_BREAK case 44: YY_RULE_SETUP -#line 184 "moc.l" +#line 187 "moc.l" { expLevel++;X; } YY_BREAK case 45: YY_RULE_SETUP -#line 185 "moc.l" +#line 188 "moc.l" { expLevel--;X;if (expLevel == 0) { X; BEGIN QT_DEF; return ']';} } YY_BREAK case 46: YY_RULE_SETUP -#line 187 "moc.l" +#line 190 "moc.l" { if (expLevel == 0) { X; BEGIN QT_DEF; return ',' ;} } YY_BREAK case 47: YY_RULE_SETUP -#line 189 "moc.l" +#line 192 "moc.l" { if (expLevel == 0) { X; BEGIN QT_DEF; return ';' ;} } YY_BREAK case 48: YY_RULE_SETUP -#line 191 "moc.l" +#line 194 "moc.l" { expLevel++;X; } YY_BREAK case 49: YY_RULE_SETUP -#line 192 "moc.l" +#line 195 "moc.l" { expLevel--;Y;if (expLevel == 0) { X; BEGIN QT_DEF; return ')';} } YY_BREAK case 50: YY_RULE_SETUP -#line 194 "moc.l" +#line 197 "moc.l" { expLevel++;X; } YY_BREAK case 51: YY_RULE_SETUP -#line 195 "moc.l" +#line 198 "moc.l" { expLevel--;X;if (expLevel == 0) { X; BEGIN QT_DEF; return ']';} } YY_BREAK case 52: YY_RULE_SETUP -#line 197 "moc.l" +#line 200 "moc.l" { if (expLevel <= 1) { X; BEGIN QT_DEF; return ',' ;} } YY_BREAK case 53: YY_RULE_SETUP -#line 199 "moc.l" +#line 202 "moc.l" { if (expLevel == 0) { X; BEGIN QT_DEF; return ';' ;} } YY_BREAK case 54: YY_RULE_SETUP -#line 201 "moc.l" +#line 204 "moc.l" { enumLevel++;X; } YY_BREAK case 55: YY_RULE_SETUP -#line 202 "moc.l" +#line 205 "moc.l" { enumLevel--;X; } YY_BREAK case 56: YY_RULE_SETUP -#line 203 "moc.l" +#line 206 "moc.l" { enumLevel++;X; } YY_BREAK case 57: YY_RULE_SETUP -#line 204 "moc.l" +#line 207 "moc.l" { enumLevel--;X } YY_BREAK case 58: YY_RULE_SETUP -#line 205 "moc.l" +#line 208 "moc.l" { if (enumLevel == 0) { X; BEGIN QT_DEF; return ',' ;} } YY_BREAK case 59: YY_RULE_SETUP -#line 207 "moc.l" +#line 210 "moc.l" { if (enumLevel == 0) { X; BEGIN QT_DEF; return ';' ;} } YY_BREAK case 60: YY_RULE_SETUP -#line 209 "moc.l" +#line 212 "moc.l" { if (enumLevel == 0) { X; BEGIN QT_DEF; return '}' ;} } YY_BREAK case 61: YY_RULE_SETUP -#line 211 "moc.l" +#line 214 "moc.l" { templLevel++; Y; addExpressionChar( yytext[0] ); @@ -1630,7 +1686,7 @@ YY_RULE_SETUP YY_BREAK case 62: YY_RULE_SETUP -#line 215 "moc.l" +#line 218 "moc.l" { templLevel--; Y; if ( templLevel == 0 ) { @@ -1644,187 +1700,187 @@ YY_RULE_SETUP YY_BREAK case 63: YY_RULE_SETUP -#line 225 "moc.l" +#line 228 "moc.l" { X;return FRIEND; } YY_BREAK case 64: YY_RULE_SETUP -#line 226 "moc.l" +#line 229 "moc.l" { X;return TYPEDEF; } YY_BREAK case 65: YY_RULE_SETUP -#line 227 "moc.l" +#line 230 "moc.l" { X;return AUTO; } YY_BREAK case 66: YY_RULE_SETUP -#line 228 "moc.l" +#line 231 "moc.l" { X;return REGISTER; } YY_BREAK case 67: YY_RULE_SETUP -#line 229 "moc.l" +#line 232 "moc.l" { X;return STATIC; } YY_BREAK case 68: YY_RULE_SETUP -#line 230 "moc.l" +#line 233 "moc.l" { X;return EXTERN; } YY_BREAK case 69: YY_RULE_SETUP -#line 231 "moc.l" +#line 234 "moc.l" { X;return INLINE; } YY_BREAK case 70: YY_RULE_SETUP -#line 232 "moc.l" +#line 235 "moc.l" { X;return INLINE; } YY_BREAK case 71: YY_RULE_SETUP -#line 233 "moc.l" +#line 236 "moc.l" { X;return VIRTUAL; } YY_BREAK case 72: YY_RULE_SETUP -#line 234 "moc.l" +#line 237 "moc.l" { X;return CONST; } YY_BREAK case 73: YY_RULE_SETUP -#line 235 "moc.l" +#line 238 "moc.l" { X;return VOLATILE; } YY_BREAK case 74: YY_RULE_SETUP -#line 236 "moc.l" +#line 239 "moc.l" { X;return CHAR; } YY_BREAK case 75: YY_RULE_SETUP -#line 237 "moc.l" +#line 240 "moc.l" { X;return SHORT; } YY_BREAK case 76: YY_RULE_SETUP -#line 238 "moc.l" +#line 241 "moc.l" { X;return INT; } YY_BREAK case 77: YY_RULE_SETUP -#line 239 "moc.l" +#line 242 "moc.l" { X;return LONG; } YY_BREAK case 78: YY_RULE_SETUP -#line 240 "moc.l" +#line 243 "moc.l" { X;return SIGNED; } YY_BREAK case 79: YY_RULE_SETUP -#line 241 "moc.l" +#line 244 "moc.l" { X;return UNSIGNED; } YY_BREAK case 80: YY_RULE_SETUP -#line 242 "moc.l" +#line 245 "moc.l" { X;return FLOAT; } YY_BREAK case 81: YY_RULE_SETUP -#line 243 "moc.l" +#line 246 "moc.l" { X;return DOUBLE; } YY_BREAK case 82: YY_RULE_SETUP -#line 244 "moc.l" +#line 247 "moc.l" { X;return VOID; } YY_BREAK case 83: YY_RULE_SETUP -#line 245 "moc.l" +#line 248 "moc.l" { X;return ENUM; } YY_BREAK case 84: YY_RULE_SETUP -#line 246 "moc.l" +#line 249 "moc.l" { X;return CLASS; } YY_BREAK case 85: YY_RULE_SETUP -#line 247 "moc.l" +#line 250 "moc.l" { X;return STRUCT; } YY_BREAK case 86: YY_RULE_SETUP -#line 248 "moc.l" +#line 251 "moc.l" { X;return UNION; } YY_BREAK case 87: YY_RULE_SETUP -#line 249 "moc.l" +#line 252 "moc.l" { X;return ASM; } YY_BREAK case 88: YY_RULE_SETUP -#line 250 "moc.l" +#line 253 "moc.l" { X;return PRIVATE; } YY_BREAK case 89: YY_RULE_SETUP -#line 251 "moc.l" +#line 254 "moc.l" { X;return PROTECTED; } YY_BREAK case 90: YY_RULE_SETUP -#line 252 "moc.l" +#line 255 "moc.l" { X;return PUBLIC; } YY_BREAK case 91: YY_RULE_SETUP -#line 253 "moc.l" +#line 256 "moc.l" { X;return OPERATOR; } YY_BREAK case 92: YY_RULE_SETUP -#line 254 "moc.l" +#line 257 "moc.l" { X;return DBL_COLON; } YY_BREAK case 93: YY_RULE_SETUP -#line 255 "moc.l" +#line 258 "moc.l" { X;return TRIPLE_DOT; } YY_BREAK case 94: YY_RULE_SETUP -#line 256 "moc.l" +#line 259 "moc.l" { X;return TEMPLATE; } YY_BREAK case 95: YY_RULE_SETUP -#line 257 "moc.l" +#line 260 "moc.l" { X;return MUTABLE; } YY_BREAK case 96: YY_RULE_SETUP -#line 258 "moc.l" +#line 261 "moc.l" { X;return THROW; } YY_BREAK case 97: YY_RULE_SETUP -#line 259 "moc.l" +#line 262 "moc.l" { X;return USING; } YY_BREAK case 98: YY_RULE_SETUP -#line 260 "moc.l" +#line 263 "moc.l" { X;return NAMESPACE; } YY_BREAK case 99: YY_RULE_SETUP -#line 262 "moc.l" +#line 265 "moc.l" { X; yylval.string = qstrdup(yytext); @@ -1833,7 +1889,7 @@ YY_RULE_SETUP YY_BREAK case 100: YY_RULE_SETUP -#line 268 "moc.l" +#line 271 "moc.l" { X; yylval.string = qstrdup(yytext); @@ -1842,23 +1898,23 @@ YY_RULE_SETUP YY_BREAK case 101: YY_RULE_SETUP -#line 274 "moc.l" +#line 277 "moc.l" { X; return '('; } YY_BREAK case 102: YY_RULE_SETUP -#line 275 "moc.l" +#line 278 "moc.l" { X; return ')'; } YY_BREAK case 103: YY_RULE_SETUP -#line 276 "moc.l" +#line 279 "moc.l" { X; return ','; } YY_BREAK case 104: /* rule 104 can match eol */ YY_RULE_SETUP -#line 278 "moc.l" +#line 281 "moc.l" { X; yylval.string = qstrdup( yytext + 1 ); @@ -1868,23 +1924,23 @@ YY_RULE_SETUP YY_BREAK case 105: YY_RULE_SETUP -#line 285 "moc.l" +#line 288 "moc.l" ; YY_BREAK case 106: YY_RULE_SETUP -#line 286 "moc.l" +#line 289 "moc.l" ; YY_BREAK case 107: YY_RULE_SETUP -#line 287 "moc.l" +#line 290 "moc.l" ; YY_BREAK case 108: /* rule 108 can match eol */ YY_RULE_SETUP -#line 289 "moc.l" +#line 292 "moc.l" { /* discard strings */ Z; } @@ -1892,7 +1948,7 @@ YY_RULE_SETUP case 109: /* rule 109 can match eol */ YY_RULE_SETUP -#line 293 "moc.l" +#line 296 "moc.l" { /* discard strings */ Z; } @@ -1900,7 +1956,7 @@ YY_RULE_SETUP case 110: /* rule 110 can match eol */ YY_RULE_SETUP -#line 297 "moc.l" +#line 300 "moc.l" { /* discard strings */ Z; } @@ -1908,7 +1964,7 @@ YY_RULE_SETUP case 111: /* rule 111 can match eol */ YY_RULE_SETUP -#line 301 "moc.l" +#line 304 "moc.l" { /* discard strings */ Z; addExpressionString( yytext ); @@ -1918,7 +1974,7 @@ YY_RULE_SETUP case 112: /* rule 112 can match eol */ YY_RULE_SETUP -#line 308 "moc.l" +#line 311 "moc.l" { X; addExpressionString( yytext ); @@ -1929,7 +1985,7 @@ YY_RULE_SETUP case 113: /* rule 113 can match eol */ YY_RULE_SETUP -#line 315 "moc.l" +#line 318 "moc.l" { X; yylval.string = qstrdup( yytext + 1 ); @@ -1939,7 +1995,7 @@ YY_RULE_SETUP YY_BREAK case 114: YY_RULE_SETUP -#line 322 "moc.l" +#line 325 "moc.l" { X; yylval.char_val = yytext[1]; return CHAR_VAL; @@ -1947,7 +2003,7 @@ YY_RULE_SETUP YY_BREAK case 115: YY_RULE_SETUP -#line 327 "moc.l" +#line 330 "moc.l" { X; yylval.char_val = '\a'; return CHAR_VAL; @@ -1955,7 +2011,7 @@ YY_RULE_SETUP YY_BREAK case 116: YY_RULE_SETUP -#line 332 "moc.l" +#line 335 "moc.l" { X; yylval.char_val = '\b'; return CHAR_VAL; @@ -1963,7 +2019,7 @@ YY_RULE_SETUP YY_BREAK case 117: YY_RULE_SETUP -#line 337 "moc.l" +#line 340 "moc.l" { X; yylval.char_val = '\f'; return CHAR_VAL; @@ -1971,7 +2027,7 @@ YY_RULE_SETUP YY_BREAK case 118: YY_RULE_SETUP -#line 342 "moc.l" +#line 345 "moc.l" { X; yylval.char_val = '\n'; return CHAR_VAL; @@ -1979,7 +2035,7 @@ YY_RULE_SETUP YY_BREAK case 119: YY_RULE_SETUP -#line 347 "moc.l" +#line 350 "moc.l" { X; yylval.char_val = '\r'; return CHAR_VAL; @@ -1987,7 +2043,7 @@ YY_RULE_SETUP YY_BREAK case 120: YY_RULE_SETUP -#line 352 "moc.l" +#line 355 "moc.l" { X; yylval.char_val = '\t'; return CHAR_VAL; @@ -1995,7 +2051,7 @@ YY_RULE_SETUP YY_BREAK case 121: YY_RULE_SETUP -#line 357 "moc.l" +#line 360 "moc.l" { X; yylval.char_val = '\v'; return CHAR_VAL; @@ -2003,7 +2059,7 @@ YY_RULE_SETUP YY_BREAK case 122: YY_RULE_SETUP -#line 362 "moc.l" +#line 365 "moc.l" { X; yylval.char_val = '\\'; return CHAR_VAL; @@ -2011,7 +2067,7 @@ YY_RULE_SETUP YY_BREAK case 123: YY_RULE_SETUP -#line 367 "moc.l" +#line 370 "moc.l" { X; yylval.char_val = '\?'; return CHAR_VAL; @@ -2019,7 +2075,7 @@ YY_RULE_SETUP YY_BREAK case 124: YY_RULE_SETUP -#line 372 "moc.l" +#line 375 "moc.l" { X; yylval.char_val = '\''; return CHAR_VAL; @@ -2027,7 +2083,7 @@ YY_RULE_SETUP YY_BREAK case 125: YY_RULE_SETUP -#line 377 "moc.l" +#line 380 "moc.l" { X; yylval.char_val = '\"'; /* " */ return CHAR_VAL; @@ -2035,7 +2091,7 @@ YY_RULE_SETUP YY_BREAK case 126: YY_RULE_SETUP -#line 382 "moc.l" +#line 385 "moc.l" { X; yylval.char_val = '\0'; return CHAR_VAL; @@ -2043,7 +2099,7 @@ YY_RULE_SETUP YY_BREAK case 127: YY_RULE_SETUP -#line 387 "moc.l" +#line 390 "moc.l" { X; yylval.char_val = (char)strtol( &yytext[1], 0, 8 ); @@ -2052,7 +2108,7 @@ YY_RULE_SETUP YY_BREAK case 128: YY_RULE_SETUP -#line 393 "moc.l" +#line 396 "moc.l" { X; yylval.char_val = (char)strtol( &yytext[2], 0, 16 ); @@ -2061,7 +2117,7 @@ YY_RULE_SETUP YY_BREAK case 129: YY_RULE_SETUP -#line 399 "moc.l" +#line 402 "moc.l" { X; yylval.char_val = ' '; return CHAR_VAL; @@ -2069,7 +2125,7 @@ YY_RULE_SETUP YY_BREAK case 130: YY_RULE_SETUP -#line 404 "moc.l" +#line 407 "moc.l" { X; yylval.int_val = atoi(yytext); return INT_VAL; @@ -2077,7 +2133,7 @@ YY_RULE_SETUP YY_BREAK case 131: YY_RULE_SETUP -#line 409 "moc.l" +#line 412 "moc.l" { X; yylval.double_val = atof(yytext); return DOUBLE_VAL; @@ -2085,7 +2141,7 @@ YY_RULE_SETUP YY_BREAK case 132: YY_RULE_SETUP -#line 414 "moc.l" +#line 417 "moc.l" { X; yylval.double_val = atof(yytext); return DOUBLE_VAL; @@ -2096,7 +2152,7 @@ case 133: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 420 "moc.l" +#line 423 "moc.l" { /* skip multi-line macro-definitions */ int c, c1; input(); /* Discard the '\n'. */ @@ -2110,12 +2166,12 @@ YY_RULE_SETUP YY_BREAK case 134: YY_RULE_SETUP -#line 431 "moc.l" +#line 434 "moc.l" { /* preprocessor commands are skipped */} YY_BREAK case 135: YY_RULE_SETUP -#line 432 "moc.l" +#line 435 "moc.l" { /* C++ comment */ TQCString s = yytext; if ( s.contains( "MOC_SKIP_BEGIN" ) ) { @@ -2139,7 +2195,7 @@ YY_RULE_SETUP YY_BREAK case 136: YY_RULE_SETUP -#line 452 "moc.l" +#line 455 "moc.l" { /* C comment */ int c = ' '; do { @@ -2155,12 +2211,12 @@ YY_RULE_SETUP YY_BREAK case 137: YY_RULE_SETUP -#line 465 "moc.l" +#line 468 "moc.l" { addExpressionChar( yytext[0] ); } YY_BREAK case 138: YY_RULE_SETUP -#line 467 "moc.l" +#line 470 "moc.l" { /* spaces are important in template args, e.g. Foo<const int> */ @@ -2168,52 +2224,52 @@ YY_RULE_SETUP YY_BREAK case 139: YY_RULE_SETUP -#line 471 "moc.l" +#line 474 "moc.l" ; YY_BREAK case 140: YY_RULE_SETUP -#line 472 "moc.l" +#line 475 "moc.l" ; YY_BREAK case 141: YY_RULE_SETUP -#line 473 "moc.l" +#line 476 "moc.l" ; YY_BREAK case 142: YY_RULE_SETUP -#line 474 "moc.l" +#line 477 "moc.l" ; YY_BREAK case 143: YY_RULE_SETUP -#line 475 "moc.l" +#line 478 "moc.l" { addExpressionChar( yytext[0] ); } YY_BREAK case 144: YY_RULE_SETUP -#line 476 "moc.l" +#line 479 "moc.l" ; YY_BREAK case 145: YY_RULE_SETUP -#line 477 "moc.l" +#line 480 "moc.l" { addExpressionChar( yytext[0] ); } YY_BREAK case 146: YY_RULE_SETUP -#line 478 "moc.l" +#line 481 "moc.l" ; YY_BREAK case 147: YY_RULE_SETUP -#line 479 "moc.l" +#line 482 "moc.l" ; YY_BREAK case 148: YY_RULE_SETUP -#line 480 "moc.l" +#line 483 "moc.l" { X; return yytext[0]; @@ -2221,7 +2277,7 @@ YY_RULE_SETUP YY_BREAK case 149: YY_RULE_SETUP -#line 484 "moc.l" +#line 487 "moc.l" { X; return ';'; @@ -2230,17 +2286,17 @@ YY_RULE_SETUP case 150: /* rule 150 can match eol */ YY_RULE_SETUP -#line 488 "moc.l" +#line 491 "moc.l" { lineNo++; } YY_BREAK case 151: YY_RULE_SETUP -#line 493 "moc.l" +#line 496 "moc.l" ECHO; YY_BREAK -#line 2241 "lex.yy.c" +#line 2300 "lex.yy.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(OUTSIDE): case YY_STATE_EOF(QT_DEF): @@ -2439,7 +2495,7 @@ static int yy_get_next_buffer (void) else { - size_t num_to_read = + int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) @@ -2484,7 +2540,7 @@ static int yy_get_next_buffer (void) /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); + (yy_n_chars), (size_t) num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } @@ -2508,6 +2564,14 @@ static int yy_get_next_buffer (void) else ret_val = EOB_ACT_CONTINUE_SCAN; + if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + /* Extend the array by 50%, plus the number we really need. */ + yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) + YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + } + (yy_n_chars) += number_to_move; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; @@ -2538,7 +2602,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 >= 615 ) + if ( yy_current_state >= 623 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -2566,11 +2630,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 >= 615 ) + if ( yy_current_state >= 623 ) 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 == 614); + yy_is_jam = (yy_current_state == 622); return yy_is_jam ? 0 : yy_current_state; } @@ -2926,7 +2990,9 @@ static void yyensure_buffer_stack (void) (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); - + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); (yy_buffer_stack_max) = num_to_alloc; @@ -2944,6 +3010,8 @@ static void yyensure_buffer_stack (void) ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); + if ( ! (yy_buffer_stack) ) + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); @@ -2988,26 +3056,26 @@ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) /** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. - * @param str a NUL-terminated string to scan + * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use * yy_scan_bytes() instead. */ -YY_BUFFER_STATE yy_scan_string (yyconst char * yy_str ) +YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { - return yy_scan_bytes(yy_str,strlen(yy_str) ); + return yy_scan_bytes(yystr,strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. - * @param bytes the byte buffer to scan - * @param len the number of bytes in the buffer pointed to by @a bytes. + * @param yybytes the byte buffer to scan + * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE yy_scan_bytes (yyconst char * bytes, int len ) +YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; @@ -3015,15 +3083,15 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * bytes, int len ) int i; /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; + n = _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; + for ( i = 0; i < _yybytes_len; ++i ) + buf[i] = yybytes[i]; - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; + buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer(buf,n ); if ( ! b ) @@ -3144,6 +3212,34 @@ void yyset_debug (int bdebug ) yy_flex_debug = bdebug ; } +static int yy_init_globals (void) +{ + /* Initialization is the same as for the non-reentrant scanner. + * This function is called from yylex_destroy(), so don't allocate here. + */ + + (yy_buffer_stack) = 0; + (yy_buffer_stack_top) = 0; + (yy_buffer_stack_max) = 0; + (yy_c_buf_p) = (char *) 0; + (yy_init) = 0; + (yy_start) = 0; + +/* Defined in main.c */ +#ifdef YY_STDINIT + yyin = stdin; + yyout = stdout; +#else + yyin = (FILE *) 0; + yyout = (FILE *) 0; +#endif + + /* For future reference: Set errno on error, since we are called by + * yylex_init() + */ + return 0; +} + /* yylex_destroy is for both reentrant and non-reentrant scanners. */ int yylex_destroy (void) { @@ -3159,6 +3255,10 @@ int yylex_destroy (void) yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; + /* Reset the globals. This is important in a non-reentrant scanner so the next time + * yylex() is called, initialization will occur. */ + yy_init_globals( ); + return 0; } @@ -3170,7 +3270,7 @@ int yylex_destroy (void) static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { register int i; - for ( i = 0; i < n; ++i ) + for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif @@ -3179,7 +3279,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) static int yy_flex_strlen (yyconst char * s ) { register int n; - for ( n = 0; s[n]; ++n ) + for ( n = 0; s[n]; ++n ) ; return n; @@ -3210,19 +3310,7 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#undef YY_NEW_FILE -#undef YY_FLUSH_BUFFER -#undef yy_set_bol -#undef yy_new_buffer -#undef yy_set_interactive -#undef yytext_ptr -#undef YY_DO_BEFORE_ACTION - -#ifdef YY_DECL_IS_OURS -#undef YY_DECL_IS_OURS -#undef YY_DECL -#endif -#line 493 "moc.l" +#line 496 "moc.l" |