#line 2 "GetDP.yy.c" /* A lexical scanner generated by flex */ /* Scanner skeleton version: * $Header: /cvsroot/getdp/Parser/GetDP.yy.c,v 1.104 2006/03/10 18:09:23 geuzaine 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) 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 261 #define YY_END_OF_BUFFER 262 static yyconst short int yy_accept[1507] = { 0, 0, 0, 262, 260, 1, 2, 260, 6, 260, 260, 260, 259, 260, 255, 255, 255, 255, 255, 20, 3, 260, 7, 260, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 260, 260, 13, 21, 0, 11, 8, 259, 257, 259, 4, 5, 9, 256, 255, 27, 0, 28, 29, 30, 18, 15, 12, 16, 17, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 130, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 240, 138, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 26, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 10, 14, 0, 19, 259, 256, 0, 0, 258, 259, 259, 259, 259, 37, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 54, 251, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 48, 259, 259, 259, 259, 259, 259, 259, 243, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 232, 259, 259, 259, 259, 259, 259, 49, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 52, 259, 259, 259, 259, 259, 259, 259, 246, 259, 259, 259, 259, 56, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 0, 0, 257, 0, 0, 256, 55, 53, 259, 259, 259, 259, 57, 259, 173, 259, 259, 92, 64, 259, 259, 259, 259, 259, 60, 259, 259, 259, 247, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 132, 136, 259, 205, 259, 241, 259, 259, 259, 259, 259, 259, 62, 230, 259, 248, 259, 65, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 249, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 45, 259, 259, 88, 259, 259, 259, 259, 259, 259, 259, 104, 259, 259, 259, 89, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 202, 259, 259, 259, 25, 259, 259, 259, 259, 259, 259, 59, 220, 259, 259, 259, 231, 259, 51, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 61, 259, 166, 259, 259, 259, 105, 259, 259, 259, 259, 259, 259, 259, 0, 257, 0, 256, 206, 259, 259, 259, 58, 259, 259, 185, 259, 250, 259, 226, 34, 259, 68, 171, 259, 259, 259, 224, 259, 259, 259, 259, 259, 131, 259, 259, 259, 259, 242, 259, 259, 259, 259, 259, 63, 259, 259, 259, 259, 259, 259, 259, 259, 174, 259, 259, 259, 35, 259, 259, 67, 259, 259, 259, 259, 259, 259, 134, 259, 259, 259, 259, 259, 259, 50, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 217, 212, 259, 259, 259, 259, 259, 259, 259, 259, 259, 71, 259, 259, 259, 259, 203, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 238, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 172, 169, 259, 259, 259, 259, 72, 259, 259, 85, 259, 207, 259, 259, 0, 259, 201, 259, 259, 87, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 244, 114, 259, 259, 259, 84, 222, 221, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 223, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 95, 259, 259, 66, 259, 259, 259, 259, 259, 259, 259, 259, 211, 215, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 24, 259, 79, 259, 259, 259, 259, 259, 259, 259, 259, 259, 148, 259, 259, 22, 259, 259, 259, 259, 259, 259, 259, 143, 229, 259, 259, 259, 259, 259, 155, 259, 259, 259, 128, 0, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 133, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 31, 259, 259, 259, 259, 259, 162, 259, 259, 46, 259, 259, 77, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 135, 259, 259, 259, 259, 216, 214, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 153, 259, 259, 259, 23, 259, 259, 259, 259, 106, 259, 113, 259, 259, 259, 259, 259, 170, 259, 259, 259, 259, 259, 32, 259, 259, 259, 259, 259, 33, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 73, 259, 259, 259, 259, 259, 126, 165, 259, 259, 259, 259, 259, 259, 109, 127, 259, 259, 259, 259, 259, 259, 259, 259, 259, 254, 259, 259, 91, 259, 74, 259, 75, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 208, 209, 259, 259, 259, 259, 259, 259, 259, 122, 259, 259, 259, 40, 259, 259, 259, 259, 259, 259, 259, 259, 115, 259, 125, 259, 259, 259, 259, 228, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 96, 259, 259, 259, 259, 259, 259, 259, 259, 225, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 146, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 38, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 233, 259, 259, 259, 213, 151, 259, 259, 259, 259, 259, 81, 259, 259, 259, 259, 219, 259, 259, 259, 259, 80, 259, 259, 259, 259, 259, 259, 259, 200, 259, 110, 259, 259, 259, 259, 259, 259, 259, 78, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 163, 259, 259, 118, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 97, 259, 259, 140, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 108, 259, 259, 145, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 204, 259, 142, 259, 259, 70, 259, 259, 259, 259, 259, 259, 259, 234, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 83, 259, 259, 259, 259, 36, 259, 41, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 121, 259, 259, 139, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 93, 259, 259, 259, 259, 76, 259, 259, 259, 259, 259, 259, 259, 259, 123, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 111, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 69, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 252, 259, 259, 259, 259, 259, 259, 259, 158, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 47, 259, 259, 259, 39, 259, 259, 259, 259, 259, 197, 259, 259, 259, 210, 152, 149, 259, 259, 253, 259, 259, 154, 259, 259, 82, 112, 259, 86, 259, 259, 259, 218, 193, 259, 107, 259, 180, 259, 259, 259, 259, 259, 259, 259, 259, 259, 164, 259, 119, 259, 259, 259, 259, 103, 194, 259, 259, 259, 259, 259, 259, 259, 124, 259, 175, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 198, 259, 259, 259, 259, 259, 259, 184, 259, 167, 259, 259, 259, 183, 259, 44, 42, 43, 259, 259, 259, 147, 259, 259, 94, 259, 259, 259, 259, 259, 259, 141, 117, 227, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 98, 196, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 235, 259, 159, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 259, 176, 259, 259, 259, 259, 259, 259, 168, 259, 259, 259, 259, 259, 129, 259, 236, 237, 160, 195, 259, 259, 259, 259, 239, 259, 259, 259, 259, 120, 259, 259, 90, 259, 177, 259, 259, 259, 259, 156, 259, 259, 259, 150, 259, 161, 259, 259, 189, 259, 259, 99, 190, 259, 144, 259, 100, 259, 259, 259, 102, 137, 259, 245, 259, 157, 191, 259, 259, 259, 259, 259, 259, 259, 181, 179, 259, 259, 259, 116, 259, 259, 259, 186, 182, 259, 259, 101, 199, 259, 188, 259, 259, 259, 259, 178, 187, 259, 259, 259, 259, 192, 0 } ; static yyconst int yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 5, 6, 1, 1, 7, 1, 1, 1, 8, 9, 1, 9, 10, 11, 12, 13, 14, 15, 16, 16, 16, 16, 16, 16, 17, 18, 19, 20, 21, 1, 1, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 32, 32, 32, 1, 45, 1, 46, 47, 1, 48, 49, 50, 51, 52, 53, 54, 55, 56, 32, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 1, 73, 1, 74, 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[75] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1 } ; static yyconst short int yy_base[1508] = { 0, 0, 0, 1657, 1658, 1658, 1658, 1636, 1658, 69, 1648, 1608, 66, 75, 75, 82, 103, 123, 130, 1658, 1658, 83, 1633, 84, 107, 58, 102, 120, 133, 146, 126, 140, 155, 1604, 0, 158, 170, 175, 166, 176, 1584, 1598, 187, 204, 47, 1601, 68, 99, 1575, 1627, 1658, 1658, 1586, 1658, 1658, 1635, 250, 0, 1658, 1658, 1658, 257, 272, 1658, 265, 1658, 1658, 1658, 1658, 1658, 1658, 1658, 1658, 1583, 1587, 63, 1584, 1579, 119, 1575, 1573, 164, 1573, 1581, 177, 240, 1569, 139, 1579, 1568, 241, 94, 1580, 135, 1573, 1576, 1576, 1564, 33, 1561, 1579, 1564, 1591, 1575, 1565, 137, 1561, 229, 1569, 63, 249, 250, 1559, 1558, 1554, 193, 1555, 0, 264, 1555, 1563, 1564, 173, 252, 262, 214, 191, 1548, 250, 1553, 1547, 1542, 42, 1550, 303, 1556, 277, 0, 1546, 1541, 1549, 1556, 287, 1535, 1536, 1541, 1544, 1538, 113, 1534, 1533, 258, 272, 230, 284, 1531, 1543, 1535, 1545, 1530, 1540, 1534, 1531, 1522, 1531, 1519, 1546, 1658, 1658, 1534, 0, 341, 346, 354, 361, 366, 1518, 1522, 1519, 1533, 0, 1527, 1518, 1517, 1520, 1527, 1514, 1525, 1520, 1513, 1510, 1519, 1515, 1508, 1501, 1510, 0, 1498, 1498, 1503, 1509, 1499, 276, 1493, 1492, 1505, 1506, 1499, 1511, 285, 1520, 1493, 1490, 1498, 1497, 356, 1492, 1499, 1488, 0, 1515, 1479, 273, 1489, 1481, 1490, 1474, 1480, 1474, 1474, 1478, 1485, 1482, 1474, 1480, 1505, 1481, 1462, 1469, 1476, 1464, 1464, 1457, 1465, 1470, 1455, 1468, 0, 1455, 303, 1468, 1451, 1476, 1449, 139, 1452, 1465, 1448, 1447, 1475, 1454, 1441, 1451, 1454, 1471, 1452, 1451, 1450, 1452, 1439, 1432, 1440, 307, 1441, 326, 1444, 1443, 1430, 1441, 1438, 1425, 1424, 1429, 1428, 1436, 1430, 1437, 1423, 1431, 358, 1427, 1421, 1419, 141, 1413, 1422, 1411, 285, 1452, 361, 1413, 1415, 1407, 1417, 1417, 1404, 1403, 1416, 1417, 1414, 1417, 1404, 1396, 1407, 1395, 1400, 1404, 1400, 377, 391, 401, 406, 411, 0, 0, 1391, 1422, 1395, 1388, 1439, 1387, 0, 1401, 1393, 0, 0, 1395, 1391, 1394, 1398, 1379, 0, 1392, 1378, 1390, 0, 1382, 1380, 1375, 1383, 1381, 1376, 1371, 1369, 1385, 1379, 1406, 0, 1359, 0, 1369, 0, 1367, 1374, 1360, 1359, 1357, 1363, 0, 0, 1370, 0, 1357, 0, 1368, 361, 1363, 1351, 1370, 1350, 1351, 1366, 1349, 1354, 1363, 1348, 1348, 1356, 0, 1341, 1344, 1338, 1334, 1356, 1348, 1353, 1367, 1350, 1326, 1356, 1334, 407, 1383, 1332, 0, 1343, 1344, 1335, 1323, 1342, 1330, 1327, 1350, 1337, 1320, 1314, 0, 1330, 1311, 1314, 1327, 1317, 1321, 1316, 1327, 1318, 1319, 1322, 1323, 1306, 1313, 0, 358, 1302, 1301, 0, 1305, 1295, 1306, 396, 1299, 1306, 0, 0, 1295, 1309, 1307, 0, 1298, 0, 1295, 1304, 1307, 1287, 1301, 1290, 1280, 1323, 1288, 1296, 1295, 0, 1294, 0, 1297, 419, 1292, 0, 1277, 1288, 1289, 1318, 1287, 1288, 1289, 1269, 425, 435, 442, 0, 1306, 1283, 1281, 0, 1305, 1276, 0, 1278, 0, 1273, 0, 249, 1264, 1290, 0, 1264, 1273, 1265, 0, 1263, 1257, 1269, 1264, 1261, 0, 1257, 1290, 392, 1252, 0, 1244, 1258, 1265, 1246, 1247, 0, 1246, 1243, 1250, 1255, 1254, 1271, 1248, 1246, 0, 1254, 1249, 1242, 0, 1239, 1234, 0, 1235, 1245, 1259, 1260, 1229, 1226, 0, 1235, 1229, 1233, 1240, 1229, 1222, 0, 1237, 1249, 1223, 1212, 1222, 1246, 1218, 1224, 1224, 1206, 1250, 1241, 1209, 0, 0, 1213, 1222, 1219, 1217, 1208, 1207, 1210, 1199, 1198, 0, 1203, 1200, 1197, 1193, 380, 1203, 1198, 1209, 1189, 1203, 1193, 1201, 1193, 1196, 1228, 380, 1183, 1192, 0, 1181, 1186, 1191, 1196, 1181, 1175, 1177, 1174, 1180, 1172, 0, 0, 1170, 409, 1188, 1169, 0, 1182, 1196, 0, 1168, 0, 1165, 1171, 1178, 1181, 0, 1163, 1159, 0, 1189, 1174, 1163, 1174, 1165, 1156, 1158, 438, 1166, 1169, 1160, 1149, 1153, 1146, 1159, 1147, 1149, 1161, 0, 402, 1147, 1141, 1154, 0, 0, 0, 1157, 1140, 1143, 1154, 1140, 1144, 1133, 1139, 437, 1141, 0, 1135, 1143, 1141, 1132, 1144, 1135, 1142, 1124, 1129, 1137, 1120, 1124, 1134, 1150, 1117, 0, 1132, 1119, 0, 1156, 445, 1148, 1111, 1120, 1139, 1122, 1125, 0, 0, 1120, 1105, 1109, 1113, 1112, 1127, 1114, 1104, 1116, 1099, 0, 1096, 1122, 1094, 1093, 65, 159, 184, 215, 341, 375, 397, 0, 411, 407, 0, 421, 417, 424, 424, 417, 414, 419, 462, 0, 427, 434, 428, 420, 439, 468, 432, 440, 439, 0, 444, 463, 442, 439, 447, 445, 436, 447, 443, 444, 441, 446, 441, 445, 462, 477, 446, 452, 462, 455, 464, 0, 465, 460, 461, 453, 450, 462, 471, 470, 459, 485, 478, 463, 470, 471, 480, 481, 471, 468, 484, 487, 474, 0, 499, 472, 483, 474, 483, 0, 492, 493, 0, 487, 495, 0, 495, 498, 483, 504, 505, 493, 494, 504, 496, 506, 497, 494, 0, 501, 509, 503, 506, 0, 0, 505, 505, 506, 498, 506, 521, 512, 512, 503, 523, 520, 521, 523, 512, 513, 0, 521, 528, 533, 0, 530, 519, 525, 535, 0, 538, 0, 518, 529, 541, 540, 531, 0, 532, 534, 531, 530, 537, 1658, 538, 539, 551, 578, 551, 0, 544, 545, 555, 555, 548, 549, 549, 547, 560, 557, 554, 587, 592, 0, 554, 551, 553, 573, 561, 583, 0, 564, 562, 571, 564, 558, 566, 591, 0, 604, 573, 567, 588, 573, 597, 573, 570, 586, 0, 587, 592, 0, 605, 0, 619, 0, 586, 584, 593, 590, 587, 601, 590, 590, 591, 592, 610, 594, 608, 610, 638, 598, 0, 0, 605, 606, 602, 620, 617, 604, 604, 0, 619, 612, 613, 0, 610, 625, 624, 621, 633, 657, 626, 623, 0, 618, 0, 626, 620, 627, 653, 0, 629, 624, 632, 632, 625, 631, 630, 636, 632, 651, 640, 635, 0, 635, 673, 639, 655, 639, 651, 643, 648, 0, 658, 650, 645, 661, 662, 674, 664, 665, 658, 671, 659, 673, 689, 667, 662, 661, 678, 667, 701, 663, 682, 671, 673, 672, 0, 669, 676, 676, 705, 673, 684, 677, 706, 683, 693, 689, 694, 683, 690, 695, 685, 691, 703, 688, 691, 0, 700, 696, 693, 0, 733, 694, 695, 697, 707, 702, 0, 705, 706, 711, 708, 0, 717, 748, 707, 711, 734, 718, 716, 720, 726, 726, 724, 715, 0, 729, 0, 726, 742, 728, 724, 738, 729, 722, 0, 739, 730, 725, 726, 731, 746, 740, 736, 736, 746, 747, 769, 768, 731, 0, 739, 767, 739, 746, 747, 756, 739, 762, 750, 762, 755, 780, 786, 0, 750, 751, 0, 777, 753, 766, 761, 761, 767, 772, 767, 767, 774, 774, 815, 765, 0, 765, 765, 0, 796, 776, 783, 784, 789, 770, 783, 804, 781, 790, 787, 779, 779, 0, 819, 0, 786, 798, 0, 798, 794, 791, 800, 792, 806, 794, 0, 787, 805, 792, 799, 800, 805, 801, 799, 798, 798, 0, 800, 827, 820, 813, 0, 821, 0, 831, 813, 820, 814, 827, 824, 815, 819, 818, 824, 0, 816, 828, 0, 833, 817, 857, 815, 853, 841, 833, 834, 835, 840, 870, 0, 833, 836, 834, 845, 0, 873, 876, 875, 874, 838, 845, 840, 838, 0, 847, 841, 852, 849, 858, 861, 854, 853, 859, 845, 869, 858, 848, 872, 855, 0, 869, 863, 864, 865, 867, 861, 864, 863, 876, 872, 872, 882, 882, 883, 0, 880, 877, 877, 881, 869, 889, 889, 893, 894, 891, 894, 0, 891, 887, 896, 898, 899, 890, 889, 923, 927, 922, 896, 892, 900, 901, 913, 900, 911, 928, 0, 909, 905, 919, 0, 901, 921, 922, 910, 906, 0, 917, 909, 909, 0, 0, 0, 916, 917, 0, 928, 953, 0, 918, 929, 0, 0, 931, 0, 935, 936, 937, 0, 0, 934, 0, 932, 0, 924, 931, 925, 932, 941, 929, 929, 940, 926, 0, 946, 0, 939, 940, 940, 942, 0, 0, 942, 956, 941, 945, 947, 937, 957, 0, 950, 0, 972, 952, 945, 958, 955, 956, 961, 952, 969, 964, 960, 966, 958, 0, 970, 959, 956, 998, 962, 965, 0, 966, 0, 975, 992, 973, 0, 972, 0, 0, 0, 969, 972, 987, 0, 978, 973, 0, 976, 990, 975, 993, 983, 977, 0, 0, 0, 995, 995, 990, 993, 990, 1000, 1002, 993, 998, 1003, 995, 997, 997, 0, 0, 998, 994, 995, 1023, 1007, 1007, 1005, 1000, 1019, 1010, 1017, 999, 1015, 1021, 1008, 1015, 0, 1013, 0, 1009, 1021, 1064, 1028, 1009, 1016, 1016, 1069, 1018, 1019, 1025, 1022, 1028, 0, 1029, 1026, 1039, 1031, 1041, 1033, 0, 1029, 1044, 1031, 1046, 1040, 0, 1048, 0, 0, 1070, 0, 1040, 1043, 1079, 1038, 0, 1050, 1042, 1083, 1053, 0, 1050, 1046, 0, 1047, 0, 1053, 1073, 1057, 1056, 0, 1055, 1066, 1049, 0, 1060, 0, 1056, 1068, 0, 1073, 1063, 0, 0, 1064, 0, 1070, 0, 1076, 1072, 1081, 0, 0, 1065, 0, 1065, 0, 1085, 1067, 1074, 1075, 1076, 1085, 1079, 1069, 1126, 0, 1101, 1086, 1078, 0, 1090, 1094, 1094, 0, 0, 1095, 1087, 0, 0, 1115, 0, 1088, 1091, 1123, 1105, 0, 0, 1090, 1107, 1090, 1105, 0, 1658, 1156 } ; static yyconst short int yy_def[1508] = { 0, 1506, 1, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1507, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1507, 1507, 1507, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1506, 1506, 1506, 1507, 1507, 1506, 1506, 1506, 1506, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1506, 1506, 1507, 1506, 1506, 1506, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1506, 1506, 1506, 1506, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1506, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1506, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1506, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 1507, 0, 1506 } ; static yyconst short int yy_nxt[1733] = { 0, 4, 5, 6, 7, 8, 9, 10, 11, 4, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 4, 4, 34, 34, 34, 34, 47, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 48, 49, 51, 55, 266, 56, 56, 56, 56, 56, 58, 215, 61, 59, 62, 62, 62, 62, 62, 61, 267, 62, 62, 62, 62, 62, 216, 63, 64, 68, 69, 71, 72, 79, 65, 64, 160, 80, 178, 161, 61, 179, 62, 62, 62, 62, 62, 60, 230, 81, 231, 163, 52, 165, 64, 66, 64, 818, 73, 164, 61, 64, 62, 62, 62, 62, 62, 61, 182, 62, 62, 62, 62, 62, 74, 67, 64, 82, 166, 402, 205, 83, 64, 64, 84, 75, 206, 209, 88, 207, 85, 86, 76, 87, 183, 89, 77, 210, 293, 90, 78, 110, 64, 91, 294, 111, 403, 102, 92, 64, 95, 112, 223, 93, 94, 114, 96, 113, 97, 115, 98, 103, 197, 99, 445, 224, 125, 198, 100, 104, 101, 105, 106, 122, 107, 117, 446, 108, 116, 186, 109, 123, 118, 187, 819, 126, 124, 119, 120, 127, 129, 130, 190, 134, 131, 135, 191, 136, 128, 137, 250, 138, 143, 132, 139, 251, 144, 140, 239, 133, 145, 146, 256, 147, 820, 148, 149, 150, 240, 154, 151, 152, 257, 155, 258, 153, 156, 157, 259, 56, 56, 56, 56, 56, 821, 158, 172, 172, 172, 172, 172, 174, 159, 171, 175, 175, 175, 175, 175, 61, 173, 62, 62, 62, 62, 62, 301, 226, 201, 192, 227, 202, 302, 228, 622, 64, 193, 194, 261, 171, 203, 242, 195, 204, 232, 233, 173, 234, 235, 252, 623, 243, 244, 254, 253, 262, 297, 245, 299, 298, 255, 64, 369, 269, 270, 278, 271, 246, 272, 347, 279, 300, 284, 273, 348, 396, 370, 274, 285, 275, 276, 303, 286, 355, 450, 304, 451, 318, 356, 287, 319, 319, 319, 319, 319, 172, 172, 172, 172, 172, 321, 397, 421, 322, 322, 322, 322, 322, 422, 320, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 362, 424, 440, 363, 425, 453, 476, 476, 476, 476, 476, 572, 573, 574, 822, 320, 441, 454, 455, 456, 319, 319, 319, 319, 319, 695, 517, 477, 707, 457, 478, 478, 478, 478, 478, 322, 322, 322, 322, 322, 322, 322, 322, 322, 322, 518, 543, 580, 601, 636, 696, 544, 823, 581, 476, 476, 476, 476, 476, 756, 757, 708, 824, 602, 478, 478, 478, 478, 478, 603, 604, 478, 478, 478, 478, 478, 605, 637, 722, 742, 769, 825, 743, 744, 826, 791, 792, 723, 827, 793, 828, 829, 770, 830, 831, 771, 794, 832, 745, 795, 833, 796, 797, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 873, 874, 875, 872, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 891, 892, 893, 894, 895, 896, 897, 890, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 909, 910, 911, 912, 913, 914, 915, 916, 908, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 951, 968, 969, 952, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 984, 985, 981, 986, 987, 988, 989, 982, 990, 991, 992, 993, 994, 995, 996, 997, 998, 999, 983, 1000, 1001, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1002, 1010, 1011, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1012, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1038, 1039, 1040, 1041, 1042, 1037, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1078, 1079, 1080, 1081, 1082, 1083, 1077, 1084, 1085, 1086, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1087, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1247, 1259, 1260, 1261, 1262, 1263, 1264, 1265, 1266, 1267, 1268, 1269, 1270, 1271, 1272, 1273, 1274, 1275, 1276, 1277, 1278, 1279, 1280, 1281, 1282, 1283, 1284, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1299, 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1324, 1325, 1326, 1327, 1329, 1330, 1331, 1332, 1333, 1334, 1335, 1328, 1336, 1337, 1338, 1339, 1340, 1341, 1342, 1343, 1344, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1354, 1355, 1356, 1357, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1371, 1372, 1373, 1374, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 57, 817, 816, 815, 814, 813, 812, 811, 810, 809, 808, 807, 806, 805, 804, 803, 802, 801, 800, 799, 798, 790, 789, 788, 787, 786, 785, 784, 783, 782, 781, 780, 779, 778, 777, 776, 775, 774, 773, 772, 768, 767, 766, 765, 764, 763, 762, 761, 760, 759, 758, 755, 754, 753, 752, 751, 750, 749, 748, 747, 746, 741, 740, 739, 738, 737, 736, 735, 734, 733, 732, 731, 730, 729, 728, 727, 726, 725, 724, 721, 720, 719, 718, 717, 716, 715, 714, 713, 712, 711, 710, 709, 706, 705, 704, 703, 702, 701, 700, 699, 698, 697, 694, 693, 692, 691, 690, 689, 688, 687, 686, 685, 684, 683, 682, 681, 680, 679, 678, 677, 676, 675, 674, 673, 672, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, 658, 657, 656, 655, 654, 653, 652, 651, 650, 649, 648, 647, 646, 645, 644, 643, 642, 641, 640, 639, 638, 635, 634, 633, 632, 631, 630, 629, 628, 627, 626, 625, 624, 621, 620, 619, 618, 617, 616, 615, 614, 613, 612, 611, 610, 609, 608, 607, 606, 600, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 589, 588, 587, 586, 585, 584, 583, 582, 579, 578, 577, 576, 575, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 545, 542, 541, 540, 539, 538, 537, 536, 535, 534, 533, 532, 531, 530, 529, 528, 527, 526, 525, 524, 523, 522, 521, 520, 519, 516, 515, 514, 513, 512, 511, 510, 509, 508, 507, 506, 505, 504, 503, 502, 501, 500, 499, 498, 497, 496, 495, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 475, 474, 473, 472, 471, 470, 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, 459, 458, 452, 449, 448, 447, 444, 443, 442, 439, 438, 437, 436, 435, 434, 433, 432, 431, 430, 429, 428, 427, 426, 423, 420, 419, 418, 417, 416, 415, 414, 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, 401, 400, 399, 398, 395, 394, 393, 392, 391, 390, 389, 388, 387, 386, 385, 384, 383, 382, 381, 380, 379, 378, 377, 376, 375, 374, 373, 372, 371, 368, 367, 366, 365, 364, 361, 360, 359, 358, 357, 354, 353, 352, 351, 350, 349, 346, 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, 325, 324, 323, 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, 307, 306, 305, 296, 295, 292, 291, 290, 289, 288, 283, 282, 281, 280, 277, 268, 265, 264, 263, 260, 249, 248, 247, 241, 238, 237, 236, 229, 225, 222, 221, 220, 219, 218, 217, 214, 213, 212, 211, 208, 200, 199, 196, 189, 188, 185, 184, 181, 180, 177, 176, 170, 169, 168, 167, 162, 142, 141, 121, 70, 54, 53, 50, 1506, 3, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506 } ; static yyconst short int yy_chk[1733] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 12, 132, 12, 12, 12, 12, 12, 13, 98, 14, 13, 14, 14, 14, 14, 14, 15, 132, 15, 15, 15, 15, 15, 98, 14, 14, 21, 21, 23, 23, 25, 15, 15, 44, 25, 75, 44, 16, 75, 16, 16, 16, 16, 16, 13, 109, 25, 109, 46, 9, 47, 14, 16, 16, 701, 24, 46, 17, 15, 17, 17, 17, 17, 17, 18, 78, 18, 18, 18, 18, 18, 24, 17, 17, 26, 47, 254, 91, 26, 16, 18, 26, 24, 91, 93, 27, 91, 26, 26, 24, 26, 78, 27, 24, 93, 148, 27, 24, 30, 17, 27, 148, 30, 254, 29, 27, 18, 28, 30, 105, 27, 27, 31, 28, 30, 28, 31, 28, 29, 87, 28, 293, 105, 36, 87, 28, 29, 28, 29, 29, 35, 29, 32, 293, 29, 31, 81, 29, 35, 32, 81, 702, 36, 35, 32, 32, 36, 37, 37, 84, 38, 37, 38, 84, 38, 36, 39, 122, 39, 42, 37, 39, 122, 42, 39, 115, 37, 42, 42, 125, 42, 703, 42, 42, 42, 115, 43, 42, 42, 125, 43, 126, 42, 43, 43, 126, 56, 56, 56, 56, 56, 704, 43, 61, 61, 61, 61, 61, 64, 43, 56, 64, 64, 64, 64, 64, 62, 61, 62, 62, 62, 62, 62, 153, 107, 90, 85, 107, 90, 153, 107, 491, 62, 85, 85, 128, 56, 90, 118, 85, 90, 110, 110, 61, 111, 111, 123, 491, 118, 118, 124, 123, 128, 151, 118, 152, 151, 124, 62, 222, 134, 134, 136, 134, 118, 134, 202, 136, 152, 142, 134, 202, 249, 222, 134, 142, 134, 134, 154, 142, 209, 297, 154, 297, 171, 209, 142, 171, 171, 171, 171, 171, 172, 172, 172, 172, 172, 173, 249, 272, 173, 173, 173, 173, 173, 272, 172, 174, 174, 174, 174, 174, 175, 175, 175, 175, 175, 215, 274, 289, 215, 274, 299, 318, 318, 318, 318, 318, 432, 432, 432, 705, 172, 289, 299, 299, 299, 319, 319, 319, 319, 319, 575, 375, 320, 586, 299, 320, 320, 320, 320, 320, 321, 321, 321, 321, 321, 322, 322, 322, 322, 322, 375, 401, 439, 465, 507, 575, 401, 706, 439, 476, 476, 476, 476, 476, 639, 639, 586, 707, 465, 477, 477, 477, 477, 477, 465, 465, 478, 478, 478, 478, 478, 465, 507, 603, 627, 654, 709, 627, 627, 710, 677, 677, 603, 712, 677, 713, 714, 654, 715, 716, 654, 677, 717, 627, 677, 718, 677, 677, 719, 721, 722, 723, 724, 725, 726, 727, 728, 729, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 759, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 775, 776, 777, 778, 779, 781, 782, 784, 785, 787, 777, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 800, 801, 802, 803, 806, 807, 808, 797, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 822, 823, 824, 826, 827, 828, 829, 831, 833, 834, 835, 836, 837, 839, 840, 841, 842, 843, 845, 846, 847, 848, 849, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 865, 848, 866, 867, 848, 868, 869, 870, 872, 873, 874, 875, 876, 877, 878, 880, 881, 882, 880, 883, 884, 885, 886, 880, 887, 888, 890, 891, 893, 895, 897, 898, 899, 900, 880, 901, 902, 903, 904, 905, 906, 907, 908, 909, 902, 910, 911, 912, 915, 916, 917, 918, 919, 920, 921, 923, 924, 925, 911, 927, 928, 929, 930, 931, 932, 933, 934, 936, 938, 939, 940, 941, 943, 944, 945, 946, 947, 941, 948, 949, 950, 951, 952, 953, 954, 956, 957, 958, 959, 960, 961, 962, 963, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 975, 976, 977, 978, 979, 980, 981, 982, 983, 984, 985, 986, 987, 988, 990, 983, 991, 992, 993, 994, 995, 996, 997, 998, 999, 1000, 993, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1011, 1012, 1013, 1015, 1016, 1017, 1018, 1019, 1020, 1022, 1023, 1024, 1025, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1040, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1079, 1080, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1096, 1097, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1113, 1115, 1116, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1137, 1138, 1139, 1140, 1142, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1155, 1156, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166, 1167, 1168, 1170, 1171, 1172, 1173, 1175, 1176, 1177, 1178, 1179, 1180, 1181, 1182, 1184, 1185, 1186, 1187, 1175, 1188, 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1242, 1243, 1244, 1246, 1247, 1248, 1250, 1251, 1252, 1253, 1254, 1256, 1257, 1258, 1262, 1263, 1265, 1266, 1268, 1269, 1272, 1274, 1275, 1276, 1279, 1266, 1281, 1283, 1284, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1293, 1295, 1296, 1297, 1298, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1309, 1311, 1312, 1313, 1314, 1315, 1316, 1317, 1318, 1319, 1320, 1321, 1322, 1323, 1325, 1326, 1327, 1328, 1329, 1330, 1332, 1334, 1335, 1336, 1338, 1342, 1343, 1344, 1346, 1347, 1349, 1350, 1351, 1352, 1353, 1354, 1358, 1359, 1360, 1361, 1362, 1363, 1364, 1365, 1366, 1367, 1368, 1369, 1370, 1373, 1374, 1375, 1376, 1377, 1378, 1379, 1380, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1390, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1406, 1407, 1408, 1409, 1410, 1411, 1413, 1414, 1415, 1416, 1417, 1419, 1422, 1424, 1425, 1426, 1427, 1429, 1430, 1431, 1432, 1434, 1435, 1437, 1439, 1440, 1441, 1442, 1444, 1445, 1446, 1448, 1450, 1451, 1453, 1454, 1457, 1459, 1461, 1462, 1463, 1466, 1468, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1480, 1481, 1482, 1484, 1485, 1486, 1489, 1490, 1493, 1495, 1496, 1497, 1498, 1501, 1502, 1503, 1504, 1507, 700, 699, 698, 697, 695, 694, 693, 692, 691, 690, 689, 688, 687, 686, 683, 682, 681, 680, 679, 678, 676, 674, 673, 671, 670, 669, 668, 667, 666, 665, 664, 663, 662, 661, 660, 659, 658, 657, 655, 653, 652, 651, 650, 649, 648, 647, 646, 642, 641, 640, 637, 636, 635, 634, 633, 632, 631, 630, 629, 628, 626, 625, 624, 623, 622, 621, 620, 618, 617, 615, 614, 613, 612, 610, 608, 607, 605, 604, 602, 599, 598, 597, 596, 595, 594, 593, 592, 591, 590, 588, 587, 585, 584, 583, 582, 581, 580, 579, 578, 577, 576, 574, 573, 572, 571, 569, 568, 567, 566, 565, 564, 563, 562, 561, 558, 557, 556, 555, 554, 553, 552, 551, 550, 549, 548, 547, 546, 544, 543, 542, 541, 540, 539, 537, 536, 535, 534, 533, 532, 530, 529, 527, 526, 525, 523, 522, 521, 520, 519, 518, 517, 516, 514, 513, 512, 511, 510, 508, 506, 505, 503, 502, 501, 500, 499, 497, 496, 495, 493, 492, 489, 487, 485, 484, 482, 481, 480, 475, 474, 473, 472, 471, 470, 469, 468, 466, 464, 462, 460, 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, 448, 446, 445, 444, 441, 440, 438, 437, 436, 434, 433, 430, 429, 428, 427, 426, 425, 424, 423, 422, 421, 420, 419, 418, 417, 415, 414, 413, 412, 411, 410, 409, 408, 407, 406, 405, 403, 402, 400, 399, 398, 397, 396, 395, 394, 393, 392, 391, 390, 389, 387, 386, 385, 384, 383, 382, 381, 380, 379, 378, 377, 376, 374, 372, 370, 367, 366, 365, 364, 363, 362, 360, 358, 356, 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, 344, 343, 342, 340, 339, 338, 337, 336, 333, 332, 330, 329, 328, 327, 326, 325, 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, 302, 301, 300, 298, 296, 295, 294, 292, 291, 290, 288, 287, 286, 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, 275, 273, 271, 270, 269, 268, 267, 266, 265, 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, 253, 252, 251, 250, 248, 246, 245, 244, 243, 242, 241, 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, 224, 223, 221, 220, 218, 217, 216, 214, 213, 212, 211, 210, 208, 207, 206, 205, 204, 203, 201, 200, 199, 198, 197, 195, 194, 193, 192, 191, 190, 189, 188, 187, 186, 185, 184, 183, 182, 181, 179, 178, 177, 176, 169, 166, 165, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 150, 149, 147, 146, 145, 144, 143, 141, 140, 139, 138, 135, 133, 131, 130, 129, 127, 121, 120, 119, 116, 114, 113, 112, 108, 106, 104, 103, 102, 101, 100, 99, 97, 96, 95, 94, 92, 89, 88, 86, 83, 82, 80, 79, 77, 76, 74, 73, 55, 52, 49, 48, 45, 41, 40, 33, 22, 11, 10, 7, 3, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506, 1506 } ; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */ #define REJECT reject_used_but_not_detected #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "GetDP.l" #define INITIAL 0 #line 2 "GetDP.l" /* $Id: GetDP.yy.c,v 1.104 2006/03/10 18:09:23 geuzaine Exp $ */ /* * Copyright (C) 1997-2006 P. Dular, C. Geuzaine * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA. * * Please report all bugs and problems to . * * Contributor(s): * Ruth Sabariego * Johan Gyselinck */ #include #include #include #include #include "Data_Passive.h" #include "Malloc.h" #include "Parser.h" #include "GetDP.tab.h" extern long int yylinenum ; extern int yycolnum, yyincludenum ; /* Redefinition of YY_INPUT to allow input character count. This is slower than fread(), but the .pro files are never that big... */ #ifdef YY_INPUT #undef YY_INPUT #endif #define YY_INPUT(buf,result,max_size) { \ int c = getc(yyin); \ yycolnum++; \ result = (c == EOF) ? YY_NULL : (buf[0] = c, 1); \ } #line 1301 "GetDP.yy.c" /* 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 \ YY_USER_ACTION YY_DECL { register yy_state_type yy_current_state; register char *yy_cp, *yy_bp; register int yy_act; #line 69 "GetDP.l" #line 1455 "GetDP.yy.c" 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_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; if ( yy_accept[yy_current_state] ) { yy_last_accepting_state = yy_current_state; yy_last_accepting_cpos = 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 >= 1507 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 1658 ); yy_find_action: yy_act = yy_accept[yy_current_state]; if ( yy_act == 0 ) { /* have to back up */ yy_cp = yy_last_accepting_cpos; yy_current_state = yy_last_accepting_state; yy_act = 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 0: /* must back up */ /* undo the effects of YY_DO_BEFORE_ACTION */ *yy_cp = yy_hold_char; yy_cp = yy_last_accepting_cpos; yy_current_state = yy_last_accepting_state; goto yy_find_action; case 1: YY_RULE_SETUP #line 71 "GetDP.l" /* nothing to do */ ; YY_BREAK case 2: YY_RULE_SETUP #line 72 "GetDP.l" { yycolnum = 0 ; yylinenum++ ; } YY_BREAK case YY_STATE_EOF(INITIAL): #line 73 "GetDP.l" { yyincludenum = 0 ; return(0); } YY_BREAK case 3: YY_RULE_SETUP #line 75 "GetDP.l" return tEND ; YY_BREAK case 4: YY_RULE_SETUP #line 76 "GetDP.l" C_comments() ; YY_BREAK case 5: YY_RULE_SETUP #line 77 "GetDP.l" CC_comments() ; YY_BREAK case 6: YY_RULE_SETUP #line 78 "GetDP.l" { parsestring('\"'); return tBIGSTR; } YY_BREAK case 7: YY_RULE_SETUP #line 80 "GetDP.l" return tDEF ; YY_BREAK case 8: YY_RULE_SETUP #line 81 "GetDP.l" return tCROSSPRODUCT ; YY_BREAK case 9: YY_RULE_SETUP #line 82 "GetDP.l" return tCROSSPRODUCT ; YY_BREAK case 10: YY_RULE_SETUP #line 83 "GetDP.l" return tOR ; YY_BREAK case 11: YY_RULE_SETUP #line 84 "GetDP.l" return tAND ; YY_BREAK case 12: YY_RULE_SETUP #line 85 "GetDP.l" return tEQUAL ; YY_BREAK case 13: YY_RULE_SETUP #line 86 "GetDP.l" return tNOTEQUAL ; YY_BREAK case 14: YY_RULE_SETUP #line 87 "GetDP.l" return tAPPROXEQUAL ; YY_BREAK case 15: YY_RULE_SETUP #line 88 "GetDP.l" return tLESSOREQUAL ; YY_BREAK case 16: YY_RULE_SETUP #line 89 "GetDP.l" return tGREATEROREQUAL ; YY_BREAK case 17: YY_RULE_SETUP #line 90 "GetDP.l" return tGREATERGREATER ; YY_BREAK case 18: YY_RULE_SETUP #line 91 "GetDP.l" return tLESSLESS ; YY_BREAK case 19: YY_RULE_SETUP #line 92 "GetDP.l" return tDOTS ; YY_BREAK case 20: YY_RULE_SETUP #line 93 "GetDP.l" return tDOTS ; YY_BREAK case 21: YY_RULE_SETUP #line 94 "GetDP.l" return tSHOW ; YY_BREAK case 22: YY_RULE_SETUP #line 96 "GetDP.l" return tStrCat ; YY_BREAK case 23: YY_RULE_SETUP #line 97 "GetDP.l" return tSprintf ; YY_BREAK case 24: YY_RULE_SETUP #line 98 "GetDP.l" return tPrintf ; YY_BREAK case 25: YY_RULE_SETUP #line 99 "GetDP.l" return tRead ; YY_BREAK case 26: YY_RULE_SETUP #line 101 "GetDP.l" return tPi ; YY_BREAK case 27: YY_RULE_SETUP #line 102 "GetDP.l" return t0D ; YY_BREAK case 28: YY_RULE_SETUP #line 103 "GetDP.l" return t1D ; YY_BREAK case 29: YY_RULE_SETUP #line 104 "GetDP.l" return t2D ; YY_BREAK case 30: YY_RULE_SETUP #line 105 "GetDP.l" return t3D ; YY_BREAK case 31: YY_RULE_SETUP #line 107 "GetDP.l" return tInclude; YY_BREAK case 32: YY_RULE_SETUP #line 108 "GetDP.l" return tInclude; YY_BREAK case 33: YY_RULE_SETUP #line 110 "GetDP.l" return tConstant ; YY_BREAK case 34: YY_RULE_SETUP #line 111 "GetDP.l" return tConstant ; YY_BREAK case 35: YY_RULE_SETUP #line 113 "GetDP.l" return tGroup ; YY_BREAK case 36: YY_RULE_SETUP #line 114 "GetDP.l" return tDefineGroup ; YY_BREAK case 37: YY_RULE_SETUP #line 115 "GetDP.l" return tAll ; YY_BREAK case 38: YY_RULE_SETUP #line 116 "GetDP.l" return tInSupport ; YY_BREAK case 39: YY_RULE_SETUP #line 117 "GetDP.l" return tMovingBand2D ; YY_BREAK case 40: YY_RULE_SETUP #line 118 "GetDP.l" return tSaveMesh ; YY_BREAK case 41: YY_RULE_SETUP #line 119 "GetDP.l" return tDeformeMesh ; YY_BREAK case 42: YY_RULE_SETUP #line 121 "GetDP.l" return tDefineFunction ; YY_BREAK case 43: YY_RULE_SETUP #line 122 "GetDP.l" return tDefineConstant ; YY_BREAK case 44: YY_RULE_SETUP #line 123 "GetDP.l" return tDefineConstant ; YY_BREAK case 45: YY_RULE_SETUP #line 125 "GetDP.l" return tList ; YY_BREAK case 46: YY_RULE_SETUP #line 126 "GetDP.l" return tListAlt ; YY_BREAK case 47: YY_RULE_SETUP #line 127 "GetDP.l" return tListFromFile ; YY_BREAK case 48: YY_RULE_SETUP #line 129 "GetDP.l" return tExp ; YY_BREAK case 49: YY_RULE_SETUP #line 130 "GetDP.l" return tLog ; YY_BREAK case 50: YY_RULE_SETUP #line 131 "GetDP.l" return tLog10 ; YY_BREAK case 51: YY_RULE_SETUP #line 132 "GetDP.l" return tSqrt ; YY_BREAK case 52: YY_RULE_SETUP #line 133 "GetDP.l" return tSin ; YY_BREAK case 53: YY_RULE_SETUP #line 134 "GetDP.l" return tAsin ; YY_BREAK case 54: YY_RULE_SETUP #line 135 "GetDP.l" return tCos ; YY_BREAK case 55: YY_RULE_SETUP #line 136 "GetDP.l" return tAcos ; YY_BREAK case 56: YY_RULE_SETUP #line 137 "GetDP.l" return tTan ; YY_BREAK case 57: YY_RULE_SETUP #line 138 "GetDP.l" return tAtan ; YY_BREAK case 58: YY_RULE_SETUP #line 139 "GetDP.l" return tAtan2 ; YY_BREAK case 59: YY_RULE_SETUP #line 140 "GetDP.l" return tSinh ; YY_BREAK case 60: YY_RULE_SETUP #line 141 "GetDP.l" return tCosh ; YY_BREAK case 61: YY_RULE_SETUP #line 142 "GetDP.l" return tTanh ; YY_BREAK case 62: YY_RULE_SETUP #line 143 "GetDP.l" return tFabs ; YY_BREAK case 63: YY_RULE_SETUP #line 144 "GetDP.l" return tFloor ; YY_BREAK case 64: YY_RULE_SETUP #line 145 "GetDP.l" return tCeil ; YY_BREAK case 65: YY_RULE_SETUP #line 146 "GetDP.l" return tFmod ; YY_BREAK case 66: YY_RULE_SETUP #line 147 "GetDP.l" return tModulo ; YY_BREAK case 67: YY_RULE_SETUP #line 148 "GetDP.l" return tHypot ; YY_BREAK case 68: YY_RULE_SETUP #line 149 "GetDP.l" return tCrossProduct ; YY_BREAK case 69: YY_RULE_SETUP #line 150 "GetDP.l" return tCrossProduct ; YY_BREAK case 70: YY_RULE_SETUP #line 151 "GetDP.l" return tSolidAngle ; YY_BREAK case 71: YY_RULE_SETUP #line 152 "GetDP.l" return tOrder ; YY_BREAK case 72: YY_RULE_SETUP #line 153 "GetDP.l" return tTrace ; YY_BREAK case 73: YY_RULE_SETUP #line 154 "GetDP.l" return tDofValue ; YY_BREAK case 74: YY_RULE_SETUP #line 155 "GetDP.l" return tLinSpace ; YY_BREAK case 75: YY_RULE_SETUP #line 156 "GetDP.l" return tLogSpace ; YY_BREAK case 76: YY_RULE_SETUP #line 158 "GetDP.l" return tMHTransform; YY_BREAK case 77: YY_RULE_SETUP #line 159 "GetDP.l" return tMHJacNL; YY_BREAK case 78: YY_RULE_SETUP #line 161 "GetDP.l" return tConstraint ; YY_BREAK case 79: YY_RULE_SETUP #line 162 "GetDP.l" return tRegion ; YY_BREAK case 80: YY_RULE_SETUP #line 163 "GetDP.l" return tSubRegion ; YY_BREAK case 81: YY_RULE_SETUP #line 164 "GetDP.l" return tRegionRef ; YY_BREAK case 82: YY_RULE_SETUP #line 165 "GetDP.l" return tSubRegionRef ; YY_BREAK case 83: YY_RULE_SETUP #line 166 "GetDP.l" return tCoefficient ; YY_BREAK case 84: YY_RULE_SETUP #line 167 "GetDP.l" return tFilter ; YY_BREAK case 85: YY_RULE_SETUP #line 168 "GetDP.l" return tValue ; YY_BREAK case 86: YY_RULE_SETUP #line 169 "GetDP.l" return tTimeFunction ; YY_BREAK case 87: YY_RULE_SETUP #line 170 "GetDP.l" return tBranch ; YY_BREAK case 88: YY_RULE_SETUP #line 171 "GetDP.l" return tLoop ; YY_BREAK case 89: YY_RULE_SETUP #line 172 "GetDP.l" return tNode ; YY_BREAK case 90: YY_RULE_SETUP #line 173 "GetDP.l" return tNameOfResolution ; YY_BREAK case 91: YY_RULE_SETUP #line 175 "GetDP.l" return tJacobian ; YY_BREAK case 92: YY_RULE_SETUP #line 176 "GetDP.l" return tCase ; YY_BREAK case 93: YY_RULE_SETUP #line 178 "GetDP.l" return tIntegration ; YY_BREAK case 94: YY_RULE_SETUP #line 179 "GetDP.l" return tFMMIntegration ; YY_BREAK case 95: YY_RULE_SETUP #line 180 "GetDP.l" return tMatrix ; YY_BREAK case 96: YY_RULE_SETUP #line 181 "GetDP.l" return tCriterion ; YY_BREAK case 97: YY_RULE_SETUP #line 182 "GetDP.l" return tGeoElement ; YY_BREAK case 98: YY_RULE_SETUP #line 183 "GetDP.l" return tNumberOfPoints ; YY_BREAK case 99: YY_RULE_SETUP #line 184 "GetDP.l" return tMaxNumberOfPoints ; YY_BREAK case 100: YY_RULE_SETUP #line 185 "GetDP.l" return tNumberOfDivisions ; YY_BREAK case 101: YY_RULE_SETUP #line 186 "GetDP.l" return tMaxNumberOfDivisions ; YY_BREAK case 102: YY_RULE_SETUP #line 187 "GetDP.l" return tStoppingCriterion ; YY_BREAK case 103: YY_RULE_SETUP #line 189 "GetDP.l" return tFunctionSpace ; YY_BREAK case 104: YY_RULE_SETUP #line 190 "GetDP.l" return tName ; YY_BREAK case 105: YY_RULE_SETUP #line 191 "GetDP.l" return tType ; YY_BREAK case 106: YY_RULE_SETUP #line 192 "GetDP.l" return tSubType ; YY_BREAK case 107: YY_RULE_SETUP #line 193 "GetDP.l" return tBasisFunction ; YY_BREAK case 108: YY_RULE_SETUP #line 194 "GetDP.l" return tNameOfCoef ; YY_BREAK case 109: YY_RULE_SETUP #line 195 "GetDP.l" return tFunction ; YY_BREAK case 110: YY_RULE_SETUP #line 196 "GetDP.l" return tdFunction ; YY_BREAK case 111: YY_RULE_SETUP #line 197 "GetDP.l" return tSubFunction ; YY_BREAK case 112: YY_RULE_SETUP #line 198 "GetDP.l" return tSubdFunction ; YY_BREAK case 113: YY_RULE_SETUP #line 199 "GetDP.l" return tSupport ; YY_BREAK case 114: YY_RULE_SETUP #line 200 "GetDP.l" return tEntity ; YY_BREAK case 115: YY_RULE_SETUP #line 201 "GetDP.l" return tSubSpace ; YY_BREAK case 116: YY_RULE_SETUP #line 202 "GetDP.l" return tNameOfBasisFunction ; YY_BREAK case 117: YY_RULE_SETUP #line 203 "GetDP.l" return tGlobalQuantity ; YY_BREAK case 118: YY_RULE_SETUP #line 204 "GetDP.l" return tEntityType ; YY_BREAK case 119: YY_RULE_SETUP #line 205 "GetDP.l" return tEntitySubType ; YY_BREAK case 120: YY_RULE_SETUP #line 206 "GetDP.l" return tNameOfConstraint ; YY_BREAK case 121: YY_RULE_SETUP #line 208 "GetDP.l" return tFormulation ; YY_BREAK case 122: YY_RULE_SETUP #line 209 "GetDP.l" return tQuantity ; YY_BREAK case 123: YY_RULE_SETUP #line 210 "GetDP.l" return tNameOfSpace ; YY_BREAK case 124: YY_RULE_SETUP #line 211 "GetDP.l" return tIndexOfSystem ; YY_BREAK case 125: YY_RULE_SETUP #line 212 "GetDP.l" return tSymmetry ; YY_BREAK case 126: YY_RULE_SETUP #line 213 "GetDP.l" return tEquation ; YY_BREAK case 127: YY_RULE_SETUP #line 214 "GetDP.l" return tGalerkin ; YY_BREAK case 128: YY_RULE_SETUP #line 215 "GetDP.l" return tdeRham ; YY_BREAK case 129: YY_RULE_SETUP #line 216 "GetDP.l" return tDiscreteGeometry ; YY_BREAK case 130: YY_RULE_SETUP #line 218 "GetDP.l" return tDt ; YY_BREAK case 131: YY_RULE_SETUP #line 219 "GetDP.l" return tDtDof ; YY_BREAK case 132: YY_RULE_SETUP #line 220 "GetDP.l" return tDtDt ; YY_BREAK case 133: YY_RULE_SETUP #line 221 "GetDP.l" return tDtDtDof ; YY_BREAK case 134: YY_RULE_SETUP #line 222 "GetDP.l" return tJacNL ; YY_BREAK case 135: YY_RULE_SETUP #line 223 "GetDP.l" return tNeverDt ; YY_BREAK case 136: YY_RULE_SETUP #line 224 "GetDP.l" return tDtNL ; YY_BREAK case 137: YY_RULE_SETUP #line 225 "GetDP.l" return tAtAnteriorTimeStep ; YY_BREAK case 138: YY_RULE_SETUP #line 227 "GetDP.l" return tIn ; YY_BREAK case 139: YY_RULE_SETUP #line 228 "GetDP.l" return tFull_Matrix ; YY_BREAK case 140: YY_RULE_SETUP #line 229 "GetDP.l" return tGlobalTerm ; YY_BREAK case 141: YY_RULE_SETUP #line 230 "GetDP.l" return tGlobalEquation ; YY_BREAK case 142: YY_RULE_SETUP #line 232 "GetDP.l" return tResolution ; YY_BREAK case 143: YY_RULE_SETUP #line 233 "GetDP.l" return tDefineSystem ; YY_BREAK case 144: YY_RULE_SETUP #line 234 "GetDP.l" return tNameOfFormulation ; YY_BREAK case 145: YY_RULE_SETUP #line 235 "GetDP.l" return tNameOfMesh ; YY_BREAK case 146: YY_RULE_SETUP #line 236 "GetDP.l" return tFrequency ; YY_BREAK case 147: YY_RULE_SETUP #line 237 "GetDP.l" return tDummyFrequency ; YY_BREAK case 148: YY_RULE_SETUP #line 238 "GetDP.l" return tSolver ; YY_BREAK case 149: YY_RULE_SETUP #line 239 "GetDP.l" return tOriginSystem ; YY_BREAK case 150: YY_RULE_SETUP #line 240 "GetDP.l" return tDestinationSystem ; YY_BREAK case 151: YY_RULE_SETUP #line 242 "GetDP.l" return tOperation ; YY_BREAK case 152: YY_RULE_SETUP #line 243 "GetDP.l" return tOperationEnd ; YY_BREAK case 153: YY_RULE_SETUP #line 244 "GetDP.l" return tSetTime ; YY_BREAK case 154: YY_RULE_SETUP #line 245 "GetDP.l" return tSetFrequency ; YY_BREAK case 155: YY_RULE_SETUP #line 246 "GetDP.l" return tUpdate ; YY_BREAK case 156: YY_RULE_SETUP #line 247 "GetDP.l" return tUpdateConstraint ; YY_BREAK case 157: YY_RULE_SETUP #line 248 "GetDP.l" return tGenerateFMMGroups ; YY_BREAK case 158: YY_RULE_SETUP #line 249 "GetDP.l" return tGenerateOnly ; YY_BREAK case 159: YY_RULE_SETUP #line 250 "GetDP.l" return tGenerateOnlyJac ; YY_BREAK case 160: YY_RULE_SETUP #line 251 "GetDP.l" return tFourierTransform ; YY_BREAK case 161: YY_RULE_SETUP #line 252 "GetDP.l" return tFourierTransformJ ; YY_BREAK case 162: YY_RULE_SETUP #line 253 "GetDP.l" return tLanczos ; YY_BREAK case 163: YY_RULE_SETUP #line 254 "GetDP.l" return tEigenSolve ; YY_BREAK case 164: YY_RULE_SETUP #line 255 "GetDP.l" return tEigenSolveJac ; YY_BREAK case 165: YY_RULE_SETUP #line 256 "GetDP.l" return tEvaluate ; YY_BREAK case 166: YY_RULE_SETUP #line 257 "GetDP.l" return tIf ; YY_BREAK case 167: YY_RULE_SETUP #line 258 "GetDP.l" return tTimeLoopTheta ; YY_BREAK case 168: YY_RULE_SETUP #line 259 "GetDP.l" return tTimeLoopNewmark ; YY_BREAK case 169: YY_RULE_SETUP #line 260 "GetDP.l" return tTime0 ; YY_BREAK case 170: YY_RULE_SETUP #line 261 "GetDP.l" return tTimeMax ; YY_BREAK case 171: YY_RULE_SETUP #line 262 "GetDP.l" return tDTime ; YY_BREAK case 172: YY_RULE_SETUP #line 263 "GetDP.l" return tTheta ; YY_BREAK case 173: YY_RULE_SETUP #line 264 "GetDP.l" return tBeta ; YY_BREAK case 174: YY_RULE_SETUP #line 265 "GetDP.l" return tGamma ; YY_BREAK case 175: YY_RULE_SETUP #line 266 "GetDP.l" return tIterativeLoop ; YY_BREAK case 176: YY_RULE_SETUP #line 267 "GetDP.l" return tNbrMaxIteration ; YY_BREAK case 177: YY_RULE_SETUP #line 268 "GetDP.l" return tRelaxationFactor ; YY_BREAK case 178: YY_RULE_SETUP #line 269 "GetDP.l" return tIterativeTimeReduction ; YY_BREAK case 179: YY_RULE_SETUP #line 270 "GetDP.l" return tDivisionCoefficient ; YY_BREAK case 180: YY_RULE_SETUP #line 271 "GetDP.l" return tChangeOfState ; YY_BREAK case 181: YY_RULE_SETUP #line 272 "GetDP.l" return tChangeOfCoordinates ; YY_BREAK case 182: YY_RULE_SETUP #line 273 "GetDP.l" return tChangeOfCoordinates2 ; YY_BREAK case 183: YY_RULE_SETUP #line 274 "GetDP.l" return tChangeOfValues ; YY_BREAK case 184: YY_RULE_SETUP #line 275 "GetDP.l" return tSystemCommand ; YY_BREAK case 185: YY_RULE_SETUP #line 276 "GetDP.l" return tBreak ; YY_BREAK case 186: YY_RULE_SETUP #line 277 "GetDP.l" return tSolveJac_AdaptRelax ; YY_BREAK case 187: YY_RULE_SETUP #line 278 "GetDP.l" return tSaveSolutionExtendedMH ; YY_BREAK case 188: YY_RULE_SETUP #line 279 "GetDP.l" return tSaveSolutionMHtoTime ; YY_BREAK case 189: YY_RULE_SETUP #line 280 "GetDP.l" return tInit_MovingBand2D ; YY_BREAK case 190: YY_RULE_SETUP #line 281 "GetDP.l" return tMesh_MovingBand2D ; YY_BREAK case 191: YY_RULE_SETUP #line 282 "GetDP.l" return tGenerate_MH_Moving ; YY_BREAK case 192: YY_RULE_SETUP #line 283 "GetDP.l" return tGenerate_MH_Moving_Separate ; YY_BREAK case 193: YY_RULE_SETUP #line 284 "GetDP.l" return tAdd_MH_Moving ; YY_BREAK case 194: YY_RULE_SETUP #line 285 "GetDP.l" return tGenerateGroup ; YY_BREAK case 195: YY_RULE_SETUP #line 286 "GetDP.l" return tGenerateJacGroup ; YY_BREAK case 196: YY_RULE_SETUP #line 288 "GetDP.l" return tPostProcessing ; YY_BREAK case 197: YY_RULE_SETUP #line 289 "GetDP.l" return tNameOfSystem ; YY_BREAK case 198: YY_RULE_SETUP #line 291 "GetDP.l" return tPostOperation ; YY_BREAK case 199: YY_RULE_SETUP #line 292 "GetDP.l" return tNameOfPostProcessing ; YY_BREAK case 200: YY_RULE_SETUP #line 293 "GetDP.l" return tUsingPost ; YY_BREAK case 201: YY_RULE_SETUP #line 294 "GetDP.l" return tAppend ; YY_BREAK case 202: YY_RULE_SETUP #line 295 "GetDP.l" return tPlot ; YY_BREAK case 203: YY_RULE_SETUP #line 296 "GetDP.l" return tPrint ; YY_BREAK case 204: YY_RULE_SETUP #line 297 "GetDP.l" return tPrintGroup ; YY_BREAK case 205: YY_RULE_SETUP #line 298 "GetDP.l" return tEcho ; YY_BREAK case 206: YY_RULE_SETUP #line 299 "GetDP.l" return tAdapt ; YY_BREAK case 207: YY_RULE_SETUP #line 300 "GetDP.l" return tWrite ; YY_BREAK case 208: YY_RULE_SETUP #line 301 "GetDP.l" return tOnGlobal ; YY_BREAK case 209: YY_RULE_SETUP #line 302 "GetDP.l" return tOnRegion ; YY_BREAK case 210: YY_RULE_SETUP #line 303 "GetDP.l" return tOnElementsOf ; YY_BREAK case 211: YY_RULE_SETUP #line 304 "GetDP.l" return tOnGrid ; YY_BREAK case 212: YY_RULE_SETUP #line 305 "GetDP.l" return tOnSection ; YY_BREAK case 213: YY_RULE_SETUP #line 306 "GetDP.l" return tOnSection ; YY_BREAK case 214: YY_RULE_SETUP #line 307 "GetDP.l" return tOnPoint ; YY_BREAK case 215: YY_RULE_SETUP #line 308 "GetDP.l" return tOnLine ; YY_BREAK case 216: YY_RULE_SETUP #line 309 "GetDP.l" return tOnPlane ; YY_BREAK case 217: YY_RULE_SETUP #line 310 "GetDP.l" return tOnBox ; YY_BREAK case 218: YY_RULE_SETUP #line 311 "GetDP.l" return tWithArgument ; YY_BREAK case 219: YY_RULE_SETUP #line 312 "GetDP.l" return tSmoothing ; YY_BREAK case 220: YY_RULE_SETUP #line 313 "GetDP.l" return tSkin ; YY_BREAK case 221: YY_RULE_SETUP #line 314 "GetDP.l" return tFormat ; YY_BREAK case 222: YY_RULE_SETUP #line 315 "GetDP.l" return tFooter ; YY_BREAK case 223: YY_RULE_SETUP #line 316 "GetDP.l" return tHeader ; YY_BREAK case 224: YY_RULE_SETUP #line 317 "GetDP.l" return tDepth ; YY_BREAK case 225: YY_RULE_SETUP #line 318 "GetDP.l" return tDimension ; YY_BREAK case 226: YY_RULE_SETUP #line 319 "GetDP.l" return tComma ; YY_BREAK case 227: YY_RULE_SETUP #line 320 "GetDP.l" return tHarmonicToTime ; YY_BREAK case 228: YY_RULE_SETUP #line 321 "GetDP.l" return tTimeStep ; YY_BREAK case 229: YY_RULE_SETUP #line 322 "GetDP.l" return tTarget ; YY_BREAK case 230: YY_RULE_SETUP #line 323 "GetDP.l" return tFile ; YY_BREAK case 231: YY_RULE_SETUP #line 324 "GetDP.l" return tSort ; YY_BREAK case 232: YY_RULE_SETUP #line 325 "GetDP.l" return tIso ; YY_BREAK case 233: YY_RULE_SETUP #line 326 "GetDP.l" return tNoNewLine ; YY_BREAK case 234: YY_RULE_SETUP #line 327 "GetDP.l" return tTimeLegend ; YY_BREAK case 235: YY_RULE_SETUP #line 328 "GetDP.l" return tFrequencyLegend ; YY_BREAK case 236: YY_RULE_SETUP #line 329 "GetDP.l" return tEigenvalueLegend ; YY_BREAK case 237: YY_RULE_SETUP #line 330 "GetDP.l" return tEvaluationPoints ; YY_BREAK case 238: YY_RULE_SETUP #line 331 "GetDP.l" return tStore ; YY_BREAK case 239: YY_RULE_SETUP #line 332 "GetDP.l" return tLastTimeStepOnly ; YY_BREAK case 240: YY_RULE_SETUP #line 334 "GetDP.l" return tIf ; YY_BREAK case 241: YY_RULE_SETUP #line 335 "GetDP.l" return tElse ; YY_BREAK case 242: YY_RULE_SETUP #line 336 "GetDP.l" return tEndIf ; YY_BREAK case 243: YY_RULE_SETUP #line 337 "GetDP.l" return tFor ; YY_BREAK case 244: YY_RULE_SETUP #line 338 "GetDP.l" return tEndFor ; YY_BREAK case 245: YY_RULE_SETUP #line 340 "GetDP.l" return tDecomposeInSimplex ; YY_BREAK case 246: YY_RULE_SETUP #line 341 "GetDP.l" return tStr ; YY_BREAK case 247: YY_RULE_SETUP #line 342 "GetDP.l" return tDate ; YY_BREAK case 248: YY_RULE_SETUP #line 344 "GetDP.l" return tFlag ; YY_BREAK case 249: YY_RULE_SETUP #line 346 "GetDP.l" return tHelp ; YY_BREAK case 250: YY_RULE_SETUP #line 347 "GetDP.l" return tCheck ; YY_BREAK case 251: YY_RULE_SETUP #line 348 "GetDP.l" return tCpu ; YY_BREAK case 252: YY_RULE_SETUP #line 350 "GetDP.l" return tEquation ; YY_BREAK case 253: YY_RULE_SETUP #line 351 "GetDP.l" return tQuantity ; YY_BREAK case 254: YY_RULE_SETUP #line 352 "GetDP.l" return tGalerkin ; YY_BREAK case 255: YY_RULE_SETUP #line 354 "GetDP.l" { yylval.i = atoi(yytext) ; return tINT ; } YY_BREAK case 256: #line 357 "GetDP.l" case 257: #line 358 "GetDP.l" case 258: YY_RULE_SETUP #line 358 "GetDP.l" { yylval.d = atof(yytext) ; return tFLOAT ; } YY_BREAK case 259: YY_RULE_SETUP #line 360 "GetDP.l" { yylval.c = strsave((char*)yytext) ; return tSTRING ; } YY_BREAK case 260: YY_RULE_SETUP #line 362 "GetDP.l" return yytext[0] ; YY_BREAK case 261: YY_RULE_SETUP #line 364 "GetDP.l" ECHO; YY_BREAK #line 2841 "GetDP.yy.c" 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; 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); if ( yy_accept[yy_current_state] ) { yy_last_accepting_state = yy_current_state; yy_last_accepting_cpos = 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 >= 1507 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; } 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 char *yy_cp = yy_c_buf_p; register YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { yy_last_accepting_state = yy_current_state; yy_last_accepting_cpos = 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 >= 1507 ) 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 == 1506); 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; 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 364 "GetDP.l" #undef yywrap int yywrap() { return(1); } #ifdef __cplusplus #define input yyinput #endif void C_comments(void) { int c; while(1) { while((c = input()) != '*'){ if(c == '\n') yylinenum++ ; if(c == EOF) { fprintf(stderr, "Error: End of file in commented region\n") ; exit(1); } } if((c = input()) == '/') return ; unput(c) ; } } void CC_comments(void) { int c; while(1){ c = input(); if(c == '\n' || c == EOF) break; } yylinenum++ ; } void parsestring(char endchar) { int c, i; char tmp[2048]; c = input(); i = 0; while(c != endchar){ if(c == EOF) { Msg(GERROR, "End of file in string") ; yycolnum=0 ; break; } else if(c == '\n') { yycolnum=0 ; } else if(i >= (int)sizeof(tmp)-1) { Msg(GERROR, "String too long") ; break; } else { tmp[i++] = c; } c = input(); } tmp[i] = '\0'; yylval.c = strsave(tmp); } char *strsave(char *string) { return ((char *)strcpy((char *)Malloc(strlen(string)+1), string)); } void skip_until(char *skip, char *until){ int i, nb_skip; int l, l_skip, l_until; char chars[256]; int c_next, c_next_skip, c_next_until; nb_skip = 0 ; if(skip) l_skip = strlen(skip); else l_skip = 0 ; l_until = strlen(until); while(1){ while (1){ chars[0] = input(); if(chars[0] == '\n') yylinenum++ ; if(chars[0] == (char)EOF){ Msg(GERROR, "Unexpected end of file") ; return; } if(chars[0] == '/'){ c_next = input(); if (c_next == '*') C_comments(); else if(c_next == '/') CC_comments(); else unput(c_next); } if(chars[0] == until[0]) break; if(skip && chars[0] == skip[0]) break; } l = (l_skip > l_until) ? l_skip : l_until ; if(l >= (int)sizeof(chars)){ Msg(GERROR, "Search pattern too long in skip_until"); return; } for(i = 1 ; i < l ; i++){ chars[i] = input(); if(chars[i] == '\n') yylinenum++ ; if(chars[i] == (char)EOF){ l = i; break; } } c_next = input(); unput(c_next); c_next_skip = (l_skip='a' && c_next_until<='z') && !(c_next_until>='A' && c_next_until<='Z') && c_next_until!='_' ) ){ if(!nb_skip){ return; } else{ nb_skip--; } } else if(skip && !strncmp(chars,skip,l_skip) && (!(c_next_skip>='a' && c_next_skip<='z') && !(c_next_skip>='A' && c_next_skip<='Z') && c_next_skip!='_' ) ){ nb_skip++; } else{ for(i = 1; i < l - 1; i++){ unput(chars[l-i]); if(chars[l-i] == '\n') yylinenum-- ; } } } } void hack_fsetpos_printf(void) { char chars[5]; int c = input(), c2 = input(), c3 = input(); unput(c3); unput(c2); unput(c); chars[0] = c; chars[1] = c2; chars[2] = c3; chars[3] = 0; printf("++++++ c: %d %d %d /%s/\n", (int)c, (int)c2, (int)c3, chars); } void hack_fsetpos(void) { int c = input(); }