#define yy_create_buffer commentScanYY_create_buffer #define yy_delete_buffer commentScanYY_delete_buffer #define yy_scan_buffer commentScanYY_scan_buffer #define yy_scan_string commentScanYY_scan_string #define yy_scan_bytes commentScanYY_scan_bytes #define yy_flex_debug commentScanYY_flex_debug #define yy_init_buffer commentScanYY_init_buffer #define yy_flush_buffer commentScanYY_flush_buffer #define yy_load_buffer_state commentScanYY_load_buffer_state #define yy_switch_to_buffer commentScanYY_switch_to_buffer #define yyin commentScanYYin #define yyleng commentScanYYleng #define yylex commentScanYYlex #define yyout commentScanYYout #define yyrestart commentScanYYrestart #define yytext commentScanYYtext /* A lexical scanner generated by flex */ /* Scanner skeleton version: * $Header: /cvs/root/flex/flex/skel.c,v 1.2 2004/05/07 00:28:17 jkh Exp $ */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #include /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ #ifdef c_plusplus #ifndef __cplusplus #define __cplusplus #endif #endif #ifdef __cplusplus #include #include /* Use prototypes in function declarations. */ #define YY_USE_PROTOS /* The "const" storage-class-modifier is valid. */ #define YY_USE_CONST #else /* ! __cplusplus */ #if __STDC__ #define YY_USE_PROTOS #define YY_USE_CONST #endif /* __STDC__ */ #endif /* ! __cplusplus */ #ifdef __TURBOC__ #pragma warn -rch #pragma warn -use #include #include #define YY_USE_CONST #define YY_USE_PROTOS #endif #ifdef YY_USE_CONST #define yyconst const #else #define yyconst #endif #ifdef YY_USE_PROTOS #define YY_PROTO(proto) proto #else #define YY_PROTO(proto) () #endif /* Returned upon end-of-file. */ #define YY_NULL 0 /* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */ #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN yy_start = 1 + 2 * /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START ((yy_start - 1) / 2) #define YYSTATE YY_START /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) /* Special action meaning "start processing a new file". */ #define YY_NEW_FILE yyrestart( yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ #define YY_BUF_SIZE 16384 typedef struct yy_buffer_state *YY_BUFFER_STATE; extern int yyleng; extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 /* The funky do-while in the following #define is used to turn the definition * int a single C statement (which needs a semi-colon terminator). This * avoids problems with code like: * * if ( condition_holds ) * yyless( 5 ); * else * do_something_else(); * * Prior to using the do-while the compiler would get upset at the * "else" because it interpreted the "if" statement as being all * done when it reached the ';' after the yyless() call. */ /* Return all but the first 'n' matched characters back to the input stream. */ #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ *yy_cp = yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) #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). */ typedef unsigned int yy_size_t; struct yy_buffer_state { FILE *yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status; #define YY_BUFFER_NEW 0 #define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 }; static YY_BUFFER_STATE yy_current_buffer = 0; /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". */ #define YY_CURRENT_BUFFER yy_current_buffer /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ 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_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart YY_PROTO(( FILE *input_file )); void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); void yy_load_buffer_state YY_PROTO(( void )); YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); static void *yy_flex_alloc YY_PROTO(( yy_size_t )); static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); static void yy_flex_free YY_PROTO(( void * )); #define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ yy_current_buffer->yy_is_interactive = is_interactive; \ } #define yy_set_bol(at_bol) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ yy_current_buffer->yy_at_bol = at_bol; \ } #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) #define YY_USES_REJECT #define yywrap() 1 #define YY_SKIP_YYWRAP typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state YY_PROTO(( void )); static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); static int yy_get_next_buffer YY_PROTO(( void )); static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ yytext_ptr = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yy_c_buf_p = yy_cp; #define YY_NUM_RULES 161 #define YY_END_OF_BUFFER 162 static yyconst short int yy_acclist[651] = { 0, 105, 105, 118, 118, 158, 158, 162, 161, 29, 161, 28, 161, 29, 161, 29, 161, 27, 29, 161, 29, 161, 29, 161, 21, 29, 161, 29, 161, 29, 161, 27, 29, 161, 74, 161, 73, 161, 74, 161, 71, 74, 161, 74, 161, 74, 161, 161, 75, 161, 95, 161, 94, 161, 95, 161, 92, 95, 161, 95, 161, 56, 161, 56, 161, 55, 161, 56, 161, 56, 161, 52, 56, 161, 56, 161, 56, 161, 60, 161, 59, 161, 60, 161, 57, 60, 161, 60, 161, 60, 161, 64, 161, 63, 161, 64, 161, 61, 64, 161, 64, 161, 64, 161, 64, 161, 56, 161, 55, 161, 56, 161, 56, 161, 56, 161, 56, 161, 83, 161, 82, 161, 83, 161, 80, 83, 161, 83, 161, 87, 161, 86, 161, 87, 161, 87, 161, 91, 161, 90, 161, 91, 161, 91, 161, 79, 161, 76, 161, 79, 161, 77, 79, 161, 79, 161, 79, 161, 43, 161, 42, 161, 43, 161, 40, 43, 161, 43, 161, 47, 161, 47, 161, 46, 161, 47, 161, 47, 161, 44, 47, 161, 47, 161, 47, 161, 51, 161, 50, 161, 51, 161, 48, 51, 161, 51, 161, 67, 161, 161, 65, 161, 161, 69, 161, 70, 161, 161, 101, 161, 100, 161, 99, 101, 161, 101, 161, 105, 108, 161, 102, 161, 105, 108, 161, 108, 161, 108, 161, 110, 161, 109, 161, 161, 113, 161, 113, 161, 111, 161, 113, 161, 113, 161, 118, 122, 161, 119, 161, 122, 161, 122, 161, 122, 161, 122, 161, 122, 161, 98, 161, 96, 161, 98, 161, 126, 161, 124, 161, 123, 126, 161, 126, 161, 133, 134, 161, 132, 161, 134, 161, 134, 161, 134, 161, 136, 137, 161, 135, 161, 137, 161, 137, 161, 140, 161, 138, 161, 140, 161, 144, 161, 142, 161, 144, 161, 141, 144, 161, 144, 161, 147, 150, 161, 145, 161, 148, 150, 161, 149, 150, 161, 150, 161, 150, 161, 153, 161, 151, 161, 153, 161, 156, 161, 155, 161, 156, 161, 154, 156, 161, 156, 161, 37, 39, 161, 38, 161, 39, 161, 39, 161, 116, 161, 115, 161, 114, 116, 161, 116, 161, 32, 33, 161, 31, 161, 33, 161, 33, 161, 158, 160, 161, 159, 161, 160, 161, 160, 161, 160, 161, 26, 4, 25, 23, 20, 20, 12, 20, 12, 12, 12, 12, 12, 18, 19, 14, 20, 21, 12, 12, 12, 12, 12, 12, 12, 22, 71, 72, 71, 75, 92, 92, 93, 52, 52, 54, 52, 57, 58, 57, 61, 61, 62, 61, 80, 80, 81, 84, 85, 89, 88, 89, 77, 78, 77, 40, 40, 40, 41, 44, 44, 45, 44, 48, 48, 49, 65, 65, 66, 69, 68, 99, 105, 102, 105, 107, 107, 104, 109, 112, 118, 121, 120, 97, 123, 125, 133, 136, 139, 141, 141, 143, 147, 146, 152, 154, 154, 37, 114, 32, 158, 157, 24, 7, 1, 1, 2, 12, 12, 12, 16, 17, 12, 12, 12, 14, 5, 12, 12, 12, 12, 12, 12, 71, 71, 71, 52, 57, 57, 57, 61, 61, 61, 77, 77, 77, 40, 40, 40, 40, 44, 48, 106, 34, 35, 36, 30, 157, 11, 1, 13, 2, 8198, 12,16390, 12, 12, 12, 12, 12, 8198, 12,16390, 12, 12, 12, 12, 71, 57, 61, 53, 77, 40, 40, 40, 48, 106, 128, 30, 8198, 8198, 12, 12, 15, 12, 12, 5, 8198, 12, 12, 71, 57, 61, 77, 3, 12, 15, 12, 12, 12, 12, 71, 57, 61, 77, 65, 130, 12, 12, 12, 12, 12, 71, 57, 61, 77, 129, 127, 12, 12, 12, 12, 12, 71, 73, 94, 55, 57, 59, 61, 63, 82, 86, 90, 76, 77, 42, 46, 50, 67, 70, 100, 103, 110, 111, 117, 119, 96, 124, 131, 132, 135, 138, 142, 145, 151, 155, 115, 31, 159, 9, 8, 12, 12, 5, 12, 10, 12, 12, 26 } ; static yyconst short int yy_accept[913] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 8, 9, 11, 13, 15, 17, 20, 22, 24, 27, 29, 31, 34, 36, 38, 40, 43, 45, 47, 48, 50, 52, 54, 56, 59, 61, 63, 65, 67, 69, 71, 74, 76, 78, 80, 82, 84, 87, 89, 91, 93, 95, 97, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 127, 129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151, 154, 156, 158, 160, 162, 164, 167, 169, 171, 173, 175, 177, 179, 182, 184, 186, 188, 190, 192, 195, 197, 199, 200, 202, 203, 205, 207, 208, 210, 212, 215, 217, 220, 222, 225, 227, 229, 231, 233, 234, 236, 238, 240, 242, 244, 247, 249, 251, 253, 255, 257, 259, 261, 263, 265, 267, 269, 272, 274, 277, 279, 281, 283, 285, 288, 290, 292, 294, 296, 298, 300, 302, 304, 306, 309, 311, 314, 316, 319, 322, 324, 326, 328, 330, 332, 334, 336, 338, 341, 343, 346, 348, 350, 352, 354, 356, 359, 361, 364, 366, 368, 370, 373, 375, 377, 379, 381, 381, 382, 382, 382, 383, 383, 383, 384, 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 398, 399, 400, 401, 402, 403, 404, 405, 406, 406, 406, 406, 407, 407, 408, 408, 408, 408, 409, 410, 410, 411, 412, 412, 413, 413, 413, 414, 414, 414, 414, 414, 415, 415, 415, 416, 416, 417, 417, 417, 417, 418, 418, 419, 419, 419, 419, 420, 421, 421, 422, 422, 422, 423, 423, 423, 424, 425, 425, 425, 425, 425, 425, 425, 425, 425, 425, 425, 425, 425, 426, 427, 427, 428, 428, 428, 429, 429, 431, 431, 431, 432, 432, 433, 433, 433, 434, 434, 434, 434, 435, 436, 437, 437, 437, 438, 438, 439, 439, 440, 440, 440, 440, 440, 441, 441, 441, 442, 442, 443, 443, 443, 443, 444, 445, 445, 446, 446, 447, 447, 448, 448, 449, 449, 450, 450, 451, 451, 452, 452, 453, 453, 454, 455, 456, 456, 457, 458, 458, 459, 459, 460, 460, 460, 460, 460, 461, 461, 462, 463, 464, 464, 464, 464, 465, 465, 466, 466, 467, 467, 468, 468, 468, 468, 469, 469, 469, 470, 470, 471, 472, 472, 473, 473, 474, 474, 475, 475, 475, 476, 476, 477, 477, 478, 478, 478, 479, 479, 479, 480, 480, 481, 481, 481, 482, 483, 483, 483, 483, 484, 484, 484, 484, 484, 484, 484, 485, 485, 485, 485, 485, 486, 487, 488, 489, 490, 491, 492, 493, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 506, 507, 507, 507, 507, 507, 508, 509, 510, 510, 511, 512, 513, 513, 514, 514, 514, 514, 514, 514, 514, 514, 515, 516, 516, 517, 518, 519, 520, 521, 521, 521, 521, 522, 522, 523, 523, 523, 523, 523, 523, 523, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 524, 525, 526, 527, 527, 527, 528, 528, 529, 529, 529, 529, 530, 530, 530, 530, 530, 530, 530, 530, 531, 532, 533, 536, 537, 537, 538, 539, 540, 540, 541, 544, 545, 546, 547, 548, 549, 549, 549, 550, 551, 552, 552, 552, 552, 553, 553, 554, 555, 556, 556, 556, 557, 557, 557, 557, 557, 557, 558, 558, 558, 558, 558, 558, 558, 558, 558, 558, 559, 559, 559, 559, 559, 559, 559, 559, 559, 559, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 561, 563, 564, 565, 566, 567, 569, 570, 571, 572, 572, 572, 573, 574, 574, 574, 574, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 575, 576, 576, 576, 576, 576, 577, 578, 579, 580, 581, 582, 583, 583, 583, 584, 585, 585, 585, 585, 586, 586, 586, 586, 586, 586, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 587, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, 589, 590, 591, 592, 593, 594, 594, 594, 595, 596, 596, 596, 596, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 597, 598, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 600, 601, 602, 603, 604, 606, 607, 608, 610, 612, 613, 614, 615, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 627, 627, 627, 627, 627, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 641, 641, 642, 643, 644, 645, 646, 647, 647, 647, 647, 647, 647, 647, 648, 649, 649, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 650, 651, 651 } ; static yyconst int yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 6, 7, 8, 9, 8, 8, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 19, 19, 19, 19, 19, 18, 18, 18, 20, 1, 21, 1, 22, 1, 23, 24, 25, 26, 27, 28, 26, 29, 30, 31, 26, 26, 32, 33, 26, 34, 35, 26, 36, 26, 37, 38, 26, 26, 26, 26, 26, 39, 40, 41, 1, 42, 1, 43, 44, 45, 46, 47, 48, 49, 50, 51, 26, 52, 53, 54, 55, 56, 57, 26, 58, 59, 60, 61, 62, 26, 63, 64, 26, 65, 1, 66, 67, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; static yyconst int yy_meta[68] = { 0, 1, 2, 3, 4, 5, 1, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 7, 19, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 1, 22, 1, 23, 21, 21, 21, 21, 21, 21, 21, 21, 24, 21, 21, 21, 25, 21, 21, 21, 21, 21, 21, 21, 21, 21, 7, 26, 27 } ; static yyconst short int yy_base[1106] = { 0, 0, 0, 0, 66, 82, 149, 4034, 4028, 216, 0, 283, 0, 350, 417, 484, 551, 618, 0, 685, 0, 66, 67, 69, 72, 752, 819, 886, 0, 953, 0, 1020, 0, 1087, 0, 98, 105, 1154, 0, 161, 164, 1221, 0, 122, 128, 371, 390, 74, 75, 1288, 0, 172, 374, 438, 439, 78, 92, 1355, 0, 171, 457, 94, 97, 1422, 0, 409, 432, 496, 499, 1489, 0, 360, 365, 505, 506, 4024, 6529, 6529, 138, 4007, 3990, 497, 1551, 1605, 184, 1665, 376, 573, 6529, 6529, 0, 430, 524, 792, 4004, 6529, 6529, 6529, 0, 100, 461, 6529, 449, 528, 776, 3964, 577, 472, 596, 6529, 6529, 0, 766, 828, 1556, 6529, 6529, 0, 830, 1547, 1583, 1614, 785, 796, 1635, 3961, 851, 605, 6529, 6529, 0, 0, 1590, 6529, 6529, 3947, 1619, 6529, 6529, 3920, 1655, 6529, 6529, 0, 1554, 1626, 1674, 6529, 6529, 0, 860, 1678, 6529, 1719, 1731, 1738, 3901, 1750, 1696, 872, 6529, 6529, 0, 3903, 1724, 6529, 0, 3902, 1743, 0, 6529, 1754, 6529, 6529, 0, 3875, 396, 6529, 3872, 1741, 1807, 6529, 0, 3868, 6529, 137, 6529, 3902, 3866, 0, 6529, 6529, 3890, 3891, 3849, 138, 6529, 6529, 1769, 6529, 6529, 0, 1775, 0, 6529, 6529, 132, 359, 0, 6529, 6529, 3846, 6529, 6529, 1781, 6529, 6529, 0, 0, 1785, 0, 6529, 6529, 6529, 6529, 1789, 6529, 6529, 1795, 6529, 6529, 0, 176, 3844, 0, 6529, 3837, 3834, 6529, 6529, 0, 3839, 0, 6529, 3865, 3837, 0, 6529, 6529, 3806, 69, 1645, 1799, 3830, 3859, 6529, 3839, 0, 6529, 3837, 203, 3844, 151, 333, 1648, 349, 489, 1777, 361, 494, 3810, 3792, 6529, 467, 382, 3779, 533, 564, 1816, 1713, 808, 6529, 6529, 0, 1825, 809, 1817, 1763, 1578, 1849, 1831, 1840, 443, 601, 1690, 6529, 3829, 1836, 1642, 1843, 1859, 6529, 1852, 3826, 6529, 751, 3797, 787, 3783, 1888, 6529, 3742, 1892, 3774, 0, 1897, 1904, 1916, 1924, 1928, 6529, 3735, 1936, 1944, 0, 3758, 1934, 1915, 1940, 1956, 6529, 1946, 3755, 1948, 1952, 1962, 6529, 3749, 1988, 6529, 1978, 2001, 3734, 0, 2005, 2024, 2032, 2040, 0, 2044, 2053, 2063, 471, 0, 0, 2009, 6529, 3700, 3745, 6529, 2014, 6529, 3698, 3740, 6529, 2068, 6529, 3687, 3725, 2058, 1956, 2060, 2079, 6529, 2069, 2088, 2099, 0, 2108, 3710, 2127, 2113, 6529, 3676, 2135, 3706, 0, 2139, 2147, 2158, 2166, 2118, 6529, 3669, 2170, 2178, 0, 3701, 3701, 3690, 2186, 6529, 3651, 3687, 3651, 3681, 2190, 6529, 3637, 0, 2194, 6529, 3629, 0, 3589, 1863, 6529, 3601, 3593, 6529, 3603, 2198, 6529, 3556, 0, 3541, 1877, 3582, 3575, 6529, 3526, 0, 6529, 6529, 3523, 3523, 2202, 6529, 3520, 0, 2206, 6529, 3506, 0, 73, 3506, 3491, 0, 3490, 2210, 6529, 3488, 0, 0, 2214, 6529, 3480, 0, 2218, 6529, 3477, 2224, 6529, 3476, 1546, 3518, 1559, 3504, 3445, 0, 2918, 529, 0, 2873, 0, 521, 2868, 0, 0, 2859, 2858, 2888, 6529, 2877, 2841, 2824, 1771, 157, 2018, 6529, 555, 568, 2829, 2825, 1673, 2226, 0, 1698, 1932, 2228, 6529, 6529, 0, 2234, 2152, 2232, 0, 0, 2236, 2240, 2238, 2242, 2244, 2252, 6529, 2235, 2243, 2254, 0, 2825, 2304, 2814, 0, 6529, 2280, 2294, 2299, 2837, 2301, 2309, 2316, 2342, 2845, 2248, 2259, 2778, 2776, 2771, 6529, 2337, 2343, 2348, 2371, 2391, 2399, 2411, 2770, 2419, 2762, 0, 0, 2790, 2754, 2744, 2745, 2738, 2737, 0, 0, 2735, 2733, 2729, 2730, 2709, 2703, 2698, 2689, 2683, 2668, 2671, 2666, 2663, 2661, 2659, 2657, 0, 2655, 6529, 6529, 6529, 2646, 2674, 2325, 2644, 0, 2643, 2605, 0, 6529, 2601, 2590, 2620, 2350, 819, 2595, 2581, 2335, 6529, 0, 2486, 2376, 2566, 2377, 2356, 2405, 2587, 2430, 2553, 2575, 2576, 2581, 2431, 2425, 2570, 2567, 2427, 2568, 6529, 2555, 2552, 2550, 2584, 0, 2454, 2593, 2446, 2548, 2544, 2575, 2534, 2533, 2428, 2426, 2423, 0, 2422, 2421, 2420, 2595, 2414, 2413, 2407, 2407, 2401, 6529, 2390, 2385, 2383, 2372, 2371, 2370, 2351, 2350, 2343, 2364, 2342, 2337, 2331, 2369, 2327, 2294, 737, 2285, 2299, 0, 2382, 2604, 2270, 2577, 2612, 2659, 2645, 2681, 2671, 2281, 2275, 2673, 2687, 2265, 2257, 2256, 2699, 2733, 2255, 2251, 2241, 2233, 2234, 2230, 2226, 2225, 2221, 2220, 2210, 2206, 2196, 2205, 814, 2172, 2177, 2168, 2171, 2167, 2163, 2155, 2154, 2134, 2143, 2138, 2137, 2130, 2129, 2119, 2118, 2117, 2111, 2106, 2101, 2119, 2076, 2090, 2073, 2066, 2700, 6529, 2624, 2726, 2728, 2738, 2739, 2070, 2061, 2741, 2747, 2052, 2051, 2050, 2755, 2798, 2806, 2044, 2043, 2039, 6529, 2035, 2025, 2019, 2017, 2015, 2009, 2005, 1979, 1984, 1972, 1975, 1979, 1974, 1955, 1948, 1953, 1945, 1943, 6529, 1937, 0, 0, 1933, 1931, 1927, 1923, 1908, 1899, 1898, 1880, 1879, 1878, 1872, 1863, 1853, 1851, 1840, 2739, 2745, 2772, 2788, 2792, 2803, 1828, 1827, 2817, 2824, 1819, 1815, 1809, 2831, 1807, 1792, 1788, 1776, 1774, 1768, 1762, 1756, 1749, 1759, 0, 1742, 1742, 1719, 1711, 1717, 1688, 1659, 1654, 1652, 0, 6529, 6529, 1650, 1646, 1638, 1631, 1611, 1606, 1605, 1594, 1583, 1577, 1562, 1556, 1542, 1582, 1569, 2641, 2760, 2833, 2840, 2847, 2444, 6529, 6529, 2614, 2838, 6529, 6529, 6529, 2846, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 1528, 1514, 1510, 1505, 840, 827, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 6529, 845, 816, 6529, 6529, 2848, 2865, 151, 2867, 782, 746, 724, 723, 710, 562, 6529, 2872, 356, 2879, 532, 461, 407, 401, 347, 305, 764, 82, 66, 59, 158, 16, 537, 1589, 1679, 2888, 6529, 2928, 2955, 2982, 3009, 3036, 3063, 3090, 3117, 3144, 3171, 3198, 3225, 3252, 3279, 3306, 3333, 3360, 3387, 3414, 3441, 3468, 3495, 3511, 3525, 3544, 3560, 3579, 3606, 3622, 3647, 2873, 3660, 3684, 3710, 3734, 3759, 3775, 3800, 3816, 3840, 3866, 3890, 2885, 3899, 3924, 3951, 3978, 3994, 2892, 4018, 4042, 4068, 4092, 2899, 4103, 3532, 4114, 4139, 4153, 4178, 4205, 4219, 4244, 4271, 4285, 4310, 4337, 3537, 4348, 4373, 3567, 4386, 4411, 4425, 4450, 4477, 4504, 4520, 4532, 4537, 4563, 3572, 4577, 4601, 4626, 4642, 4656, 4681, 4694, 4712, 3670, 4736, 4760, 4769, 4794, 4810, 4824, 4849, 4865, 4879, 3675, 4903, 4927, 4952, 4978, 4987, 5012, 5039, 5066, 5082, 5096, 5120, 3695, 5144, 3700, 5168, 5192, 5201, 5212, 5230, 5241, 5266, 5280, 5305, 5332, 5352, 5364, 5389, 5416, 5430, 5455, 5482, 5493, 5518, 5531, 5549, 5574, 5588, 5613, 5640, 2878, 5654, 5679, 5705, 3720, 5729, 5754, 3725, 3826, 5780, 5794, 5808, 3831, 5832, 5843, 5857, 5871, 5885, 5899, 5923, 5950, 5976, 5990, 6004, 6028, 6052, 6076, 6100, 6111, 3853, 6122, 3876, 6131, 6156, 3881, 3655, 6170, 6195, 4004, 6221, 6246, 6253, 6277, 6291, 6305, 4009, 6317, 6342, 6368, 6393, 6420, 6447, 6474, 6501 } ; static yyconst short int yy_def[1106] = { 0, 912, 912, 911, 3, 913, 913, 914, 914, 911, 9, 911, 11, 915, 915, 916, 916, 911, 17, 911, 19, 917, 917, 918, 918, 919, 919, 911, 27, 911, 29, 911, 31, 911, 33, 920, 920, 911, 37, 921, 921, 911, 41, 922, 922, 923, 923, 924, 924, 911, 49, 925, 925, 926, 926, 927, 927, 911, 57, 928, 928, 929, 929, 911, 63, 930, 930, 930, 930, 911, 69, 931, 931, 932, 932, 911, 911, 911, 911, 933, 934, 935, 911, 936, 937, 938, 911, 935, 911, 911, 939, 940, 940, 940, 941, 911, 911, 911, 942, 943, 911, 911, 911, 911, 944, 911, 945, 911, 946, 911, 911, 947, 948, 948, 948, 911, 911, 949, 950, 950, 950, 950, 911, 911, 951, 911, 952, 953, 911, 911, 954, 955, 911, 911, 911, 956, 911, 911, 911, 957, 911, 911, 911, 958, 959, 959, 959, 911, 911, 960, 961, 911, 911, 911, 911, 962, 911, 963, 911, 964, 911, 911, 965, 966, 911, 911, 967, 968, 911, 969, 911, 911, 911, 911, 970, 911, 971, 911, 972, 911, 911, 911, 973, 911, 911, 911, 911, 974, 911, 975, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 976, 911, 977, 911, 911, 911, 911, 978, 911, 911, 911, 911, 911, 911, 911, 911, 979, 980, 911, 981, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 982, 983, 911, 984, 911, 911, 911, 911, 911, 985, 911, 986, 911, 911, 911, 987, 911, 911, 911, 911, 911, 911, 911, 988, 911, 989, 990, 911, 989, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 991, 992, 991, 992, 992, 992, 992, 992, 911, 911, 993, 994, 995, 995, 995, 995, 995, 995, 995, 911, 911, 911, 911, 996, 997, 998, 997, 911, 911, 997, 999, 911, 1000, 1001, 1000, 911, 911, 911, 911, 911, 911, 1002, 1003, 1004, 1002, 1003, 911, 911, 911, 1004, 1004, 1005, 1006, 1007, 1008, 1007, 911, 911, 1007, 1009, 1010, 1011, 1010, 911, 1009, 911, 911, 1010, 911, 911, 1012, 1013, 1014, 1012, 911, 1015, 1013, 1014, 1014, 1016, 1017, 1017, 911, 911, 911, 1018, 911, 911, 911, 911, 1019, 911, 911, 911, 911, 1020, 1021, 1022, 1021, 911, 911, 1021, 1023, 911, 1024, 1023, 911, 1025, 911, 911, 911, 911, 911, 1026, 1027, 1028, 1026, 1027, 911, 911, 911, 1028, 1028, 1029, 1030, 1031, 1030, 911, 911, 911, 1032, 911, 1032, 911, 911, 911, 1033, 911, 911, 911, 1034, 911, 1035, 911, 1036, 911, 911, 1037, 911, 911, 911, 1038, 911, 911, 1039, 1039, 911, 911, 1040, 911, 911, 911, 911, 911, 911, 911, 1041, 911, 911, 911, 1042, 911, 911, 911, 1043, 911, 911, 911, 911, 1044, 1044, 911, 911, 911, 1045, 911, 911, 911, 911, 911, 911, 1046, 1047, 1046, 911, 911, 1048, 911, 911, 1049, 911, 1050, 911, 911, 1051, 1052, 911, 911, 1053, 911, 911, 911, 911, 911, 911, 1054, 911, 911, 911, 911, 911, 1055, 1055, 1056, 911, 1057, 1057, 911, 911, 1058, 1057, 1057, 1057, 1059, 1060, 1061, 1061, 1061, 1061, 1061, 1061, 911, 1062, 1062, 1063, 1064, 911, 1065, 911, 1066, 911, 1067, 1067, 1068, 911, 1069, 1069, 1070, 1071, 1072, 911, 1073, 911, 911, 911, 911, 1074, 1074, 1075, 1076, 1077, 1078, 1078, 911, 1079, 911, 1080, 1081, 1082, 911, 911, 911, 911, 911, 1083, 1084, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1085, 911, 911, 911, 911, 911, 911, 1086, 911, 911, 911, 911, 911, 911, 911, 911, 1087, 911, 911, 1088, 911, 911, 911, 1089, 1089, 911, 911, 911, 911, 911, 1090, 911, 1091, 1092, 1091, 1091, 1091, 1093, 1094, 1094, 1094, 1094, 1094, 1094, 1095, 911, 911, 1096, 1070, 911, 911, 911, 911, 1075, 1097, 1076, 1076, 1077, 911, 911, 1082, 911, 911, 911, 911, 911, 1084, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1098, 911, 911, 911, 911, 911, 1099, 1099, 1091, 911, 1091, 1094, 1093, 1094, 1094, 1095, 911, 911, 1096, 1070, 911, 911, 911, 1075, 1100, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1101, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1098, 911, 911, 911, 911, 1091, 911, 1091, 1094, 1094, 1094, 1095, 911, 911, 1096, 1070, 911, 911, 911, 1075, 1100, 1100, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1102, 1103, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1091, 1091, 1094, 1094, 1094, 1095, 911, 911, 1096, 1070, 911, 911, 911, 1075, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1104, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1105, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1091, 1091, 1094, 1094, 1094, 1095, 911, 911, 1096, 1070, 911, 911, 911, 1075, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 1091, 911, 1093, 1094, 911, 911, 911, 911, 911, 911, 911, 1091, 1093, 1094, 911, 911, 911, 911, 911, 911, 1093, 911, 911, 911, 1093, 911, 1093, 1093, 1093, 1093, 0, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911 } ; static yyconst short int yy_nxt[6597] = { 0, 77, 77, 78, 77, 77, 77, 79, 77, 77, 77, 77, 77, 80, 77, 80, 81, 77, 80, 80, 77, 82, 77, 83, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 77, 85, 77, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 77, 77, 77, 86, 134, 134, 86, 138, 135, 135, 138, 139, 197, 197, 139, 805, 213, 87, 88, 88, 89, 88, 88, 88, 90, 88, 88, 88, 88, 88, 213, 88, 227, 88, 92, 227, 170, 92, 88, 88, 88, 136, 136, 170, 140, 76, 479, 140, 805, 198, 198, 306, 76, 214, 906, 308, 88, 93, 88, 185, 186, 566, 185, 567, 187, 185, 186, 214, 185, 228, 187, 478, 228, 171, 426, 251, 252, 426, 251, 427, 171, 805, 88, 88, 88, 88, 88, 89, 88, 88, 88, 90, 88, 88, 88, 88, 88, 188, 88, 177, 88, 92, 177, 188, 92, 88, 88, 88, 178, 221, 204, 178, 205, 253, 444, 435, 222, 223, 445, 179, 434, 486, 179, 88, 93, 88, 911, 465, 893, 224, 206, 467, 256, 507, 256, 256, 180, 256, 256, 180, 482, 486, 257, 482, 484, 485, 225, 207, 907, 88, 88, 88, 96, 96, 97, 96, 96, 96, 96, 96, 98, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 96, 100, 96, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 96, 96, 96, 101, 102, 103, 102, 102, 101, 101, 101, 104, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 105, 101, 101, 101, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 101, 107, 101, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, 101, 101, 108, 109, 109, 110, 109, 109, 109, 111, 109, 109, 109, 109, 109, 243, 109, 486, 109, 113, 243, 805, 113, 109, 109, 109, 190, 244, 191, 204, 292, 205, 244, 292, 487, 192, 497, 491, 486, 497, 193, 109, 114, 109, 293, 190, 194, 191, 507, 206, 904, 416, 245, 446, 192, 487, 491, 245, 444, 193, 417, 901, 445, 195, 235, 194, 207, 109, 109, 109, 109, 109, 110, 109, 109, 109, 111, 109, 109, 109, 109, 109, 195, 109, 236, 109, 113, 235, 418, 113, 109, 109, 109, 209, 209, 210, 210, 292, 298, 299, 292, 236, 299, 312, 312, 312, 312, 236, 109, 114, 109, 293, 221, 210, 210, 309, 310, 805, 309, 222, 223, 313, 299, 805, 236, 533, 319, 320, 533, 319, 211, 211, 224, 348, 109, 109, 109, 115, 115, 116, 115, 115, 115, 117, 115, 115, 115, 115, 115, 225, 115, 235, 115, 119, 235, 311, 119, 120, 115, 115, 247, 247, 256, 258, 256, 256, 321, 495, 903, 248, 248, 237, 257, 486, 237, 115, 121, 115, 486, 581, 249, 249, 312, 312, 312, 312, 496, 497, 237, 260, 497, 237, 911, 299, 486, 582, 299, 250, 250, 486, 313, 115, 115, 115, 115, 115, 116, 115, 115, 115, 117, 115, 115, 115, 115, 115, 299, 115, 497, 115, 119, 497, 578, 119, 120, 115, 115, 294, 295, 507, 294, 312, 312, 312, 312, 486, 908, 902, 256, 258, 256, 256, 115, 121, 115, 593, 498, 579, 257, 313, 322, 322, 322, 322, 486, 294, 295, 323, 294, 350, 350, 350, 350, 499, 593, 260, 351, 900, 115, 115, 115, 101, 122, 123, 122, 122, 101, 101, 101, 124, 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, 125, 101, 101, 101, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 101, 107, 101, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 101, 101, 127, 128, 128, 129, 128, 128, 128, 128, 128, 130, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 128, 132, 128, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 128, 128, 128, 141, 141, 142, 141, 141, 141, 143, 141, 141, 141, 141, 141, 486, 141, 306, 141, 145, 899, 308, 145, 141, 141, 141, 898, 897, 312, 312, 312, 312, 327, 328, 486, 314, 328, 341, 341, 341, 341, 141, 146, 141, 300, 301, 313, 300, 341, 341, 341, 341, 896, 306, 507, 342, 328, 308, 911, 299, 497, 497, 299, 497, 497, 905, 342, 141, 141, 141, 141, 141, 142, 141, 141, 141, 143, 141, 141, 141, 141, 141, 299, 141, 302, 141, 145, 895, 879, 145, 141, 141, 141, 316, 911, 328, 334, 335, 328, 507, 335, 661, 336, 347, 341, 341, 347, 754, 141, 146, 141, 348, 376, 376, 376, 376, 505, 891, 328, 377, 335, 342, 661, 755, 394, 394, 394, 394, 378, 378, 379, 395, 890, 889, 141, 141, 141, 147, 147, 148, 147, 147, 147, 147, 147, 149, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 147, 151, 147, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 147, 147, 147, 152, 153, 154, 153, 153, 152, 152, 152, 155, 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, 156, 152, 152, 152, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 152, 158, 152, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 152, 152, 159, 160, 160, 161, 160, 160, 160, 160, 160, 162, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 160, 164, 160, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 160, 160, 160, 76, 76, 165, 76, 76, 76, 76, 76, 166, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 76, 168, 76, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 76, 76, 76, 172, 172, 173, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 172, 175, 172, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 172, 172, 172, 76, 76, 181, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 76, 183, 76, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 76, 76, 76, 199, 199, 200, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 199, 202, 199, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 199, 199, 199, 215, 215, 216, 215, 215, 215, 215, 215, 217, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 215, 219, 215, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 215, 215, 215, 229, 229, 230, 229, 229, 229, 229, 229, 231, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 229, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 229, 233, 229, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 229, 229, 229, 238, 238, 239, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 238, 241, 238, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 240, 238, 238, 238, 261, 329, 330, 888, 329, 465, 911, 335, 887, 467, 335, 262, 911, 370, 371, 911, 328, 371, 465, 328, 886, 263, 467, 497, 264, 265, 497, 885, 266, 267, 335, 268, 269, 337, 880, 355, 356, 371, 355, 328, 263, 331, 911, 335, 264, 265, 335, 879, 911, 878, 266, 267, 270, 271, 268, 269, 272, 272, 877, 338, 339, 507, 338, 252, 360, 361, 335, 360, 510, 272, 272, 273, 507, 911, 335, 357, 909, 335, 876, 911, 341, 341, 341, 341, 875, 911, 371, 343, 275, 371, 251, 252, 276, 251, 277, 874, 278, 335, 342, 340, 365, 366, 516, 365, 362, 516, 873, 872, 279, 371, 486, 280, 871, 281, 282, 283, 272, 272, 596, 372, 373, 596, 372, 381, 382, 516, 381, 486, 253, 272, 272, 275, 870, 911, 371, 294, 295, 371, 294, 869, 367, 391, 392, 497, 391, 345, 497, 868, 273, 486, 286, 867, 287, 865, 288, 864, 289, 371, 497, 374, 863, 497, 507, 383, 384, 384, 384, 384, 290, 400, 401, 291, 400, 281, 282, 283, 384, 384, 384, 384, 910, 393, 385, 384, 384, 384, 384, 862, 406, 407, 386, 406, 419, 419, 385, 384, 384, 384, 384, 410, 411, 385, 410, 503, 861, 419, 419, 420, 497, 402, 860, 497, 504, 385, 436, 437, 488, 436, 859, 488, 440, 441, 488, 440, 419, 488, 449, 450, 408, 449, 454, 455, 858, 454, 458, 459, 489, 458, 857, 412, 461, 462, 489, 461, 251, 252, 507, 251, 388, 805, 855, 419, 421, 422, 438, 421, 490, 854, 419, 419, 442, 497, 497, 853, 497, 497, 451, 509, 500, 852, 456, 419, 419, 419, 460, 851, 497, 850, 490, 497, 463, 256, 253, 256, 256, 497, 256, 256, 497, 849, 420, 257, 423, 848, 497, 298, 299, 497, 501, 299, 507, 500, 911, 299, 300, 301, 299, 300, 847, 416, 845, 298, 299, 508, 507, 299, 844, 419, 417, 299, 843, 511, 426, 507, 502, 426, 299, 427, 840, 839, 512, 501, 507, 309, 310, 299, 309, 312, 312, 312, 312, 513, 312, 312, 312, 312, 418, 832, 517, 322, 322, 322, 322, 831, 830, 313, 323, 502, 829, 828, 313, 520, 520, 520, 520, 827, 826, 825, 314, 312, 312, 312, 312, 319, 320, 525, 319, 497, 525, 313, 497, 322, 322, 322, 322, 824, 823, 313, 323, 911, 911, 911, 911, 327, 328, 822, 911, 328, 525, 911, 328, 329, 330, 328, 329, 327, 328, 334, 335, 328, 821, 335, 529, 336, 820, 529, 540, 328, 819, 540, 818, 911, 335, 328, 599, 335, 316, 911, 815, 328, 814, 335, 813, 338, 339, 529, 338, 334, 335, 540, 812, 335, 526, 336, 811, 335, 341, 341, 341, 341, 347, 341, 341, 347, 355, 356, 810, 355, 348, 360, 361, 335, 360, 592, 342, 809, 592, 805, 342, 350, 350, 350, 350, 808, 530, 807, 351, 531, 531, 531, 531, 806, 805, 489, 343, 347, 341, 341, 347, 347, 341, 341, 347, 348, 804, 342, 803, 348, 350, 350, 350, 350, 802, 342, 801, 351, 800, 342, 911, 911, 911, 911, 799, 365, 366, 911, 365, 370, 371, 911, 371, 371, 798, 371, 372, 373, 797, 372, 370, 371, 796, 795, 371, 376, 376, 376, 376, 793, 792, 791, 377, 371, 345, 371, 376, 376, 376, 376, 788, 378, 378, 379, 371, 376, 376, 376, 376, 787, 381, 382, 377, 381, 379, 391, 392, 541, 391, 780, 779, 378, 378, 379, 376, 376, 376, 376, 778, 777, 587, 377, 384, 384, 384, 384, 384, 384, 384, 384, 544, 544, 379, 776, 394, 394, 394, 394, 775, 497, 385, 395, 497, 774, 385, 547, 547, 547, 547, 773, 772, 771, 386, 384, 384, 384, 384, 394, 394, 394, 394, 770, 769, 385, 395, 911, 911, 911, 911, 768, 767, 385, 911, 400, 401, 766, 400, 406, 407, 765, 406, 410, 411, 603, 410, 421, 422, 764, 421, 436, 437, 763, 436, 440, 441, 761, 440, 449, 450, 760, 449, 454, 455, 759, 454, 458, 459, 758, 458, 757, 388, 461, 462, 596, 461, 497, 596, 756, 497, 497, 597, 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, 753, 497, 533, 298, 516, 533, 497, 516, 752, 497, 348, 911, 516, 533, 751, 516, 533, 597, 750, 749, 748, 348, 298, 299, 747, 746, 299, 516, 507, 745, 507, 604, 507, 744, 507, 516, 507, 600, 743, 606, 742, 607, 610, 597, 507, 602, 299, 608, 327, 525, 741, 611, 525, 609, 740, 736, 735, 612, 520, 520, 520, 520, 911, 525, 734, 314, 525, 327, 328, 334, 529, 328, 525, 529, 731, 336, 313, 911, 529, 654, 730, 529, 654, 911, 334, 335, 525, 724, 335, 596, 336, 328, 596, 529, 722, 721, 531, 531, 531, 531, 720, 529, 615, 343, 592, 370, 540, 592, 335, 540, 497, 911, 540, 497, 342, 540, 370, 371, 654, 616, 371, 654, 719, 316, 489, 376, 376, 376, 376, 540, 497, 497, 622, 497, 497, 540, 665, 587, 717, 665, 371, 623, 623, 379, 716, 625, 625, 625, 625, 715, 714, 621, 377, 376, 376, 376, 376, 713, 712, 497, 377, 345, 497, 379, 599, 376, 376, 376, 376, 544, 544, 379, 377, 547, 547, 547, 547, 711, 710, 709, 386, 544, 544, 379, 497, 497, 666, 497, 497, 599, 708, 385, 707, 298, 299, 327, 328, 299, 706, 328, 625, 625, 625, 625, 705, 668, 704, 377, 376, 376, 376, 376, 298, 299, 703, 622, 299, 299, 379, 328, 702, 701, 507, 507, 623, 623, 379, 692, 691, 690, 689, 672, 673, 688, 676, 687, 299, 669, 388, 664, 665, 664, 664, 665, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 664, 664, 664, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 664, 664, 664, 664, 665, 664, 664, 665, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 497, 497, 497, 497, 497, 497, 497, 334, 335, 497, 686, 335, 685, 336, 398, 664, 670, 664, 376, 376, 376, 376, 684, 370, 371, 622, 683, 371, 680, 497, 679, 335, 497, 678, 623, 623, 379, 497, 507, 507, 497, 664, 664, 664, 507, 675, 677, 371, 674, 497, 507, 725, 497, 327, 328, 667, 671, 328, 663, 607, 607, 662, 681, 693, 694, 489, 497, 660, 695, 497, 497, 696, 697, 497, 723, 507, 698, 328, 659, 657, 699, 700, 726, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 497, 782, 507, 497, 298, 299, 327, 328, 299, 727, 328, 656, 655, 582, 653, 664, 664, 664, 881, 497, 334, 335, 497, 652, 335, 651, 336, 650, 299, 649, 328, 648, 370, 371, 647, 729, 371, 732, 507, 646, 645, 664, 664, 664, 335, 497, 643, 497, 497, 728, 497, 733, 376, 376, 376, 376, 371, 497, 497, 622, 497, 497, 781, 737, 497, 642, 641, 497, 738, 738, 379, 640, 298, 299, 327, 328, 299, 639, 328, 497, 334, 335, 497, 507, 335, 507, 336, 783, 370, 371, 784, 497, 371, 638, 497, 507, 299, 637, 328, 833, 786, 636, 789, 635, 335, 633, 632, 497, 790, 834, 497, 497, 371, 631, 497, 785, 794, 376, 376, 376, 376, 630, 629, 398, 622, 376, 376, 376, 376, 507, 627, 599, 622, 738, 738, 379, 298, 299, 626, 620, 299, 738, 738, 379, 619, 507, 618, 835, 836, 507, 327, 328, 882, 252, 328, 882, 837, 334, 335, 497, 299, 335, 497, 336, 370, 371, 497, 497, 371, 497, 497, 334, 335, 617, 328, 335, 336, 336, 838, 370, 371, 335, 614, 371, 882, 252, 497, 882, 371, 497, 883, 497, 841, 613, 497, 335, 595, 507, 497, 842, 594, 497, 590, 371, 507, 589, 846, 251, 252, 588, 251, 305, 892, 305, 305, 305, 584, 884, 607, 584, 584, 587, 253, 353, 507, 353, 353, 353, 586, 585, 375, 894, 375, 375, 375, 599, 507, 397, 583, 397, 397, 397, 607, 580, 577, 883, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 94, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 203, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 208, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 254, 254, 576, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 256, 465, 256, 256, 575, 256, 574, 573, 256, 256, 572, 256, 256, 256, 259, 259, 259, 259, 571, 259, 570, 569, 259, 259, 259, 259, 259, 259, 274, 274, 403, 568, 403, 403, 403, 452, 565, 452, 452, 452, 274, 274, 274, 274, 274, 274, 274, 274, 274, 284, 564, 284, 284, 563, 284, 562, 561, 284, 284, 429, 284, 284, 284, 285, 285, 464, 429, 464, 464, 464, 506, 560, 506, 506, 506, 285, 285, 285, 285, 285, 285, 285, 285, 285, 296, 296, 559, 296, 296, 557, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 297, 423, 297, 297, 297, 297, 297, 418, 556, 297, 297, 297, 297, 297, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 307, 584, 307, 307, 584, 584, 307, 555, 307, 307, 307, 315, 315, 315, 315, 554, 315, 315, 315, 315, 315, 344, 404, 344, 344, 344, 553, 315, 404, 552, 315, 398, 315, 315, 315, 550, 315, 318, 318, 318, 318, 542, 398, 542, 542, 542, 387, 548, 387, 387, 387, 389, 318, 318, 546, 543, 318, 538, 318, 318, 318, 324, 324, 324, 324, 537, 598, 324, 598, 598, 598, 506, 364, 506, 506, 506, 536, 359, 535, 346, 324, 911, 324, 324, 324, 325, 325, 527, 325, 325, 523, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 326, 521, 326, 326, 326, 326, 326, 317, 519, 326, 326, 326, 326, 326, 332, 332, 306, 332, 332, 518, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 333, 304, 333, 333, 333, 333, 333, 333, 514, 333, 333, 333, 333, 333, 344, 344, 344, 344, 496, 605, 344, 605, 605, 605, 305, 493, 305, 305, 305, 492, 344, 483, 257, 344, 257, 344, 344, 344, 255, 344, 349, 349, 349, 349, 480, 478, 551, 349, 551, 551, 551, 476, 475, 473, 471, 349, 349, 470, 468, 349, 448, 349, 349, 349, 352, 352, 352, 352, 434, 558, 352, 558, 558, 558, 464, 433, 464, 464, 464, 432, 430, 429, 425, 352, 418, 352, 352, 352, 354, 414, 404, 398, 354, 389, 354, 354, 354, 358, 358, 364, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 363, 363, 359, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 368, 368, 346, 368, 368, 317, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 369, 304, 369, 369, 369, 369, 369, 257, 255, 369, 369, 369, 369, 369, 380, 380, 380, 380, 911, 598, 380, 598, 598, 598, 682, 95, 682, 682, 682, 380, 380, 95, 911, 380, 911, 380, 380, 380, 387, 387, 387, 387, 911, 911, 387, 911, 911, 911, 911, 911, 911, 911, 911, 911, 387, 911, 911, 387, 911, 387, 387, 387, 911, 387, 390, 390, 390, 390, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 390, 390, 911, 911, 390, 911, 390, 390, 390, 396, 396, 396, 396, 911, 911, 396, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 396, 911, 396, 396, 396, 399, 911, 399, 911, 911, 911, 399, 911, 399, 399, 399, 405, 911, 405, 911, 911, 911, 405, 911, 405, 405, 405, 409, 409, 911, 409, 409, 409, 409, 409, 409, 409, 911, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 911, 409, 409, 409, 409, 409, 413, 911, 911, 413, 911, 911, 911, 413, 911, 413, 413, 413, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 911, 415, 415, 415, 415, 415, 415, 415, 417, 417, 911, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 911, 417, 417, 417, 417, 417, 417, 417, 424, 911, 911, 424, 911, 911, 911, 424, 911, 424, 424, 424, 428, 428, 911, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 431, 431, 911, 431, 911, 431, 431, 431, 431, 431, 911, 431, 431, 431, 431, 911, 431, 431, 431, 911, 431, 911, 431, 431, 431, 431, 431, 439, 911, 911, 439, 911, 911, 911, 439, 911, 439, 439, 439, 443, 443, 911, 443, 911, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 911, 443, 911, 443, 443, 443, 443, 443, 447, 447, 911, 447, 911, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 911, 447, 911, 447, 447, 447, 447, 447, 453, 911, 911, 911, 453, 911, 453, 453, 453, 457, 457, 911, 457, 457, 457, 457, 457, 911, 911, 457, 457, 457, 457, 457, 457, 457, 457, 457, 911, 457, 911, 457, 457, 457, 457, 457, 466, 911, 466, 466, 911, 911, 466, 911, 466, 466, 466, 469, 469, 911, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 911, 469, 911, 469, 469, 469, 469, 469, 472, 911, 911, 472, 911, 911, 911, 472, 911, 472, 472, 472, 474, 474, 911, 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, 911, 474, 474, 474, 474, 474, 474, 474, 911, 474, 474, 474, 474, 474, 477, 477, 911, 477, 477, 477, 477, 477, 477, 477, 911, 477, 477, 477, 477, 477, 477, 477, 477, 911, 477, 911, 477, 477, 477, 477, 477, 254, 254, 911, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 256, 911, 256, 256, 911, 256, 911, 911, 256, 256, 911, 256, 256, 256, 481, 911, 911, 481, 911, 911, 911, 481, 911, 481, 481, 481, 494, 911, 494, 494, 494, 911, 494, 274, 911, 911, 274, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 274, 911, 274, 274, 274, 284, 911, 284, 284, 911, 284, 911, 911, 284, 284, 911, 284, 284, 284, 285, 911, 911, 285, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 285, 285, 285, 285, 285, 296, 296, 911, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 297, 911, 297, 297, 297, 297, 297, 911, 911, 297, 297, 297, 297, 297, 515, 911, 515, 911, 515, 515, 515, 911, 911, 515, 515, 515, 515, 515, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 303, 307, 911, 307, 307, 911, 911, 307, 911, 307, 307, 307, 305, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 305, 911, 305, 305, 305, 318, 318, 318, 318, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 318, 318, 911, 911, 318, 911, 318, 318, 318, 324, 324, 324, 324, 911, 911, 324, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 324, 911, 324, 324, 324, 522, 911, 911, 911, 522, 911, 522, 522, 522, 325, 325, 911, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 325, 326, 911, 326, 326, 326, 326, 326, 911, 911, 326, 326, 326, 326, 326, 524, 911, 524, 911, 524, 524, 524, 911, 911, 524, 524, 524, 524, 524, 332, 332, 911, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 333, 911, 333, 333, 333, 333, 333, 333, 911, 333, 333, 333, 333, 333, 528, 911, 528, 911, 528, 528, 528, 911, 911, 528, 528, 528, 528, 528, 349, 349, 349, 349, 911, 911, 911, 349, 911, 911, 911, 911, 911, 911, 911, 349, 349, 911, 911, 349, 911, 349, 349, 349, 352, 352, 352, 352, 911, 911, 352, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 352, 911, 352, 352, 352, 532, 532, 532, 532, 532, 532, 532, 532, 532, 911, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 534, 911, 911, 534, 911, 911, 911, 534, 911, 911, 911, 911, 911, 911, 911, 534, 911, 911, 911, 534, 911, 534, 534, 534, 354, 911, 911, 911, 354, 911, 354, 354, 354, 358, 358, 911, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 358, 363, 363, 911, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 363, 368, 368, 911, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 368, 369, 911, 369, 369, 369, 369, 369, 911, 911, 369, 369, 369, 369, 369, 539, 911, 539, 911, 539, 539, 539, 911, 911, 539, 539, 539, 539, 539, 380, 380, 380, 380, 911, 911, 380, 911, 911, 911, 911, 911, 911, 911, 911, 380, 380, 911, 911, 380, 911, 380, 380, 380, 545, 545, 545, 545, 911, 911, 545, 911, 911, 911, 911, 911, 911, 911, 911, 545, 545, 911, 911, 545, 911, 545, 545, 545, 390, 390, 390, 390, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 390, 390, 911, 911, 390, 911, 390, 390, 390, 396, 396, 396, 396, 911, 911, 396, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 396, 911, 396, 396, 396, 549, 911, 911, 911, 549, 911, 549, 549, 549, 399, 911, 399, 911, 911, 911, 399, 911, 399, 399, 399, 551, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 551, 911, 551, 551, 551, 405, 911, 405, 911, 911, 911, 405, 911, 405, 405, 405, 409, 409, 911, 409, 409, 409, 409, 409, 409, 409, 911, 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, 911, 409, 409, 409, 409, 409, 413, 911, 911, 413, 911, 911, 911, 413, 911, 413, 413, 413, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 911, 415, 415, 415, 415, 415, 415, 415, 417, 417, 911, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 417, 911, 417, 417, 417, 417, 417, 417, 417, 558, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 558, 911, 558, 558, 558, 424, 911, 911, 424, 911, 911, 911, 424, 911, 424, 424, 424, 428, 428, 911, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 428, 431, 431, 911, 431, 911, 431, 431, 431, 431, 431, 911, 431, 431, 431, 431, 911, 431, 431, 431, 911, 431, 911, 431, 431, 431, 431, 431, 439, 911, 911, 439, 911, 911, 911, 439, 911, 439, 439, 439, 443, 443, 911, 443, 911, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, 911, 443, 911, 443, 443, 443, 443, 443, 447, 447, 911, 447, 911, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, 911, 447, 911, 447, 447, 447, 447, 447, 453, 911, 911, 911, 453, 911, 453, 453, 453, 457, 457, 911, 457, 457, 457, 457, 457, 911, 911, 457, 457, 457, 457, 457, 457, 457, 457, 457, 911, 457, 911, 457, 457, 457, 457, 457, 466, 911, 466, 466, 911, 911, 466, 911, 466, 466, 466, 464, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 464, 911, 464, 464, 464, 469, 469, 911, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, 911, 469, 911, 469, 469, 469, 469, 469, 472, 911, 911, 472, 911, 911, 911, 472, 911, 472, 472, 472, 474, 474, 911, 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, 911, 474, 474, 474, 474, 474, 474, 474, 911, 474, 474, 474, 474, 474, 477, 477, 911, 477, 477, 477, 477, 477, 477, 477, 911, 477, 477, 477, 477, 477, 477, 477, 477, 911, 477, 911, 477, 477, 477, 477, 477, 481, 481, 911, 481, 911, 911, 911, 481, 911, 481, 481, 481, 591, 591, 911, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 494, 911, 911, 494, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 494, 911, 494, 494, 494, 274, 911, 911, 274, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 274, 911, 274, 274, 274, 601, 601, 911, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 911, 601, 285, 911, 911, 285, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 285, 285, 285, 285, 285, 515, 911, 515, 515, 515, 515, 515, 911, 911, 515, 515, 515, 515, 515, 297, 911, 297, 297, 297, 297, 297, 911, 911, 297, 297, 297, 297, 297, 315, 315, 315, 315, 911, 911, 315, 911, 911, 911, 911, 911, 911, 911, 911, 911, 315, 911, 911, 315, 911, 315, 315, 315, 911, 315, 522, 911, 911, 911, 522, 911, 522, 522, 522, 524, 911, 524, 524, 524, 524, 524, 911, 911, 524, 524, 524, 524, 524, 326, 911, 326, 326, 326, 326, 326, 911, 911, 326, 326, 326, 326, 326, 528, 911, 528, 528, 528, 528, 528, 528, 911, 528, 528, 528, 528, 528, 333, 911, 333, 333, 333, 333, 333, 333, 911, 333, 333, 333, 333, 333, 344, 344, 344, 344, 911, 911, 344, 911, 911, 911, 911, 911, 911, 911, 911, 911, 344, 911, 911, 344, 911, 344, 344, 344, 911, 344, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 532, 534, 911, 911, 534, 911, 911, 911, 534, 911, 911, 911, 911, 911, 911, 911, 534, 911, 911, 911, 534, 911, 534, 534, 534, 539, 911, 539, 539, 539, 539, 539, 911, 911, 539, 539, 539, 539, 539, 369, 911, 369, 369, 369, 369, 369, 911, 911, 369, 369, 369, 369, 369, 624, 624, 624, 624, 911, 911, 624, 911, 911, 911, 911, 911, 911, 911, 911, 624, 624, 911, 911, 624, 911, 624, 624, 624, 542, 542, 542, 542, 911, 911, 542, 911, 911, 911, 911, 911, 911, 911, 911, 911, 542, 911, 911, 542, 911, 542, 542, 542, 545, 545, 545, 545, 911, 911, 545, 911, 911, 911, 911, 911, 911, 911, 911, 545, 545, 911, 911, 545, 911, 545, 545, 545, 387, 387, 387, 387, 911, 911, 387, 911, 911, 911, 911, 911, 911, 911, 911, 911, 387, 911, 911, 387, 911, 387, 387, 387, 911, 387, 549, 911, 911, 911, 549, 911, 549, 549, 549, 628, 911, 628, 911, 911, 911, 628, 911, 628, 628, 628, 634, 911, 911, 911, 634, 911, 634, 634, 634, 644, 644, 644, 644, 644, 644, 644, 644, 644, 644, 644, 644, 644, 644, 644, 644, 911, 644, 644, 644, 911, 644, 911, 911, 644, 644, 644, 658, 911, 911, 658, 911, 911, 911, 658, 911, 658, 658, 658, 591, 591, 911, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 591, 274, 911, 911, 274, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 274, 911, 274, 274, 274, 601, 601, 911, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 601, 605, 605, 605, 605, 605, 285, 911, 911, 285, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 285, 285, 285, 285, 285, 297, 911, 297, 297, 297, 297, 297, 911, 911, 297, 297, 297, 297, 297, 326, 911, 326, 326, 326, 326, 326, 911, 911, 326, 326, 326, 326, 326, 718, 718, 911, 718, 911, 911, 911, 718, 911, 718, 718, 718, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 664, 911, 664, 911, 911, 911, 664, 664, 739, 739, 739, 739, 911, 911, 739, 911, 911, 911, 911, 911, 911, 911, 911, 739, 739, 911, 911, 739, 911, 739, 739, 739, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, 911, 762, 762, 762, 911, 762, 911, 762, 911, 762, 762, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 816, 911, 816, 816, 816, 911, 816, 911, 911, 911, 816, 816, 817, 817, 817, 817, 817, 817, 817, 817, 817, 817, 817, 817, 817, 817, 817, 817, 911, 817, 817, 817, 911, 817, 911, 911, 911, 817, 817, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 856, 911, 856, 856, 856, 911, 856, 911, 911, 911, 856, 856, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, 911, 866, 866, 866, 911, 866, 911, 911, 911, 866, 866, 75, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911 } ; static yyconst short int yy_chk[6597] = { 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 21, 22, 4, 23, 21, 22, 24, 23, 47, 48, 24, 906, 55, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 56, 5, 61, 5, 5, 62, 35, 5, 5, 5, 5, 21, 22, 36, 23, 35, 250, 24, 904, 47, 48, 99, 36, 55, 903, 99, 5, 5, 5, 43, 43, 444, 43, 444, 43, 44, 44, 56, 44, 61, 44, 250, 62, 35, 185, 78, 78, 185, 78, 185, 36, 902, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 43, 6, 39, 6, 6, 40, 44, 6, 6, 6, 6, 39, 59, 51, 40, 51, 78, 206, 195, 59, 59, 206, 39, 195, 487, 40, 6, 6, 6, 883, 232, 883, 59, 51, 232, 84, 905, 84, 84, 39, 84, 84, 40, 260, 487, 84, 260, 262, 262, 59, 51, 905, 6, 6, 6, 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, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 71, 13, 263, 13, 13, 72, 900, 13, 13, 13, 13, 45, 71, 45, 52, 86, 52, 72, 86, 265, 45, 274, 268, 263, 274, 45, 13, 13, 13, 86, 46, 45, 46, 893, 52, 899, 176, 71, 207, 46, 265, 268, 72, 207, 46, 176, 893, 207, 45, 65, 46, 52, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 46, 14, 65, 14, 14, 66, 176, 14, 14, 14, 14, 53, 54, 53, 54, 292, 91, 91, 292, 65, 91, 102, 102, 102, 102, 66, 14, 14, 14, 292, 60, 53, 54, 100, 100, 898, 100, 60, 60, 102, 91, 897, 66, 352, 107, 107, 352, 107, 53, 54, 60, 352, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 60, 15, 67, 15, 15, 68, 100, 15, 15, 15, 15, 73, 74, 81, 81, 81, 81, 107, 273, 896, 73, 74, 67, 81, 266, 68, 15, 15, 15, 269, 475, 73, 74, 103, 103, 103, 103, 273, 276, 67, 81, 276, 68, 92, 92, 266, 475, 92, 73, 74, 269, 103, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 92, 16, 277, 16, 16, 277, 471, 16, 16, 16, 16, 87, 87, 907, 87, 106, 106, 106, 106, 490, 907, 895, 87, 87, 87, 87, 16, 16, 16, 491, 276, 471, 87, 106, 108, 108, 108, 108, 490, 293, 293, 108, 293, 127, 127, 127, 127, 277, 491, 87, 127, 890, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 661, 25, 305, 25, 25, 889, 305, 25, 25, 25, 25, 888, 887, 104, 104, 104, 104, 112, 112, 661, 104, 112, 122, 122, 122, 122, 25, 25, 25, 93, 93, 104, 93, 123, 123, 123, 123, 886, 307, 901, 122, 112, 307, 93, 93, 280, 285, 93, 280, 285, 901, 123, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 93, 26, 93, 26, 26, 885, 878, 26, 26, 26, 26, 104, 113, 113, 118, 118, 113, 285, 118, 593, 118, 126, 126, 126, 126, 697, 26, 26, 26, 126, 150, 150, 150, 150, 280, 877, 113, 150, 118, 126, 593, 697, 159, 159, 159, 159, 150, 150, 150, 159, 862, 861, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 82, 114, 114, 860, 114, 464, 119, 119, 859, 464, 119, 82, 119, 144, 144, 114, 114, 144, 466, 114, 858, 82, 466, 288, 82, 82, 288, 857, 82, 82, 119, 82, 82, 120, 832, 132, 132, 144, 132, 114, 82, 114, 120, 120, 82, 82, 120, 831, 120, 830, 82, 82, 82, 82, 82, 82, 83, 83, 829, 121, 121, 288, 121, 828, 136, 136, 120, 136, 288, 83, 83, 83, 908, 121, 121, 132, 908, 121, 827, 121, 124, 124, 124, 124, 826, 145, 145, 124, 83, 145, 251, 251, 83, 251, 83, 825, 83, 121, 124, 121, 140, 140, 298, 140, 136, 298, 824, 823, 83, 145, 264, 83, 822, 83, 83, 83, 85, 85, 494, 146, 146, 494, 146, 151, 151, 298, 151, 264, 251, 85, 85, 85, 821, 146, 146, 294, 294, 146, 294, 820, 140, 158, 158, 497, 158, 124, 497, 819, 85, 264, 85, 818, 85, 814, 85, 813, 85, 146, 279, 146, 812, 279, 909, 151, 153, 153, 153, 153, 85, 164, 164, 85, 164, 85, 85, 85, 154, 154, 154, 154, 909, 158, 153, 155, 155, 155, 155, 811, 168, 168, 155, 168, 179, 179, 154, 157, 157, 157, 157, 171, 171, 155, 171, 279, 810, 179, 179, 179, 287, 164, 809, 287, 279, 157, 198, 198, 486, 198, 808, 486, 202, 202, 267, 202, 179, 267, 214, 214, 168, 214, 219, 219, 807, 219, 225, 225, 486, 225, 806, 171, 228, 228, 267, 228, 252, 252, 287, 252, 155, 804, 803, 179, 180, 180, 198, 180, 267, 802, 180, 180, 202, 278, 286, 801, 278, 286, 214, 287, 278, 800, 219, 180, 180, 180, 225, 799, 290, 798, 267, 290, 228, 284, 252, 284, 284, 291, 284, 284, 291, 797, 180, 284, 180, 796, 289, 297, 297, 289, 278, 297, 286, 289, 299, 299, 300, 300, 299, 300, 795, 415, 793, 302, 302, 286, 290, 302, 792, 180, 415, 297, 791, 290, 426, 291, 278, 426, 299, 426, 788, 787, 290, 289, 289, 309, 309, 302, 309, 312, 312, 312, 312, 291, 315, 315, 315, 315, 415, 780, 302, 316, 316, 316, 316, 779, 778, 312, 316, 289, 777, 776, 315, 317, 317, 317, 317, 775, 774, 773, 317, 318, 318, 318, 318, 319, 319, 327, 319, 498, 327, 317, 498, 322, 322, 322, 322, 772, 771, 318, 322, 323, 323, 323, 323, 326, 326, 770, 323, 326, 327, 328, 328, 329, 329, 328, 329, 331, 331, 333, 333, 331, 769, 333, 334, 333, 768, 334, 370, 326, 767, 370, 766, 335, 335, 328, 498, 335, 317, 335, 763, 331, 761, 333, 760, 338, 338, 334, 338, 340, 340, 370, 759, 340, 331, 340, 758, 335, 341, 341, 341, 341, 344, 344, 344, 344, 355, 355, 757, 355, 344, 360, 360, 340, 360, 488, 341, 756, 488, 755, 344, 345, 345, 345, 345, 754, 340, 753, 345, 346, 346, 346, 346, 752, 751, 488, 346, 347, 347, 347, 347, 349, 349, 349, 349, 347, 750, 346, 749, 349, 350, 350, 350, 350, 748, 347, 747, 350, 746, 349, 351, 351, 351, 351, 745, 365, 365, 351, 365, 369, 369, 371, 371, 369, 744, 371, 372, 372, 742, 372, 374, 374, 741, 740, 374, 375, 375, 375, 375, 736, 735, 734, 375, 369, 346, 371, 376, 376, 376, 376, 731, 375, 375, 375, 374, 378, 378, 378, 378, 730, 381, 381, 378, 381, 376, 391, 391, 374, 391, 722, 721, 378, 378, 378, 380, 380, 380, 380, 720, 719, 718, 380, 384, 384, 384, 384, 387, 387, 387, 387, 380, 380, 380, 717, 388, 388, 388, 388, 716, 504, 384, 388, 504, 715, 387, 389, 389, 389, 389, 714, 713, 712, 389, 390, 390, 390, 390, 394, 394, 394, 394, 711, 710, 389, 394, 395, 395, 395, 395, 709, 708, 390, 395, 400, 400, 707, 400, 406, 406, 706, 406, 410, 410, 504, 410, 421, 421, 705, 421, 436, 436, 704, 436, 440, 440, 703, 440, 449, 449, 702, 449, 454, 454, 701, 454, 458, 458, 700, 458, 699, 389, 461, 461, 495, 461, 499, 495, 698, 499, 505, 495, 503, 505, 508, 503, 510, 508, 509, 510, 511, 509, 512, 511, 696, 512, 533, 515, 515, 533, 513, 515, 695, 513, 533, 516, 516, 534, 694, 516, 534, 495, 693, 692, 691, 534, 517, 517, 690, 689, 517, 515, 508, 688, 510, 505, 509, 687, 511, 516, 512, 499, 686, 508, 685, 509, 512, 495, 513, 503, 517, 510, 524, 524, 684, 513, 524, 511, 683, 680, 679, 517, 520, 520, 520, 520, 525, 525, 678, 520, 525, 526, 526, 528, 528, 526, 524, 528, 675, 528, 520, 529, 529, 582, 674, 529, 582, 529, 530, 530, 525, 667, 530, 596, 530, 526, 596, 528, 663, 662, 531, 531, 531, 531, 660, 529, 526, 531, 592, 539, 539, 592, 530, 539, 603, 540, 540, 603, 531, 540, 541, 541, 654, 530, 541, 654, 659, 520, 592, 542, 542, 542, 542, 539, 600, 602, 542, 600, 602, 540, 665, 658, 657, 665, 541, 542, 542, 542, 656, 543, 543, 543, 543, 655, 653, 541, 543, 544, 544, 544, 544, 652, 651, 604, 544, 531, 604, 543, 603, 545, 545, 545, 545, 544, 544, 544, 545, 547, 547, 547, 547, 650, 649, 648, 547, 545, 545, 545, 606, 611, 600, 606, 611, 602, 647, 547, 646, 612, 612, 615, 615, 612, 645, 615, 625, 625, 625, 625, 643, 604, 642, 625, 623, 623, 623, 623, 838, 838, 641, 623, 838, 612, 625, 615, 640, 639, 606, 611, 623, 623, 623, 637, 636, 635, 633, 611, 612, 632, 615, 631, 838, 606, 547, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 607, 608, 609, 668, 608, 609, 668, 610, 616, 616, 610, 630, 616, 629, 616, 628, 607, 607, 607, 624, 624, 624, 624, 627, 621, 621, 624, 626, 621, 620, 666, 619, 616, 666, 618, 624, 624, 624, 669, 608, 609, 669, 607, 607, 607, 610, 614, 616, 621, 613, 725, 605, 668, 725, 841, 841, 601, 608, 841, 595, 609, 610, 594, 621, 638, 638, 591, 833, 590, 638, 833, 671, 638, 638, 671, 666, 669, 638, 841, 589, 586, 638, 638, 669, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, 672, 725, 671, 672, 673, 673, 676, 676, 673, 671, 676, 585, 583, 581, 580, 670, 670, 670, 833, 723, 677, 677, 723, 576, 677, 574, 677, 573, 673, 572, 676, 571, 681, 681, 570, 673, 681, 676, 672, 569, 568, 670, 670, 670, 677, 726, 567, 727, 726, 672, 727, 677, 682, 682, 682, 682, 681, 728, 781, 682, 728, 781, 723, 681, 782, 566, 565, 782, 682, 682, 682, 564, 729, 729, 732, 732, 729, 563, 732, 834, 733, 733, 834, 726, 733, 727, 733, 726, 737, 737, 727, 783, 737, 562, 783, 728, 729, 561, 732, 781, 729, 560, 732, 559, 733, 556, 555, 784, 733, 782, 784, 785, 737, 554, 785, 728, 737, 738, 738, 738, 738, 553, 552, 551, 738, 739, 739, 739, 739, 783, 548, 834, 739, 738, 738, 738, 786, 786, 546, 537, 786, 739, 739, 739, 536, 784, 535, 783, 784, 785, 789, 789, 835, 835, 789, 835, 785, 790, 790, 836, 786, 790, 836, 790, 794, 794, 837, 881, 794, 837, 881, 842, 842, 532, 789, 842, 527, 842, 786, 846, 846, 790, 521, 846, 882, 882, 884, 882, 794, 884, 835, 892, 789, 519, 892, 842, 493, 836, 894, 790, 492, 894, 485, 846, 837, 484, 794, 910, 910, 483, 910, 942, 881, 942, 942, 942, 1052, 836, 837, 1052, 1052, 481, 882, 954, 884, 954, 954, 954, 480, 479, 960, 884, 960, 960, 960, 892, 894, 965, 476, 965, 965, 965, 894, 473, 470, 910, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 912, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 914, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 915, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 916, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 917, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 918, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 919, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 920, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 921, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 923, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 924, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 925, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 926, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 927, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 928, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 929, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 930, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 931, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 932, 933, 933, 468, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 933, 934, 467, 934, 934, 465, 934, 463, 460, 934, 934, 456, 934, 934, 934, 935, 935, 935, 935, 451, 935, 448, 446, 935, 935, 935, 935, 935, 935, 936, 936, 967, 445, 967, 967, 967, 979, 442, 979, 979, 979, 936, 936, 936, 936, 936, 936, 936, 936, 936, 937, 438, 937, 937, 435, 937, 434, 430, 937, 937, 428, 937, 937, 937, 938, 938, 982, 427, 982, 982, 982, 993, 425, 993, 993, 993, 938, 938, 938, 938, 938, 938, 938, 938, 938, 939, 939, 423, 939, 939, 420, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 939, 940, 418, 940, 940, 940, 940, 940, 417, 414, 940, 940, 940, 940, 940, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, 943, 1087, 943, 943, 1087, 1087, 943, 412, 943, 943, 943, 944, 944, 944, 944, 408, 1002, 944, 1002, 1002, 1002, 1012, 405, 1012, 1012, 1012, 404, 944, 403, 402, 944, 399, 944, 944, 944, 398, 944, 945, 945, 945, 945, 1024, 397, 1024, 1024, 1024, 1026, 393, 1026, 1026, 1026, 385, 945, 945, 383, 379, 945, 368, 945, 945, 945, 946, 946, 946, 946, 367, 1056, 946, 1056, 1056, 1056, 1059, 363, 1059, 1059, 1059, 362, 358, 357, 342, 946, 337, 946, 946, 946, 947, 947, 332, 947, 947, 325, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 947, 948, 321, 948, 948, 948, 948, 948, 313, 311, 948, 948, 948, 948, 948, 949, 949, 308, 949, 949, 306, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 949, 950, 303, 950, 950, 950, 950, 950, 950, 296, 950, 950, 950, 950, 950, 951, 951, 951, 951, 275, 1060, 951, 1060, 1060, 1060, 1064, 271, 1064, 1064, 1064, 270, 951, 261, 259, 951, 256, 951, 951, 951, 254, 951, 952, 952, 952, 952, 253, 249, 1081, 952, 1081, 1081, 1081, 245, 244, 241, 237, 952, 952, 236, 233, 952, 211, 952, 952, 952, 953, 953, 953, 953, 194, 1083, 953, 1083, 1083, 1083, 1086, 193, 1086, 1086, 1086, 192, 188, 187, 183, 953, 178, 953, 953, 953, 955, 175, 167, 163, 955, 156, 955, 955, 955, 956, 956, 139, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 956, 957, 957, 135, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, 958, 958, 125, 958, 958, 105, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 958, 959, 94, 959, 959, 959, 959, 959, 80, 79, 959, 959, 959, 959, 959, 961, 961, 961, 961, 75, 1090, 961, 1090, 1090, 1090, 1097, 8, 1097, 1097, 1097, 961, 961, 7, 0, 961, 0, 961, 961, 961, 962, 962, 962, 962, 0, 0, 962, 0, 0, 0, 0, 0, 0, 0, 0, 0, 962, 0, 0, 962, 0, 962, 962, 962, 0, 962, 963, 963, 963, 963, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 963, 963, 0, 0, 963, 0, 963, 963, 963, 964, 964, 964, 964, 0, 0, 964, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 964, 0, 964, 964, 964, 966, 0, 966, 0, 0, 0, 966, 0, 966, 966, 966, 968, 0, 968, 0, 0, 0, 968, 0, 968, 968, 968, 969, 969, 0, 969, 969, 969, 969, 969, 969, 969, 0, 969, 969, 969, 969, 969, 969, 969, 969, 969, 969, 0, 969, 969, 969, 969, 969, 970, 0, 0, 970, 0, 0, 0, 970, 0, 970, 970, 970, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 971, 0, 971, 971, 971, 971, 971, 971, 971, 972, 972, 0, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 972, 0, 972, 972, 972, 972, 972, 972, 972, 973, 0, 0, 973, 0, 0, 0, 973, 0, 973, 973, 973, 974, 974, 0, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 974, 975, 975, 0, 975, 0, 975, 975, 975, 975, 975, 0, 975, 975, 975, 975, 0, 975, 975, 975, 0, 975, 0, 975, 975, 975, 975, 975, 976, 0, 0, 976, 0, 0, 0, 976, 0, 976, 976, 976, 977, 977, 0, 977, 0, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, 0, 977, 0, 977, 977, 977, 977, 977, 978, 978, 0, 978, 0, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 978, 0, 978, 0, 978, 978, 978, 978, 978, 980, 0, 0, 0, 980, 0, 980, 980, 980, 981, 981, 0, 981, 981, 981, 981, 981, 0, 0, 981, 981, 981, 981, 981, 981, 981, 981, 981, 0, 981, 0, 981, 981, 981, 981, 981, 983, 0, 983, 983, 0, 0, 983, 0, 983, 983, 983, 984, 984, 0, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 984, 0, 984, 0, 984, 984, 984, 984, 984, 985, 0, 0, 985, 0, 0, 0, 985, 0, 985, 985, 985, 986, 986, 0, 986, 986, 986, 986, 986, 986, 986, 986, 986, 986, 0, 986, 986, 986, 986, 986, 986, 986, 0, 986, 986, 986, 986, 986, 987, 987, 0, 987, 987, 987, 987, 987, 987, 987, 0, 987, 987, 987, 987, 987, 987, 987, 987, 0, 987, 0, 987, 987, 987, 987, 987, 988, 988, 0, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 988, 989, 0, 989, 989, 0, 989, 0, 0, 989, 989, 0, 989, 989, 989, 990, 0, 0, 990, 0, 0, 0, 990, 0, 990, 990, 990, 991, 0, 991, 991, 991, 0, 991, 992, 0, 0, 992, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 992, 0, 992, 992, 992, 994, 0, 994, 994, 0, 994, 0, 0, 994, 994, 0, 994, 994, 994, 995, 0, 0, 995, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 995, 995, 995, 995, 995, 996, 996, 0, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 996, 997, 0, 997, 997, 997, 997, 997, 0, 0, 997, 997, 997, 997, 997, 998, 0, 998, 0, 998, 998, 998, 0, 0, 998, 998, 998, 998, 998, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 999, 1000, 0, 1000, 1000, 0, 0, 1000, 0, 1000, 1000, 1000, 1001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1001, 0, 1001, 1001, 1001, 1003, 1003, 1003, 1003, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1003, 1003, 0, 0, 1003, 0, 1003, 1003, 1003, 1004, 1004, 1004, 1004, 0, 0, 1004, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1004, 0, 1004, 1004, 1004, 1005, 0, 0, 0, 1005, 0, 1005, 1005, 1005, 1006, 1006, 0, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1006, 1007, 0, 1007, 1007, 1007, 1007, 1007, 0, 0, 1007, 1007, 1007, 1007, 1007, 1008, 0, 1008, 0, 1008, 1008, 1008, 0, 0, 1008, 1008, 1008, 1008, 1008, 1009, 1009, 0, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1009, 1010, 0, 1010, 1010, 1010, 1010, 1010, 1010, 0, 1010, 1010, 1010, 1010, 1010, 1011, 0, 1011, 0, 1011, 1011, 1011, 0, 0, 1011, 1011, 1011, 1011, 1011, 1013, 1013, 1013, 1013, 0, 0, 0, 1013, 0, 0, 0, 0, 0, 0, 0, 1013, 1013, 0, 0, 1013, 0, 1013, 1013, 1013, 1014, 1014, 1014, 1014, 0, 0, 1014, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1014, 0, 1014, 1014, 1014, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 0, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1015, 1016, 0, 0, 1016, 0, 0, 0, 1016, 0, 0, 0, 0, 0, 0, 0, 1016, 0, 0, 0, 1016, 0, 1016, 1016, 1016, 1017, 0, 0, 0, 1017, 0, 1017, 1017, 1017, 1018, 1018, 0, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1018, 1019, 1019, 0, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1019, 1020, 1020, 0, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1020, 1021, 0, 1021, 1021, 1021, 1021, 1021, 0, 0, 1021, 1021, 1021, 1021, 1021, 1022, 0, 1022, 0, 1022, 1022, 1022, 0, 0, 1022, 1022, 1022, 1022, 1022, 1023, 1023, 1023, 1023, 0, 0, 1023, 0, 0, 0, 0, 0, 0, 0, 0, 1023, 1023, 0, 0, 1023, 0, 1023, 1023, 1023, 1025, 1025, 1025, 1025, 0, 0, 1025, 0, 0, 0, 0, 0, 0, 0, 0, 1025, 1025, 0, 0, 1025, 0, 1025, 1025, 1025, 1027, 1027, 1027, 1027, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1027, 1027, 0, 0, 1027, 0, 1027, 1027, 1027, 1028, 1028, 1028, 1028, 0, 0, 1028, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1028, 0, 1028, 1028, 1028, 1029, 0, 0, 0, 1029, 0, 1029, 1029, 1029, 1030, 0, 1030, 0, 0, 0, 1030, 0, 1030, 1030, 1030, 1031, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1031, 0, 1031, 1031, 1031, 1032, 0, 1032, 0, 0, 0, 1032, 0, 1032, 1032, 1032, 1033, 1033, 0, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 0, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 1033, 0, 1033, 1033, 1033, 1033, 1033, 1034, 0, 0, 1034, 0, 0, 0, 1034, 0, 1034, 1034, 1034, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 0, 1035, 1035, 1035, 1035, 1035, 1035, 1035, 1036, 1036, 0, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 0, 1036, 1036, 1036, 1036, 1036, 1036, 1036, 1037, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1037, 0, 1037, 1037, 1037, 1038, 0, 0, 1038, 0, 0, 0, 1038, 0, 1038, 1038, 1038, 1039, 1039, 0, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1039, 1040, 1040, 0, 1040, 0, 1040, 1040, 1040, 1040, 1040, 0, 1040, 1040, 1040, 1040, 0, 1040, 1040, 1040, 0, 1040, 0, 1040, 1040, 1040, 1040, 1040, 1041, 0, 0, 1041, 0, 0, 0, 1041, 0, 1041, 1041, 1041, 1042, 1042, 0, 1042, 0, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 1042, 0, 1042, 0, 1042, 1042, 1042, 1042, 1042, 1043, 1043, 0, 1043, 0, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 1043, 0, 1043, 0, 1043, 1043, 1043, 1043, 1043, 1044, 0, 0, 0, 1044, 0, 1044, 1044, 1044, 1045, 1045, 0, 1045, 1045, 1045, 1045, 1045, 0, 0, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 1045, 0, 1045, 0, 1045, 1045, 1045, 1045, 1045, 1046, 0, 1046, 1046, 0, 0, 1046, 0, 1046, 1046, 1046, 1047, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1047, 0, 1047, 1047, 1047, 1048, 1048, 0, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 1048, 0, 1048, 0, 1048, 1048, 1048, 1048, 1048, 1049, 0, 0, 1049, 0, 0, 0, 1049, 0, 1049, 1049, 1049, 1050, 1050, 0, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 0, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 0, 1050, 1050, 1050, 1050, 1050, 1051, 1051, 0, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 0, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 1051, 0, 1051, 0, 1051, 1051, 1051, 1051, 1051, 1053, 1053, 0, 1053, 0, 0, 0, 1053, 0, 1053, 1053, 1053, 1054, 1054, 0, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1054, 1055, 0, 0, 1055, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1055, 0, 1055, 1055, 1055, 1057, 0, 0, 1057, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1057, 0, 1057, 1057, 1057, 1058, 1058, 0, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 0, 1058, 1061, 0, 0, 1061, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1061, 1061, 1061, 1061, 1061, 1062, 0, 1062, 1062, 1062, 1062, 1062, 0, 0, 1062, 1062, 1062, 1062, 1062, 1063, 0, 1063, 1063, 1063, 1063, 1063, 0, 0, 1063, 1063, 1063, 1063, 1063, 1065, 1065, 1065, 1065, 0, 0, 1065, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1065, 0, 0, 1065, 0, 1065, 1065, 1065, 0, 1065, 1066, 0, 0, 0, 1066, 0, 1066, 1066, 1066, 1067, 0, 1067, 1067, 1067, 1067, 1067, 0, 0, 1067, 1067, 1067, 1067, 1067, 1068, 0, 1068, 1068, 1068, 1068, 1068, 0, 0, 1068, 1068, 1068, 1068, 1068, 1069, 0, 1069, 1069, 1069, 1069, 1069, 1069, 0, 1069, 1069, 1069, 1069, 1069, 1070, 0, 1070, 1070, 1070, 1070, 1070, 1070, 0, 1070, 1070, 1070, 1070, 1070, 1071, 1071, 1071, 1071, 0, 0, 1071, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1071, 0, 0, 1071, 0, 1071, 1071, 1071, 0, 1071, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1072, 1073, 0, 0, 1073, 0, 0, 0, 1073, 0, 0, 0, 0, 0, 0, 0, 1073, 0, 0, 0, 1073, 0, 1073, 1073, 1073, 1074, 0, 1074, 1074, 1074, 1074, 1074, 0, 0, 1074, 1074, 1074, 1074, 1074, 1075, 0, 1075, 1075, 1075, 1075, 1075, 0, 0, 1075, 1075, 1075, 1075, 1075, 1076, 1076, 1076, 1076, 0, 0, 1076, 0, 0, 0, 0, 0, 0, 0, 0, 1076, 1076, 0, 0, 1076, 0, 1076, 1076, 1076, 1077, 1077, 1077, 1077, 0, 0, 1077, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1077, 0, 0, 1077, 0, 1077, 1077, 1077, 1078, 1078, 1078, 1078, 0, 0, 1078, 0, 0, 0, 0, 0, 0, 0, 0, 1078, 1078, 0, 0, 1078, 0, 1078, 1078, 1078, 1079, 1079, 1079, 1079, 0, 0, 1079, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1079, 0, 0, 1079, 0, 1079, 1079, 1079, 0, 1079, 1080, 0, 0, 0, 1080, 0, 1080, 1080, 1080, 1082, 0, 1082, 0, 0, 0, 1082, 0, 1082, 1082, 1082, 1084, 0, 0, 0, 1084, 0, 1084, 1084, 1084, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 1085, 0, 1085, 1085, 1085, 0, 1085, 0, 0, 1085, 1085, 1085, 1088, 0, 0, 1088, 0, 0, 0, 1088, 0, 1088, 1088, 1088, 1089, 1089, 0, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1089, 1091, 0, 0, 1091, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1091, 0, 1091, 1091, 1091, 1092, 1092, 0, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1092, 1093, 1093, 1093, 1093, 1093, 1094, 0, 0, 1094, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1094, 1094, 1094, 1094, 1094, 1095, 0, 1095, 1095, 1095, 1095, 1095, 0, 0, 1095, 1095, 1095, 1095, 1095, 1096, 0, 1096, 1096, 1096, 1096, 1096, 0, 0, 1096, 1096, 1096, 1096, 1096, 1098, 1098, 0, 1098, 0, 0, 0, 1098, 0, 1098, 1098, 1098, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 0, 1099, 0, 0, 0, 1099, 1099, 1100, 1100, 1100, 1100, 0, 0, 1100, 0, 0, 0, 0, 0, 0, 0, 0, 1100, 1100, 0, 0, 1100, 0, 1100, 1100, 1100, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 1101, 0, 1101, 1101, 1101, 0, 1101, 0, 1101, 0, 1101, 1101, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 1102, 0, 1102, 1102, 1102, 0, 1102, 0, 0, 0, 1102, 1102, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 1103, 0, 1103, 1103, 1103, 0, 1103, 0, 0, 0, 1103, 1103, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 1104, 0, 1104, 1104, 1104, 0, 1104, 0, 0, 0, 1104, 1104, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 1105, 0, 1105, 1105, 1105, 0, 1105, 0, 0, 0, 1105, 1105, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911, 911 } ; static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr; static char *yy_full_match; static int yy_lp; static int yy_looking_for_trail_begin = 0; static int yy_full_lp; static int *yy_full_state; #define YY_TRAILING_MASK 0x2000 #define YY_TRAILING_HEAD_MASK 0x4000 #define REJECT \ { \ *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \ yy_cp = yy_full_match; /* restore poss. backed-over text */ \ yy_lp = yy_full_lp; /* restore orig. accepting pos. */ \ yy_state_ptr = yy_full_state; /* restore orig. state */ \ yy_current_state = *yy_state_ptr; /* restore curr. state */ \ ++yy_lp; \ goto find_rule; \ } #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "commentscan.l" #define INITIAL 0 /***************************************************************************** * * Copyright (C) 1997-2007 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * */ #line 17 "commentscan.l" /* * includes */ #include #include #include #include #include "qtbc.h" #include #include #include #include #include #include "scanner.h" #include "entry.h" #include "doxygen.h" #include "message.h" #include "config.h" #include "util.h" #include "index.h" #include "defargs.h" #include "language.h" #include "outputlist.h" #include "membergroup.h" #include "reflist.h" #include "debug.h" #include "parserintf.h" // forward declarations static bool handleBrief(const QCString &); static bool handleFn(const QCString &); static bool handleDef(const QCString &); static bool handleOverload(const QCString &); static bool handleEnum(const QCString &); static bool handleDefGroup(const QCString &); static bool handleAddToGroup(const QCString &); static bool handleWeakGroup(const QCString &); static bool handleNamespace(const QCString &); static bool handlePackage(const QCString &); static bool handleClass(const QCString &); static bool handleProtocol(const QCString &); static bool handleCategory(const QCString &); static bool handleUnion(const QCString &); static bool handleStruct(const QCString &); static bool handleInterface(const QCString &); static bool handleIdlException(const QCString &); static bool handlePage(const QCString &); static bool handleMainpage(const QCString &); static bool handleFile(const QCString &); static bool handleDir(const QCString &); static bool handleExample(const QCString &); static bool handleDetails(const QCString &); static bool handleName(const QCString &); static bool handleTodo(const QCString &); static bool handleTest(const QCString &); static bool handleBug(const QCString &); static bool handleSubpage(const QCString &s); static bool handleDeprecated(const QCString &); static bool handleXRefItem(const QCString &); static bool handleRelated(const QCString &); static bool handleRelatedAlso(const QCString &); static bool handleRefItem(const QCString &); static bool handleSection(const QCString &); static bool handleAnchor(const QCString &); static bool handleFormatBlock(const QCString &); static bool handleAddIndex(const QCString &); static bool handleIf(const QCString &); static bool handleIfNot(const QCString &); static bool handleElseIf(const QCString &); static bool handleElse(const QCString &); static bool handleEndIf(const QCString &); static bool handleIngroup(const QCString &); static bool handleNoSubGrouping(const QCString &); static bool handleShowInitializer(const QCString &); static bool handleHideInitializer(const QCString &); static bool handleCallgraph(const QCString &); static bool handleCallergraph(const QCString &); static bool handleInternal(const QCString &); static bool handleLineBr(const QCString &); static bool handleStatic(const QCString &); static bool handlePure(const QCString &); static bool handlePrivate(const QCString &); static bool handlePrivateSection(const QCString &); static bool handleProtected(const QCString &); static bool handleProtectedSection(const QCString &); static bool handlePublic(const QCString &s); static bool handlePublicSection(const QCString &s); static bool handleInherit(const QCString &); typedef bool (*DocCmdFunc)(const QCString &name); struct DocCmdMap { const char *cmdName; DocCmdFunc handler; bool endsBrief; }; // map of command to handler function static DocCmdMap docCmdMap[] = { // command name handler function ends brief description { "brief", &handleBrief, FALSE }, { "short", &handleBrief, FALSE }, { "fn", &handleFn, TRUE }, { "var", &handleFn, TRUE }, { "typedef", &handleFn, TRUE }, { "property", &handleFn, TRUE }, { "def", &handleDef, TRUE }, { "overload", &handleOverload, TRUE }, { "enum", &handleEnum, TRUE }, { "defgroup", &handleDefGroup, TRUE }, { "addtogroup", &handleAddToGroup, TRUE }, { "weakgroup", &handleWeakGroup, TRUE }, { "namespace", &handleNamespace, TRUE }, { "package", &handlePackage, TRUE }, { "class", &handleClass, TRUE }, { "protocol", &handleProtocol, TRUE }, { "category", &handleCategory, TRUE }, { "union", &handleUnion, TRUE }, { "struct", &handleStruct, TRUE }, { "interface", &handleInterface, TRUE }, { "idlexcept", &handleIdlException, TRUE }, { "page", &handlePage, TRUE }, { "mainpage", &handleMainpage, TRUE }, { "file", &handleFile, TRUE }, { "dir", &handleDir, TRUE }, { "example", &handleExample, TRUE }, { "details", &handleDetails, TRUE }, { "name", &handleName, TRUE }, { "todo", &handleTodo, TRUE }, { "test", &handleTest, TRUE }, { "bug", &handleBug, TRUE }, { "deprecated", &handleDeprecated, TRUE }, { "xrefitem", &handleXRefItem, TRUE }, { "related", &handleRelated, TRUE }, { "relates", &handleRelated, TRUE }, { "relatedalso", &handleRelatedAlso, TRUE }, { "relatesalso", &handleRelatedAlso, TRUE }, { "refitem", &handleRefItem, TRUE }, { "subpage", &handleSubpage, TRUE }, { "section", &handleSection, TRUE }, { "subsection", &handleSection, TRUE }, { "subsubsection", &handleSection, TRUE }, { "paragraph", &handleSection, TRUE }, { "anchor", &handleAnchor, TRUE }, { "verbatim", &handleFormatBlock, TRUE }, { "latexonly", &handleFormatBlock, FALSE }, { "htmlonly", &handleFormatBlock, FALSE }, { "xmlonly", &handleFormatBlock, FALSE }, { "rtfonly", &handleFormatBlock, FALSE }, { "manonly", &handleFormatBlock, FALSE }, { "dot", &handleFormatBlock, TRUE }, { "msc", &handleFormatBlock, TRUE }, { "code", &handleFormatBlock, TRUE }, { "addindex", &handleAddIndex, TRUE }, { "if", &handleIf, FALSE }, { "ifnot", &handleIfNot, FALSE }, { "elseif", &handleElseIf, FALSE }, { "else", &handleElse, FALSE }, { "endif", &handleEndIf, FALSE }, { "ingroup", &handleIngroup, TRUE }, { "nosubgrouping", &handleNoSubGrouping, TRUE }, { "showinitializer", &handleShowInitializer, TRUE }, { "hideinitializer", &handleHideInitializer, TRUE }, { "callgraph", &handleCallgraph, TRUE }, { "callergraph", &handleCallergraph, TRUE }, { "internal", &handleInternal, TRUE }, { "_linebr", &handleLineBr, FALSE }, { "static", &handleStatic, TRUE }, { "pure", &handlePure, TRUE }, { "private", &handlePrivate, TRUE }, { "privatesection", &handlePrivateSection, TRUE }, { "protected", &handleProtected, TRUE }, { "protectedsection",&handleProtectedSection, TRUE }, { "public", &handlePublic, TRUE }, { "publicsection", &handlePublicSection, TRUE }, { "inherit", &handleInherit, TRUE }, { "arg", 0, TRUE }, { "attention", 0, TRUE }, { "author", 0, TRUE }, { "authors", 0, TRUE }, { "date", 0, TRUE }, { "dotfile", 0, TRUE }, { "htmlinclude", 0, TRUE }, { "image", 0, TRUE }, { "include", 0, TRUE }, { "includelineno", 0, TRUE }, { "invariant", 0, TRUE }, { "li", 0, TRUE }, { "line", 0, TRUE }, { "note", 0, TRUE }, { "par", 0, TRUE }, { "param", 0, TRUE }, { "post", 0, TRUE }, { "pre", 0, TRUE }, { "remark", 0, TRUE }, { "remarks", 0, TRUE }, { "result", 0, TRUE }, { "return", 0, TRUE }, { "returns", 0, TRUE }, { "retval", 0, TRUE }, { "sa", 0, TRUE }, { "see", 0, TRUE }, { "since", 0, TRUE }, { "throw", 0, TRUE }, { "throws", 0, TRUE }, { "until", 0, TRUE }, { "verbinclude", 0, TRUE }, { "version", 0, TRUE }, { "warning", 0, TRUE }, { 0, 0, FALSE } }; /** @brief Command mapper. * * Maps a command name (as found in a comment block) onto a * specific handler function. */ class DocCmdMapper { public: struct Cmd { DocCmdFunc func; bool endsBrief; }; /** maps a command name to a handler function */ static Cmd *map(const char *name) { return instance()->find(name); } /** release the singleton */ static void freeInstance() { delete s_instance; s_instance=0; } private: static DocCmdMapper *instance() { if (s_instance==0) s_instance = new DocCmdMapper; return s_instance; } DocCmdMapper() : m_map(113) { m_map.setAutoDelete(TRUE); DocCmdMap *p = docCmdMap; while (p->cmdName) { if (m_map.find(p->cmdName)!=0) { printf("Error: DocCmdMapper: command %s already added\n",p->cmdName); exit(1); } Cmd *cmd = new Cmd; cmd->func = p->handler; cmd->endsBrief = p->endsBrief; m_map.insert(p->cmdName,cmd); p++; } } Cmd *find(const char *name) { return m_map.find(name); } QDict m_map; static DocCmdMapper *s_instance; }; DocCmdMapper *DocCmdMapper::s_instance=0; #define YY_NEVER_INTERACTIVE 1 enum XRefKind { XRef_Item, XRef_Todo, XRef_Test, XRef_Bug, XRef_Deprecated, XRef_None }; enum OutputContext { OutputDoc, OutputBrief, OutputXRef, OutputInbody }; enum GuardType { Guard_If, Guard_IfNot, Guard_Skip }; class GuardedSection { public: GuardedSection(bool enabled,bool parentVisible) : m_enabled(enabled),m_parentVisible(parentVisible) {} bool isEnabled() const { return m_enabled; } bool parentVisible() const { return m_parentVisible; } private: bool m_enabled; bool m_parentVisible; }; void openGroup(Entry *e,const char *file,int line); void closeGroup(Entry *e,const char *file,int line); void initGroupInfo(Entry *e); static void groupAddDocs(Entry *e,const char *fileName); /* ----------------------------------------------------------------- * * statics */ static ParserInterface *langParser; // the language parser that is calling us static QCString inputString; // input string static int inputPosition; // read pointer static QCString yyFileName; // file name that is read from static int yyLineNr; // line number in the input static bool inBody; // was the comment found inside the body of a function? static OutputContext inContext; // are we inside the brief, details or xref part static bool briefEndsAtDot; // does the brief description stop at a dot? static QCString formulaText; // Running text of a formula static QCString formulaEnv; // environment name static int formulaNewLines; // amount of new lines in the formula static QCString *pOutputString; // pointer to string to which the output is appended. static QCString outputXRef; // temp argument of todo/test/../xrefitem commands static QCString blockName; // preformatted block name (e.g. verbatim, latexonly,...) static XRefKind xrefKind; // kind of cross-reference command static XRefKind newXRefKind; // static GuardType guardType; // kind of guard for conditional section static bool enabledSectionFound; static QCString functionProto; // function prototype static QStack guards; // tracks nested conditional sections (if,ifnot,..) static Entry* current = 0 ; // working entry //static Entry* current_root = 0 ; // parent of working entry //static Entry* previous = 0 ; // TODO: remove need for this static bool needNewEntry; static QCString sectionLabel; static QCString sectionTitle; static QCString xrefItemKey; static QCString newXRefItemKey; static QCString xrefItemTitle; static QCString xrefListTitle; static Protection protection; static bool xrefAppendFlag; static bool inGroupParamFound; static int braceCount; static bool insidePre; static bool parseMore; static int g_commentCount; //----------------------------------------------------------------------------- static QStack g_autoGroupStack; static int g_memberGroupId = DOX_NOGROUP; static QCString g_memberGroupHeader; static QCString g_memberGroupDocs; static QCString g_memberGroupRelates; //----------------------------------------------------------------------------- static void initParser() { sectionLabel.resize(0); sectionTitle.resize(0); g_memberGroupHeader.resize(0); } //----------------------------------------------------------------------------- static QCString getDocSectionName(int s) { switch(s) { case Entry::CLASSDOC_SEC: return "\\class"; case Entry::STRUCTDOC_SEC: return "\\struct"; case Entry::UNIONDOC_SEC: return "\\union"; case Entry::EXCEPTIONDOC_SEC: return "\\exception"; case Entry::NAMESPACEDOC_SEC: return "\\namespace"; case Entry::PROTOCOLDOC_SEC: return "\\protocol"; case Entry::CATEGORYDOC_SEC: return "\\category"; case Entry::ENUMDOC_SEC: return "\\enum"; case Entry::PAGEDOC_SEC: return "\\page"; case Entry::MEMBERDOC_SEC: return "\\fn"; case Entry::OVERLOADDOC_SEC: return "\\overload"; case Entry::FILEDOC_SEC: return "\\file"; case Entry::DEFINEDOC_SEC: return "\\def"; case Entry::GROUPDOC_SEC: return "\\defgroup"; case Entry::MAINPAGEDOC_SEC: return "\\mainpage"; case Entry::PACKAGEDOC_SEC: return "\\package"; case Entry::DIRDOC_SEC: return "\\dir"; case Entry::EXAMPLE_SEC: return "\\example"; case Entry::MEMBERGRP_SEC: return "\\name"; default: return ""; } } //----------------------------------------------------------------------------- static bool makeStructuralIndicator(Entry::Sections s) { if (!getDocSectionName(current->section).isEmpty()) { //warn(yyFileName,yyLineNr, // "Warning: found a structural command %s for a section already " // "marked with structural command %s. Ignoring the latter command.", // getDocSectionName(s).data(), // getDocSectionName(current->section).data() // ); return TRUE; } else { needNewEntry = TRUE; current->section = s; current->fileName = yyFileName; current->startLine = yyLineNr; return FALSE; } } static void lineCount() { for( const char* c = yytext ; *c ; ++c ) yyLineNr += (*c == '\n') ; } static QCString stripQuotes(const char *s) { QCString name; if (s==0 || *s==0) return name; name=s; if (name.at(0)=='"' && name.at(name.length()-1)=='"') { name=name.mid(1,name.length()-2); } return name; } //----------------------------------------------------------------- static void addXRefItem(const char *listName,const char *itemTitle, const char *listTitle,bool append) { Entry *docEntry = current; // inBody && previous ? previous : current; if (listName==0) return; //printf("addXRefItem(%s,%s,%s,%d)\n",listName,itemTitle,listTitle,append); ListItemInfo *lii=0; RefList *refList = Doxygen::xrefLists->find(listName); if (refList==0) // new list { refList = new RefList(listName,listTitle,itemTitle); Doxygen::xrefLists->insert(listName,refList); //printf("new list!\n"); } if (docEntry->sli) { QListIterator slii(*docEntry->sli); for (slii.toFirst();(lii=slii.current());++slii) { if (strcmp(lii->type,listName)==0) { //printf("found %s lii->type=%s\n",listName,lii->type); break; } } } if (lii && append) // already found item of same type just before this one { //printf("listName=%s item id = %d existing\n",listName,lii->itemId); RefItem *item = refList->getRefItem(lii->itemId); ASSERT(item!=0); item->text += "

"; item->text += outputXRef; //printf("%s: text +=%s\n",listName,item->text.data()); } else // new item { int itemId = refList->addRefItem(); //printf("listName=%s item id = %d new current=%p\n",listName,itemId,current); // if we have already an item from the same list type (e.g. a second @todo) // in the same Entry (i.e. lii!=0) then we reuse its link anchor. char anchorLabel[1024]; sprintf(anchorLabel,"_%s%06d",listName,lii ? lii->itemId : itemId); RefItem *item = refList->getRefItem(itemId); ASSERT(item!=0); item->text = outputXRef; item->listAnchor = anchorLabel; docEntry->addSpecialListItem(listName,itemId); QCString cmdString; cmdString.sprintf("\\xrefitem %s %d\n",listName,itemId); if (inBody) { docEntry->inbodyDocs += cmdString; } else { docEntry->doc += cmdString; } SectionInfo *si=new SectionInfo(listName,anchorLabel, sectionTitle,SectionInfo::Anchor); Doxygen::sectionDict.insert(anchorLabel,si); docEntry->anchors->append(si); } outputXRef.resize(0); } //----------------------------------------------------------------------------- // Adds a formula text to the list/dictionary of formulas if it was // not already added. Returns the label of the formula. static QCString addFormula() { QCString formLabel; QCString fText=formulaText.simplifyWhiteSpace(); Formula *f=0; if ((f=Doxygen::formulaDict[fText])==0) { f = new Formula(fText); Doxygen::formulaList.append(f); Doxygen::formulaDict.insert(fText,f); formLabel.sprintf("\\form#%d",f->getId()); Doxygen::formulaNameDict.insert(formLabel,f); } else { formLabel.sprintf("\\form#%d",f->getId()); } int i; for (i=0;ianchors->append(si); Doxygen::sectionDict.insert(yytext,si); } //----------------------------------------------------------------------------- // strip trailing whitespace (excluding newlines) from string s static void stripTrailingWhiteSpace(QCString &s) { uint len = s.length(); int i = (int)len-1; char c; while (i>=0 && ((c = s.at(i))==' ' || c=='\t' || c=='\r')) i--; if (i!=(int)len-1) { s.resize(i+2); // string upto and including char at pos i and \0 terminator } } // selects the output to write to static inline void setOutput(OutputContext ctx) { bool xrefAppendToPrev = xrefAppendFlag; // determine append flag for the next item (i.e. the end of this item) xrefAppendFlag = inContext==OutputXRef && ctx==OutputXRef && // two consecutive xref items newXRefKind==xrefKind && // of the same kind (xrefKind!=XRef_Item || newXRefItemKey==xrefItemKey); // with the same key if \xrefitem //printf("refKind=%d newXRefKind=%d xrefAppendToPrev=%d xrefAppendFlag=%d\n", // xrefKind,newXRefKind,xrefAppendToPrev,xrefAppendFlag); //printf("setOutput(inContext=%d ctx=%d)\n",inContext,ctx); if (inContext==OutputXRef) // end of XRef section => add the item { // See if we can append this new xref item to the previous one. // We know this at the start of the next item of the same // type and need to remember this until the end of that item. switch(xrefKind) { case XRef_Todo: addXRefItem("todo", theTranslator->trTodo(), theTranslator->trTodoList(), xrefAppendToPrev ); break; case XRef_Test: addXRefItem("test", theTranslator->trTest(), theTranslator->trTestList(), xrefAppendToPrev ); break; case XRef_Bug: addXRefItem("bug", theTranslator->trBug(), theTranslator->trBugList(), xrefAppendToPrev ); break; case XRef_Deprecated: addXRefItem("deprecated", theTranslator->trDeprecated(), theTranslator->trDeprecatedList(), xrefAppendToPrev ); break; case XRef_Item: // user defined list addXRefItem(xrefItemKey, xrefItemTitle, xrefListTitle, xrefAppendToPrev ); break; case XRef_None: ASSERT(0); break; } } xrefItemKey = newXRefItemKey; int oldContext = inContext; inContext = ctx; if (inContext!=OutputXRef && inBody) inContext=OutputInbody; switch(inContext) { case OutputDoc: if (oldContext!=inContext) { stripTrailingWhiteSpace(current->doc); if (current->docFile.isEmpty()) { current->docFile = yyFileName; current->docLine = yyLineNr; } } pOutputString = ¤t->doc; break; case OutputBrief: if (oldContext!=inContext) { if (current->briefFile.isEmpty()) { current->briefFile = yyFileName; current->briefLine = yyLineNr; } } if (current->brief.stripWhiteSpace().isEmpty()) // we only want one brief // description even if multiple // are given... { pOutputString = ¤t->brief; } else { pOutputString = ¤t->doc; } break; case OutputXRef: pOutputString = &outputXRef; // first item found, so can't append to previous //xrefAppendFlag = FALSE; break; case OutputInbody: pOutputString = ¤t->inbodyDocs; break; } } // add a string to the output static inline void addOutput(const char *s) { *pOutputString+=s; } // add a character to the output static inline void addOutput(char c) { *pOutputString+=c; } static void endBrief() { if (!current->brief.stripWhiteSpace().isEmpty()) { // only go to the detailed description if we have // found some brief description and not just whitespace briefEndsAtDot=FALSE; setOutput(OutputDoc); addOutput(yytext); } } /* ----------------------------------------------------------------- */ #undef YY_INPUT #define YY_INPUT(buf,result,max_size) result=yyread(buf,max_size); static int prevPosition=0; static int yyread(char *buf,int max_size) { prevPosition=inputPosition; int c=0; while( c < max_size && inputString[inputPosition] ) { *buf = inputString[inputPosition++] ; //printf("%d (%c)\n",*buf,*buf); c++; buf++; } return c; } /* start command character */ /* comment parsing states. */ #define Comment 1 #define PageDocArg1 2 #define PageDocArg2 3 #define RelatesParam1 4 #define ClassDocArg1 5 #define ClassDocArg2 6 #define ClassDocArg3 7 #define CategoryDocArg1 8 #define XRefItemParam1 9 #define XRefItemParam2 10 #define XRefItemParam3 11 #define FileDocArg1 12 #define EnumDocArg1 13 #define NameSpaceDocArg1 14 #define PackageDocArg1 15 #define GroupDocArg1 16 #define GroupDocArg2 17 #define SectionLabel 18 #define SectionTitle 19 #define SubpageLabel 20 #define SubpageTitle 21 #define FormatBlock 22 #define LineParam 23 #define GuardParam 24 #define SkipGuardedSection 25 #define SkipInternal 26 #define NameParam 27 #define InGroupParam 28 #define FnParam 29 #define OverloadParam 30 #define InheritParam 31 #define ReadFormulaShort 32 #define ReadFormulaLong 33 #define AnchorLabel 34 #define HtmlComment 35 #define SkipLang 36 /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap YY_PROTO(( void )); #else extern int yywrap YY_PROTO(( void )); #endif #endif #ifndef YY_NO_UNPUT static void yyunput YY_PROTO(( int c, char *buf_ptr )); #endif #ifndef yytext_ptr static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen YY_PROTO(( yyconst char * )); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput YY_PROTO(( void )); #else static int input YY_PROTO(( void )); #endif #endif #if YY_STACK_USED static int yy_start_stack_ptr = 0; static int yy_start_stack_depth = 0; static int *yy_start_stack = 0; #ifndef YY_NO_PUSH_STATE static void yy_push_state YY_PROTO(( int new_state )); #endif #ifndef YY_NO_POP_STATE static void yy_pop_state YY_PROTO(( void )); #endif #ifndef YY_NO_TOP_STATE static int yy_top_state YY_PROTO(( void )); #endif #else #define YY_NO_PUSH_STATE 1 #define YY_NO_POP_STATE 1 #define YY_NO_TOP_STATE 1 #endif #ifdef YY_MALLOC_DECL YY_MALLOC_DECL #else #if __STDC__ #ifndef __cplusplus #include #endif #else /* Just try to get by without declaring the routines. This will fail * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) * or sizeof(void*) != sizeof(int). */ #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* 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 ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( yy_current_buffer->yy_is_interactive ) \ { \ int c = '*', n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL int yylex YY_PROTO(( void )) #endif /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ yy_current_buffer->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 843 "commentscan.l" /* What can happen in while parsing a comment block: * commands (e.g. @page, or \page) * escaped commands (e.g. @@page or \\page). * formulas (e.g. \f$ \f[ \f{..) * directories (e.g. \doxygen\src\) * autolist end. (e.g. a dot on an otherwise empty line) * newlines. * end of brief description due to blank line. * end of brief description due to some command (@command, or ). * words and whitespace and other characters (#,?!, etc). * grouping commands (e.g. @{ and @}) * language switch (e.g. \~english or \~). * mail adress (e.g. dimitri@stack.nl). * quoted text, such as "foo@bar" * XML commands,

*/ if ( yy_init ) { yy_init = 0; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! yy_start ) yy_start = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! yy_current_buffer ) yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); yy_load_buffer_state(); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = yy_c_buf_p; /* Support of yytext. */ *yy_cp = yy_hold_char; /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = yy_start; yy_current_state += YY_AT_BOL(); yy_state_ptr = yy_state_buf; *yy_state_ptr++ = yy_current_state; yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; 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 >= 912 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *yy_state_ptr++ = yy_current_state; ++yy_cp; } while ( yy_base[yy_current_state] != 6529 ); yy_find_action: yy_current_state = *--yy_state_ptr; yy_lp = yy_accept[yy_current_state]; find_rule: /* we branch to this label when backing up */ for ( ; ; ) /* until we find what rule we matched */ { if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] ) { yy_act = yy_acclist[yy_lp]; if ( yy_act & YY_TRAILING_HEAD_MASK || yy_looking_for_trail_begin ) { if ( yy_act == yy_looking_for_trail_begin ) { yy_looking_for_trail_begin = 0; yy_act &= ~YY_TRAILING_HEAD_MASK; break; } } else if ( yy_act & YY_TRAILING_MASK ) { yy_looking_for_trail_begin = yy_act & ~YY_TRAILING_MASK; yy_looking_for_trail_begin |= YY_TRAILING_HEAD_MASK; yy_full_match = yy_cp; yy_full_state = yy_state_ptr; yy_full_lp = yy_lp; } else { yy_full_match = yy_cp; yy_full_state = yy_state_ptr; yy_full_lp = yy_lp; break; } ++yy_lp; goto find_rule; } --yy_cp; yy_current_state = *--yy_state_ptr; yy_lp = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 1: YY_RULE_SETUP #line 862 "commentscan.l" { // escaped command addOutput(yytext); } YY_BREAK case 2: YY_RULE_SETUP #line 865 "commentscan.l" { // escaped command addOutput(yytext); } YY_BREAK case 3: YY_RULE_SETUP #line 868 "commentscan.l" { // mail adress addOutput(yytext); } YY_BREAK case 4: YY_RULE_SETUP #line 871 "commentscan.l" { // quoted text addOutput(yytext); } YY_BREAK case 5: YY_RULE_SETUP #line 874 "commentscan.l" { // directory (or chain of commands!) addOutput(yytext); } YY_BREAK case 6: YY_RULE_SETUP #line 877 "commentscan.l" { // xref command if (inContext!=OutputXRef) { briefEndsAtDot=FALSE; setOutput(OutputDoc); } // continue with the same input REJECT; } YY_BREAK /* {DETAILEDCMD}/[^a-z_A-Z]* { // command that can end a brief description briefEndsAtDot=FALSE; setOutput(OutputDoc); // continue with the same input REJECT; } */ case 7: YY_RULE_SETUP #line 894 "commentscan.l" { // HTML command that ends a brief description setOutput(OutputDoc); // continue with the same input REJECT; } YY_BREAK case 8: YY_RULE_SETUP #line 899 "commentscan.l" { // start of a .NET XML style brief description setOutput(OutputBrief); } YY_BREAK case 9: YY_RULE_SETUP #line 902 "commentscan.l" { // start of a .NET XML style detailed description setOutput(OutputDoc); } YY_BREAK case 10: YY_RULE_SETUP #line 905 "commentscan.l" { // end of a brief or detailed description } YY_BREAK case 11: YY_RULE_SETUP #line 907 "commentscan.l" { BEGIN(HtmlComment); } YY_BREAK case 12: YY_RULE_SETUP #line 910 "commentscan.l" { // potentially interesting command QCString cmdName = QCString(&yytext[1]).stripWhiteSpace(); DocCmdMapper::Cmd *cmdPtr = DocCmdMapper::map(cmdName); if (cmdPtr) // special action is required { if (cmdPtr->endsBrief && !current->brief.stripWhiteSpace().isEmpty()) { briefEndsAtDot=FALSE; // this command forces the end of brief description setOutput(OutputDoc); } if (cmdPtr->func && cmdPtr->func(cmdName)) { // implicit split of the comment block into two // entries. Restart the next block at the start // of this command. parseMore=TRUE; // yuk, this is probably not very portable across lex implementations, // but we need to know the position in the input buffer where this // rule matched. // for flex 2.5.33+ we should use YY_CURRENT_BUFFER_LVALUE #if YY_FLEX_MINOR_VERSION>=5 && YY_FLEX_SUBMINOR_VERSION>=33 inputPosition=prevPosition + yy_bp - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; #else inputPosition=prevPosition + yy_bp - yy_current_buffer->yy_ch_buf; #endif yyterminate(); } else if (cmdPtr->func==0) { // command without handler, to be processed // later by parsedoc.cpp addOutput(yytext); } } else // command not relevant { addOutput(yytext); } } YY_BREAK case 13: YY_RULE_SETUP #line 951 "commentscan.l" { // escaped formula command addOutput(yytext); } YY_BREAK case 14: YY_RULE_SETUP #line 954 "commentscan.l" { // language switch command QCString langId = &yytext[2]; if (!langId.isEmpty() && stricmp(Config_getEnum("OUTPUT_LANGUAGE"),langId)!=0) { // enable language specific section BEGIN(SkipLang); } } YY_BREAK case 15: YY_RULE_SETUP #line 962 "commentscan.l" { // start of a formula with custom environment formulaText="\\begin"; formulaEnv=&yytext[2]; formulaText+=formulaEnv; formulaNewLines=0; BEGIN(ReadFormulaLong); } YY_BREAK case 16: YY_RULE_SETUP #line 969 "commentscan.l" { // start of a inline formula formulaText="$"; formulaNewLines=0; BEGIN(ReadFormulaShort); } YY_BREAK case 17: YY_RULE_SETUP #line 974 "commentscan.l" { // start of a block formula formulaText="\\["; formulaNewLines=0; BEGIN(ReadFormulaLong); } YY_BREAK case 18: YY_RULE_SETUP #line 979 "commentscan.l" { // begin of a group //langParser->handleGroupStartCommand(g_memberGroupHeader); openGroup(current,yyFileName,yyLineNr); } YY_BREAK case 19: YY_RULE_SETUP #line 983 "commentscan.l" { // end of a group //langParser->handleGroupEndCommand(); closeGroup(current,yyFileName,yyLineNr); g_memberGroupHeader.resize(0); } YY_BREAK case 20: YY_RULE_SETUP #line 988 "commentscan.l" { // escaped character addOutput(yytext); } YY_BREAK case 21: YY_RULE_SETUP #line 991 "commentscan.l" { // normal word addOutput(yytext); } YY_BREAK case 22: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 994 "commentscan.l" { // explicit end autolist: e.g " ." addOutput(yytext); } YY_BREAK case 23: YY_RULE_SETUP #line 997 "commentscan.l" { // . at start or in the middle of a word addOutput(yytext); } YY_BREAK case 24: YY_RULE_SETUP #line 1000 "commentscan.l" { // . with escaped space. addOutput(yytext[0]); addOutput(yytext[2]); } YY_BREAK case 25: YY_RULE_SETUP #line 1004 "commentscan.l" { // . with comma such as "e.g.," addOutput(yytext); } YY_BREAK case 26: YY_RULE_SETUP #line 1007 "commentscan.l" { // at least one blank line (or blank line command) if (inContext!=OutputBrief) { addOutput(yytext); setOutput(OutputDoc); } else { // only go to the detailed description if we have // found some brief description and not just whitespace endBrief(); } lineCount(); } YY_BREAK case 27: YY_RULE_SETUP #line 1020 "commentscan.l" { // potential end of a JavaDoc style comment addOutput(*yytext); if (briefEndsAtDot) { setOutput(OutputDoc); briefEndsAtDot=FALSE; } } YY_BREAK case 28: YY_RULE_SETUP #line 1028 "commentscan.l" { // newline addOutput(*yytext); yyLineNr++; } YY_BREAK case 29: YY_RULE_SETUP #line 1032 "commentscan.l" { // catch-all for anything else addOutput(*yytext); } YY_BREAK /* -------------- Rules for handling HTML comments ----------- */ case 30: YY_RULE_SETUP #line 1039 "commentscan.l" { BEGIN( Comment ); } YY_BREAK case 31: YY_RULE_SETUP #line 1040 "commentscan.l" { if (*yytext=='\n') yyLineNr++; } YY_BREAK case 32: YY_RULE_SETUP #line 1043 "commentscan.l" { // ignore unimportant characters } YY_BREAK case 33: YY_RULE_SETUP #line 1045 "commentscan.l" { // ignore every else } YY_BREAK /* -------------- Rules for handling formulas ---------------- */ case 34: YY_RULE_SETUP #line 1050 "commentscan.l" { // end of inline formula formulaText+="$"; addOutput(addFormula()); BEGIN(Comment); } YY_BREAK case 35: YY_RULE_SETUP #line 1055 "commentscan.l" { // end of block formula formulaText+="\\]"; addOutput(addFormula()); BEGIN(Comment); } YY_BREAK case 36: YY_RULE_SETUP #line 1060 "commentscan.l" { // end of custom env formula formulaText+="\\end"; formulaText+=formulaEnv; addOutput(addFormula()); BEGIN(Comment); } YY_BREAK case 37: YY_RULE_SETUP #line 1066 "commentscan.l" { // any non-special character formulaText+=yytext; } YY_BREAK case 38: YY_RULE_SETUP #line 1069 "commentscan.l" { // new line formulaNewLines++; formulaText+=*yytext; yyLineNr++; } YY_BREAK case 39: YY_RULE_SETUP #line 1074 "commentscan.l" { // any othe character formulaText+=*yytext; } YY_BREAK /* ------------ handle argument of enum command --------------- */ case 40: YY_RULE_SETUP #line 1080 "commentscan.l" { // handle argument current->name = yytext; BEGIN( Comment ); } YY_BREAK case 41: YY_RULE_SETUP #line 1084 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 42: YY_RULE_SETUP #line 1088 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: missing argument after \\enum." ); addOutput('\n'); if (*yytext=='\n') yyLineNr++; BEGIN( Comment ); } YY_BREAK case 43: YY_RULE_SETUP #line 1096 "commentscan.l" { // ignore other stuff } YY_BREAK /* ------------ handle argument of namespace command --------------- */ case 44: YY_RULE_SETUP #line 1101 "commentscan.l" { // handle argument current->name = yytext; BEGIN( Comment ); } YY_BREAK case 45: YY_RULE_SETUP #line 1105 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 46: YY_RULE_SETUP #line 1109 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: missing argument after " "\\namespace." ); addOutput('\n'); if (*yytext=='\n') yyLineNr++; BEGIN( Comment ); } YY_BREAK case 47: YY_RULE_SETUP #line 1118 "commentscan.l" { // ignore other stuff } YY_BREAK /* ------------ handle argument of package command --------------- */ case 48: YY_RULE_SETUP #line 1123 "commentscan.l" { // handle argument current->name = yytext; BEGIN( Comment ); } YY_BREAK case 49: YY_RULE_SETUP #line 1127 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 50: YY_RULE_SETUP #line 1131 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: missing argument after " "\\package." ); addOutput('\n'); if (*yytext=='\n') yyLineNr++; BEGIN( Comment ); } YY_BREAK case 51: YY_RULE_SETUP #line 1140 "commentscan.l" { // ignore other stuff } YY_BREAK /* ------ handle argument of class/struct/union command --------------- */ case 52: YY_RULE_SETUP #line 1145 "commentscan.l" { // first argument current->name = yytext; if (current->section==Entry::PROTOCOLDOC_SEC) { current->name+="-p"; } // prepend outer scope name BEGIN( ClassDocArg2 ); } YY_BREAK case 53: YY_RULE_SETUP #line 1154 "commentscan.l" { current->name = yytext; BEGIN( ClassDocArg2 ); } YY_BREAK case 54: YY_RULE_SETUP #line 1158 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 55: YY_RULE_SETUP #line 1162 "commentscan.l" { warn(yyFileName,yyLineNr, "Warning: missing argument after " "\\%s.",YY_START==ClassDocArg1?"class":"category" ); addOutput('\n'); if (*yytext=='\n') yyLineNr++; BEGIN( Comment ); } YY_BREAK case 56: YY_RULE_SETUP #line 1171 "commentscan.l" { // ignore other stuff } YY_BREAK case 57: YY_RULE_SETUP #line 1174 "commentscan.l" { // second argument; include file current->includeFile = stripQuotes(yytext); BEGIN( ClassDocArg3 ); } YY_BREAK case 58: YY_RULE_SETUP #line 1178 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 59: YY_RULE_SETUP #line 1182 "commentscan.l" { addOutput('\n'); if (*yytext=='\n') yyLineNr++; BEGIN( Comment ); } YY_BREAK case 60: YY_RULE_SETUP #line 1187 "commentscan.l" { // ignore other stuff } YY_BREAK case 61: YY_RULE_SETUP #line 1190 "commentscan.l" { // third argument; include file name current->includeName = yytext; BEGIN( Comment ); } YY_BREAK case 62: YY_RULE_SETUP #line 1194 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 63: YY_RULE_SETUP #line 1198 "commentscan.l" { if (*yytext=='\n') yyLineNr++; BEGIN( Comment ); } YY_BREAK case 64: YY_RULE_SETUP #line 1202 "commentscan.l" { // ignore other stuff } YY_BREAK /* --------- handle arguments of {def,add,weak}group commands --------- */ case 65: YY_RULE_SETUP #line 1207 "commentscan.l" { // group name current->name = yytext; //lastDefGroup.groupname = yytext; //lastDefGroup.pri = current->groupingPri(); // the .html stuff is for Qt compatibility if (current->name.right(5)==".html") { current->name=current->name.left(current->name.length()-5); } BEGIN(GroupDocArg2); } YY_BREAK case 66: YY_RULE_SETUP #line 1218 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 67: YY_RULE_SETUP #line 1222 "commentscan.l" { // missing argument! warn(yyFileName,yyLineNr, "Warning: missing group name after %s", current->groupDocCmd() ); addOutput('\n'); if (*yytext=='\n') yyLineNr++; BEGIN( Comment ); } YY_BREAK case 68: YY_RULE_SETUP #line 1231 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 69: YY_RULE_SETUP #line 1235 "commentscan.l" { // title (stored in type) current->type += yytext; current->type = current->type.stripWhiteSpace(); } YY_BREAK case 70: YY_RULE_SETUP #line 1239 "commentscan.l" { if ( current->groupDocType==Entry::GROUPDOC_NORMAL && current->type.isEmpty() ) // defgroup requires second argument { warn(yyFileName,yyLineNr, "Warning: missing title after " "\\defgroup %s", current->name.data() ); } if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK /* --------- handle arguments of page/mainpage command ------------------- */ case 71: YY_RULE_SETUP #line 1256 "commentscan.l" { // first argument; page name current->name = stripQuotes(yytext); BEGIN( PageDocArg2 ); } YY_BREAK case 72: YY_RULE_SETUP #line 1260 "commentscan.l" { yyLineNr++; addOutput('\n'); } YY_BREAK case 73: YY_RULE_SETUP #line 1263 "commentscan.l" { warn(yyFileName,yyLineNr, "Warning: missing argument after " "\\page." ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 74: YY_RULE_SETUP #line 1272 "commentscan.l" { // ignore other stuff } YY_BREAK case 75: YY_RULE_SETUP #line 1274 "commentscan.l" { // second argument; page title yyLineNr++; current->args = yytext; addOutput('\n'); BEGIN( Comment ); } YY_BREAK /* --------- handle arguments of the file/dir/example command ------------ */ case 76: YY_RULE_SETUP #line 1283 "commentscan.l" { // no file name specfied if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 77: YY_RULE_SETUP #line 1288 "commentscan.l" { // first argument; name current->name = stripQuotes(yytext); BEGIN( Comment ); } YY_BREAK case 78: YY_RULE_SETUP #line 1292 "commentscan.l" { yyLineNr++; addOutput('\n'); } YY_BREAK case 79: YY_RULE_SETUP #line 1295 "commentscan.l" { // ignore other stuff } YY_BREAK /* --------- handle arguments of the xrefitem command ------------ */ case 80: YY_RULE_SETUP #line 1300 "commentscan.l" { // first argument newXRefItemKey=yytext; setOutput(OutputXRef); BEGIN(XRefItemParam2); } YY_BREAK case 81: YY_RULE_SETUP #line 1305 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 82: YY_RULE_SETUP #line 1309 "commentscan.l" { // missing arguments warn(yyFileName,yyLineNr, "Warning: Missing first argument of \\xrefitem" ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); inContext = OutputDoc; BEGIN( Comment ); } YY_BREAK case 83: YY_RULE_SETUP #line 1318 "commentscan.l" { // ignore other stuff } YY_BREAK case 84: YY_RULE_SETUP #line 1321 "commentscan.l" { // second argument xrefItemTitle = stripQuotes(yytext); BEGIN(XRefItemParam3); } YY_BREAK case 85: YY_RULE_SETUP #line 1325 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 86: YY_RULE_SETUP #line 1329 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: Missing second argument of \\xrefitem" ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); inContext = OutputDoc; BEGIN( Comment ); } YY_BREAK case 87: YY_RULE_SETUP #line 1338 "commentscan.l" { // ignore other stuff } YY_BREAK case 88: YY_RULE_SETUP #line 1341 "commentscan.l" { // third argument xrefListTitle = stripQuotes(yytext); xrefKind = XRef_Item; BEGIN( Comment ); } YY_BREAK case 89: YY_RULE_SETUP #line 1346 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 90: YY_RULE_SETUP #line 1350 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: Missing third argument of \\xrefitem" ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); inContext = OutputDoc; BEGIN( Comment ); } YY_BREAK case 91: YY_RULE_SETUP #line 1359 "commentscan.l" { // ignore other stuff } YY_BREAK /* --------- handle arguments of the relates(also) command ------------ */ case 92: YY_RULE_SETUP #line 1365 "commentscan.l" { // argument current->relates = yytext; //if (current->mGrpId!=DOX_NOGROUP) //{ // memberGroupRelates = yytext; //} BEGIN( Comment ); } YY_BREAK case 93: YY_RULE_SETUP #line 1373 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 94: YY_RULE_SETUP #line 1377 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: Missing argument of \\relates command" ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 95: YY_RULE_SETUP #line 1385 "commentscan.l" { // ignore other stuff } YY_BREAK /* ----- handle arguments of the relates(also)/addindex commands ----- */ case 96: YY_RULE_SETUP #line 1391 "commentscan.l" { // end of argument if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 97: YY_RULE_SETUP #line 1396 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 98: YY_RULE_SETUP #line 1400 "commentscan.l" { // ignore other stuff addOutput(*yytext); } YY_BREAK /* ----- handle arguments of the section/subsection/.. commands ------- */ case 99: YY_RULE_SETUP #line 1406 "commentscan.l" { // first argyment sectionLabel=yytext; addOutput(yytext); sectionTitle.resize(0); BEGIN(SectionTitle); } YY_BREAK case 100: YY_RULE_SETUP #line 1412 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: \\section command has no label" ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 101: YY_RULE_SETUP #line 1420 "commentscan.l" { // invalid character for section label warn(yyFileName,yyLineNr, "Warning: Invalid or missing section label" ); BEGIN(Comment); } YY_BREAK case 102: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1427 "commentscan.l" { // end of section title addSection(); addOutput(yytext); BEGIN( Comment ); } YY_BREAK case 103: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 8; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1432 "commentscan.l" { // end of section title addSection(); addOutput(yytext); BEGIN( Comment ); } YY_BREAK case 104: YY_RULE_SETUP #line 1437 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 105: YY_RULE_SETUP #line 1441 "commentscan.l" { // any character without special meaning sectionTitle+=yytext; addOutput(yytext); } YY_BREAK case 106: YY_RULE_SETUP #line 1445 "commentscan.l" { // unescape escaped command sectionTitle+=&yytext[1]; addOutput(yytext); } YY_BREAK case 107: YY_RULE_SETUP #line 1449 "commentscan.l" { // unescape escaped character sectionTitle+=yytext[1]; addOutput(yytext); } YY_BREAK case 108: YY_RULE_SETUP #line 1453 "commentscan.l" { // anything else sectionTitle+=yytext; addOutput(*yytext); } YY_BREAK /* ----- handle arguments of the subpage command ------- */ case 109: YY_RULE_SETUP #line 1460 "commentscan.l" { // first argument addOutput(yytext); // we add subpage labels as a kind of "inheritance" relation to prevent // needing to add another list to the Entry class. current->extends->append(new BaseInfo(yytext,Public,Normal)); BEGIN(SubpageTitle); } YY_BREAK case 110: YY_RULE_SETUP #line 1467 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: \\subpage command has no label" ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 111: YY_RULE_SETUP #line 1475 "commentscan.l" { // no title, end command addOutput(yytext); BEGIN( Comment ); } YY_BREAK case 112: YY_RULE_SETUP #line 1479 "commentscan.l" { // add title, end of command addOutput(yytext); BEGIN( Comment ); } YY_BREAK case 113: YY_RULE_SETUP #line 1483 "commentscan.l" { // no title, end of command unput(*yytext); BEGIN( Comment ); } YY_BREAK /* ----- handle arguments of the anchor command ------- */ case 114: YY_RULE_SETUP #line 1490 "commentscan.l" { // found argument SectionInfo *si = new SectionInfo(yyFileName,yytext,0,SectionInfo::Anchor); Doxygen::sectionDict.insert(yytext,si); current->anchors->append(si); addOutput(yytext); BEGIN( Comment ); } YY_BREAK case 115: YY_RULE_SETUP #line 1497 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: \\anchor command has no label" ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 116: YY_RULE_SETUP #line 1505 "commentscan.l" { // invalid character for anchor label warn(yyFileName,yyLineNr, "Warning: Invalid or missing anchor label" ); BEGIN(Comment); } YY_BREAK /* ----- handle arguments of the preformatted block commands ------- */ case 117: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1515 "commentscan.l" { // possible ends addOutput(yytext); if (&yytext[4]==blockName) // found end of the block { BEGIN(Comment); } } YY_BREAK case 118: YY_RULE_SETUP #line 1522 "commentscan.l" { // some word addOutput(yytext); } YY_BREAK case 119: YY_RULE_SETUP #line 1525 "commentscan.l" { // new line if (*yytext=='\n') yyLineNr++; addOutput('\n'); } YY_BREAK case 120: YY_RULE_SETUP #line 1529 "commentscan.l" { // start of a C-comment g_commentCount++; addOutput(yytext); } YY_BREAK case 121: YY_RULE_SETUP #line 1533 "commentscan.l" { // end of a C-comment addOutput(yytext); g_commentCount--; if (g_commentCount<0 && blockName!="verbatim") { warn(yyFileName,yyLineNr, "Warning: found */ without matching /* while inside a \\%s block! Perhaps a missing \\end%s?\n",blockName.data(),blockName.data()); } } YY_BREAK case 122: YY_RULE_SETUP #line 1542 "commentscan.l" { addOutput(*yytext); } YY_BREAK case YY_STATE_EOF(FormatBlock): #line 1545 "commentscan.l" { warn(yyFileName,yyLineNr, "Warning: reached end of comment while inside a @%s block; check for missing @end%s tag!", blockName.data(),blockName.data() ); yyterminate(); } YY_BREAK /* ----- handle arguments of if/ifnot commands ------- */ case 123: YY_RULE_SETUP #line 1555 "commentscan.l" { // parameter of if/ifnot guard bool sectionEnabled = Config_getList("ENABLED_SECTIONS").find(yytext)!=-1; bool parentEnabled = TRUE; if (!guards.isEmpty()) parentEnabled = guards.top()->isEnabled(); if (parentEnabled) { if ( (sectionEnabled && guardType==Guard_If) || (!sectionEnabled && guardType==Guard_IfNot) ) // section is visible { guards.push(new GuardedSection(TRUE,TRUE)); enabledSectionFound=TRUE; BEGIN( Comment ); } else // section is invisible { if (guardType!=Guard_Skip) { guards.push(new GuardedSection(FALSE,TRUE)); } BEGIN( SkipGuardedSection ); } } else // invisible because of parent { guards.push(new GuardedSection(FALSE,FALSE)); BEGIN( SkipGuardedSection ); } } YY_BREAK case 124: YY_RULE_SETUP #line 1585 "commentscan.l" { // end of argument if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 125: YY_RULE_SETUP #line 1590 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 126: YY_RULE_SETUP #line 1594 "commentscan.l" { // ignore other stuff addOutput(*yytext); } YY_BREAK /* ----- handle skipping of conditional sections ------- */ case 127: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1600 "commentscan.l" { guardType = Guard_IfNot; BEGIN( GuardParam ); } YY_BREAK case 128: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1604 "commentscan.l" { guardType = Guard_If; BEGIN( GuardParam ); } YY_BREAK case 129: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1608 "commentscan.l" { if (guards.isEmpty()) { warn(yyFileName,yyLineNr, "Warning: found @endif without matching start command"); } else { delete guards.pop(); BEGIN( Comment ); } } YY_BREAK case 130: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1620 "commentscan.l" { if (guards.isEmpty()) { warn(yyFileName,yyLineNr, "Warning: found @else without matching start command"); } else { if (!enabledSectionFound && guards.top()->parentVisible()) { delete guards.pop(); guards.push(new GuardedSection(TRUE,TRUE)); enabledSectionFound=TRUE; BEGIN( Comment ); } } } YY_BREAK case 131: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 1637 "commentscan.l" { if (guards.isEmpty()) { warn(yyFileName,yyLineNr, "Warning: found @elseif without matching start command"); } else { if (!enabledSectionFound && guards.top()->parentVisible()) { delete guards.pop(); BEGIN( GuardParam ); } } } YY_BREAK case 132: YY_RULE_SETUP #line 1652 "commentscan.l" { // skip line if (*yytext=='\n') yyLineNr++; addOutput('\n'); } YY_BREAK case 133: YY_RULE_SETUP #line 1656 "commentscan.l" { // skip non-special characters } YY_BREAK case 134: YY_RULE_SETUP #line 1658 "commentscan.l" { // any other character } YY_BREAK /* ----- handle skipping of internal section ------- */ case 135: YY_RULE_SETUP #line 1664 "commentscan.l" { // skip line if (*yytext=='\n') yyLineNr++; addOutput('\n'); } YY_BREAK case 136: YY_RULE_SETUP #line 1668 "commentscan.l" { // skip non-special characters } YY_BREAK case 137: YY_RULE_SETUP #line 1670 "commentscan.l" { // any other character } YY_BREAK /* ----- handle argument of name command ------- */ case 138: YY_RULE_SETUP #line 1676 "commentscan.l" { // end of argument if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 139: YY_RULE_SETUP #line 1681 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); g_memberGroupHeader+=' '; } YY_BREAK case 140: YY_RULE_SETUP #line 1686 "commentscan.l" { // ignore other stuff g_memberGroupHeader+=*yytext; current->name+=*yytext; } YY_BREAK /* ----- handle argument of ingroup command ------- */ case 141: YY_RULE_SETUP #line 1693 "commentscan.l" { // group id current->groups->append( new Grouping(yytext, Grouping::GROUPING_INGROUP) ); inGroupParamFound=TRUE; } YY_BREAK case 142: YY_RULE_SETUP #line 1699 "commentscan.l" { // missing argument if (!inGroupParamFound) { warn(yyFileName,yyLineNr, "Warning: Missing group name for \\ingroup command" ); } if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 143: YY_RULE_SETUP #line 1710 "commentscan.l" { // line continuation yyLineNr++; addOutput('\n'); } YY_BREAK case 144: YY_RULE_SETUP #line 1714 "commentscan.l" { // ignore other stuff addOutput(*yytext); } YY_BREAK /* ----- handle argument of fn command ------- */ case 145: YY_RULE_SETUP #line 1720 "commentscan.l" { // end of argument if (braceCount==0) { if (*yytext=='\n') yyLineNr++; addOutput('\n'); langParser->parsePrototype(functionProto); BEGIN( Comment ); } } YY_BREAK case 146: YY_RULE_SETUP #line 1729 "commentscan.l" { // line continuation yyLineNr++; functionProto+=' '; } YY_BREAK case 147: YY_RULE_SETUP #line 1733 "commentscan.l" { // non-special characters functionProto+=yytext; } YY_BREAK case 148: YY_RULE_SETUP #line 1736 "commentscan.l" { functionProto+=yytext; braceCount++; } YY_BREAK case 149: YY_RULE_SETUP #line 1740 "commentscan.l" { functionProto+=yytext; braceCount--; } YY_BREAK case 150: YY_RULE_SETUP #line 1744 "commentscan.l" { // add other stuff functionProto+=*yytext; } YY_BREAK /* ----- handle argument of overload command ------- */ case 151: YY_RULE_SETUP #line 1752 "commentscan.l" { // end of argument if (*yytext=='\n') yyLineNr++; addOutput('\n'); if (functionProto.stripWhiteSpace().isEmpty()) { // plain overload command addOutput(getOverloadDocs()); } else // overload declaration { makeStructuralIndicator(Entry::OVERLOADDOC_SEC); langParser->parsePrototype(functionProto); } BEGIN( Comment ); } YY_BREAK case 152: YY_RULE_SETUP #line 1766 "commentscan.l" { // line continuation yyLineNr++; functionProto+=' '; } YY_BREAK case 153: YY_RULE_SETUP #line 1770 "commentscan.l" { // add other stuff functionProto+=*yytext; } YY_BREAK /* ----- handle argument of inherit command ------- */ case 154: YY_RULE_SETUP #line 1776 "commentscan.l" { // found argument current->extends->append( new BaseInfo(removeRedundantWhiteSpace(yytext),Public,Normal) ); BEGIN( Comment ); } YY_BREAK case 155: YY_RULE_SETUP #line 1782 "commentscan.l" { // missing argument warn(yyFileName,yyLineNr, "Warning: \\inherit command has no argument" ); if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); } YY_BREAK case 156: YY_RULE_SETUP #line 1790 "commentscan.l" { // invalid character for anchor label warn(yyFileName,yyLineNr, "Warning: Invalid or missing name for \\inherit command" ); BEGIN(Comment); } YY_BREAK /* ----- handle language specific sections ------- */ case 157: YY_RULE_SETUP #line 1799 "commentscan.l" { /* language switch */ QCString langId = &yytext[2]; if (langId.isEmpty() || stricmp(Config_getEnum("OUTPUT_LANGUAGE"),langId)==0) { // enable language specific section BEGIN(Comment); } } YY_BREAK case 158: YY_RULE_SETUP #line 1807 "commentscan.l" { /* any character not a *, @, backslash or new line */ } YY_BREAK case 159: YY_RULE_SETUP #line 1809 "commentscan.l" { /* new line in verbatim block */ if (*yytext=='\n') yyLineNr++; } YY_BREAK case 160: YY_RULE_SETUP #line 1812 "commentscan.l" { /* any other character */ } YY_BREAK case 161: YY_RULE_SETUP #line 1816 "commentscan.l" ECHO; YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(Comment): case YY_STATE_EOF(PageDocArg1): case YY_STATE_EOF(PageDocArg2): case YY_STATE_EOF(RelatesParam1): case YY_STATE_EOF(ClassDocArg1): case YY_STATE_EOF(ClassDocArg2): case YY_STATE_EOF(ClassDocArg3): case YY_STATE_EOF(CategoryDocArg1): case YY_STATE_EOF(XRefItemParam1): case YY_STATE_EOF(XRefItemParam2): case YY_STATE_EOF(XRefItemParam3): case YY_STATE_EOF(FileDocArg1): case YY_STATE_EOF(EnumDocArg1): case YY_STATE_EOF(NameSpaceDocArg1): case YY_STATE_EOF(PackageDocArg1): case YY_STATE_EOF(GroupDocArg1): case YY_STATE_EOF(GroupDocArg2): case YY_STATE_EOF(SectionLabel): case YY_STATE_EOF(SectionTitle): case YY_STATE_EOF(SubpageLabel): case YY_STATE_EOF(SubpageTitle): case YY_STATE_EOF(LineParam): case YY_STATE_EOF(GuardParam): case YY_STATE_EOF(SkipGuardedSection): case YY_STATE_EOF(SkipInternal): case YY_STATE_EOF(NameParam): case YY_STATE_EOF(InGroupParam): case YY_STATE_EOF(FnParam): case YY_STATE_EOF(OverloadParam): case YY_STATE_EOF(InheritParam): case YY_STATE_EOF(ReadFormulaShort): case YY_STATE_EOF(ReadFormulaLong): case YY_STATE_EOF(AnchorLabel): case YY_STATE_EOF(HtmlComment): case YY_STATE_EOF(SkipLang): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = yy_hold_char; YY_RESTORE_YY_MORE_OFFSET if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between yy_current_buffer and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ yy_n_chars = yy_current_buffer->yy_n_chars; yy_current_buffer->yy_input_file = yyin; yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) { /* This was really a NUL. */ yy_state_type yy_next_state; yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state(); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = yytext_ptr + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++yy_c_buf_p; yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = yy_c_buf_p; goto yy_find_action; } } else switch ( yy_get_next_buffer() ) { case EOB_ACT_END_OF_FILE: { yy_did_buffer_switch_on_eof = 0; if ( yywrap() ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! yy_did_buffer_switch_on_eof ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state(); yy_cp = yy_c_buf_p; yy_bp = yytext_ptr + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: yy_c_buf_p = &yy_current_buffer->yy_ch_buf[yy_n_chars]; yy_current_state = yy_get_previous_state(); yy_cp = yy_c_buf_p; yy_bp = yytext_ptr + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer() { register char *dest = yy_current_buffer->yy_ch_buf; register char *source = yytext_ptr; register int number_to_move, i; int ret_val; if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( yy_current_buffer->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ yy_current_buffer->yy_n_chars = yy_n_chars = 0; else { int num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ #ifdef YY_USES_REJECT YY_FATAL_ERROR( "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); #else /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = yy_current_buffer; int yy_c_buf_p_offset = (int) (yy_c_buf_p - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yy_flex_realloc( (void *) b->yy_ch_buf, b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1; #endif } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), yy_n_chars, num_to_read ); yy_current_buffer->yy_n_chars = yy_n_chars; } if ( yy_n_chars == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart( yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; yy_current_buffer->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; yy_n_chars += number_to_move; yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state() { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = yy_start; yy_current_state += YY_AT_BOL(); yy_state_ptr = yy_state_buf; *yy_state_ptr++ = yy_current_state; for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); 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 >= 912 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *yy_state_ptr++ = yy_current_state; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ #ifdef YY_USE_PROTOS static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) #else static yy_state_type yy_try_NUL_trans( yy_current_state ) yy_state_type yy_current_state; #endif { register int yy_is_jam; register YY_CHAR yy_c = 1; 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 >= 912 ) 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 == 911); if ( ! yy_is_jam ) *yy_state_ptr++ = yy_current_state; return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT #ifdef YY_USE_PROTOS static void yyunput( int c, register char *yy_bp ) #else static void yyunput( c, yy_bp ) int c; register char *yy_bp; #endif { register char *yy_cp = yy_c_buf_p; /* undo effects of setting up yytext */ *yy_cp = yy_hold_char; if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register int number_to_move = yy_n_chars + 2; register char *dest = &yy_current_buffer->yy_ch_buf[ yy_current_buffer->yy_buf_size + 2]; register char *source = &yy_current_buffer->yy_ch_buf[number_to_move]; while ( source > yy_current_buffer->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); yy_current_buffer->yy_n_chars = yy_n_chars = yy_current_buffer->yy_buf_size; if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; yytext_ptr = yy_bp; yy_hold_char = *yy_cp; yy_c_buf_p = yy_cp; } #endif /* ifndef YY_NO_UNPUT */ #ifdef __cplusplus static int yyinput() #else static int input() #endif { int c; *yy_c_buf_p = yy_hold_char; if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) /* This was really a NUL. */ *yy_c_buf_p = '\0'; else { /* need more input */ int offset = yy_c_buf_p - yytext_ptr; ++yy_c_buf_p; switch ( yy_get_next_buffer() ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart( yyin ); /* fall through */ case EOB_ACT_END_OF_FILE: { if ( yywrap() ) return EOF; if ( ! yy_did_buffer_switch_on_eof ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: yy_c_buf_p = yytext_ptr + offset; break; } } } c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ *yy_c_buf_p = '\0'; /* preserve yytext */ yy_hold_char = *++yy_c_buf_p; yy_current_buffer->yy_at_bol = (c == '\n'); return c; } #ifdef YY_USE_PROTOS void yyrestart( FILE *input_file ) #else void yyrestart( input_file ) FILE *input_file; #endif { if ( ! yy_current_buffer ) yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); yy_init_buffer( yy_current_buffer, input_file ); yy_load_buffer_state(); } #ifdef YY_USE_PROTOS void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) #else void yy_switch_to_buffer( new_buffer ) YY_BUFFER_STATE new_buffer; #endif { if ( yy_current_buffer == new_buffer ) return; if ( yy_current_buffer ) { /* Flush out information for old buffer. */ *yy_c_buf_p = yy_hold_char; yy_current_buffer->yy_buf_pos = yy_c_buf_p; yy_current_buffer->yy_n_chars = yy_n_chars; } yy_current_buffer = new_buffer; yy_load_buffer_state(); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ yy_did_buffer_switch_on_eof = 1; } #ifdef YY_USE_PROTOS void yy_load_buffer_state( void ) #else void yy_load_buffer_state() #endif { yy_n_chars = yy_current_buffer->yy_n_chars; yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; yyin = yy_current_buffer->yy_input_file; yy_hold_char = *yy_c_buf_p; } #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) #else YY_BUFFER_STATE yy_create_buffer( file, size ) FILE *file; int size; #endif { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer( b, file ); return b; } #ifdef YY_USE_PROTOS void yy_delete_buffer( YY_BUFFER_STATE b ) #else void yy_delete_buffer( b ) YY_BUFFER_STATE b; #endif { if ( ! b ) return; if ( b == yy_current_buffer ) yy_current_buffer = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yy_flex_free( (void *) b->yy_ch_buf ); yy_flex_free( (void *) b ); } #ifndef YY_ALWAYS_INTERACTIVE #ifndef YY_NEVER_INTERACTIVE extern int isatty YY_PROTO(( int )); #endif #endif #ifdef YY_USE_PROTOS void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) #else void yy_init_buffer( b, file ) YY_BUFFER_STATE b; FILE *file; #endif { yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; #if YY_ALWAYS_INTERACTIVE b->yy_is_interactive = 1; #else #if YY_NEVER_INTERACTIVE b->yy_is_interactive = 0; #else b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; #endif #endif } #ifdef YY_USE_PROTOS void yy_flush_buffer( YY_BUFFER_STATE b ) #else void yy_flush_buffer( b ) YY_BUFFER_STATE b; #endif { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == yy_current_buffer ) yy_load_buffer_state(); } #ifndef YY_NO_SCAN_BUFFER #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) #else YY_BUFFER_STATE yy_scan_buffer( base, size ) char *base; yy_size_t size; #endif { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer( b ); return b; } #endif #ifndef YY_NO_SCAN_STRING #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) #else YY_BUFFER_STATE yy_scan_string( yy_str ) yyconst char *yy_str; #endif { int len; for ( len = 0; yy_str[len]; ++len ) ; return yy_scan_bytes( yy_str, len ); } #endif #ifndef YY_NO_SCAN_BYTES #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) #else YY_BUFFER_STATE yy_scan_bytes( bytes, len ) yyconst char *bytes; int len; #endif { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = len + 2; buf = (char *) yy_flex_alloc( n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < len; ++i ) buf[i] = bytes[i]; buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer( buf, n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #endif #ifndef YY_NO_PUSH_STATE #ifdef YY_USE_PROTOS static void yy_push_state( int new_state ) #else static void yy_push_state( new_state ) int new_state; #endif { if ( yy_start_stack_ptr >= yy_start_stack_depth ) { yy_size_t new_size; yy_start_stack_depth += YY_START_STACK_INCR; new_size = yy_start_stack_depth * sizeof( int ); if ( ! yy_start_stack ) yy_start_stack = (int *) yy_flex_alloc( new_size ); else yy_start_stack = (int *) yy_flex_realloc( (void *) yy_start_stack, new_size ); if ( ! yy_start_stack ) YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); } yy_start_stack[yy_start_stack_ptr++] = YY_START; BEGIN(new_state); } #endif #ifndef YY_NO_POP_STATE static void yy_pop_state() { if ( --yy_start_stack_ptr < 0 ) YY_FATAL_ERROR( "start-condition stack underflow" ); BEGIN(yy_start_stack[yy_start_stack_ptr]); } #endif #ifndef YY_NO_TOP_STATE static int yy_top_state() { return yy_start_stack[yy_start_stack_ptr - 1]; } #endif #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif #ifdef YY_USE_PROTOS static void yy_fatal_error( yyconst char msg[] ) #else static void yy_fatal_error( msg ) char msg[]; #endif { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ yytext[yyleng] = yy_hold_char; \ yy_c_buf_p = yytext + n; \ yy_hold_char = *yy_c_buf_p; \ *yy_c_buf_p = '\0'; \ yyleng = n; \ } \ while ( 0 ) /* Internal utility routines. */ #ifndef yytext_ptr #ifdef YY_USE_PROTOS static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) #else static void yy_flex_strncpy( s1, s2, n ) char *s1; yyconst char *s2; int n; #endif { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN #ifdef YY_USE_PROTOS static int yy_flex_strlen( yyconst char *s ) #else static int yy_flex_strlen( s ) yyconst char *s; #endif { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif #ifdef YY_USE_PROTOS static void *yy_flex_alloc( yy_size_t size ) #else static void *yy_flex_alloc( size ) yy_size_t size; #endif { return (void *) malloc( size ); } #ifdef YY_USE_PROTOS static void *yy_flex_realloc( void *ptr, yy_size_t size ) #else static void *yy_flex_realloc( ptr, size ) void *ptr; yy_size_t size; #endif { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } #ifdef YY_USE_PROTOS static void yy_flex_free( void *ptr ) #else static void yy_flex_free( ptr ) void *ptr; #endif { free( ptr ); } #if YY_MAIN int main() { yylex(); return 0; } #endif #line 1816 "commentscan.l" //---------------------------------------------------------------------------- static bool handleBrief(const QCString &) { //printf("handleBrief\n"); setOutput(OutputBrief); return FALSE; } static bool handleFn(const QCString &) { bool stop=makeStructuralIndicator(Entry::MEMBERDOC_SEC); functionProto.resize(0); braceCount=0; BEGIN(FnParam); return stop; } static bool handleDef(const QCString &) { bool stop=makeStructuralIndicator(Entry::DEFINEDOC_SEC); functionProto.resize(0); BEGIN(FnParam); return stop; } static bool handleOverload(const QCString &) { functionProto.resize(0); BEGIN(OverloadParam); return FALSE; } static bool handleEnum(const QCString &) { bool stop=makeStructuralIndicator(Entry::ENUMDOC_SEC); BEGIN(EnumDocArg1); return stop; } static bool handleDefGroup(const QCString &) { bool stop=makeStructuralIndicator(Entry::GROUPDOC_SEC); current->groupDocType = Entry::GROUPDOC_NORMAL; BEGIN( GroupDocArg1 ); return stop; } static bool handleAddToGroup(const QCString &) { bool stop=makeStructuralIndicator(Entry::GROUPDOC_SEC); current->groupDocType = Entry::GROUPDOC_ADD; BEGIN( GroupDocArg1 ); return stop; } static bool handleWeakGroup(const QCString &) { bool stop=makeStructuralIndicator(Entry::GROUPDOC_SEC); current->groupDocType = Entry::GROUPDOC_WEAK; BEGIN( GroupDocArg1 ); return stop; } static bool handleNamespace(const QCString &) { bool stop=makeStructuralIndicator(Entry::NAMESPACEDOC_SEC); BEGIN( NameSpaceDocArg1 ); return stop; } static bool handlePackage(const QCString &) { bool stop=makeStructuralIndicator(Entry::PACKAGEDOC_SEC); BEGIN( PackageDocArg1 ); return stop; } static bool handleClass(const QCString &) { bool stop=makeStructuralIndicator(Entry::CLASSDOC_SEC); BEGIN( ClassDocArg1 ); return stop; } static bool handleProtocol(const QCString &) { // Obj-C protocol bool stop=makeStructuralIndicator(Entry::PROTOCOLDOC_SEC); BEGIN( ClassDocArg1 ); return stop; } static bool handleCategory(const QCString &) { // Obj-C category bool stop=makeStructuralIndicator(Entry::CATEGORYDOC_SEC); BEGIN( CategoryDocArg1 ); return stop; } static bool handleUnion(const QCString &) { bool stop=makeStructuralIndicator(Entry::UNIONDOC_SEC); BEGIN( ClassDocArg1 ); return stop; } static bool handleStruct(const QCString &) { bool stop=makeStructuralIndicator(Entry::STRUCTDOC_SEC); BEGIN( ClassDocArg1 ); return stop; } static bool handleInterface(const QCString &) { bool stop=makeStructuralIndicator(Entry::INTERFACEDOC_SEC); BEGIN( ClassDocArg1 ); return stop; } static bool handleIdlException(const QCString &) { bool stop=makeStructuralIndicator(Entry::EXCEPTIONDOC_SEC); BEGIN( ClassDocArg1 ); return stop; } static bool handlePage(const QCString &) { bool stop=makeStructuralIndicator(Entry::PAGEDOC_SEC); BEGIN( PageDocArg1 ); return stop; } static bool handleMainpage(const QCString &) { bool stop=makeStructuralIndicator(Entry::MAINPAGEDOC_SEC); if (!stop) current->name = "mainpage"; BEGIN( PageDocArg2 ); return stop; } static bool handleFile(const QCString &) { bool stop=makeStructuralIndicator(Entry::FILEDOC_SEC); if (!stop) current->name = yyFileName; BEGIN( FileDocArg1 ); return stop; } static bool handleDir(const QCString &) { bool stop=makeStructuralIndicator(Entry::DIRDOC_SEC); if (!stop) current->name = yyFileName; BEGIN( FileDocArg1 ); return stop; } static bool handleExample(const QCString &) { bool stop=makeStructuralIndicator(Entry::EXAMPLE_SEC); if (!stop) current->name = yyFileName; BEGIN( FileDocArg1 ); return stop; } static bool handleDetails(const QCString &) { setOutput(OutputDoc); return FALSE; } static bool handleName(const QCString &) { bool stop=makeStructuralIndicator(Entry::MEMBERGRP_SEC); if (!stop) { g_memberGroupHeader.resize(0); BEGIN( NameParam ); if (g_memberGroupId!=DOX_NOGROUP) // end of previous member group { closeGroup(current,yyFileName,yyLineNr); } } return stop; } static bool handleTodo(const QCString &) { newXRefKind = XRef_Todo; setOutput(OutputXRef); xrefKind = XRef_Todo; return FALSE; } static bool handleTest(const QCString &) { newXRefKind = XRef_Test; setOutput(OutputXRef); xrefKind = XRef_Test; return FALSE; } static bool handleBug(const QCString &) { newXRefKind = XRef_Bug; setOutput(OutputXRef); xrefKind = XRef_Bug; return FALSE; } static bool handleDeprecated(const QCString &) { newXRefKind = XRef_Deprecated; setOutput(OutputXRef); xrefKind = XRef_Deprecated; return FALSE; } static bool handleXRefItem(const QCString &) { BEGIN(XRefItemParam1); return FALSE; } static bool handleRelated(const QCString &) { BEGIN(RelatesParam1); return FALSE; } static bool handleRelatedAlso(const QCString &) { current->relatesDup = TRUE; BEGIN(RelatesParam1); return FALSE; } static bool handleRefItem(const QCString &) { addOutput("@refitem "); BEGIN(LineParam); return FALSE; } static bool handleSection(const QCString &s) { setOutput(OutputDoc); addOutput("@"+s+" "); BEGIN(SectionLabel); return FALSE; } static bool handleSubpage(const QCString &s) { if (current->section!=Entry::EMPTY_SEC && current->section!=Entry::PAGEDOC_SEC && current->section!=Entry::MAINPAGEDOC_SEC ) { warn(yyFileName,yyLineNr, "Warning: found \\subpage command in a comment block that is not marked as a page!"); } addOutput("@"+s+" "); BEGIN(SubpageLabel); return FALSE; } static bool handleAnchor(const QCString &s) { addOutput("@"+s+" "); BEGIN(AnchorLabel); return FALSE; } static bool handleFormatBlock(const QCString &s) { addOutput("@"+s+" "); //printf("handleFormatBlock(%s)\n",s.data()); blockName=s; g_commentCount=0; BEGIN(FormatBlock); return FALSE; } static bool handleAddIndex(const QCString &) { addOutput("@addindex "); BEGIN(LineParam); return FALSE; } static bool handleIf(const QCString &) { enabledSectionFound=FALSE; guardType = Guard_If; BEGIN(GuardParam); return FALSE; } static bool handleIfNot(const QCString &) { enabledSectionFound=FALSE; guardType = Guard_IfNot; BEGIN(GuardParam); return FALSE; } static bool handleElseIf(const QCString &) { if (guards.isEmpty()) { warn(yyFileName,yyLineNr, "Warning: found \\else without matching start command"); } else { guardType = enabledSectionFound ? Guard_Skip : Guard_If; BEGIN(GuardParam); } return FALSE; } static bool handleElse(const QCString &) { if (guards.isEmpty()) { warn(yyFileName,yyLineNr, "Warning: found \\else without matching start command"); } else { BEGIN( SkipGuardedSection ); } return FALSE; } static bool handleEndIf(const QCString &) { if (guards.isEmpty()) { warn(yyFileName,yyLineNr, "Warning: found \\endif without matching start command"); } else { delete guards.pop(); } enabledSectionFound=FALSE; return FALSE; } static bool handleIngroup(const QCString &) { inGroupParamFound=FALSE; BEGIN( InGroupParam ); return FALSE; } static bool handleNoSubGrouping(const QCString &) { current->subGrouping = FALSE; return FALSE; } static bool handleShowInitializer(const QCString &) { current->initLines = 100000; // ON return FALSE; } static bool handleHideInitializer(const QCString &) { current->initLines = 0; // OFF return FALSE; } static bool handleCallgraph(const QCString &) { current->callGraph = TRUE; // ON return FALSE; } static bool handleCallergraph(const QCString &) { current->callerGraph = TRUE; // ON return FALSE; } static bool handleInternal(const QCString &) { if (!Config_getBool("INTERNAL_DOCS")) { BEGIN( SkipInternal ); } else { addOutput("\\internal "); } return FALSE; } static bool handleLineBr(const QCString &) { addOutput('\n'); return FALSE; } static bool handleStatic(const QCString &) { endBrief(); current->stat = TRUE; return FALSE; } static bool handlePure(const QCString &) { endBrief(); current->virt = Pure; return FALSE; } static bool handlePrivate(const QCString &) { endBrief(); current->protection = Private; return FALSE; } static bool handlePrivateSection(const QCString &) { endBrief(); current->protection = protection = Private; return FALSE; } static bool handleProtected(const QCString &) { endBrief(); current->protection = Protected; return FALSE; } static bool handleProtectedSection(const QCString &) { endBrief(); current->protection = protection = Protected ; return FALSE; } static bool handlePublic(const QCString &) { endBrief(); current->protection = Public; return FALSE; } static bool handlePublicSection(const QCString &) { endBrief(); current->protection = protection = Public; return FALSE; } static bool handleInherit(const QCString &) { endBrief(); BEGIN(InheritParam); return FALSE; } //---------------------------------------------------------------------------- static void checkFormula() { if (YY_START==ReadFormulaShort || YY_START==ReadFormulaLong) { warn(yyFileName,yyLineNr,"Warning: End of comment block while inside formula."); } } //---------------------------------------------------------------------------- bool parseCommentBlock(/* in */ ParserInterface *parser, /* in */ Entry *curEntry, /* in */ const QCString &comment, /* in */ const QCString &fileName, /* in */ int lineNr, /* in */ bool isBrief, /* in */ bool isAutoBriefOn, /* in */ bool isInbody, /* in,out */ Protection &prot, /* in,out */ int &position, /* out */ bool &newEntryNeeded ) { //printf("parseCommentBlock() isBrief=%d isAutoBriefOn=%d lineNr=%d\n", // isBrief,isAutoBriefOn,lineNr); initParser(); guards.setAutoDelete(TRUE); guards.clear(); langParser = parser; current = curEntry; if (comment.isEmpty()) return FALSE; // avoid empty strings inputString = comment; inputString.append(" "); inputPosition = position; yyLineNr = lineNr; yyFileName = fileName; protection = prot; needNewEntry = FALSE; xrefKind = XRef_None; xrefAppendFlag = FALSE; insidePre = FALSE; parseMore = FALSE; inBody = isInbody; outputXRef.resize(0); setOutput( isBrief || isAutoBriefOn ? OutputBrief : OutputDoc ); briefEndsAtDot = isAutoBriefOn; if (!current->inbodyDocs.isEmpty() && isInbody) // separate in body fragments { current->inbodyDocs+="\n\n"; } Debug::print(Debug::CommentScan,0,"-----------\nCommentScanner: %s:%d\n" "input=[%s]\n",fileName.data(),lineNr,comment.data() ); commentScanYYrestart( commentScanYYin ); BEGIN( Comment ); commentScanYYlex(); setOutput( OutputDoc ); if (!guards.isEmpty()) { warn(yyFileName,yyLineNr,"Documentation block ended in the middle of a conditional section!"); } current->doc=stripLeadingAndTrailingEmptyLines(current->doc); if (current->section==Entry::FILEDOC_SEC && current->doc.isEmpty()) { // to allow a comment block with just a @file command. current->doc="\n\n"; } if (current->section==Entry::MEMBERGRP_SEC && g_memberGroupId==DOX_NOGROUP) // @name section but no group started yet { openGroup(current,yyFileName,yyLineNr); } Debug::print(Debug::CommentScan,0, "brief=[%s]\ndocs=[%s]\n===========\n", current->brief.data(),current->doc.data() ); checkFormula(); prot = protection; groupAddDocs(curEntry,fileName); newEntryNeeded = needNewEntry; if (parseMore) position=inputPosition; else position=0; return parseMore; } //--------------------------------------------------------------------------- void groupEnterFile(const char *,int) { g_autoGroupStack.setAutoDelete(TRUE); g_autoGroupStack.clear(); g_memberGroupId = DOX_NOGROUP; g_memberGroupDocs.resize(0); g_memberGroupRelates.resize(0); } void groupLeaveFile(const char *fileName,int line) { //if (g_memberGroupId!=DOX_NOGROUP) //{ // warn(fileName,line,"Warning: end of file while inside a member group\n"); //} g_memberGroupId=DOX_NOGROUP; g_memberGroupRelates.resize(0); g_memberGroupDocs.resize(0); if (!g_autoGroupStack.isEmpty()) { warn(fileName,line,"Warning: end of file while inside a group\n"); } } void groupEnterCompound(const char *fileName,int line,const char *name) { if (g_memberGroupId!=DOX_NOGROUP) { warn(fileName,line,"Warning: try to put compound %s inside a member group\n",name); } g_memberGroupId=DOX_NOGROUP; g_memberGroupRelates.resize(0); g_memberGroupDocs.resize(0); } void groupLeaveCompound(const char *,int,const char *) { //if (g_memberGroupId!=DOX_NOGROUP) //{ // warn(fileName,line,"Warning: end of compound %s while inside a member group\n",name); //} g_memberGroupId=DOX_NOGROUP; g_memberGroupRelates.resize(0); g_memberGroupDocs.resize(0); } void openGroup(Entry *e,const char *,int) { if (e->section==Entry::GROUPDOC_SEC) // auto group { g_autoGroupStack.push(new Grouping(e->name,e->groupingPri())); //printf("==> openGroup(name=%s,sec=%x) g_autoGroupStack=%d\n", // e->name.data(),e->section,g_autoGroupStack.count()); } else // start of a member group { if (g_memberGroupId==DOX_NOGROUP) // no group started yet { static int curGroupId=0; g_memberGroupId = curGroupId++; //printf("new group id=%d header=%s\n",g_memberGroupId,g_memberGroupHeader.data()); MemberGroupInfo *info = new MemberGroupInfo; info->header = g_memberGroupHeader.stripWhiteSpace(); Doxygen::memGrpInfoDict.insert(g_memberGroupId,info); g_memberGroupRelates = e->relates; e->mGrpId = g_memberGroupId; } } } void closeGroup(Entry *e,const char *fileName,int) { //printf("==> closeGroup(name=%s,sec=%x) g_autoGroupStack=%d\n", // e->name.data(),e->section,g_autoGroupStack.count()); if (g_memberGroupId!=DOX_NOGROUP) // end of member group { MemberGroupInfo *info=Doxygen::memGrpInfoDict.find(g_memberGroupId); if (info) // know group { info->doc = g_memberGroupDocs; info->docFile = fileName; } g_memberGroupId=DOX_NOGROUP; g_memberGroupRelates.resize(0); g_memberGroupDocs.resize(0); e->mGrpId=DOX_NOGROUP; //printf("new group id=%d\n",g_memberGroupId); } else if (!g_autoGroupStack.isEmpty()) // end of auto group { Grouping *grp = g_autoGroupStack.pop(); e->groups->removeLast(); //printf("Removing %s\n",grp->groupname.data()); delete grp; initGroupInfo(e); } } void initGroupInfo(Entry *e) { //printf("==> initGroup(id=%d,related=%s)\n",g_memberGroupId, // g_memberGroupRelates.data()); e->mGrpId = g_memberGroupId; e->relates = g_memberGroupRelates; if (!g_autoGroupStack.isEmpty()) { //printf("Appending group %s to %s: count=%d entry=%p\n", // g_autoGroupStack.top()->groupname.data(), // e->name.data(),e->groups->count(),e); e->groups->append(new Grouping(*g_autoGroupStack.top())); } } static void groupAddDocs(Entry *e,const char *fileName) { if (e->section==Entry::MEMBERGRP_SEC) { g_memberGroupDocs=e->brief.stripWhiteSpace(); e->doc = stripLeadingAndTrailingEmptyLines(e->doc); if (!g_memberGroupDocs.isEmpty() && !e->doc.isEmpty()) { g_memberGroupDocs+="\n\n"; } g_memberGroupDocs+=e->doc; MemberGroupInfo *info=Doxygen::memGrpInfoDict.find(g_memberGroupId); if (info) { info->doc = g_memberGroupDocs; info->docFile = fileName; } e->doc.resize(0); e->brief.resize(0); } } #if !defined(YY_FLEX_SUBMINOR_VERSION) //---------------------------------------------------------------------------- extern "C" { // some bogus code to keep the compiler happy void commentScanYYdummy() { yy_flex_realloc(0,0); } } #endif