1 #ifndef execute_HEADER_H
2 #define execute_HEADER_H 1
3 #define execute_IN_HEADER 1
5 #line 6 "drizzled/execute/scanner.h"
6 #line 41 "drizzled/execute/scanner.l"
11 #ifndef execute_HEADER_H
12 # define execute_HEADER_H 1
15 #include "drizzled/execute/common.h"
16 #include "drizzled/lex_string.h"
18 using namespace drizzled;
20 #ifndef __INTEL_COMPILER
21 #pragma GCC diagnostic ignored "-Wold-style-cast"
22 #pragma GCC diagnostic ignored "-Wsign-compare"
23 #pragma GCC diagnostic ignored "-Wunused-parameter"
24 #pragma GCC diagnostic ignored "-Wmissing-declarations"
28 # define YY_EXTRA_TYPE drizzled::execute::Context*
34 #line 35 "drizzled/execute/scanner.h"
36 #define YY_INT_ALIGNED short int
43 #define YY_FLEX_MAJOR_VERSION 2
44 #define YY_FLEX_MINOR_VERSION 5
45 #define YY_FLEX_SUBMINOR_VERSION 35
46 #if YY_FLEX_SUBMINOR_VERSION > 0
83 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
88 #ifndef __STDC_LIMIT_MACROS
89 #define __STDC_LIMIT_MACROS 1
93 typedef int8_t flex_int8_t;
94 typedef uint8_t flex_uint8_t;
95 typedef int16_t flex_int16_t;
96 typedef uint16_t flex_uint16_t;
97 typedef int32_t flex_int32_t;
98 typedef uint32_t flex_uint32_t;
100 typedef signed char flex_int8_t;
101 typedef short int flex_int16_t;
102 typedef int flex_int32_t;
103 typedef unsigned char flex_uint8_t;
104 typedef unsigned short int flex_uint16_t;
105 typedef unsigned int flex_uint32_t;
109 #define INT8_MIN (-128)
112 #define INT16_MIN (-32767-1)
115 #define INT32_MIN (-2147483647-1)
118 #define INT8_MAX (127)
121 #define INT16_MAX (32767)
124 #define INT32_MAX (2147483647)
127 #define UINT8_MAX (255U)
130 #define UINT16_MAX (65535U)
133 #define UINT32_MAX (4294967295U)
153 #if defined (__STDC__)
161 #define yyconst const
173 #ifndef YY_TYPEDEF_YY_SCANNER_T
174 #define YY_TYPEDEF_YY_SCANNER_T
175 typedef void* yyscan_t;
180 #define yyin yyg->yyin_r
181 #define yyout yyg->yyout_r
182 #define yyextra yyg->yyextra_r
183 #define yyleng yyg->yyleng_r
184 #define yytext yyg->yytext_r
185 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
186 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
187 #define yy_flex_debug yyg->yy_flex_debug_r
201 #define YY_BUF_SIZE 32768
203 #define YY_BUF_SIZE 16384
207 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
208 #define YY_TYPEDEF_YY_BUFFER_STATE
220 #ifndef YY_TYPEDEF_YY_SIZE_T
221 #define YY_TYPEDEF_YY_SIZE_T
222 typedef size_t yy_size_t;
225 #ifndef YY_STRUCT_YY_BUFFER_STATE
226 #define YY_STRUCT_YY_BUFFER_STATE
242 yy_size_t yy_buf_size;
253 int yy_is_our_buffer;
260 int yy_is_interactive;
276 int yy_buffer_status;
293 void execute_restart (FILE *input_file ,yyscan_t yyscanner );
294 void execute__switch_to_buffer (
YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
295 YY_BUFFER_STATE execute__create_buffer (FILE *file,
int size ,yyscan_t yyscanner );
298 void execute_push_buffer_state (
YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
299 void execute_pop_buffer_state (yyscan_t yyscanner );
301 YY_BUFFER_STATE execute__scan_buffer (
char *base,yy_size_t size ,yyscan_t yyscanner );
302 YY_BUFFER_STATE execute__scan_string (yyconst
char *yy_str ,yyscan_t yyscanner );
303 YY_BUFFER_STATE execute__scan_bytes (yyconst
char *bytes,
int len ,yyscan_t yyscanner );
307 void *execute_alloc (yy_size_t ,yyscan_t yyscanner );
308 void *execute_realloc (
void *,yy_size_t ,yyscan_t yyscanner );
309 void execute_free (
void * ,yyscan_t yyscanner );
314 #define execute_wrap(n) 1
315 #define YY_SKIP_YYWRAP
319 #define yytext_ptr yytext_r
325 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
330 #ifndef YY_NO_UNISTD_H
342 #ifndef YY_EXTRA_TYPE
343 #define YY_EXTRA_TYPE void *
355 int execute_lex_init (yyscan_t* scanner);
357 int execute_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
366 int execute_lex_destroy (yyscan_t yyscanner );
368 int execute_get_debug (yyscan_t yyscanner );
370 void execute_set_debug (
int debug_flag ,yyscan_t yyscanner );
372 YY_EXTRA_TYPE execute_get_extra (yyscan_t yyscanner );
374 void execute_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
376 FILE *execute_get_in (yyscan_t yyscanner );
378 void execute_set_in (FILE * in_str ,yyscan_t yyscanner );
380 FILE *execute_get_out (yyscan_t yyscanner );
382 void execute_set_out (FILE * out_str ,yyscan_t yyscanner );
384 int execute_get_leng (yyscan_t yyscanner );
386 char *execute_get_text (yyscan_t yyscanner );
388 int execute_get_lineno (yyscan_t yyscanner );
390 void execute_set_lineno (
int line_number ,yyscan_t yyscanner );
392 int execute_get_column (yyscan_t yyscanner );
394 void execute_set_column (
int column_no ,yyscan_t yyscanner );
398 YYSTYPE * execute_get_lval (yyscan_t yyscanner );
400 void execute_set_lval (
YYSTYPE * yylval_param ,yyscan_t yyscanner );
408 #ifndef YY_SKIP_YYWRAP
410 extern "C" int execute_wrap (yyscan_t yyscanner );
412 extern int execute_wrap (yyscan_t yyscanner );
421 static void yy_flex_strncpy (
char *,yyconst
char *,
int ,yyscan_t yyscanner);
424 #ifdef YY_NEED_STRLEN
425 static int yy_flex_strlen (yyconst
char * ,yyscan_t yyscanner);
440 #ifndef YY_READ_BUF_SIZE
443 #define YY_READ_BUF_SIZE 16384
445 #define YY_READ_BUF_SIZE 8192
450 #ifndef YY_START_STACK_INCR
451 #define YY_START_STACK_INCR 25
463 #define YY_DECL_IS_OURS 1
466 extern int execute_lex \
467 (
YYSTYPE * yylval_param ,yyscan_t yyscanner);
469 #define YY_DECL int execute_lex \
470 (YYSTYPE * yylval_param , yyscan_t yyscanner)
489 #undef YY_FLUSH_BUFFER
492 #undef yy_set_interactive
493 #undef YY_DO_BEFORE_ACTION
495 #ifdef YY_DECL_IS_OURS
496 #undef YY_DECL_IS_OURS
500 #line 143 "drizzled/execute/scanner.l"
503 #line 504 "drizzled/execute/scanner.h"
504 #undef execute_IN_HEADER