#include "univ.i"
#include <stdio.h>
#include "pars0pars.h"
#include "pars0grm.h"
#include "pars0sym.h"
#include "mem0mem.h"
#include "os0proc.h"
Go to the source code of this file.
Data Structures | |
| struct | yy_buffer_state |
Defines | |
| #define | BEGIN yy_start = 1 + 2 * |
| #define | comment 1 |
| #define | ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
| #define | EOB_ACT_CONTINUE_SCAN 0 |
| #define | EOB_ACT_END_OF_FILE 1 |
| #define | EOB_ACT_LAST_MATCH 2 |
| #define | exit(A) ut_error |
| #define | FLEX_SCANNER |
| #define | free(A) ut_free(A) |
| #define | INITIAL 0 |
| #define | malloc(A) ut_malloc(A) |
| #define | quoted 2 |
| #define | realloc(P, A) ut_realloc(P, A) |
| #define | REJECT reject_used_but_not_detected |
| #define | unput(c) yyunput( c, yytext_ptr ) |
| #define | YY_AT_BOL() (yy_current_buffer->yy_at_bol) |
| #define | YY_BREAK break; |
| #define | YY_BUF_SIZE 16384 |
| #define | YY_BUFFER_EOF_PENDING 2 |
| #define | YY_BUFFER_NEW 0 |
| #define | YY_BUFFER_NORMAL 1 |
| #define | YY_CURRENT_BUFFER yy_current_buffer |
| #define | YY_DECL int yylex YY_PROTO(( void )) |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_END_OF_BUFFER 108 |
| #define | YY_END_OF_BUFFER_CHAR 0 |
| #define | YY_EXIT_FAILURE 2 |
| #define | YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 5 |
| #define | YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) |
| #define | YY_INPUT(buf, result, max_size) pars_get_lex_chars(buf, &result, max_size) |
| #define | YY_MORE_ADJ 0 |
| #define | YY_NEVER_INTERACTIVE 1 |
| #define | yy_new_buffer yy_create_buffer |
| #define | YY_NEW_FILE yyrestart( yyin ) |
| #define | YY_NO_INPUT 1 |
| #define | YY_NO_POP_STATE 1 |
| #define | YY_NO_PUSH_STATE 1 |
| #define | YY_NO_SCAN_BUFFER 1 |
| #define | YY_NO_SCAN_BYTES 1 |
| #define | YY_NO_SCAN_STRING 1 |
| #define | YY_NO_TOP_STATE 1 |
| #define | YY_NO_UNPUT 1 |
| #define | YY_NULL 0 |
| #define | YY_NUM_RULES 107 |
| #define | YY_PROTO(proto) () |
| #define | YY_READ_BUF_SIZE 8192 |
| #define | YY_RESTORE_YY_MORE_OFFSET |
| #define | YY_RULE_SETUP YY_USER_ACTION |
| #define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
| #define | yy_set_bol(at_bol) |
| #define | yy_set_interactive(is_interactive) |
| #define | YY_SKIP_YYWRAP |
| #define | YY_START ((yy_start - 1) / 2) |
| #define | YY_START_STACK_INCR 25 |
| #define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
| #define | yyconst |
| #define | yyless(n) |
| #define | yymore() yymore_used_but_not_detected |
| #define | YYSTATE YY_START |
| #define | YYSTYPE que_node_t* |
| #define | yyterminate() return YY_NULL |
| #define | yytext_ptr yytext |
| #define | yywrap() 1 |
Typedefs | |
| typedef yy_buffer_state * | YY_BUFFER_STATE |
| typedef unsigned char | YY_CHAR |
| typedef unsigned int | yy_size_t |
| typedef int | yy_state_type |
Functions | |
| static void | string_append (const char *str, ulint len) |
Variables | |
| FILE * | file |
| int | size |
| static char * | stringbuf |
| static ulint | stringbuf_len = 0 |
| static ulint | stringbuf_len_alloc = 0 |
| static yyconst short int | yy_accept [367] |
| static yyconst short int | yy_base [373] |
| static char * | yy_c_buf_p = (char *) 0 |
| static yyconst short int | yy_chk [445] |
| static yyconst short int | yy_def [373] |
| static int | yy_did_buffer_switch_on_eof |
| static yyconst int | yy_ec [256] |
| static char | yy_hold_char |
| static int | yy_init = 1 |
| static char * | yy_last_accepting_cpos |
| static yy_state_type | yy_last_accepting_state |
| static yyconst int | yy_meta [49] |
| static int | yy_n_chars |
| static yyconst short int | yy_nxt [445] |
| FILE * | yyin = (FILE *) 0 |
| int | yyleng |
| FILE * | yyout = (FILE *) 0 |
| char * | yytext |
|
|
|
|
|
Definition at line 676 of file lexyy.c. Referenced by get_schema_tables_record(), my_print_help(), mysqld_show_column_types(), openfrm(), and print_index(). |
|
|
Definition at line 760 of file lexyy.c. Referenced by get_tty_password(), prepare_terminal_settings(), and rl_initialize(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 678 of file lexyy.c. Referenced by get_arg(), and tokenize_args(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: yytext_ptr = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yy_c_buf_p = yy_cp; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: { \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
|
|
|
Value: { \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: 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 ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 655 of file lexyy.c. References malloc, memcpy, NULL, and realloc. 00657 : string to be appended */ 00658 ulint len) /* in: length of the string */ 00659 { 00660 if (stringbuf == NULL) { 00661 stringbuf = malloc(1); 00662 stringbuf_len_alloc = 1; 00663 } 00664 00665 if (stringbuf_len + len > stringbuf_len_alloc) { 00666 while (stringbuf_len + len > stringbuf_len_alloc) { 00667 stringbuf_len_alloc <<= 1; 00668 } 00669 stringbuf = realloc(stringbuf, stringbuf_len_alloc); 00670 } 00671 00672 memcpy(stringbuf + stringbuf_len, str, len); 00673 stringbuf_len += len; 00674 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value:
{ 0,
1, 1, 1, 1, 2, 1, 1, 3, 1, 1,
1, 1, 1, 4, 1, 1, 1, 1, 1, 1,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 1, 1
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 583 of file lexyy.c. Referenced by yyerror(). |
1.4.3