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"
10 #include <drizzled/execute/parser.h>
11 #include <drizzled/execute/context.h>
12 #include <drizzled/execute/symbol.h>
13 #include <drizzled/lex_string.h>
15 using namespace drizzled;
17 #ifndef __INTEL_COMPILER
18 #pragma GCC diagnostic ignored "-Wold-style-cast"
19 #pragma GCC diagnostic ignored "-Wsign-compare"
20 #pragma GCC diagnostic ignored "-Wunused-parameter"
21 #pragma GCC diagnostic ignored "-Wmissing-declarations"
24 #define YY_EXTRA_TYPE ::drizzled::execute::Context*
29 #line 30 "drizzled/execute/scanner.h"
31 #define YY_INT_ALIGNED short int
38 #define YY_FLEX_MAJOR_VERSION 2
39 #define YY_FLEX_MINOR_VERSION 5
40 #define YY_FLEX_SUBMINOR_VERSION 35
41 #if YY_FLEX_SUBMINOR_VERSION > 0
78 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
83 #ifndef __STDC_LIMIT_MACROS
84 #define __STDC_LIMIT_MACROS 1
88 typedef int8_t flex_int8_t;
89 typedef uint8_t flex_uint8_t;
90 typedef int16_t flex_int16_t;
91 typedef uint16_t flex_uint16_t;
92 typedef int32_t flex_int32_t;
93 typedef uint32_t flex_uint32_t;
95 typedef signed char flex_int8_t;
96 typedef short int flex_int16_t;
97 typedef int flex_int32_t;
98 typedef unsigned char flex_uint8_t;
99 typedef unsigned short int flex_uint16_t;
100 typedef unsigned int flex_uint32_t;
104 #define INT8_MIN (-128)
107 #define INT16_MIN (-32767-1)
110 #define INT32_MIN (-2147483647-1)
113 #define INT8_MAX (127)
116 #define INT16_MAX (32767)
119 #define INT32_MAX (2147483647)
122 #define UINT8_MAX (255U)
125 #define UINT16_MAX (65535U)
128 #define UINT32_MAX (4294967295U)
148 #if defined (__STDC__)
156 #define yyconst const
168 #ifndef YY_TYPEDEF_YY_SCANNER_T
169 #define YY_TYPEDEF_YY_SCANNER_T
170 typedef void* yyscan_t;
175 #define yyin yyg->yyin_r
176 #define yyout yyg->yyout_r
177 #define yyextra yyg->yyextra_r
178 #define yyleng yyg->yyleng_r
179 #define yytext yyg->yytext_r
180 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
181 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
182 #define yy_flex_debug yyg->yy_flex_debug_r
196 #define YY_BUF_SIZE 32768
198 #define YY_BUF_SIZE 16384
202 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
203 #define YY_TYPEDEF_YY_BUFFER_STATE
215 #ifndef YY_TYPEDEF_YY_SIZE_T
216 #define YY_TYPEDEF_YY_SIZE_T
217 typedef size_t yy_size_t;
220 #ifndef YY_STRUCT_YY_BUFFER_STATE
221 #define YY_STRUCT_YY_BUFFER_STATE
237 yy_size_t yy_buf_size;
248 int yy_is_our_buffer;
255 int yy_is_interactive;
271 int yy_buffer_status;
288 void execute_restart (FILE *input_file ,yyscan_t yyscanner );
289 void execute__switch_to_buffer (
YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
290 YY_BUFFER_STATE execute__create_buffer (FILE *file,
int size ,yyscan_t yyscanner );
293 void execute_push_buffer_state (
YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
294 void execute_pop_buffer_state (yyscan_t yyscanner );
296 YY_BUFFER_STATE execute__scan_buffer (
char *base,yy_size_t size ,yyscan_t yyscanner );
297 YY_BUFFER_STATE execute__scan_string (yyconst
char *yy_str ,yyscan_t yyscanner );
298 YY_BUFFER_STATE execute__scan_bytes (yyconst
char *bytes,
int len ,yyscan_t yyscanner );
302 void *execute_alloc (yy_size_t ,yyscan_t yyscanner );
303 void *execute_realloc (
void *,yy_size_t ,yyscan_t yyscanner );
304 void execute_free (
void * ,yyscan_t yyscanner );
309 #define execute_wrap(n) 1
310 #define YY_SKIP_YYWRAP
314 #define yytext_ptr yytext_r
320 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
325 #ifndef YY_NO_UNISTD_H
337 #ifndef YY_EXTRA_TYPE
338 #define YY_EXTRA_TYPE void *
350 int execute_lex_init (yyscan_t* scanner);
352 int execute_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
361 int execute_lex_destroy (yyscan_t yyscanner );
363 int execute_get_debug (yyscan_t yyscanner );
365 void execute_set_debug (
int debug_flag ,yyscan_t yyscanner );
367 YY_EXTRA_TYPE execute_get_extra (yyscan_t yyscanner );
369 void execute_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
371 FILE *execute_get_in (yyscan_t yyscanner );
373 void execute_set_in (FILE * in_str ,yyscan_t yyscanner );
375 FILE *execute_get_out (yyscan_t yyscanner );
377 void execute_set_out (FILE * out_str ,yyscan_t yyscanner );
379 int execute_get_leng (yyscan_t yyscanner );
381 char *execute_get_text (yyscan_t yyscanner );
383 int execute_get_lineno (yyscan_t yyscanner );
385 void execute_set_lineno (
int line_number ,yyscan_t yyscanner );
389 YYSTYPE * execute_get_lval (yyscan_t yyscanner );
391 void execute_set_lval (
YYSTYPE * yylval_param ,yyscan_t yyscanner );
399 #ifndef YY_SKIP_YYWRAP
401 extern "C" int execute_wrap (yyscan_t yyscanner );
403 extern int execute_wrap (yyscan_t yyscanner );
412 static void yy_flex_strncpy (
char *,yyconst
char *,
int ,yyscan_t yyscanner);
415 #ifdef YY_NEED_STRLEN
416 static int yy_flex_strlen (yyconst
char * ,yyscan_t yyscanner);
431 #ifndef YY_READ_BUF_SIZE
434 #define YY_READ_BUF_SIZE 16384
436 #define YY_READ_BUF_SIZE 8192
441 #ifndef YY_START_STACK_INCR
442 #define YY_START_STACK_INCR 25
454 #define YY_DECL_IS_OURS 1
457 extern int execute_lex \
458 (
YYSTYPE * yylval_param ,yyscan_t yyscanner);
460 #define YY_DECL int execute_lex \
461 (YYSTYPE * yylval_param , yyscan_t yyscanner)
480 #undef YY_FLUSH_BUFFER
483 #undef yy_set_interactive
484 #undef YY_DO_BEFORE_ACTION
486 #ifdef YY_DECL_IS_OURS
487 #undef YY_DECL_IS_OURS
491 #line 138 "drizzled/execute/scanner.l"
494 #line 495 "drizzled/execute/scanner.h"
495 #undef execute_IN_HEADER