4 #define YY_INT_ALIGNED short int 9 #define YY_FLEX_MAJOR_VERSION 2 10 #define YY_FLEX_MINOR_VERSION 6 11 #define YY_FLEX_SUBMINOR_VERSION 4 12 #if YY_FLEX_SUBMINOR_VERSION > 0 33 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 38 #ifndef __STDC_LIMIT_MACROS 39 #define __STDC_LIMIT_MACROS 1 59 #define INT8_MIN (-128) 62 #define INT16_MIN (-32767-1) 65 #define INT32_MIN (-2147483647-1) 68 #define INT8_MAX (127) 71 #define INT16_MAX (32767) 74 #define INT32_MAX (2147483647) 77 #define UINT8_MAX (255U) 80 #define UINT16_MAX (65535U) 83 #define UINT32_MAX (4294967295U) 87 #define SIZE_MAX (~(size_t)0) 99 #if defined(__GNUC__) && __GNUC__ >= 3 100 #define yynoreturn __attribute__((__noreturn__)) 111 #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) 117 #define BEGIN (yy_start) = 1 + 2 * 122 #define YY_START (((yy_start) - 1) / 2) 123 #define YYSTATE YY_START 125 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 127 #define YY_NEW_FILE yyrestart( yyin ) 128 #define YY_END_OF_BUFFER_CHAR 0 137 #define YY_BUF_SIZE 32768 139 #define YY_BUF_SIZE 16384 145 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) 147 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 148 #define YY_TYPEDEF_YY_BUFFER_STATE 152 #ifndef YY_TYPEDEF_YY_SIZE_T 153 #define YY_TYPEDEF_YY_SIZE_T 161 #define EOB_ACT_CONTINUE_SCAN 0 162 #define EOB_ACT_END_OF_FILE 1 163 #define EOB_ACT_LAST_MATCH 2 165 #define YY_LESS_LINENO(n) 166 #define YY_LINENO_REWIND_TO(ptr) 173 int yyless_macro_arg = (n); \ 174 YY_LESS_LINENO(yyless_macro_arg);\ 175 *yy_cp = (yy_hold_char); \ 176 YY_RESTORE_YY_MORE_OFFSET \ 177 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 178 YY_DO_BEFORE_ACTION; \ 181 #define unput(c) yyunput( c, (yytext_ptr) ) 183 #ifndef YY_STRUCT_YY_BUFFER_STATE 184 #define YY_STRUCT_YY_BUFFER_STATE 185 struct yy_buffer_state
206 int yy_is_our_buffer;
213 int yy_is_interactive;
229 int yy_buffer_status;
231 #define YY_BUFFER_NEW 0 232 #define YY_BUFFER_NORMAL 1 243 #define YY_BUFFER_EOF_PENDING 2 249 static size_t yy_buffer_stack_top = 0;
250 static size_t yy_buffer_stack_max = 0;
259 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ 260 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ 265 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 268 static char yy_hold_char;
269 static int yy_n_chars;
273 static char *yy_c_buf_p =
NULL;
274 static int yy_init = 0;
275 static int yy_start = 0;
280 static int yy_did_buffer_switch_on_eof;
290 static void yyensure_buffer_stack (
void );
291 static void yy_load_buffer_state (
void );
293 #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) 303 #define yy_new_buffer yy_create_buffer 304 #define yy_set_interactive(is_interactive) \ 306 if ( ! YY_CURRENT_BUFFER ){ \ 307 yyensure_buffer_stack (); \ 308 YY_CURRENT_BUFFER_LVALUE = \ 309 yy_create_buffer( yyin, YY_BUF_SIZE ); \ 311 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 313 #define yy_set_bol(at_bol) \ 315 if ( ! YY_CURRENT_BUFFER ){\ 316 yyensure_buffer_stack (); \ 317 YY_CURRENT_BUFFER_LVALUE = \ 318 yy_create_buffer( yyin, YY_BUF_SIZE ); \ 320 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 322 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 338 #define yytext_ptr yytext 342 static int yy_get_next_buffer (
void );
343 static void yynoreturn yy_fatal_error (
const char* msg );
348 #define YY_DO_BEFORE_ACTION \ 349 (yytext_ptr) = yy_bp; \ 350 (yytext_ptr) -= (yy_more_len); \ 351 yyleng = (int) (yy_cp - (yytext_ptr)); \ 352 (yy_hold_char) = *yy_cp; \ 354 (yy_c_buf_p) = yy_cp; 355 #define YY_NUM_RULES 54 356 #define YY_END_OF_BUFFER 55 366 0, 0, 55, 53, 51, 50, 53, 40, 40, 40,
367 42, 35, 33, 36, 41, 41, 41, 41, 41, 41,
368 41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
369 39, 51, 0, 49, 48, 0, 43, 0, 44, 42,
370 0, 37, 34, 38, 41, 41, 41, 41, 41, 28,
371 41, 41, 41, 41, 41, 41, 41, 41, 31, 41,
372 41, 41, 25, 41, 41, 41, 41, 41, 41, 41,
373 0, 0, 52, 0, 47, 44, 0, 0, 45, 1,
374 41, 13, 29, 41, 41, 41, 41, 41, 41, 41,
375 41, 41, 19, 41, 26, 41, 41, 41, 41, 9,
377 41, 41, 41, 41, 41, 41, 0, 46, 41, 41,
378 41, 23, 41, 30, 41, 15, 5, 41, 41, 7,
379 32, 17, 41, 41, 41, 41, 24, 41, 41, 41,
380 41, 2, 41, 41, 41, 41, 41, 41, 27, 41,
381 41, 16, 41, 41, 41, 12, 3, 14, 4, 21,
382 6, 41, 41, 8, 10, 11, 41, 20, 41, 18,
386 static const YY_CHAR yy_ec[256] =
388 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
389 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
390 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
391 1, 2, 1, 1, 1, 1, 1, 1, 4, 5,
392 5, 5, 6, 5, 7, 8, 5, 9, 9, 9,
393 9, 9, 9, 9, 9, 9, 9, 5, 5, 10,
394 11, 12, 1, 1, 13, 14, 15, 16, 17, 18,
395 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
396 22, 29, 30, 31, 32, 33, 34, 22, 35, 22,
397 1, 1, 1, 1, 36, 1, 13, 14, 15, 16,
399 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
400 27, 28, 22, 29, 30, 31, 32, 33, 34, 22,
401 35, 22, 1, 1, 1, 37, 1, 1, 1, 1,
402 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
403 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
404 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
405 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
406 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
407 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
408 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
410 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
411 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
412 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
413 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
414 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
418 static const YY_CHAR yy_meta[38] =
420 1, 1, 1, 1, 1, 1, 1, 1, 2, 1,
421 1, 1, 2, 2, 2, 2, 2, 2, 2, 2,
422 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
428 0, 0, 194, 195, 191, 195, 35, 195, 185, 31,
429 33, 32, 195, 180, 29, 155, 20, 39, 0, 160,
430 28, 167, 19, 158, 157, 168, 44, 156, 170, 162,
431 195, 179, 57, 176, 195, 176, 53, 65, 58, 68,
432 72, 195, 195, 195, 0, 162, 146, 160, 160, 0,
433 150, 156, 141, 39, 139, 143, 142, 52, 0, 145,
434 136, 142, 149, 147, 49, 149, 137, 145, 60, 143,
435 155, 155, 195, 148, 147, 77, 81, 146, 145, 0,
436 136, 0, 0, 120, 138, 133, 132, 133, 133, 118,
437 120, 127, 74, 126, 0, 118, 124, 125, 122, 0,
439 114, 120, 123, 103, 119, 104, 123, 122, 101, 104,
440 97, 0, 96, 0, 102, 0, 0, 96, 105, 0,
441 0, 0, 94, 101, 106, 103, 0, 88, 101, 97,
442 99, 0, 89, 97, 96, 95, 80, 93, 0, 79,
443 77, 0, 83, 69, 85, 0, 0, 0, 0, 0,
444 0, 68, 75, 0, 0, 0, 66, 0, 66, 0,
445 66, 0, 195, 101, 62, 103, 105
450 163, 1, 163, 163, 163, 163, 164, 163, 163, 163,
451 163, 163, 163, 163, 165, 165, 165, 165, 165, 165,
452 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
453 163, 163, 164, 166, 163, 167, 163, 163, 163, 163,
454 163, 163, 163, 163, 165, 165, 165, 165, 165, 165,
455 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
456 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
457 166, 167, 163, 163, 163, 163, 163, 163, 163, 165,
458 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
459 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
461 165, 165, 165, 165, 165, 165, 163, 163, 165, 165,
462 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
463 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
464 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
465 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
466 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
467 165, 165, 0, 163, 163, 163, 163
472 4, 5, 6, 7, 8, 8, 9, 10, 11, 12,
473 13, 14, 15, 16, 17, 18, 19, 20, 19, 19,
474 21, 19, 19, 22, 19, 23, 24, 25, 19, 26,
475 27, 28, 29, 30, 19, 4, 31, 34, 35, 37,
476 39, 40, 42, 43, 46, 61, 51, 38, 52, 41,
477 62, 53, 47, 58, 48, 54, 66, 59, 49, 34,
478 35, 37, 87, 45, 67, 55, 76, 56, 88, 38,
479 74, 74, 99, 75, 77, 39, 40, 78, 78, 100,
480 79, 92, 93, 104, 41, 76, 107, 107, 105, 108,
481 119, 162, 161, 77, 160, 159, 158, 157, 156, 155,
483 120, 33, 33, 71, 71, 72, 72, 154, 153, 152,
484 151, 150, 149, 148, 147, 146, 145, 144, 143, 142,
485 141, 140, 139, 138, 137, 136, 135, 134, 133, 132,
486 108, 108, 131, 130, 129, 128, 127, 126, 125, 124,
487 123, 122, 121, 118, 117, 116, 115, 114, 113, 112,
488 111, 110, 109, 79, 79, 75, 75, 73, 35, 106,
489 103, 102, 101, 98, 97, 96, 95, 94, 91, 90,
490 89, 86, 85, 84, 83, 82, 81, 80, 73, 35,
491 32, 70, 69, 68, 65, 64, 63, 60, 57, 50,
492 44, 36, 32, 163, 3, 163, 163, 163, 163, 163,
494 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
495 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
496 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
502 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
503 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
504 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
505 1, 1, 1, 1, 1, 1, 1, 7, 7, 10,
506 11, 11, 12, 12, 15, 23, 17, 10, 17, 11,
507 23, 18, 15, 21, 15, 18, 27, 21, 15, 33,
508 33, 37, 54, 165, 27, 18, 39, 18, 54, 37,
509 38, 38, 65, 38, 39, 40, 40, 41, 41, 65,
510 41, 58, 58, 69, 40, 76, 77, 77, 69, 77,
511 93, 161, 159, 76, 157, 153, 152, 145, 144, 143,
513 93, 164, 164, 166, 166, 167, 167, 141, 140, 138,
514 137, 136, 135, 134, 133, 131, 130, 129, 128, 126,
515 125, 124, 123, 119, 118, 115, 113, 111, 110, 109,
516 108, 107, 106, 105, 104, 103, 102, 101, 99, 98,
517 97, 96, 94, 92, 91, 90, 89, 88, 87, 86,
518 85, 84, 81, 79, 78, 75, 74, 72, 71, 70,
519 68, 67, 66, 64, 63, 62, 61, 60, 57, 56,
520 55, 53, 52, 51, 49, 48, 47, 46, 36, 34,
521 32, 30, 29, 28, 26, 25, 24, 22, 20, 16,
522 14, 9, 5, 3, 163, 163, 163, 163, 163, 163,
524 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
525 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
526 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
531 static char *yy_last_accepting_cpos;
539 #define REJECT reject_used_but_not_detected 540 static int yy_more_flag = 0;
541 static int yy_more_len = 0;
542 #define yymore() ((yy_more_flag) = 1) 543 #define YY_MORE_ADJ (yy_more_len) 544 #define YY_RESTORE_YY_MORE_OFFSET 576 #define YY_INPUT(b, r, ms) (r = my_yyinput(b, ms)) 589 #ifndef YY_NO_UNISTD_H 597 #ifndef YY_EXTRA_TYPE 598 #define YY_EXTRA_TYPE void * 601 static int yy_init_globals (
void );
636 #ifndef YY_SKIP_YYWRAP 638 extern "C" int yywrap (
void );
640 extern int yywrap (
void );
646 static void yyunput (
int c,
char *buf_ptr );
651 static void yy_flex_strncpy (
char *,
const char *,
int );
654 #ifdef YY_NEED_STRLEN 655 static int yy_flex_strlen (
const char * );
660 static int yyinput (
void );
662 static int input (
void );
668 #ifndef YY_READ_BUF_SIZE 671 #define YY_READ_BUF_SIZE 16384 673 #define YY_READ_BUF_SIZE 8192 682 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 689 #define YY_INPUT(buf,result,max_size) \ 690 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ 694 for ( n = 0; n < max_size && \ 695 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ 698 buf[n++] = (char) c; \ 699 if ( c == EOF && ferror( yyin ) ) \ 700 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 706 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ 708 if( errno != EINTR) \ 710 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 726 #define yyterminate() return YY_NULL 730 #ifndef YY_START_STACK_INCR 731 #define YY_START_STACK_INCR 25 735 #ifndef YY_FATAL_ERROR 736 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) 745 #define YY_DECL_IS_OURS 1 747 extern int yylex (
void);
749 #define YY_DECL int yylex (void) 755 #ifndef YY_USER_ACTION 756 #define YY_USER_ACTION 761 #define YY_BREAK break; 764 #define YY_RULE_SETUP \ 793 yyensure_buffer_stack ();
798 yy_load_buffer_state( );
818 if ( (yy_more_flag) )
820 (yy_more_len) = (
int) ((yy_c_buf_p) - (
yytext_ptr));
823 yy_cp = (yy_c_buf_p);
826 *yy_cp = (yy_hold_char);
833 yy_current_state = (yy_start);
838 if ( yy_accept[yy_current_state] )
840 (yy_last_accepting_state) = yy_current_state;
841 (yy_last_accepting_cpos) = yy_cp;
843 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
845 yy_current_state = (int) yy_def[yy_current_state];
846 if ( yy_current_state >= 164 )
847 yy_c = yy_meta[yy_c];
849 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
852 while ( yy_base[yy_current_state] != 195 );
855 yy_act = yy_accept[yy_current_state];
858 yy_cp = (yy_last_accepting_cpos);
859 yy_current_state = (yy_last_accepting_state);
860 yy_act = yy_accept[yy_current_state];
871 *yy_cp = (yy_hold_char);
872 yy_cp = (yy_last_accepting_cpos);
873 yy_current_state = (yy_last_accepting_state);
1035 yylval.strval = (
char*)strdup(
"~");
1147 char *Buffer, *ptra, *ptrb;
1151 Buffer = (
char*)strdup(
yytext);
1156 len = strlen (Buffer);
1157 Buffer[len-1] =
'\0';
1160 while ( (ptra = strchr(ptrb,
'\'')) !=
NULL ) {
1161 ptra++; ptrb = ptra;
1162 while ( ptra[1] != 0 ) { ptra[0] = ptra[1]; ptra++; }
1166 yylval.strval = (
char*)strdup(Buffer+1);
1183 *yy_cp = (yy_hold_char);
1184 (yy_c_buf_p) = yy_cp -= 1;
1188 {
yyerror(
"Unterminated string"); }
1217 *yy_cp = (yy_hold_char);
1218 (yy_c_buf_p) = yy_cp -= 1;
1239 #line 1240 "<stdout>" 1246 int yy_amount_of_matched_text = (int) (yy_cp - (
yytext_ptr)) - 1;
1249 *yy_cp = (yy_hold_char);
1279 (yy_c_buf_p) = (
yytext_ptr) + yy_amount_of_matched_text;
1281 yy_current_state = yy_get_previous_state( );
1292 yy_next_state = yy_try_NUL_trans( yy_current_state );
1296 if ( yy_next_state )
1299 yy_cp = ++(yy_c_buf_p);
1300 yy_current_state = yy_next_state;
1306 yy_cp = (yy_c_buf_p);
1307 goto yy_find_action;
1311 else switch ( yy_get_next_buffer( ) )
1315 (yy_did_buffer_switch_on_eof) = 0;
1336 if ( ! (yy_did_buffer_switch_on_eof) )
1346 yy_current_state = yy_get_previous_state( );
1348 yy_cp = (yy_c_buf_p);
1356 yy_current_state = yy_get_previous_state( );
1358 yy_cp = (yy_c_buf_p);
1360 goto yy_find_action;
1367 "fatal flex scanner internal error--no action found" );
1380 static int yy_get_next_buffer (
void)
1384 int number_to_move, i;
1389 "fatal flex scanner internal error--end of buffer missed" );
1413 number_to_move = (int) ((yy_c_buf_p) - (
yytext_ptr) - 1);
1415 for ( i = 0; i < number_to_move; ++i )
1416 *(dest++) = *(source++);
1429 while ( num_to_read <= 0 )
1435 int yy_c_buf_p_offset =
1436 (int) ((yy_c_buf_p) - b->yy_ch_buf);
1438 if ( b->yy_is_our_buffer )
1440 int new_size = b->yy_buf_size * 2;
1442 if ( new_size <= 0 )
1443 b->yy_buf_size += b->yy_buf_size / 8;
1445 b->yy_buf_size *= 2;
1447 b->yy_ch_buf = (
char *)
1454 b->yy_ch_buf =
NULL;
1456 if ( ! b->yy_ch_buf )
1458 "fatal error - scanner input buffer overflow" );
1460 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1472 (yy_n_chars), num_to_read );
1477 if ( (yy_n_chars) == 0 )
1498 int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1502 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1507 (yy_n_chars) += number_to_move;
1523 yy_current_state = (yy_start);
1528 if ( yy_accept[yy_current_state] )
1530 (yy_last_accepting_state) = yy_current_state;
1531 (yy_last_accepting_cpos) = yy_cp;
1533 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1535 yy_current_state = (int) yy_def[yy_current_state];
1536 if ( yy_current_state >= 164 )
1537 yy_c = yy_meta[yy_c];
1539 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1542 return yy_current_state;
1553 char *yy_cp = (yy_c_buf_p);
1556 if ( yy_accept[yy_current_state] )
1558 (yy_last_accepting_state) = yy_current_state;
1559 (yy_last_accepting_cpos) = yy_cp;
1561 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1563 yy_current_state = (int) yy_def[yy_current_state];
1564 if ( yy_current_state >= 164 )
1565 yy_c = yy_meta[yy_c];
1567 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1568 yy_is_jam = (yy_current_state == 163);
1570 return yy_is_jam ? 0 : yy_current_state;
1575 static void yyunput (
int c,
char * yy_bp )
1579 yy_cp = (yy_c_buf_p);
1582 *yy_cp = (yy_hold_char);
1584 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1587 int number_to_move = (yy_n_chars) + 2;
1596 yy_cp += (int) (dest - source);
1597 yy_bp += (int) (dest - source);
1601 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1605 *--yy_cp = (char) c;
1608 (yy_hold_char) = *yy_cp;
1609 (yy_c_buf_p) = yy_cp;
1616 static int yyinput (
void)
1618 static int input (
void)
1624 *(yy_c_buf_p) = (yy_hold_char);
1634 *(yy_c_buf_p) =
'\0';
1638 int offset = (int) ((yy_c_buf_p) - (
yytext_ptr));
1641 switch ( yy_get_next_buffer( ) )
1664 if ( ! (yy_did_buffer_switch_on_eof) )
1680 c = *(
unsigned char *) (yy_c_buf_p);
1681 *(yy_c_buf_p) =
'\0';
1682 (yy_hold_char) = *++(yy_c_buf_p);
1697 yyensure_buffer_stack ();
1703 yy_load_buffer_state( );
1718 yyensure_buffer_stack ();
1725 *(yy_c_buf_p) = (yy_hold_char);
1731 yy_load_buffer_state( );
1738 (yy_did_buffer_switch_on_eof) = 1;
1741 static void yy_load_buffer_state (
void)
1746 (yy_hold_char) = *(yy_c_buf_p);
1763 b->yy_buf_size = size;
1769 if ( ! b->yy_ch_buf )
1772 b->yy_is_our_buffer = 1;
1774 yy_init_buffer( b, file );
1792 if ( b->yy_is_our_buffer )
1793 yyfree( (
void *) b->yy_ch_buf );
1809 b->yy_input_file =
file;
1810 b->yy_fill_buffer = 1;
1817 b->yy_bs_lineno = 1;
1818 b->yy_bs_column = 0;
1821 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
1844 b->yy_buf_pos = &b->yy_ch_buf[0];
1850 yy_load_buffer_state( );
1861 if (new_buffer ==
NULL)
1864 yyensure_buffer_stack();
1870 *(yy_c_buf_p) = (yy_hold_char);
1877 (yy_buffer_stack_top)++;
1881 yy_load_buffer_state( );
1882 (yy_did_buffer_switch_on_eof) = 1;
1896 if ((yy_buffer_stack_top) > 0)
1897 --(yy_buffer_stack_top);
1900 yy_load_buffer_state( );
1901 (yy_did_buffer_switch_on_eof) = 1;
1908 static void yyensure_buffer_stack (
void)
1912 if (!(yy_buffer_stack)) {
1919 (yy_buffer_stack) = (
struct yy_buffer_state**)
yyalloc 1920 (num_to_alloc *
sizeof(
struct yy_buffer_state*)
1922 if ( ! (yy_buffer_stack) )
1923 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1925 memset((yy_buffer_stack), 0, num_to_alloc *
sizeof(
struct yy_buffer_state*));
1927 (yy_buffer_stack_max) = num_to_alloc;
1928 (yy_buffer_stack_top) = 0;
1932 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1937 num_to_alloc = (yy_buffer_stack_max) + grow_size;
1938 (yy_buffer_stack) = (
struct yy_buffer_state**)
yyrealloc 1940 num_to_alloc *
sizeof(
struct yy_buffer_state*)
1942 if ( ! (yy_buffer_stack) )
1943 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1946 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size *
sizeof(
struct yy_buffer_state*));
1947 (yy_buffer_stack_max) = num_to_alloc;
1971 b->yy_buf_size = (int) (size - 2);
1972 b->yy_buf_pos = b->yy_ch_buf = base;
1973 b->yy_is_our_buffer = 0;
1974 b->yy_input_file =
NULL;
1975 b->yy_n_chars = b->yy_buf_size;
1976 b->yy_is_interactive = 0;
1978 b->yy_fill_buffer = 0;
2020 for ( i = 0; i < _yybytes_len; ++i )
2021 buf[i] = yybytes[i];
2032 b->yy_is_our_buffer = 1;
2037 #ifndef YY_EXIT_FAILURE 2038 #define YY_EXIT_FAILURE 2 2041 static void yynoreturn yy_fatal_error (
const char* msg )
2043 fprintf( stderr,
"%s\n", msg );
2054 int yyless_macro_arg = (n); \ 2055 YY_LESS_LINENO(yyless_macro_arg);\ 2056 yytext[yyleng] = (yy_hold_char); \ 2057 (yy_c_buf_p) = yytext + yyless_macro_arg; \ 2058 (yy_hold_char) = *(yy_c_buf_p); \ 2059 *(yy_c_buf_p) = '\0'; \ 2060 yyleng = yyless_macro_arg; \ 2144 static int yy_init_globals (
void)
2150 (yy_buffer_stack) =
NULL;
2151 (yy_buffer_stack_top) = 0;
2152 (yy_buffer_stack_max) = 0;
2153 (yy_c_buf_p) =
NULL;
2184 yyfree((yy_buffer_stack) );
2185 (yy_buffer_stack) =
NULL;
2199 static void yy_flex_strncpy (
char* s1,
const char * s2,
int n )
2203 for ( i = 0; i < n; ++i )
2208 #ifdef YY_NEED_STRLEN 2209 static int yy_flex_strlen (
const char * s )
2212 for ( n = 0; s[n]; ++n )
2234 return realloc(ptr, size);
2237 void yyfree (
void * ptr )
2239 free( (
char *) ptr );
2242 #define YYTABLES_NAME "yytables" 2265 n = ( max_size < rest ? max_size : rest );
2287 #ifdef YY_CURRENT_BUFFER
void yyset_debug(int debug_flag)
unsigned short int flex_uint16_t
void yypop_buffer_state(void)
void yy_delete_buffer(YY_BUFFER_STATE b)
unsigned char flex_uint8_t
void yyset_extra(YY_EXTRA_TYPE user_defined)
#define YY_RESTORE_YY_MORE_OFFSET
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)
YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size)
#define YY_INPUT(b, r, ms)
#define YY_END_OF_BUFFER_CHAR
void yyset_out(FILE *_out_str)
char errmsg[SQLP_MAX_ERR+1]
#define EOB_ACT_LAST_MATCH
YY_BUFFER_STATE yy_scan_string(const char *yy_str)
YY_BUFFER_STATE yy_scan_bytes(const char *bytes, int len)
void yyset_lineno(int _line_number)
YY_EXTRA_TYPE yyget_extra(void)
unsigned int flex_uint32_t
#define EOB_ACT_END_OF_FILE
void * yyalloc(yy_size_t)
#define EOB_ACT_CONTINUE_SCAN
struct yy_buffer_state * YY_BUFFER_STATE
#define YY_CURRENT_BUFFER
void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer)
void yyerror(const char *s)
#define COMPARISON_OPERATOR
void yyrestart(FILE *input_file)
#define YY_FATAL_ERROR(msg)
#define YY_CURRENT_BUFFER_LVALUE
int my_yyinput(char *buf, int max_size)
#define YY_DO_BEFORE_ACTION
void yypush_buffer_state(YY_BUFFER_STATE new_buffer)
void yy_flush_buffer(YY_BUFFER_STATE b)
#define YY_STATE_EOF(state)
#define YY_BUFFER_EOF_PENDING
void yyset_in(FILE *_in_str)
void * yyrealloc(void *, yy_size_t)