You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by ji...@apache.org on 2017/04/12 19:34:15 UTC
[12/27] incubator-quickstep git commit: Implement parser and resolver
for UNION and INTERSECT.
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/5b7b5cb8/parser/preprocessed/SqlLexer_gen.cpp
----------------------------------------------------------------------
diff --git a/parser/preprocessed/SqlLexer_gen.cpp b/parser/preprocessed/SqlLexer_gen.cpp
index 1cb0ac8..3a85df6 100644
--- a/parser/preprocessed/SqlLexer_gen.cpp
+++ b/parser/preprocessed/SqlLexer_gen.cpp
@@ -1,6 +1,6 @@
-#line 1 "SqlLexer_gen.cpp"
+#line 2 "SqlLexer_gen.cpp"
-#line 3 "SqlLexer_gen.cpp"
+#line 4 "SqlLexer_gen.cpp"
#define YY_INT_ALIGNED short int
@@ -9,89 +9,11 @@
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 6
-#define YY_FLEX_SUBMINOR_VERSION 3
+#define YY_FLEX_SUBMINOR_VERSION 0
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
- #define yy_create_buffer quickstep_yy_create_buffer
-
- #define yy_delete_buffer quickstep_yy_delete_buffer
-
- #define yy_scan_buffer quickstep_yy_scan_buffer
-
- #define yy_scan_string quickstep_yy_scan_string
-
- #define yy_scan_bytes quickstep_yy_scan_bytes
-
- #define yy_init_buffer quickstep_yy_init_buffer
-
- #define yy_flush_buffer quickstep_yy_flush_buffer
-
- #define yy_load_buffer_state quickstep_yy_load_buffer_state
-
- #define yy_switch_to_buffer quickstep_yy_switch_to_buffer
-
- #define yypush_buffer_state quickstep_yypush_buffer_state
-
- #define yypop_buffer_state quickstep_yypop_buffer_state
-
- #define yyensure_buffer_stack quickstep_yyensure_buffer_stack
-
- #define yylex quickstep_yylex
-
- #define yyrestart quickstep_yyrestart
-
- #define yylex_init quickstep_yylex_init
-
- #define yylex_init_extra quickstep_yylex_init_extra
-
- #define yylex_destroy quickstep_yylex_destroy
-
- #define yyget_debug quickstep_yyget_debug
-
- #define yyset_debug quickstep_yyset_debug
-
- #define yyget_extra quickstep_yyget_extra
-
- #define yyset_extra quickstep_yyset_extra
-
- #define yyget_in quickstep_yyget_in
-
- #define yyset_in quickstep_yyset_in
-
- #define yyget_out quickstep_yyget_out
-
- #define yyset_out quickstep_yyset_out
-
- #define yyget_leng quickstep_yyget_leng
-
- #define yyget_text quickstep_yyget_text
-
- #define yyget_lineno quickstep_yyget_lineno
-
- #define yyset_lineno quickstep_yyset_lineno
-
- #define yyget_column quickstep_yyget_column
-
- #define yyset_column quickstep_yyset_column
-
- #define yywrap quickstep_yywrap
-
- #define yyget_lval quickstep_yyget_lval
-
- #define yyset_lval quickstep_yyset_lval
-
- #define yyget_lloc quickstep_yyget_lloc
-
- #define yyset_lloc quickstep_yyset_lloc
-
- #define yyalloc quickstep_yyalloc
-
- #define yyrealloc quickstep_yyrealloc
-
- #define yyfree quickstep_yyfree
-
/* First, we deal with platform-specific or compiler-specific issues. */
/* begin standard C headers. */
@@ -166,22 +88,36 @@ typedef unsigned int flex_uint32_t;
#endif /* ! FLEXINT_H */
-/* TODO: this is always defined, so inline it */
-#define yyconst const
+#ifdef __cplusplus
-#if defined(__GNUC__) && __GNUC__ >= 3
-#define yynoreturn __attribute__((__noreturn__))
+/* The "const" storage-class-modifier is valid. */
+#define YY_USE_CONST
+
+#else /* ! __cplusplus */
+
+/* C99 requires __STDC__ to be defined as 1. */
+#if defined (__STDC__)
+
+#define YY_USE_CONST
+
+#endif /* defined (__STDC__) */
+#endif /* ! __cplusplus */
+
+#ifdef YY_USE_CONST
+#define yyconst const
#else
-#define yynoreturn
+#define yyconst
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
-/* Promotes a possibly negative, possibly signed char to an
- * integer in range [0..255] for use as an array index.
+/* 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) ((YY_CHAR) (c))
+#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* An opaque pointer. */
#ifndef YY_TYPEDEF_YY_SCANNER_T
@@ -205,16 +141,20 @@ typedef void* yyscan_t;
* definition of BEGIN.
*/
#define BEGIN yyg->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 ((yyg->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 quickstep_yyrestart(yyin ,yyscanner )
+
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
@@ -247,10 +187,10 @@ typedef size_t yy_size_t;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
-
+
/* Note: We specifically omit the test for yy_rule_can_match_eol because it requires
* access to the local variable yy_act. Since yyless() is a macro, it would break
- * existing scanners that call yyless() from OUTSIDE quickstep_yylex.
+ * existing scanners that call yyless() from OUTSIDE quickstep_yylex.
* One obvious solution it to make yy_act a global. I tried that, and saw
* a 5% performance hit in a non-yylineno scanner, because yy_act is
* normally declared as a register variable-- so it is not worth it.
@@ -283,6 +223,7 @@ typedef size_t yy_size_t;
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
+
#define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
#ifndef YY_STRUCT_YY_BUFFER_STATE
@@ -297,12 +238,12 @@ struct yy_buffer_state
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
- int yy_buf_size;
+ yy_size_t yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
- int yy_n_chars;
+ yy_size_t 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
@@ -325,7 +266,7 @@ struct yy_buffer_state
int yy_bs_lineno; /**< The line count. */
int yy_bs_column; /**< The column count. */
-
+
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
@@ -359,33 +300,36 @@ struct yy_buffer_state
#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
: NULL)
+
/* Same as previous macro, but useful when we know that the buffer stack is not
* NULL or when we need an lvalue. For internal use only.
*/
#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
-void quickstep_yyrestart ( FILE *input_file , yyscan_t yyscanner );
-void quickstep_yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
-YY_BUFFER_STATE quickstep_yy_create_buffer ( FILE *file, int size , yyscan_t yyscanner );
-void quickstep_yy_delete_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
-void quickstep_yy_flush_buffer ( YY_BUFFER_STATE b , yyscan_t yyscanner );
-void quickstep_yypush_buffer_state ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner );
-void quickstep_yypop_buffer_state ( yyscan_t yyscanner );
-
-static void quickstep_yyensure_buffer_stack ( yyscan_t yyscanner );
-static void quickstep_yy_load_buffer_state ( yyscan_t yyscanner );
-static void quickstep_yy_init_buffer ( YY_BUFFER_STATE b, FILE *file , yyscan_t yyscanner );
+void quickstep_yyrestart (FILE *input_file ,yyscan_t yyscanner );
+void quickstep_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
+YY_BUFFER_STATE quickstep_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
+void quickstep_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
+void quickstep_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
+void quickstep_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
+void quickstep_yypop_buffer_state (yyscan_t yyscanner );
+
+static void quickstep_yyensure_buffer_stack (yyscan_t yyscanner );
+static void quickstep_yy_load_buffer_state (yyscan_t yyscanner );
+static void quickstep_yy_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
+
#define YY_FLUSH_BUFFER quickstep_yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
-YY_BUFFER_STATE quickstep_yy_scan_buffer ( char *base, yy_size_t size , yyscan_t yyscanner );
-YY_BUFFER_STATE quickstep_yy_scan_string ( const char *yy_str , yyscan_t yyscanner );
-YY_BUFFER_STATE quickstep_yy_scan_bytes ( const char *bytes, int len , yyscan_t yyscanner );
+YY_BUFFER_STATE quickstep_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
+YY_BUFFER_STATE quickstep_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
+YY_BUFFER_STATE quickstep_yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
-void *quickstep_yyalloc ( yy_size_t , yyscan_t yyscanner );
-void *quickstep_yyrealloc ( void *, yy_size_t , yyscan_t yyscanner );
-void quickstep_yyfree ( void * , yyscan_t yyscanner );
+void *quickstep_yyalloc (yy_size_t ,yyscan_t yyscanner );
+void *quickstep_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
+void quickstep_yyfree (void * ,yyscan_t yyscanner );
#define yy_new_buffer quickstep_yy_create_buffer
+
#define yy_set_interactive(is_interactive) \
{ \
if ( ! YY_CURRENT_BUFFER ){ \
@@ -395,6 +339,7 @@ void quickstep_yyfree ( void * , yyscan_t yyscanner );
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
+
#define yy_set_bol(at_bol) \
{ \
if ( ! YY_CURRENT_BUFFER ){\
@@ -404,34 +349,40 @@ void quickstep_yyfree ( void * , yyscan_t yyscanner );
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
+
#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
/* Begin user sect3 */
#define quickstep_yywrap(yyscanner) (/*CONSTCOND*/1)
#define YY_SKIP_YYWRAP
-typedef flex_uint8_t YY_CHAR;
+
+typedef unsigned char YY_CHAR;
typedef int yy_state_type;
#define yytext_ptr yytext_r
-static yy_state_type yy_get_previous_state ( yyscan_t yyscanner );
-static yy_state_type yy_try_NUL_trans ( yy_state_type current_state , yyscan_t yyscanner);
-static int yy_get_next_buffer ( yyscan_t yyscanner );
-static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner );
+static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
+static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
+static int yy_get_next_buffer (yyscan_t yyscanner );
+#if defined(__GNUC__) && __GNUC__ >= 3
+__attribute__((__noreturn__))
+#endif
+static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
yyg->yytext_ptr = yy_bp; \
- yyleng = (int) (yy_cp - yy_bp); \
+ yyleng = (size_t) (yy_cp - yy_bp); \
yyg->yy_hold_char = *yy_cp; \
*yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp;
-#define YY_NUM_RULES 161
-#define YY_END_OF_BUFFER 162
+
+#define YY_NUM_RULES 163
+#define YY_END_OF_BUFFER 164
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
@@ -439,77 +390,77 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static const flex_int16_t yy_accept[593] =
+static yyconst flex_int16_t yy_accept[599] =
{ 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 162, 2, 2, 160, 160, 159, 158, 160,
- 137, 133, 136, 133, 133, 156, 129, 126, 130, 155,
- 155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 134, 4, 5, 5, 3, 152,
- 152, 149, 153, 153, 147, 154, 154, 151, 1, 159,
- 127, 157, 156, 156, 156, 0, 131, 128, 132, 155,
- 155, 155, 155, 10, 155, 155, 155, 22, 155, 155,
- 155, 155, 155, 155, 155, 155, 155, 155, 155, 135,
-
- 155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 60, 68, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 155, 155, 82, 83, 155, 155,
- 155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 4, 5, 3, 152, 148, 153, 146,
- 146, 138, 140, 141, 142, 143, 144, 145, 146, 154,
- 150, 157, 156, 0, 156, 6, 7, 155, 9, 11,
- 155, 155, 15, 155, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 33, 155, 155, 155, 155, 155,
-
- 155, 155, 155, 44, 155, 155, 155, 155, 155, 155,
- 155, 52, 155, 155, 155, 155, 155, 155, 155, 155,
- 155, 64, 155, 70, 155, 155, 155, 155, 155, 155,
- 155, 78, 155, 81, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 155, 155, 155, 99, 155, 155,
- 104, 105, 155, 155, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 155, 155, 155, 155, 138, 140,
- 139, 155, 155, 155, 155, 155, 155, 155, 20, 23,
- 155, 155, 155, 28, 155, 155, 155, 31, 155, 155,
- 155, 155, 38, 155, 155, 42, 43, 155, 155, 155,
-
- 155, 155, 155, 155, 155, 54, 55, 155, 57, 155,
- 59, 155, 155, 155, 155, 67, 69, 71, 72, 73,
- 155, 75, 155, 155, 79, 155, 155, 86, 155, 155,
- 155, 155, 155, 93, 155, 95, 155, 155, 155, 101,
- 155, 155, 155, 155, 155, 155, 109, 110, 112, 155,
- 155, 155, 155, 155, 155, 155, 120, 155, 155, 123,
- 124, 138, 139, 8, 155, 155, 155, 155, 155, 155,
- 155, 25, 155, 155, 155, 155, 155, 155, 155, 155,
- 155, 155, 155, 155, 155, 155, 155, 155, 48, 49,
- 50, 155, 155, 56, 155, 61, 62, 155, 155, 155,
-
- 74, 155, 77, 80, 84, 85, 155, 155, 155, 155,
- 155, 94, 155, 155, 98, 155, 155, 155, 155, 155,
- 108, 155, 155, 155, 155, 155, 117, 155, 155, 121,
- 155, 155, 155, 155, 14, 155, 155, 155, 155, 155,
- 26, 155, 29, 155, 155, 155, 155, 155, 36, 155,
- 155, 155, 41, 155, 46, 155, 155, 155, 58, 63,
- 155, 155, 76, 155, 155, 155, 155, 155, 155, 97,
- 155, 102, 103, 155, 155, 155, 155, 155, 115, 116,
- 118, 155, 122, 155, 155, 13, 155, 155, 155, 155,
- 155, 155, 21, 30, 155, 34, 35, 155, 155, 155,
-
- 155, 47, 155, 53, 65, 155, 155, 89, 155, 91,
- 155, 155, 155, 155, 155, 155, 155, 155, 119, 155,
- 155, 155, 155, 155, 155, 155, 155, 32, 155, 155,
- 40, 155, 155, 66, 155, 155, 92, 155, 155, 106,
- 155, 155, 155, 155, 155, 12, 155, 155, 155, 155,
- 24, 155, 37, 155, 155, 51, 87, 90, 155, 155,
- 107, 111, 155, 114, 125, 16, 155, 155, 155, 27,
- 39, 155, 88, 96, 155, 155, 155, 18, 19, 155,
- 155, 113, 155, 155, 155, 155, 155, 100, 155, 45,
- 17, 0
+ 0, 0, 164, 2, 2, 162, 162, 161, 160, 162,
+ 139, 135, 138, 135, 135, 158, 131, 128, 132, 157,
+ 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 157, 136, 4, 5, 5, 3, 154,
+ 154, 151, 155, 155, 149, 156, 156, 153, 1, 161,
+ 129, 159, 158, 158, 158, 0, 133, 130, 134, 157,
+ 157, 157, 157, 10, 157, 157, 157, 22, 157, 157,
+ 157, 157, 157, 157, 157, 157, 157, 157, 157, 137,
+
+ 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 60, 69, 157, 157, 157, 157, 157,
+ 157, 157, 157, 157, 157, 157, 83, 84, 157, 157,
+ 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 4, 5, 3, 154, 150, 155, 148,
+ 148, 140, 142, 143, 144, 145, 146, 147, 148, 156,
+ 152, 159, 158, 0, 158, 6, 7, 157, 9, 11,
+ 157, 157, 15, 157, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 157, 33, 157, 157, 157, 157, 157,
+
+ 157, 157, 157, 44, 157, 157, 157, 157, 157, 157,
+ 157, 52, 157, 157, 157, 157, 157, 157, 157, 157,
+ 157, 64, 157, 71, 157, 157, 157, 157, 157, 157,
+ 157, 79, 157, 82, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 157, 157, 157, 157, 100, 157, 157,
+ 105, 106, 157, 157, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 157, 157, 157, 157, 157, 140, 142,
+ 141, 157, 157, 157, 157, 157, 157, 157, 20, 23,
+ 157, 157, 157, 28, 157, 157, 157, 31, 157, 157,
+ 157, 157, 38, 157, 157, 42, 43, 157, 157, 157,
+
+ 157, 157, 157, 157, 157, 54, 55, 157, 57, 157,
+ 59, 157, 157, 157, 157, 68, 70, 72, 73, 74,
+ 157, 76, 157, 157, 80, 157, 157, 87, 157, 157,
+ 157, 157, 157, 94, 157, 96, 157, 157, 157, 102,
+ 157, 157, 157, 157, 157, 157, 110, 111, 113, 157,
+ 157, 157, 157, 157, 157, 157, 157, 122, 157, 157,
+ 125, 126, 140, 141, 8, 157, 157, 157, 157, 157,
+ 157, 157, 25, 157, 157, 157, 157, 157, 157, 157,
+ 157, 157, 157, 157, 157, 157, 157, 157, 157, 48,
+ 49, 50, 157, 157, 56, 157, 61, 62, 157, 157,
+
+ 157, 75, 157, 78, 81, 85, 86, 157, 157, 157,
+ 157, 157, 95, 157, 157, 99, 157, 157, 157, 157,
+ 157, 109, 157, 157, 157, 116, 157, 157, 119, 157,
+ 157, 123, 157, 157, 157, 157, 14, 157, 157, 157,
+ 157, 157, 26, 157, 29, 157, 157, 157, 157, 157,
+ 36, 157, 157, 157, 41, 157, 46, 157, 157, 157,
+ 58, 63, 157, 157, 157, 77, 157, 157, 157, 157,
+ 157, 157, 98, 157, 103, 104, 157, 157, 157, 157,
+ 157, 117, 118, 120, 157, 124, 157, 157, 13, 157,
+ 157, 157, 157, 157, 157, 21, 30, 157, 34, 35,
+
+ 157, 157, 157, 157, 47, 157, 53, 65, 157, 157,
+ 157, 90, 157, 92, 157, 157, 157, 157, 157, 157,
+ 157, 157, 121, 157, 157, 157, 157, 157, 157, 157,
+ 157, 32, 157, 157, 40, 157, 157, 157, 67, 157,
+ 157, 93, 157, 157, 107, 157, 157, 157, 157, 157,
+ 12, 157, 157, 157, 157, 24, 157, 37, 157, 157,
+ 51, 66, 88, 91, 157, 157, 108, 112, 157, 115,
+ 127, 16, 157, 157, 157, 27, 39, 157, 89, 97,
+ 157, 157, 157, 18, 19, 157, 157, 114, 157, 157,
+ 157, 157, 157, 101, 157, 45, 17, 0
} ;
-static const YY_CHAR yy_ec[256] =
+static yyconst YY_CHAR yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
@@ -541,7 +492,7 @@ static const YY_CHAR yy_ec[256] =
1, 1, 1, 1, 1
} ;
-static const YY_CHAR yy_meta[72] =
+static yyconst YY_CHAR yy_meta[72] =
{ 0,
1, 1, 2, 1, 1, 3, 1, 4, 1, 5,
5, 6, 6, 5, 1, 1, 1, 7, 7, 7,
@@ -553,27 +504,27 @@ static const YY_CHAR yy_meta[72] =
8
} ;
-static const flex_int16_t yy_base[608] =
+static yyconst flex_uint16_t yy_base[614] =
{ 0,
0, 1, 46, 0, 117, 163, 2, 3, 128, 132,
- 6, 10, 211, 1312, 1312, 0, 1312, 13, 1312, 194,
- 1312, 1312, 1312, 194, 6, 130, 4, 1312, 170, 124,
+ 6, 10, 211, 1319, 1319, 0, 1319, 13, 1319, 194,
+ 1319, 1319, 1319, 194, 6, 130, 4, 1319, 170, 124,
161, 215, 170, 207, 265, 92, 167, 162, 96, 107,
223, 165, 162, 221, 274, 92, 284, 277, 315, 206,
- 128, 232, 0, 125, 1312, 152, 4, 19, 0, 0,
+ 128, 232, 0, 125, 1319, 152, 4, 19, 0, 0,
0, 143, 0, 0, 379, 0, 0, 144, 0, 22,
- 1312, 0, 292, 305, 335, 18, 1312, 1312, 1312, 0,
+ 1319, 0, 292, 305, 335, 18, 1319, 1319, 1319, 0,
174, 264, 180, 186, 209, 271, 229, 0, 277, 333,
- 335, 312, 330, 317, 323, 338, 323, 333, 340, 1312,
+ 335, 312, 330, 317, 323, 338, 323, 333, 340, 1319,
339, 355, 357, 381, 370, 373, 377, 382, 380, 384,
383, 383, 383, 431, 0, 398, 383, 390, 406, 402,
403, 404, 425, 420, 431, 442, 0, 445, 432, 448,
436, 437, 451, 448, 444, 460, 452, 439, 489, 464,
468, 469, 468, 462, 455, 477, 501, 493, 489, 494,
- 502, 494, 510, 142, 29, 0, 0, 1312, 0, 1312,
- 1312, 22, 24, 1312, 1312, 1312, 1312, 1312, 0, 0,
- 1312, 0, 520, 26, 28, 0, 0, 508, 0, 512,
+ 502, 494, 510, 142, 29, 0, 0, 1319, 0, 1319,
+ 1319, 22, 24, 1319, 1319, 1319, 1319, 1319, 0, 0,
+ 1319, 0, 520, 26, 28, 0, 0, 508, 0, 512,
495, 510, 497, 530, 518, 506, 525, 508, 512, 509,
543, 530, 533, 550, 0, 547, 558, 556, 561, 546,
@@ -582,126 +533,128 @@ static const flex_int16_t yy_base[608] =
598, 604, 594, 0, 593, 594, 612, 613, 616, 603,
605, 0, 614, 0, 622, 623, 611, 610, 630, 631,
626, 615, 629, 628, 639, 640, 639, 631, 634, 656,
- 0, 654, 648, 659, 658, 670, 672, 668, 666, 665,
- 682, 670, 664, 683, 673, 684, 681, 674, 30, 125,
- 0, 675, 680, 692, 684, 694, 691, 690, 0, 704,
- 696, 695, 699, 0, 704, 707, 724, 710, 720, 714,
- 718, 726, 735, 732, 730, 0, 0, 727, 724, 744,
-
- 741, 727, 729, 735, 742, 0, 0, 736, 0, 741,
- 0, 732, 739, 742, 759, 0, 0, 0, 0, 0,
- 741, 0, 743, 757, 763, 765, 769, 0, 779, 786,
- 788, 795, 779, 0, 793, 0, 781, 776, 781, 0,
- 798, 789, 801, 793, 787, 803, 0, 790, 0, 805,
- 792, 793, 795, 811, 814, 813, 0, 818, 809, 0,
- 822, 136, 1312, 0, 836, 836, 825, 845, 835, 843,
- 852, 0, 842, 839, 853, 854, 846, 852, 861, 851,
- 860, 857, 853, 854, 866, 867, 854, 873, 0, 0,
- 0, 854, 872, 0, 874, 0, 0, 862, 888, 876,
-
- 0, 894, 0, 0, 0, 0, 883, 890, 903, 891,
- 903, 0, 908, 898, 0, 910, 912, 897, 909, 901,
- 0, 900, 902, 909, 919, 920, 0, 907, 928, 0,
- 907, 916, 925, 921, 0, 915, 921, 939, 942, 936,
- 0, 956, 0, 956, 942, 952, 955, 950, 0, 951,
- 968, 970, 0, 93, 0, 954, 966, 962, 0, 0,
- 959, 977, 0, 970, 961, 973, 958, 964, 973, 0,
- 976, 0, 0, 975, 983, 992, 994, 993, 0, 0,
- 0, 980, 0, 995, 1000, 0, 1006, 1004, 1007, 1011,
- 1020, 1019, 0, 0, 1024, 0, 0, 1025, 1022, 1012,
-
- 1014, 0, 1020, 0, 0, 1023, 1021, 0, 1023, 0,
- 1014, 1037, 1032, 1022, 1031, 1033, 1034, 1045, 0, 1031,
- 1046, 1041, 1040, 1051, 1052, 1055, 1063, 0, 1060, 1067,
- 0, 1063, 1079, 0, 1073, 1081, 0, 1084, 1077, 0,
- 1084, 1076, 1077, 1090, 1087, 0, 1090, 1093, 1087, 1095,
- 0, 1083, 0, 1097, 1087, 0, 1089, 0, 1090, 1102,
- 0, 0, 1101, 0, 0, 0, 1096, 1120, 1112, 0,
- 0, 1122, 0, 0, 1115, 1131, 1119, 0, 0, 1127,
- 1139, 0, 1136, 1139, 1129, 1143, 1130, 0, 1131, 0,
- 0, 1312, 1196, 1206, 1216, 1226, 1236, 1240, 1243, 1249,
-
- 1257, 1267, 1277, 1287, 1297, 1302, 1304
+ 0, 654, 648, 659, 658, 670, 672, 668, 666, 667,
+ 682, 671, 665, 684, 674, 685, 683, 675, 30, 125,
+ 0, 676, 683, 693, 685, 697, 692, 692, 0, 706,
+ 697, 706, 704, 0, 705, 711, 725, 713, 722, 717,
+ 719, 727, 736, 733, 731, 0, 0, 728, 725, 745,
+
+ 742, 729, 730, 736, 743, 0, 0, 739, 0, 742,
+ 0, 733, 742, 743, 759, 0, 0, 0, 0, 0,
+ 743, 0, 745, 774, 764, 769, 770, 0, 782, 788,
+ 791, 796, 780, 0, 794, 0, 782, 777, 782, 0,
+ 799, 790, 802, 795, 788, 804, 0, 791, 0, 808,
+ 793, 801, 797, 799, 814, 818, 816, 0, 830, 825,
+ 0, 828, 136, 1319, 0, 841, 841, 829, 850, 838,
+ 849, 853, 0, 844, 841, 855, 856, 848, 854, 864,
+ 854, 862, 859, 857, 858, 868, 871, 858, 876, 0,
+ 0, 0, 858, 875, 0, 886, 0, 0, 878, 894,
+
+ 885, 0, 898, 0, 0, 0, 0, 889, 898, 909,
+ 896, 906, 0, 911, 901, 0, 913, 915, 900, 912,
+ 905, 0, 904, 906, 912, 0, 924, 925, 0, 912,
+ 933, 0, 912, 922, 930, 926, 0, 929, 938, 956,
+ 952, 942, 0, 964, 0, 962, 950, 958, 960, 953,
+ 0, 954, 971, 973, 0, 93, 0, 957, 969, 965,
+ 0, 0, 963, 977, 982, 0, 975, 967, 979, 964,
+ 972, 979, 0, 983, 0, 0, 983, 989, 1008, 1013,
+ 1011, 0, 0, 0, 1001, 0, 1006, 1009, 0, 1016,
+ 1013, 1016, 1018, 1026, 1023, 0, 0, 1028, 0, 0,
+
+ 1029, 1026, 1016, 1018, 0, 1025, 0, 0, 1037, 1029,
+ 1027, 0, 1031, 0, 1021, 1044, 1041, 1031, 1039, 1042,
+ 1043, 1062, 0, 1052, 1066, 1063, 1062, 1065, 1063, 1068,
+ 1073, 0, 1070, 1075, 0, 1070, 1084, 1072, 0, 1079,
+ 1087, 0, 1090, 1084, 0, 1091, 1083, 1084, 1099, 1096,
+ 0, 1098, 1103, 1097, 1106, 0, 1093, 0, 1107, 1107,
+ 0, 0, 1111, 0, 1112, 1126, 0, 0, 1124, 0,
+ 0, 0, 1121, 1136, 1126, 0, 0, 1136, 0, 0,
+ 1126, 1142, 1128, 0, 0, 1135, 1145, 0, 1142, 1145,
+ 1135, 1150, 1137, 0, 1138, 0, 0, 1319, 1203, 1213,
+
+ 1223, 1233, 1243, 1247, 1250, 1256, 1264, 1274, 1284, 1294,
+ 1304, 1309, 1311
} ;
-static const flex_int16_t yy_def[608] =
+static yyconst flex_int16_t yy_def[614] =
{ 0,
- 593, 593, 592, 3, 594, 594, 595, 595, 596, 596,
- 597, 597, 592, 592, 592, 598, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 592, 592, 592, 592, 600, 601,
- 601, 592, 602, 602, 603, 604, 604, 592, 598, 592,
- 592, 605, 592, 592, 592, 592, 592, 592, 592, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 592,
-
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 592, 592, 600, 601, 592, 602, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 606, 604,
- 592, 605, 592, 592, 592, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
-
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 592, 592,
- 607, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
-
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 592, 592, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
-
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
-
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 599, 599, 599, 599, 599, 599, 599, 599, 599,
- 599, 0, 592, 592, 592, 592, 592, 592, 592, 592,
-
- 592, 592, 592, 592, 592, 592, 592
+ 599, 599, 598, 3, 600, 600, 601, 601, 602, 602,
+ 603, 603, 598, 598, 598, 604, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 598, 598, 598, 598, 606, 607,
+ 607, 598, 608, 608, 609, 610, 610, 598, 604, 598,
+ 598, 611, 598, 598, 598, 598, 598, 598, 598, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 598,
+
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 598, 598, 606, 607, 598, 608, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 612, 610,
+ 598, 611, 598, 598, 598, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 598, 598,
+ 613, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 598, 598, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 605, 605, 605,
+ 605, 605, 605, 605, 605, 605, 605, 0, 598, 598,
+
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598
} ;
-static const flex_int16_t yy_nxt[1384] =
+static yyconst flex_uint16_t yy_nxt[1391] =
{ 0,
- 592, 592, 15, 15, 61, 61, 155, 155, 67, 62,
- 62, 68, 67, 592, 70, 68, 70, 73, 73, 77,
- 78, 155, 155, 70, 592, 70, 174, 174, 592, 175,
+ 598, 598, 15, 15, 61, 61, 155, 155, 67, 62,
+ 62, 68, 67, 598, 70, 68, 70, 73, 73, 77,
+ 78, 155, 155, 70, 598, 70, 174, 174, 598, 175,
175, 155, 155, 269, 270, 270, 270, 175, 175, 175,
- 175, 362, 270, 592, 16, 16, 17, 18, 19, 18,
+ 175, 363, 270, 598, 16, 16, 17, 18, 19, 18,
20, 21, 22, 23, 22, 24, 25, 26, 26, 17,
27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
@@ -711,7 +664,7 @@ static const flex_int16_t yy_nxt[1384] =
38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 17, 56, 57,
58, 17, 17, 17, 17, 17, 111, 116, 117, 134,
- 64, 17, 17, 17, 64, 62, 270, 270, 501, 62,
+ 64, 17, 17, 17, 64, 62, 270, 270, 504, 62,
74, 75, 75, 154, 81, 150, 153, 270, 270, 171,
158, 76, 82, 154, 83, 111, 116, 117, 134, 84,
17, 17, 17, 17, 56, 57, 58, 17, 17, 17,
@@ -720,35 +673,35 @@ static const flex_int16_t yy_nxt[1384] =
122, 96, 114, 124, 176, 97, 123, 115, 113, 125,
179, 98, 88, 72, 99, 180, 17, 17, 17, 71,
- 592, 85, 592, 112, 100, 86, 95, 592, 87, 122,
+ 598, 85, 598, 112, 100, 86, 95, 598, 87, 122,
96, 114, 124, 176, 97, 123, 115, 113, 125, 179,
98, 88, 89, 99, 180, 101, 147, 102, 148, 90,
118, 149, 103, 126, 119, 181, 91, 104, 120, 92,
- 93, 127, 94, 592, 121, 128, 151, 152, 129, 130,
- 184, 89, 592, 592, 101, 147, 102, 148, 90, 118,
+ 93, 127, 94, 598, 121, 128, 151, 152, 129, 130,
+ 184, 89, 598, 598, 101, 147, 102, 148, 90, 118,
149, 103, 126, 119, 181, 91, 104, 120, 92, 93,
127, 94, 105, 121, 128, 151, 152, 129, 130, 184,
- 106, 131, 177, 107, 182, 132, 108, 592, 139, 109,
+ 106, 131, 177, 107, 182, 132, 108, 598, 139, 109,
178, 135, 110, 73, 73, 136, 140, 183, 133, 137,
- 592, 105, 185, 76, 141, 138, 173, 173, 592, 106,
+ 598, 105, 185, 76, 141, 138, 173, 173, 598, 106,
131, 177, 107, 182, 132, 108, 76, 139, 109, 178,
135, 110, 142, 191, 136, 140, 183, 133, 137, 143,
144, 185, 76, 141, 138, 74, 75, 75, 192, 145,
- 186, 193, 146, 592, 187, 76, 76, 196, 200, 194,
+ 186, 193, 146, 598, 187, 76, 76, 196, 200, 194,
197, 142, 191, 188, 195, 189, 198, 190, 143, 144,
- 201, 202, 592, 199, 203, 204, 205, 192, 145, 186,
- 193, 146, 161, 187, 592, 76, 196, 200, 194, 197,
+ 201, 202, 598, 199, 203, 204, 205, 192, 145, 186,
+ 193, 146, 161, 187, 598, 76, 196, 200, 194, 197,
162, 163, 188, 195, 189, 198, 190, 164, 208, 201,
202, 165, 199, 203, 204, 205, 206, 209, 210, 166,
211, 213, 214, 167, 215, 168, 212, 207, 216, 169,
- 218, 217, 592, 223, 224, 225, 164, 208, 226, 227,
- 165, 228, 592, 229, 230, 206, 209, 210, 166, 211,
+ 218, 217, 598, 223, 224, 225, 164, 208, 226, 227,
+ 165, 228, 598, 229, 230, 206, 209, 210, 166, 211,
213, 214, 167, 215, 168, 212, 207, 216, 169, 218,
217, 219, 223, 224, 225, 231, 232, 226, 227, 233,
228, 220, 229, 230, 234, 235, 221, 222, 236, 237,
- 238, 239, 240, 242, 243, 247, 241, 244, 248, 592,
+ 238, 239, 240, 242, 243, 247, 241, 244, 248, 598,
219, 252, 245, 246, 231, 232, 253, 254, 233, 255,
220, 256, 257, 234, 235, 221, 222, 236, 237, 238,
@@ -772,44 +725,44 @@ static const flex_int16_t yy_nxt[1384] =
337, 338, 320, 339, 316, 342, 340, 321, 322, 323,
324, 325, 326, 327, 328, 329, 341, 343, 330, 331,
334, 335, 344, 345, 332, 336, 333, 346, 347, 337,
- 338, 348, 339, 349, 342, 340, 350, 351, 352, 353,
+ 338, 348, 339, 349, 342, 340, 350, 351, 352, 354,
- 354, 355, 356, 357, 359, 360, 343, 358, 361, 364,
+ 353, 355, 356, 357, 358, 360, 343, 361, 359, 362,
365, 344, 345, 366, 367, 368, 346, 347, 369, 370,
- 348, 371, 349, 372, 373, 350, 351, 352, 353, 354,
- 355, 356, 357, 359, 360, 374, 358, 361, 364, 365,
+ 348, 371, 349, 372, 373, 350, 351, 352, 354, 353,
+ 355, 356, 357, 358, 360, 374, 361, 359, 362, 365,
375, 376, 366, 367, 368, 377, 378, 369, 370, 379,
371, 380, 372, 373, 381, 382, 383, 384, 385, 386,
387, 388, 389, 390, 374, 391, 392, 393, 394, 375,
- 376, 395, 396, 397, 377, 378, 398, 401, 379, 402,
- 380, 403, 399, 381, 382, 383, 384, 385, 386, 387,
- 388, 389, 390, 400, 391, 392, 393, 394, 404, 405,
+ 376, 395, 396, 397, 377, 378, 398, 399, 379, 402,
+ 380, 403, 400, 381, 382, 383, 384, 385, 386, 387,
+ 388, 389, 390, 401, 391, 392, 393, 394, 404, 405,
- 395, 396, 397, 406, 407, 398, 401, 408, 402, 409,
- 403, 399, 410, 411, 412, 413, 414, 415, 416, 417,
- 418, 419, 400, 420, 421, 422, 423, 404, 405, 424,
+ 395, 396, 397, 406, 407, 398, 399, 408, 402, 409,
+ 403, 400, 410, 411, 412, 413, 414, 415, 416, 417,
+ 418, 419, 401, 420, 421, 422, 423, 404, 405, 424,
425, 426, 406, 407, 427, 428, 408, 429, 409, 430,
431, 410, 411, 412, 413, 414, 415, 416, 417, 418,
419, 432, 420, 421, 422, 423, 433, 434, 424, 425,
- 426, 435, 436, 427, 428, 439, 429, 437, 430, 431,
- 438, 440, 441, 442, 443, 444, 445, 446, 447, 448,
+ 426, 435, 436, 427, 428, 437, 429, 438, 430, 431,
+ 439, 441, 442, 440, 443, 444, 445, 446, 447, 448,
432, 449, 450, 451, 452, 433, 434, 453, 454, 455,
- 435, 436, 456, 457, 439, 458, 437, 459, 460, 438,
+ 435, 436, 456, 457, 437, 458, 438, 459, 460, 439,
- 440, 441, 442, 443, 444, 445, 446, 447, 448, 461,
- 449, 450, 451, 452, 462, 463, 453, 454, 455, 464,
- 465, 456, 457, 466, 458, 467, 459, 460, 468, 469,
+ 441, 442, 440, 443, 444, 445, 446, 447, 448, 461,
+ 449, 450, 451, 452, 462, 463, 453, 454, 455, 466,
+ 464, 456, 457, 465, 458, 467, 459, 460, 468, 469,
470, 471, 472, 473, 474, 475, 476, 477, 461, 478,
- 479, 480, 481, 462, 463, 482, 483, 484, 464, 465,
- 485, 486, 466, 487, 467, 488, 489, 468, 469, 470,
+ 479, 480, 481, 462, 463, 482, 483, 484, 466, 464,
+ 485, 486, 465, 487, 467, 488, 489, 468, 469, 470,
471, 472, 473, 474, 475, 476, 477, 490, 478, 479,
480, 481, 491, 492, 482, 483, 484, 493, 494, 485,
486, 495, 487, 496, 488, 489, 497, 498, 499, 500,
- 502, 503, 504, 505, 506, 507, 490, 508, 509, 510,
+ 501, 502, 503, 505, 506, 507, 490, 508, 509, 510,
511, 491, 492, 512, 513, 514, 493, 494, 515, 516,
- 495, 517, 496, 518, 519, 497, 498, 499, 500, 502,
- 503, 504, 505, 506, 507, 520, 508, 509, 510, 511,
+ 495, 517, 496, 518, 519, 497, 498, 499, 500, 501,
+ 502, 503, 505, 506, 507, 520, 508, 509, 510, 511,
521, 522, 512, 513, 514, 523, 524, 515, 516, 525,
517, 526, 518, 519, 527, 528, 529, 530, 531, 532,
533, 534, 535, 536, 520, 537, 538, 539, 540, 521,
@@ -824,34 +777,34 @@ static const flex_int16_t yy_nxt[1384] =
577, 556, 557, 558, 559, 560, 561, 562, 563, 564,
565, 578, 566, 567, 568, 569, 579, 580, 570, 571,
572, 581, 582, 573, 574, 583, 575, 584, 576, 577,
- 585, 586, 587, 588, 589, 590, 591, 592, 592, 592,
- 578, 592, 592, 592, 592, 579, 580, 592, 592, 592,
- 581, 582, 592, 592, 583, 592, 584, 592, 592, 585,
- 586, 587, 588, 589, 590, 591, 14, 14, 14, 14,
-
- 14, 14, 14, 14, 14, 14, 59, 59, 59, 59,
- 59, 59, 59, 59, 59, 59, 60, 60, 60, 60,
- 60, 60, 60, 60, 60, 60, 63, 63, 63, 63,
- 63, 63, 63, 63, 63, 63, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 69, 69, 80, 80,
- 80, 592, 80, 156, 156, 156, 156, 157, 157, 157,
- 592, 157, 157, 157, 157, 157, 157, 159, 159, 159,
- 592, 159, 159, 159, 159, 592, 159, 160, 160, 160,
- 160, 160, 160, 160, 160, 160, 160, 170, 170, 592,
- 170, 170, 170, 170, 170, 170, 170, 172, 592, 172,
-
- 172, 172, 172, 172, 172, 172, 172, 271, 271, 363,
- 363, 13, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592
+ 585, 586, 587, 588, 589, 590, 591, 592, 593, 594,
+ 578, 595, 596, 597, 598, 579, 580, 598, 598, 598,
+ 581, 582, 598, 598, 583, 598, 584, 598, 598, 585,
+ 586, 587, 588, 589, 590, 591, 592, 593, 594, 598,
+
+ 595, 596, 597, 14, 14, 14, 14, 14, 14, 14,
+ 14, 14, 14, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 60, 60, 60, 60, 60, 60, 60,
+ 60, 60, 60, 63, 63, 63, 63, 63, 63, 63,
+ 63, 63, 63, 66, 66, 66, 66, 66, 66, 66,
+ 66, 66, 66, 69, 69, 80, 80, 80, 598, 80,
+ 156, 156, 156, 156, 157, 157, 157, 598, 157, 157,
+ 157, 157, 157, 157, 159, 159, 159, 598, 159, 159,
+ 159, 159, 598, 159, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 170, 170, 598, 170, 170, 170,
+
+ 170, 170, 170, 170, 172, 598, 172, 172, 172, 172,
+ 172, 172, 172, 172, 271, 271, 364, 364, 13, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598
} ;
-static const flex_int16_t yy_chk[1384] =
+static yyconst flex_int16_t yy_chk[1391] =
{ 0,
0, 0, 1, 2, 7, 8, 57, 57, 11, 7,
8, 11, 12, 0, 18, 12, 18, 25, 25, 27,
@@ -867,8 +820,8 @@ static const flex_int16_t yy_chk[1384] =
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 5, 5, 5,
5, 5, 5, 5, 5, 5, 36, 39, 40, 46,
- 9, 5, 5, 5, 10, 9, 270, 270, 454, 10,
- 26, 26, 26, 154, 30, 51, 54, 362, 362, 68,
+ 9, 5, 5, 5, 10, 9, 270, 270, 456, 10,
+ 26, 26, 26, 154, 30, 51, 54, 363, 363, 68,
62, 26, 30, 56, 30, 36, 39, 40, 46, 30,
5, 5, 5, 6, 6, 6, 6, 6, 6, 6,
6, 6, 9, 30, 51, 54, 10, 6, 6, 6,
@@ -930,85 +883,85 @@ static const flex_int16_t yy_chk[1384] =
242, 243, 252, 253, 241, 244, 241, 254, 255, 245,
246, 256, 247, 257, 249, 248, 258, 259, 260, 261,
- 262, 263, 264, 265, 266, 267, 250, 265, 268, 272,
- 273, 252, 253, 274, 275, 276, 254, 255, 277, 278,
- 256, 280, 257, 281, 282, 258, 259, 260, 261, 262,
- 263, 264, 265, 266, 267, 283, 265, 268, 272, 273,
- 285, 286, 274, 275, 276, 287, 288, 277, 278, 289,
- 280, 290, 281, 282, 291, 292, 293, 294, 295, 298,
- 299, 300, 301, 302, 283, 303, 304, 305, 308, 285,
- 286, 310, 312, 313, 287, 288, 314, 321, 289, 323,
- 290, 324, 315, 291, 292, 293, 294, 295, 298, 299,
- 300, 301, 302, 315, 303, 304, 305, 308, 325, 326,
-
- 310, 312, 313, 327, 329, 314, 321, 330, 323, 331,
- 324, 315, 332, 333, 335, 337, 338, 339, 341, 342,
- 343, 344, 315, 345, 346, 348, 350, 325, 326, 351,
- 352, 353, 327, 329, 354, 355, 330, 356, 331, 358,
- 359, 332, 333, 335, 337, 338, 339, 341, 342, 343,
- 344, 361, 345, 346, 348, 350, 365, 366, 351, 352,
- 353, 367, 368, 354, 355, 370, 356, 369, 358, 359,
- 369, 371, 373, 374, 375, 376, 377, 378, 379, 380,
- 361, 381, 382, 383, 384, 365, 366, 385, 386, 387,
- 367, 368, 388, 392, 370, 393, 369, 395, 398, 369,
-
- 371, 373, 374, 375, 376, 377, 378, 379, 380, 399,
- 381, 382, 383, 384, 400, 402, 385, 386, 387, 407,
- 408, 388, 392, 409, 393, 410, 395, 398, 411, 413,
- 414, 416, 417, 418, 419, 420, 422, 423, 399, 424,
- 425, 426, 428, 400, 402, 429, 431, 432, 407, 408,
- 433, 434, 409, 436, 410, 437, 438, 411, 413, 414,
- 416, 417, 418, 419, 420, 422, 423, 439, 424, 425,
- 426, 428, 440, 442, 429, 431, 432, 444, 445, 433,
- 434, 446, 436, 447, 437, 438, 448, 450, 451, 452,
- 456, 457, 458, 461, 462, 464, 439, 465, 466, 467,
-
- 468, 440, 442, 469, 471, 474, 444, 445, 475, 476,
- 446, 477, 447, 478, 482, 448, 450, 451, 452, 456,
- 457, 458, 461, 462, 464, 484, 465, 466, 467, 468,
- 485, 487, 469, 471, 474, 488, 489, 475, 476, 490,
- 477, 491, 478, 482, 492, 495, 498, 499, 500, 501,
- 503, 506, 507, 509, 484, 511, 512, 513, 514, 485,
- 487, 515, 516, 517, 488, 489, 518, 520, 490, 521,
- 491, 522, 523, 492, 495, 498, 499, 500, 501, 503,
- 506, 507, 509, 524, 511, 512, 513, 514, 525, 526,
- 515, 516, 517, 527, 529, 518, 520, 530, 521, 532,
-
- 522, 523, 533, 535, 536, 538, 539, 541, 542, 543,
- 544, 545, 524, 547, 548, 549, 550, 525, 526, 552,
- 554, 555, 527, 529, 557, 559, 530, 560, 532, 563,
- 567, 533, 535, 536, 538, 539, 541, 542, 543, 544,
- 545, 568, 547, 548, 549, 550, 569, 572, 552, 554,
- 555, 575, 576, 557, 559, 577, 560, 580, 563, 567,
- 581, 583, 584, 585, 586, 587, 589, 0, 0, 0,
- 568, 0, 0, 0, 0, 569, 572, 0, 0, 0,
- 575, 576, 0, 0, 577, 0, 580, 0, 0, 581,
- 583, 584, 585, 586, 587, 589, 593, 593, 593, 593,
-
- 593, 593, 593, 593, 593, 593, 594, 594, 594, 594,
- 594, 594, 594, 594, 594, 594, 595, 595, 595, 595,
- 595, 595, 595, 595, 595, 595, 596, 596, 596, 596,
- 596, 596, 596, 596, 596, 596, 597, 597, 597, 597,
- 597, 597, 597, 597, 597, 597, 598, 598, 599, 599,
- 599, 0, 599, 600, 600, 600, 600, 601, 601, 601,
- 0, 601, 601, 601, 601, 601, 601, 602, 602, 602,
- 0, 602, 602, 602, 602, 0, 602, 603, 603, 603,
- 603, 603, 603, 603, 603, 603, 603, 604, 604, 0,
- 604, 604, 604, 604, 604, 604, 604, 605, 0, 605,
-
- 605, 605, 605, 605, 605, 605, 605, 606, 606, 607,
- 607, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592, 592, 592, 592, 592, 592, 592, 592,
- 592, 592, 592
+ 260, 262, 263, 264, 265, 266, 250, 267, 265, 268,
+ 272, 252, 253, 273, 274, 275, 254, 255, 276, 277,
+ 256, 278, 257, 280, 281, 258, 259, 260, 261, 260,
+ 262, 263, 264, 265, 266, 282, 267, 265, 268, 272,
+ 283, 285, 273, 274, 275, 286, 287, 276, 277, 288,
+ 278, 289, 280, 281, 290, 291, 292, 293, 294, 295,
+ 298, 299, 300, 301, 282, 302, 303, 304, 305, 283,
+ 285, 308, 310, 312, 286, 287, 313, 314, 288, 321,
+ 289, 323, 315, 290, 291, 292, 293, 294, 295, 298,
+ 299, 300, 301, 315, 302, 303, 304, 305, 324, 325,
+
+ 308, 310, 312, 326, 327, 313, 314, 329, 321, 330,
+ 323, 315, 331, 332, 333, 335, 337, 338, 339, 341,
+ 342, 343, 315, 344, 345, 346, 348, 324, 325, 350,
+ 351, 352, 326, 327, 353, 354, 329, 355, 330, 356,
+ 357, 331, 332, 333, 335, 337, 338, 339, 341, 342,
+ 343, 359, 344, 345, 346, 348, 360, 362, 350, 351,
+ 352, 366, 367, 353, 354, 368, 355, 369, 356, 357,
+ 370, 371, 372, 370, 374, 375, 376, 377, 378, 379,
+ 359, 380, 381, 382, 383, 360, 362, 384, 385, 386,
+ 366, 367, 387, 388, 368, 389, 369, 393, 394, 370,
+
+ 371, 372, 370, 374, 375, 376, 377, 378, 379, 396,
+ 380, 381, 382, 383, 399, 400, 384, 385, 386, 403,
+ 401, 387, 388, 401, 389, 408, 393, 394, 409, 410,
+ 411, 412, 414, 415, 417, 418, 419, 420, 396, 421,
+ 423, 424, 425, 399, 400, 427, 428, 430, 403, 401,
+ 431, 433, 401, 434, 408, 435, 436, 409, 410, 411,
+ 412, 414, 415, 417, 418, 419, 420, 438, 421, 423,
+ 424, 425, 439, 440, 427, 428, 430, 441, 442, 431,
+ 433, 444, 434, 446, 435, 436, 447, 448, 449, 450,
+ 452, 453, 454, 458, 459, 460, 438, 463, 464, 465,
+
+ 467, 439, 440, 468, 469, 470, 441, 442, 471, 472,
+ 444, 474, 446, 477, 478, 447, 448, 449, 450, 452,
+ 453, 454, 458, 459, 460, 479, 463, 464, 465, 467,
+ 480, 481, 468, 469, 470, 485, 487, 471, 472, 488,
+ 474, 490, 477, 478, 491, 492, 493, 494, 495, 498,
+ 501, 502, 503, 504, 479, 506, 509, 510, 511, 480,
+ 481, 513, 515, 516, 485, 487, 517, 518, 488, 519,
+ 490, 520, 521, 491, 492, 493, 494, 495, 498, 501,
+ 502, 503, 504, 522, 506, 509, 510, 511, 524, 525,
+ 513, 515, 516, 526, 527, 517, 518, 528, 519, 529,
+
+ 520, 521, 530, 531, 533, 534, 536, 537, 538, 540,
+ 541, 543, 522, 544, 546, 547, 548, 524, 525, 549,
+ 550, 552, 526, 527, 553, 554, 528, 555, 529, 557,
+ 559, 530, 531, 533, 534, 536, 537, 538, 540, 541,
+ 543, 560, 544, 546, 547, 548, 563, 565, 549, 550,
+ 552, 566, 569, 553, 554, 573, 555, 574, 557, 559,
+ 575, 578, 581, 582, 583, 586, 587, 589, 590, 591,
+ 560, 592, 593, 595, 0, 563, 565, 0, 0, 0,
+ 566, 569, 0, 0, 573, 0, 574, 0, 0, 575,
+ 578, 581, 582, 583, 586, 587, 589, 590, 591, 0,
+
+ 592, 593, 595, 599, 599, 599, 599, 599, 599, 599,
+ 599, 599, 599, 600, 600, 600, 600, 600, 600, 600,
+ 600, 600, 600, 601, 601, 601, 601, 601, 601, 601,
+ 601, 601, 601, 602, 602, 602, 602, 602, 602, 602,
+ 602, 602, 602, 603, 603, 603, 603, 603, 603, 603,
+ 603, 603, 603, 604, 604, 605, 605, 605, 0, 605,
+ 606, 606, 606, 606, 607, 607, 607, 0, 607, 607,
+ 607, 607, 607, 607, 608, 608, 608, 0, 608, 608,
+ 608, 608, 0, 608, 609, 609, 609, 609, 609, 609,
+ 609, 609, 609, 609, 610, 610, 0, 610, 610, 610,
+
+ 610, 610, 610, 610, 611, 0, 611, 611, 611, 611,
+ 611, 611, 611, 611, 612, 612, 613, 613, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598,
+ 598, 598, 598, 598, 598, 598, 598, 598, 598, 598
} ;
/* Table of booleans, true if rule could match eol. */
-static const flex_int32_t yy_rule_can_match_eol[162] =
+static yyconst flex_int32_t yy_rule_can_match_eol[164] =
{ 0,
0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -1017,8 +970,8 @@ static const flex_int32_t yy_rule_can_match_eol[162] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0,
- 0, 0, };
+ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0,
+ 1, 0, 0, 0, };
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
@@ -1093,6 +1046,7 @@ class ParseSelectionClause;
class ParseSelectionItem;
class ParseSelectionItemScalar;
class ParseSelectionList;
+class ParseSetOperation;
class ParseSimpleTableReference;
class ParseSimpleWhenClause;
class ParseStringKeyLiteralValues;
@@ -1104,7 +1058,7 @@ class ParseStatementDropTable;
class ParseStatementInsert;
class ParseStatementInsertTuple;
class ParseStatementInsertSelection;
-class ParseStatementSelect;
+class ParseStatementSetOperation;
class ParseStatementQuit;
class ParseStatementUpdate;
class ParseSubqueryExpression;
@@ -1128,14 +1082,17 @@ class UnaryOperation;
yycolumn += yyleng; \
}
-#line 1131 "SqlLexer_gen.cpp"
/* FIXME(chasseur, qzeng): Add support for hexadecimal literals. */
/**
* These patterns are based on the SQL-2011 standard for syntax of numeric
* literals (Part 2, Section 5.3 of the standard).
**/
-#line 1138 "SqlLexer_gen.cpp"
+
+
+
+
+#line 1096 "SqlLexer_gen.cpp"
#define INITIAL 0
#define CONDITION_SQL 1
@@ -1169,8 +1126,8 @@ struct yyguts_t
size_t yy_buffer_stack_max; /**< capacity of stack. */
YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */
char yy_hold_char;
- int yy_n_chars;
- int yyleng_r;
+ yy_size_t yy_n_chars;
+ yy_size_t yyleng_r;
char *yy_c_buf_p;
int yy_init;
int yy_start;
@@ -1194,7 +1151,7 @@ struct yyguts_t
}; /* end struct yyguts_t */
-static int yy_init_globals ( yyscan_t yyscanner );
+static int yy_init_globals (yyscan_t yyscanner );
/* This must go here because YYSTYPE and YYLTYPE are included
* from bison output in section 1.*/
@@ -1204,48 +1161,48 @@ static int yy_init_globals ( yyscan_t yyscanner );
int quickstep_yylex_init (yyscan_t* scanner);
-int quickstep_yylex_init_extra ( YY_EXTRA_TYPE user_defined, yyscan_t* scanner);
+int quickstep_yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
/* Accessor methods to globals.
These are made visible to non-reentrant scanners for convenience. */
-int quickstep_yylex_destroy ( yyscan_t yyscanner );
+int quickstep_yylex_destroy (yyscan_t yyscanner );
-int quickstep_yyget_debug ( yyscan_t yyscanner );
+int quickstep_yyget_debug (yyscan_t yyscanner );
-void quickstep_yyset_debug ( int debug_flag , yyscan_t yyscanner );
+void quickstep_yyset_debug (int debug_flag ,yyscan_t yyscanner );
-YY_EXTRA_TYPE quickstep_yyget_extra ( yyscan_t yyscanner );
+YY_EXTRA_TYPE quickstep_yyget_extra (yyscan_t yyscanner );
-void quickstep_yyset_extra ( YY_EXTRA_TYPE user_defined , yyscan_t yyscanner );
+void quickstep_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
-FILE *quickstep_yyget_in ( yyscan_t yyscanner );
+FILE *quickstep_yyget_in (yyscan_t yyscanner );
-void quickstep_yyset_in ( FILE * _in_str , yyscan_t yyscanner );
+void quickstep_yyset_in (FILE * _in_str ,yyscan_t yyscanner );
-FILE *quickstep_yyget_out ( yyscan_t yyscanner );
+FILE *quickstep_yyget_out (yyscan_t yyscanner );
-void quickstep_yyset_out ( FILE * _out_str , yyscan_t yyscanner );
+void quickstep_yyset_out (FILE * _out_str ,yyscan_t yyscanner );
- int quickstep_yyget_leng ( yyscan_t yyscanner );
+yy_size_t quickstep_yyget_leng (yyscan_t yyscanner );
-char *quickstep_yyget_text ( yyscan_t yyscanner );
+char *quickstep_yyget_text (yyscan_t yyscanner );
-int quickstep_yyget_lineno ( yyscan_t yyscanner );
+int quickstep_yyget_lineno (yyscan_t yyscanner );
-void quickstep_yyset_lineno ( int _line_number , yyscan_t yyscanner );
+void quickstep_yyset_lineno (int _line_number ,yyscan_t yyscanner );
-int quickstep_yyget_column ( yyscan_t yyscanner );
+int quickstep_yyget_column (yyscan_t yyscanner );
-void quickstep_yyset_column ( int _column_no , yyscan_t yyscanner );
+void quickstep_yyset_column (int _column_no ,yyscan_t yyscanner );
-YYSTYPE * quickstep_yyget_lval ( yyscan_t yyscanner );
+YYSTYPE * quickstep_yyget_lval (yyscan_t yyscanner );
-void quickstep_yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner );
+void quickstep_yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
- YYLTYPE *quickstep_yyget_lloc ( yyscan_t yyscanner );
+ YYLTYPE *quickstep_yyget_lloc (yyscan_t yyscanner );
- void quickstep_yyset_lloc ( YYLTYPE * yylloc_param , yyscan_t yyscanner );
+ void quickstep_yyset_lloc (YYLTYPE * yylloc_param ,yyscan_t yyscanner );
/* Macros after this point can all be overridden by user definitions in
* section 1.
@@ -1253,9 +1210,9 @@ void quickstep_yyset_lval ( YYSTYPE * yylval_param , yyscan_t yyscanner );
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
-extern "C" int quickstep_yywrap ( yyscan_t yyscanner );
+extern "C" int quickstep_yywrap (yyscan_t yyscanner );
#else
-extern int quickstep_yywrap ( yyscan_t yyscanner );
+extern int quickstep_yywrap (yyscan_t yyscanner );
#endif
#endif
@@ -1264,18 +1221,19 @@ extern int quickstep_yywrap ( yyscan_t yyscanner );
#endif
#ifndef yytext_ptr
-static void yy_flex_strncpy ( char *, const char *, int , yyscan_t yyscanner);
+static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
#endif
#ifdef YY_NEED_STRLEN
-static int yy_flex_strlen ( const char * , yyscan_t yyscanner);
+static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
#endif
#ifndef YY_NO_INPUT
+
#ifdef __cplusplus
-static int yyinput ( yyscan_t yyscanner );
+static int yyinput (yyscan_t yyscanner );
#else
-static int input ( yyscan_t yyscanner );
+static int input (yyscan_t yyscanner );
#endif
#endif
@@ -1295,7 +1253,7 @@ static int input ( yyscan_t yyscanner );
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
-#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
@@ -1306,7 +1264,7 @@ static int input ( yyscan_t yyscanner );
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
- int n; \
+ size_t n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
@@ -1319,7 +1277,7 @@ static int input ( yyscan_t yyscanner );
else \
{ \
errno=0; \
- while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
+ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
@@ -1361,7 +1319,7 @@ static int input ( yyscan_t yyscanner );
#define YY_DECL_IS_OURS 1
extern int quickstep_yylex \
- (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner);
+ (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner);
#define YY_DECL int quickstep_yylex \
(YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
@@ -1422,10 +1380,10 @@ YY_DECL
}
{
-#line 131 "../SqlLexer.lpp"
+#line 132 "../SqlLexer.lpp"
-#line 1428 "SqlLexer_gen.cpp"
+#line 1387 "SqlLexer_gen.cpp"
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{
@@ -1452,13 +1410,13 @@ yy_match:
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 >= 593 )
- yy_c = yy_meta[yy_c];
+ if ( yy_current_state >= 599 )
+ yy_c = yy_meta[(unsigned int) yy_c];
}
- yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
- while ( yy_current_state != 592 );
+ while ( yy_current_state != 598 );
yy_cp = yyg->yy_last_accepting_cpos;
yy_current_state = yyg->yy_last_accepting_state;
@@ -1469,10 +1427,10 @@ yy_find_action:
if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
{
- int yyl;
+ yy_size_t yyl;
for ( yyl = 0; yyl < yyleng; ++yyl )
if ( yytext[yyl] == '\n' )
-
+
do{ yylineno++;
yycolumn=0;
}while(0)
@@ -1492,7 +1450,7 @@ do_action: /* This label is used only to access EOF actions. */
case 1:
YY_RULE_SETUP
-#line 134 "../SqlLexer.lpp"
+#line 135 "../SqlLexer.lpp"
{
/* A forward slash character represents a system command. */
BEGIN(CONDITION_COMMAND);
@@ -1504,7 +1462,7 @@ YY_RULE_SETUP
case 2:
/* rule 2 can match eol */
YY_RULE_SETUP
-#line 142 "../SqlLexer.lpp"
+#line 143 "../SqlLexer.lpp"
{
/* This is a SQL command. Place the char back and process normally. */
yyless(0);
@@ -1516,7 +1474,7 @@ YY_RULE_SETUP
case 3:
YY_RULE_SETUP
-#line 151 "../SqlLexer.lpp"
+#line 152 "../SqlLexer.lpp"
{
/* This is a command argument. */
yylval->string_value_ = new quickstep::ParseString(
@@ -1526,7 +1484,7 @@ YY_RULE_SETUP
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 158 "../SqlLexer.lpp"
+#line 159 "../SqlLexer.lpp"
{
/* Ignore whitespace. */
}
@@ -1534,7 +1492,7 @@ YY_RULE_SETUP
case 5:
/* rule 5 can match eol */
YY_RULE_SETUP
-#line 162 "../SqlLexer.lpp"
+#line 163 "../SqlLexer.lpp"
{
/* Newline reverts the lexer to the initial state. */
yycolumn = 0;
@@ -1546,672 +1504,682 @@ YY_RULE_SETUP
case 6:
YY_RULE_SETUP
-#line 171 "../SqlLexer.lpp"
+#line 172 "../SqlLexer.lpp"
return TOKEN_ADD;
YY_BREAK
case 7:
YY_RULE_SETUP
-#line 172 "../SqlLexer.lpp"
+#line 173 "../SqlLexer.lpp"
return TOKEN_ALL;
YY_BREAK
case 8:
YY_RULE_SETUP
-#line 173 "../SqlLexer.lpp"
+#line 174 "../SqlLexer.lpp"
return TOKEN_ALTER;
YY_BREAK
case 9:
YY_RULE_SETUP
-#line 174 "../SqlLexer.lpp"
+#line 175 "../SqlLexer.lpp"
return TOKEN_AND;
YY_BREAK
case 10:
YY_RULE_SETUP
-#line 175 "../SqlLexer.lpp"
+#line 176 "../SqlLexer.lpp"
return TOKEN_AS;
YY_BREAK
case 11:
YY_RULE_SETUP
-#line 176 "../SqlLexer.lpp"
+#line 177 "../SqlLexer.lpp"
return TOKEN_ASC;
YY_BREAK
case 12:
YY_RULE_SETUP
-#line 177 "../SqlLexer.lpp"
+#line 178 "../SqlLexer.lpp"
return TOKEN_ASC;
YY_BREAK
case 13:
YY_RULE_SETUP
-#line 178 "../SqlLexer.lpp"
+#line 179 "../SqlLexer.lpp"
return TOKEN_BETWEEN;
YY_BREAK
case 14:
YY_RULE_SETUP
-#line 179 "../SqlLexer.lpp"
+#line 180 "../SqlLexer.lpp"
return TOKEN_BIGINT;
YY_BREAK
case 15:
YY_RULE_SETUP
-#line 180 "../SqlLexer.lpp"
+#line 181 "../SqlLexer.lpp"
return TOKEN_BIT;
YY_BREAK
case 16:
YY_RULE_SETUP
-#line 181 "../SqlLexer.lpp"
+#line 182 "../SqlLexer.lpp"
return TOKEN_BITWEAVING;
YY_BREAK
case 17:
YY_RULE_SETUP
-#line 182 "../SqlLexer.lpp"
+#line 183 "../SqlLexer.lpp"
return TOKEN_BLOCKPROPERTIES;
YY_BREAK
case 18:
YY_RULE_SETUP
-#line 183 "../SqlLexer.lpp"
+#line 184 "../SqlLexer.lpp"
return TOKEN_BLOCKSAMPLE;
YY_BREAK
case 19:
YY_RULE_SETUP
-#line 184 "../SqlLexer.lpp"
+#line 185 "../SqlLexer.lpp"
return TOKEN_BLOOM_FILTER;
YY_BREAK
case 20:
YY_RULE_SETUP
-#line 185 "../SqlLexer.lpp"
+#line 186 "../SqlLexer.lpp"
return TOKEN_CASE;
YY_BREAK
case 21:
YY_RULE_SETUP
-#line 186 "../SqlLexer.lpp"
+#line 187 "../SqlLexer.lpp"
return TOKEN_CSB_TREE;
YY_BREAK
case 22:
YY_RULE_SETUP
-#line 187 "../SqlLexer.lpp"
+#line 188 "../SqlLexer.lpp"
return TOKEN_BY;
YY_BREAK
case 23:
YY_RULE_SETUP
-#line 188 "../SqlLexer.lpp"
+#line 189 "../SqlLexer.lpp"
return TOKEN_CHARACTER;
YY_BREAK
case 24:
YY_RULE_SETUP
-#line 189 "../SqlLexer.lpp"
+#line 190 "../SqlLexer.lpp"
return TOKEN_CHARACTER;
YY_BREAK
case 25:
YY_RULE_SETUP
-#line 190 "../SqlLexer.lpp"
+#line 191 "../SqlLexer.lpp"
return TOKEN_CHECK;
YY_BREAK
case 26:
YY_RULE_SETUP
-#line 191 "../SqlLexer.lpp"
+#line 192 "../SqlLexer.lpp"
return TOKEN_COLUMN;
YY_BREAK
case 27:
YY_RULE_SETUP
-#line 192 "../SqlLexer.lpp"
+#line 193 "../SqlLexer.lpp"
return TOKEN_CONSTRAINT;
YY_BREAK
case 28:
YY_RULE_SETUP
-#line 193 "../SqlLexer.lpp"
+#line 194 "../SqlLexer.lpp"
return TOKEN_COPY;
YY_BREAK
case 29:
YY_RULE_SETUP
-#line 194 "../SqlLexer.lpp"
+#line 195 "../SqlLexer.lpp"
return TOKEN_CREATE;
YY_BREAK
case 30:
YY_RULE_SETUP
-#line 195 "../SqlLexer.lpp"
+#line 196 "../SqlLexer.lpp"
return TOKEN_CURRENT;
YY_BREAK
case 31:
YY_RULE_SETUP
-#line 196 "../SqlLexer.lpp"
+#line 197 "../SqlLexer.lpp"
return TOKEN_DATE;
YY_BREAK
case 32:
YY_RULE_SETUP
-#line 197 "../SqlLexer.lpp"
+#line 198 "../SqlLexer.lpp"
return TOKEN_DATETIME;
YY_BREAK
case 33:
YY_RULE_SETUP
-#line 198 "../SqlLexer.lpp"
+#line 199 "../SqlLexer.lpp"
return TOKEN_DAY;
YY_BREAK
case 34:
YY_RULE_SETUP
-#line 199 "../SqlLexer.lpp"
+#line 200 "../SqlLexer.lpp"
return TOKEN_DECIMAL;
YY_BREAK
case 35:
YY_RULE_SETUP
-#line 200 "../SqlLexer.lpp"
+#line 201 "../SqlLexer.lpp"
return TOKEN_DEFAULT;
YY_BREAK
case 36:
YY_RULE_SETUP
-#line 201 "../SqlLexer.lpp"
+#line 202 "../SqlLexer.lpp"
return TOKEN_DELETE;
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 202 "../SqlLexer.lpp"
+#line 203 "../SqlLexer.lpp"
return TOKEN_DELIMITER;
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 203 "../SqlLexer.lpp"
+#line 204 "../SqlLexer.lpp"
return TOKEN_DESC;
YY_BREAK
case 39:
YY_RULE_SETUP
-#line 204 "../SqlLexer.lpp"
+#line 205 "../SqlLexer.lpp"
return TOKEN_DESC;
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 205 "../SqlLexer.lpp"
+#line 206 "../SqlLexer.lpp"
return TOKEN_DISTINCT;
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 206 "../SqlLexer.lpp"
+#line 207 "../SqlLexer.lpp"
return TOKEN_DOUBLE;
YY_BREAK
case 42:
YY_RULE_SETUP
-#line 207 "../SqlLexer.lpp"
+#line 208 "../SqlLexer.lpp"
return TOKEN_DROP;
YY_BREAK
case 43:
YY_RULE_SETUP
-#line 208 "../SqlLexer.lpp"
+#line 209 "../SqlLexer.lpp"
return TOKEN_ELSE;
YY_BREAK
case 44:
YY_RULE_SETUP
-#line 209 "../SqlLexer.lpp"
+#line 210 "../SqlLexer.lpp"
return TOKEN_END;
YY_BREAK
case 45:
YY_RULE_SETUP
-#line 210 "../SqlLexer.lpp"
+#line 211 "../SqlLexer.lpp"
return TOKEN_ESCAPE_STRINGS;
YY_BREAK
case 46:
YY_RULE_SETUP
-#line 211 "../SqlLexer.lpp"
+#line 212 "../SqlLexer.lpp"
return TOKEN_EXISTS;
YY_BREAK
case 47:
YY_RULE_SETUP
-#line 212 "../SqlLexer.lpp"
+#line 213 "../SqlLexer.lpp"
return TOKEN_EXTRACT;
YY_BREAK
case 48:
YY_RULE_SETUP
-#line 213 "../SqlLexer.lpp"
+#line 214 "../SqlLexer.lpp"
return TOKEN_FALSE;
YY_BREAK
case 49:
YY_RULE_SETUP
-#line 214 "../SqlLexer.lpp"
+#line 215 "../SqlLexer.lpp"
return TOKEN_FIRST;
YY_BREAK
case 50:
YY_RULE_SETUP
-#line 215 "../SqlLexer.lpp"
+#line 216 "../SqlLexer.lpp"
return TOKEN_FLOAT;
YY_BREAK
case 51:
YY_RULE_SETUP
-#line 216 "../SqlLexer.lpp"
+#line 217 "../SqlLexer.lpp"
return TOKEN_FOLLOWING;
YY_BREAK
case 52:
YY_RULE_SETUP
-#line 217 "../SqlLexer.lpp"
+#line 218 "../SqlLexer.lpp"
return TOKEN_FOR;
YY_BREAK
case 53:
YY_RULE_SETUP
-#line 218 "../SqlLexer.lpp"
+#line 219 "../SqlLexer.lpp"
return TOKEN_FOREIGN;
YY_BREAK
case 54:
YY_RULE_SETUP
-#line 219 "../SqlLexer.lpp"
+#line 220 "../SqlLexer.lpp"
return TOKEN_FROM;
YY_BREAK
case 55:
YY_RULE_SETUP
-#line 220 "../SqlLexer.lpp"
+#line 221 "../SqlLexer.lpp"
return TOKEN_FULL;
YY_BREAK
case 56:
YY_RULE_SETUP
-#line 221 "../SqlLexer.lpp"
+#line 222 "../SqlLexer.lpp"
return TOKEN_GROUP;
YY_BREAK
case 57:
YY_RULE_SETUP
-#line 222 "../SqlLexer.lpp"
+#line 223 "../SqlLexer.lpp"
return TOKEN_HASH;
YY_BREAK
case 58:
YY_RULE_SETUP
-#line 223 "../SqlLexer.lpp"
+#line 224 "../SqlLexer.lpp"
return TOKEN_HAVING;
YY_BREAK
case 59:
YY_RULE_SETUP
-#line 224 "../SqlLexer.lpp"
+#line 225 "../SqlLexer.lpp"
return TOKEN_HOUR;
YY_BREAK
case 60:
YY_RULE_SETUP
-#line 225 "../SqlLexer.lpp"
+#line 226 "../SqlLexer.lpp"
return TOKEN_IN;
YY_BREAK
case 61:
YY_RULE_SETUP
-#line 226 "../SqlLexer.lpp"
+#line 227 "../SqlLexer.lpp"
return TOKEN_INDEX;
YY_BREAK
case 62:
YY_RULE_SETUP
-#line 227 "../SqlLexer.lpp"
+#line 228 "../SqlLexer.lpp"
return TOKEN_INNER;
YY_BREAK
case 63:
YY_RULE_SETUP
-#line 228 "../SqlLexer.lpp"
+#line 229 "../SqlLexer.lpp"
return TOKEN_INSERT;
YY_BREAK
case 64:
YY_RULE_SETUP
-#line 229 "../SqlLexer.lpp"
+#line 230 "../SqlLexer.lpp"
return TOKEN_INTEGER;
YY_BREAK
case 65:
YY_RULE_SETUP
-#line 230 "../SqlLexer.lpp"
+#line 231 "../SqlLexer.lpp"
return TOKEN_INTEGER;
YY_BREAK
case 66:
YY_RULE_SETUP
-#line 231 "../SqlLexer.lpp"
-return TOKEN_INTERVAL;
+#line 232 "../SqlLexer.lpp"
+return TOKEN_INTERSECT;
YY_BREAK
case 67:
YY_RULE_SETUP
-#line 232 "../SqlLexer.lpp"
-return TOKEN_INTO;
+#line 233 "../SqlLexer.lpp"
+return TOKEN_INTERVAL;
YY_BREAK
case 68:
YY_RULE_SETUP
-#line 233 "../SqlLexer.lpp"
-return TOKEN_IS;
+#line 234 "../SqlLexer.lpp"
+return TOKEN_INTO;
YY_BREAK
case 69:
YY_RULE_SETUP
-#line 234 "../SqlLexer.lpp"
-return TOKEN_JOIN;
+#line 235 "../SqlLexer.lpp"
+return TOKEN_IS;
YY_BREAK
case 70:
YY_RULE_SETUP
-#line 235 "../SqlLexer.lpp"
-return TOKEN_KEY;
+#line 236 "../SqlLexer.lpp"
+return TOKEN_JOIN;
YY_BREAK
case 71:
YY_RULE_SETUP
-#line 236 "../SqlLexer.lpp"
-return TOKEN_LAST;
+#line 237 "../SqlLexer.lpp"
+return TOKEN_KEY;
YY_BREAK
case 72:
YY_RULE_SETUP
-#line 237 "../SqlLexer.lpp"
-return TOKEN_LEFT;
+#line 238 "../SqlLexer.lpp"
+return TOKEN_LAST;
YY_BREAK
case 73:
YY_RULE_SETUP
-#line 238 "../SqlLexer.lpp"
-return TOKEN_LIKE;
+#line 239 "../SqlLexer.lpp"
+return TOKEN_LEFT;
YY_BREAK
case 74:
YY_RULE_SETUP
-#line 239 "../SqlLexer.lpp"
-return TOKEN_LIMIT;
+#line 240 "../SqlLexer.lpp"
+return TOKEN_LIKE;
YY_BREAK
case 75:
YY_RULE_SETUP
-#line 240 "../SqlLexer.lpp"
-return TOKEN_LONG;
+#line 241 "../SqlLexer.lpp"
+return TOKEN_LIMIT;
YY_BREAK
case 76:
YY_RULE_SETUP
-#line 241 "../SqlLexer.lpp"
-return TOKEN_MINUTE;
+#line 242 "../SqlLexer.lpp"
+return TOKEN_LONG;
YY_BREAK
case 77:
YY_RULE_SETUP
-#line 242 "../SqlLexer.lpp"
-return TOKEN_MONTH;
+#line 243 "../SqlLexer.lpp"
+return TOKEN_MINUTE;
YY_BREAK
case 78:
YY_RULE_SETUP
-#line 243 "../SqlLexer.lpp"
-return TOKEN_NOT;
+#line 244 "../SqlLexer.lpp"
+return TOKEN_MONTH;
YY_BREAK
case 79:
YY_RULE_SETUP
-#line 244 "../SqlLexer.lpp"
-return TOKEN_NULL;
+#line 245 "../SqlLexer.lpp"
+return TOKEN_NOT;
YY_BREAK
case 80:
YY_RULE_SETUP
-#line 245 "../SqlLexer.lpp"
-return TOKEN_NULLS;
+#line 246 "../SqlLexer.lpp"
+return TOKEN_NULL;
YY_BREAK
case 81:
YY_RULE_SETUP
-#line 246 "../SqlLexer.lpp"
-return TOKEN_OFF;
+#line 247 "../SqlLexer.lpp"
+return TOKEN_NULLS;
YY_BREAK
case 82:
YY_RULE_SETUP
-#line 247 "../SqlLexer.lpp"
-return TOKEN_ON;
+#line 248 "../SqlLexer.lpp"
+return TOKEN_OFF;
YY_BREAK
case 83:
YY_RULE_SETUP
-#line 248 "../SqlLexer.lpp"
-return TOKEN_OR;
+#line 249 "../SqlLexer.lpp"
+return TOKEN_ON;
YY_BREAK
case 84:
YY_RULE_SETUP
-#line 249 "../SqlLexer.lpp"
-return TOKEN_ORDER;
+#line 250 "../SqlLexer.lpp"
+return TOKEN_OR;
YY_BREAK
case 85:
YY_RULE_SETUP
-#line 250 "../SqlLexer.lpp"
-return TOKEN_OUTER;
+#line 251 "../SqlLexer.lpp"
+return TOKEN_ORDER;
YY_BREAK
case 86:
YY_RULE_SETUP
-#line 251 "../SqlLexer.lpp"
-return TOKEN_OVER;
+#line 252 "../SqlLexer.lpp"
+return TOKEN_OUTER;
YY_BREAK
case 87:
YY_RULE_SETUP
-#line 252 "../SqlLexer.lpp"
-return TOKEN_PARTITION;
+#line 253 "../SqlLexer.lpp"
+return TOKEN_OVER;
YY_BREAK
case 88:
-YY_RULE_SETUP
-#line 253 "../SqlLexer.lpp"
-return TOKEN_PARTITIONS;
+YY_RULE_SETUP
+#line 254 "../SqlLexer.lpp"
+return TOKEN_PARTITION;
YY_BREAK
case 89:
YY_RULE_SETUP
-#line 254 "../SqlLexer.lpp"
-return TOKEN_PERCENT;
+#line 255 "../SqlLexer.lpp"
+return TOKEN_PARTITIONS;
YY_BREAK
case 90:
YY_RULE_SETUP
-#line 255 "../SqlLexer.lpp"
-return TOKEN_PRECEDING;
+#line 256 "../SqlLexer.lpp"
+return TOKEN_PERCENT;
YY_BREAK
case 91:
YY_RULE_SETUP
-#line 256 "../SqlLexer.lpp"
-return TOKEN_PRIMARY;
+#line 257 "../SqlLexer.lpp"
+return TOKEN_PRECEDING;
YY_BREAK
case 92:
YY_RULE_SETUP
-#line 257 "../SqlLexer.lpp"
-return TOKEN_PRIORITY;
+#line 258 "../SqlLexer.lpp"
+return TOKEN_PRIMARY;
YY_BREAK
case 93:
YY_RULE_SETUP
-#line 258 "../SqlLexer.lpp"
-return TOKEN_QUIT;
+#line 259 "../SqlLexer.lpp"
+return TOKEN_PRIORITY;
YY_BREAK
case 94:
YY_RULE_SETUP
-#line 259 "../SqlLexer.lpp"
-return TOKEN_RANGE;
+#line 260 "../SqlLexer.lpp"
+return TOKEN_QUIT;
YY_BREAK
case 95:
YY_RULE_SETUP
-#line 260 "../SqlLexer.lpp"
-return TOKEN_REAL;
+#line 261 "../SqlLexer.lpp"
+return TOKEN_RANGE;
YY_BREAK
case 96:
YY_RULE_SETUP
-#line 261 "../SqlLexer.lpp"
-return TOKEN_REFERENCES;
+#line 262 "../SqlLexer.lpp"
+return TOKEN_REAL;
YY_BREAK
case 97:
YY_RULE_SETUP
-#line 262 "../SqlLexer.lpp"
-return TOKEN_REGEXP;
+#line 263 "../SqlLexer.lpp"
+return TOKEN_REFERENCES;
YY_BREAK
case 98:
YY_RULE_SETUP
-#line 263 "../SqlLexer.lpp"
-return TOKEN_RIGHT;
+#line 264 "../SqlLexer.lpp"
+return TOKEN_REGEXP;
YY_BREAK
case 99:
YY_RULE_SETUP
-#line 264 "../SqlLexer.lpp"
-return TOKEN_ROW;
+#line 265 "../SqlLexer.lpp"
+return TOKEN_RIGHT;
YY_BREAK
case 100:
YY_RULE_SETUP
-#line 265 "../SqlLexer.lpp"
-return TOKEN_ROW_DELIMITER;
+#line 266 "../SqlLexer.lpp"
+return TOKEN_ROW;
YY_BREAK
case 101:
YY_RULE_SETUP
-#line 266 "../SqlLexer.lpp"
-return TOKEN_ROWS;
+#line 267 "../SqlLexer.lpp"
+return TOKEN_ROW_DELIMITER;
YY_BREAK
case 102:
YY_RULE_SETUP
-#line 267 "../SqlLexer.lpp"
-return TOKEN_SECOND;
+#line 268 "../SqlLexer.lpp"
+return TOKEN_ROWS;
YY_BREAK
case 103:
YY_RULE_SETUP
-#line 268 "../SqlLexer.lpp"
-return TOKEN_SELECT;
+#line 269 "../SqlLexer.lpp"
+return TOKEN_SECOND;
YY_BREAK
case 104:
YY_RULE_SETUP
-#line 269 "../SqlLexer.lpp"
-return TOKEN_SET;
+#line 270 "../SqlLexer.lpp"
+return TOKEN_SELECT;
YY_BREAK
case 105:
YY_RULE_SETUP
-#line 270 "../SqlLexer.lpp"
-return TOKEN_SMA;
+#line 271 "../SqlLexer.lpp"
+return TOKEN_SET;
YY_BREAK
case 106:
YY_RULE_SETUP
-#line 271 "../SqlLexer.lpp"
-return TOKEN_SMALLINT;
+#line 272 "../SqlLexer.lpp"
+return TOKEN_SMA;
YY_BREAK
case 107:
YY_RULE_SETUP
-#line 272 "../SqlLexer.lpp"
-return TOKEN_SUBSTRING;
+#line 273 "../SqlLexer.lpp"
+return TOKEN_SMALLINT;
YY_BREAK
case 108:
YY_RULE_SETUP
-#line 273 "../SqlLexer.lpp"
-return TOKEN_TABLE;
+#line 274 "../SqlLexer.lpp"
+return TOKEN_SUBSTRING;
YY_BREAK
case 109:
YY_RULE_SETUP
-#line 274 "../SqlLexer.lpp"
-return TOKEN_THEN;
+#line 275 "../SqlLexer.lpp"
+return TOKEN_TABLE;
YY_BREAK
case 110:
YY_RULE_SETUP
-#line 275 "../SqlLexer.lpp"
-return TOKEN_TIME;
+#line 276 "../SqlLexer.lpp"
+return TOKEN_THEN;
YY_BREAK
case 111:
YY_RULE_SETUP
-#line 276 "../SqlLexer.lpp"
-return TOKEN_TIMESTAMP;
+#line 277 "../SqlLexer.lpp"
+return TOKEN_TIME;
YY_BREAK
case 112:
YY_RULE_SETUP
-#line 277 "../SqlLexer.lpp"
-return TOKEN_TRUE;
+#line 278 "../SqlLexer.lpp"
+return TOKEN_TIMESTAMP;
YY_BREAK
case 113:
YY_RULE_SETUP
-#line 278 "../SqlLexer.lpp"
-return TOKEN_TUPLESAMPLE;
+#line 279 "../SqlLexer.lpp"
+return TOKEN_TRUE;
YY_BREAK
case 114:
YY_RULE_SETUP
-#line 279 "../SqlLexer.lpp"
-return TOKEN_UNBOUNDED;
+#line 280 "../SqlLexer.lpp"
+return TOKEN_TUPLESAMPLE;
YY_BREAK
case 115:
YY_RULE_SETUP
-#line 280 "../SqlLexer.lpp"
-return TOKEN_UNIQUE;
+#line 281 "../SqlLexer.lpp"
+return TOKEN_UNBOUNDED;
YY_BREAK
case 116:
YY_RULE_SETUP
-#line 281 "../SqlLexer.lpp"
-return TOKEN_UPDATE;
+#line 282 "../SqlLexer.lpp"
+return TOKEN_UNION;
YY_BREAK
case 117:
YY_RULE_SETUP
-#line 282 "../SqlLexer.lpp"
-return TOKEN_USING;
+#line 283 "../SqlLexer.lpp"
+return TOKEN_UNIQUE;
YY_BREAK
case 118:
YY_RULE_SETUP
-#line 283 "../SqlLexer.lpp"
-return TOKEN_VALUES;
+#line 284 "../SqlLexer.lpp"
+return TOKEN_UPDATE;
YY_BREAK
case 119:
YY_RULE_SETUP
-#line 284 "../SqlLexer.lpp"
-return TOKEN_VARCHAR;
+#line 285 "../SqlLexer.lpp"
+return TOKEN_USING;
YY_BREAK
case 120:
YY_RULE_SETUP
-#line 285 "../SqlLexer.lpp"
-return TOKEN_WHEN;
+#line 286 "../SqlLexer.lpp"
+return TOKEN_VALUES;
YY_BREAK
case 121:
YY_RULE_SETUP
-#line 286 "../SqlLexer.lpp"
-return TOKEN_WHERE;
+#line 287 "../SqlLexer.lpp"
+return TOKEN_VARCHAR;
YY_BREAK
case 122:
YY_RULE_SETUP
-#line 287 "../SqlLexer.lpp"
-return TOKEN_WINDOW;
+#line 288 "../SqlLexer.lpp"
+return TOKEN_WHEN;
YY_BREAK
case 123:
YY_RULE_SETUP
-#line 288 "../SqlLexer.lpp"
-return TOKEN_WITH;
+#line 289 "../SqlLexer.lpp"
+return TOKEN_WHERE;
YY_BREAK
case 124:
YY_RULE_SETUP
-#line 289 "../SqlLexer.lpp"
-return TOKEN_YEAR;
+#line 290 "../SqlLexer.lpp"
+return TOKEN_WINDOW;
YY_BREAK
case 125:
YY_RULE_SETUP
-#line 290 "../SqlLexer.lpp"
-return TOKEN_YEARMONTH;
+#line 291 "../SqlLexer.lpp"
+return TOKEN_WITH;
YY_BREAK
case 126:
YY_RULE_SETUP
#line 292 "../SqlLexer.lpp"
-return TOKEN_EQ;
+return TOKEN_YEAR;
YY_BREAK
case 127:
YY_RULE_SETUP
#line 293 "../SqlLexer.lpp"
-return TOKEN_NEQ;
+return TOKEN_YEARMONTH;
YY_BREAK
case 128:
YY_RULE_SETUP
-#line 294 "../SqlLexer.lpp"
-return TOKEN_NEQ;
+#line 295 "../SqlLexer.lpp"
+return TOKEN_EQ;
YY_BREAK
case 129:
YY_RULE_SETUP
-#line 295 "../SqlLexer.lpp"
-return TOKEN_LT;
+#line 296 "../SqlLexer.lpp"
+return TOKEN_NEQ;
YY_BREAK
case 130:
YY_RULE_SETUP
-#line 296 "../SqlLexer.lpp"
-return TOKEN_GT;
+#line 297 "../SqlLexer.lpp"
+return TOKEN_NEQ;
YY_BREAK
case 131:
YY_RULE_SETUP
-#line 297 "../SqlLexer.lpp"
-return TOKEN_LEQ;
+#line 298 "../SqlLexer.lpp"
+return TOKEN_LT;
YY_BREAK
case 132:
YY_RULE_SETUP
-#line 298 "../SqlLexer.lpp"
-return TOKEN_GEQ;
+#line 299 "../SqlLexer.lpp"
+return TOKEN_GT;
YY_BREAK
case 133:
YY_RULE_SETUP
#line 300 "../SqlLexer.lpp"
-return yytext[0];
+return TOKEN_LEQ;
YY_BREAK
case 134:
YY_RULE_SETUP
#line 301 "../SqlLexer.lpp"
+return TOKEN_GEQ;
+ YY_BREAK
+case 135:
+YY_RULE_SETUP
+#line 303 "../SqlLexer.lpp"
+return yytext[0];
+ YY_BREAK
+case 136:
+YY_RULE_SETUP
+#line 304 "../SqlLexer.lpp"
return yytext[0];
YY_BREAK
/**
* Quoted strings. Prefacing a string with an 'e' or 'E' causes escape
* sequences to be processed (as in PostgreSQL).
**/
-case 135:
+case 137:
YY_RULE_SETUP
-#line 307 "../SqlLexer.lpp"
+#line 310 "../SqlLexer.lpp"
{
yylval->string_value_ = new quickstep::ParseString(yylloc->first_line, yylloc->first_column);
BEGIN(CONDITION_STRING_SINGLE_QUOTED_ESCAPED);
}
YY_BREAK
-case 136:
+case 138:
YY_RULE_SETUP
-#line 312 "../SqlLexer.lpp"
+#line 315 "../SqlLexer.lpp"
{
yylval->string_value_ = new quickstep::ParseString(yylloc->first_line, yylloc->first_column);
BEGIN(CONDITION_STRING_SINGLE_QUOTED);
}
YY_BREAK
-case 137:
+case 139:
YY_RULE_SETUP
-#line 317 "../SqlLexer.lpp"
+#line 320 "../SqlLexer.lpp"
{
yylval->string_value_ = new quickstep::ParseString(yylloc->first_line, yylloc->first_column);
BEGIN(CONDITION_STRING_DOUBLE_QUOTED);
@@ -2223,7 +2191,7 @@ YY_RULE_SETUP
case YY_STATE_EOF(CONDITION_STRING_SINGLE_QUOTED):
case YY_STATE_EOF(CONDITION_STRING_SINGLE_QUOTED_ESCAPED):
case YY_STATE_EOF(CONDITION_STRING_DOUBLE_QUOTED):
-#line 326 "../SqlLexer.lpp"
+#line 329 "../SqlLexer.lpp"
{
delete yylval->string_value_;
BEGIN(INITIAL);
@@ -2234,9 +2202,9 @@ case YY_STATE_EOF(CONDITION_STRING_DOUBLE_QUOTED):
/* Process escape sequences. */
-case 138:
+case 140:
YY_RULE_SETUP
-#line 336 "../SqlLexer.lpp"
+#line 339 "../SqlLexer.lpp"
{
/* Octal code */
unsigned int code;
@@ -2250,9 +2218,9 @@ YY_RULE_SETUP
yylval->string_value_->push_back(code);
}
YY_BREAK
-case 139:
+case 141:
YY_RULE_SETUP
-#line 348 "../SqlLexer.lpp"
+#line 351 "../SqlLexer.lpp"
{
/* Hexadecimal code */
unsigned int code;
@@ -2260,9 +2228,9 @@ YY_RULE_SETUP
yylval->string_value_->push_back(code);
}
YY_BREAK
-case 140:
+case 142:
YY_RULE_SETUP
-#line 354 "../SqlLexer.lpp"
+#line 357 "../SqlLexer.lpp"
{
/* A numeric escape sequence that isn't correctly specified. */
delete yylval->string_value_;
@@ -2271,58 +2239,58 @@ YY_RULE_SETUP
return TOKEN_LEX_ERROR;
}
YY_BREAK
-case 141:
+case 143:
YY_RULE_SETUP
-#line 361 "../SqlLexer.lpp"
+#line 364 "../SqlLexer.lpp"
{
/* Backspace */
yylval->string_value_->push_back('\b');
}
YY_BREAK
-case 142:
+case 144:
YY_RULE_SETUP
-#line 365 "../SqlLexer.lpp"
+#line 368 "../SqlLexer.lpp"
{
/* Form-feed */
yylval->string_value_->push_back('\f');
}
YY_BREAK
-case 143:
+case 145:
YY_RULE_SETUP
-#line 369 "../SqlLexer.lpp"
+#line 372 "../SqlLexer.lpp"
{
/* Newline */
yylval->string_value_->push_back('\n');
}
YY_BREAK
-case 144:
+case 146:
YY_RULE_SETUP
-#line 373 "../SqlLexer.lpp"
+#line 376 "../SqlLexer.lpp"
{
/* Carriage-return */
yylval->string_value_->push_back('\r');
}
YY_BREAK
-case 145:
+case 147:
YY_RULE_SETUP
-#line 377 "../SqlLexer.lpp"
+#line 380 "../SqlLexer.lpp"
{
/* Horizontal Tab */
yylval->string_value_->push_back('\t');
}
YY_BREAK
-case 146:
-/* rule 146 can match eol */
+case 148:
+/* rule 148 can match eol */
YY_RULE_SETUP
-#line 381 "../SqlLexer.lpp"
+#line 384 "../SqlLexer.lpp"
{
/* Any other character (including actual newline or carriage return) */
yylval->string_value_->push_back(yytext[1]);
}
YY_BREAK
-case 147:
+case 149:
YY_RULE_SETUP
-#line 385 "../SqlLexer.lpp"
+#line 388 "../SqlLexer.lpp"
{
/* This should only be encountered right before an EOF. */
delete yylval->string_value_;
@@ -2333,17 +2301,17 @@ YY_RULE_SETUP
YY_BREAK
-case 148:
+case 150:
YY_RULE_SETUP
-#line 395 "../SqlLexer.lpp"
+#line 398 "../SqlLexer.lpp"
{
/* Two quotes in a row become a single quote (this is specified by the SQL standard). */
yylval->string_value_->push_back('\'');
}
YY_BREAK
-case 149:
+case 151:
YY_RULE_SETUP
-#line 399 "../SqlLexer.lpp"
+#line 402 "../SqlLexer.lpp"
{
/* End string */
BEGIN(CONDITION_SQL);
@@ -2352,17 +2320,17 @@ YY_RULE_SETUP
YY_BREAK
-case 150:
+case 152:
YY_RULE_SETUP
-#line 407 "../SqlLexer.lpp"
+#line 410 "../SqlLexer.lpp"
{
/* Two quotes in a row become a single quote (this is specified by the SQL standard). */
yylval->string_value_->push_back('"');
}
YY_BREAK
-case 151:
+case 153:
YY_RULE_SETUP
-#line 411 "../SqlLexer.lpp"
+#line 414 "../SqlLexer.lpp"
{
/* End string */
BEGIN(CONDITION_SQL);
@@ -2370,94 +2338,94 @@ YY_RULE_SETUP
}
YY_BREAK
-case 152:
-/* rule 152 can match eol */
+case 154:
+/* rule 154 can match eol */
YY_RULE_SETUP
-#line 418 "../SqlLexer.lpp"
+#line 421 "../SqlLexer.lpp"
{
/* Scan up to a quote. */
yylval->string_value_->append(yytext, yyleng);
}
YY_BREAK
-case 153:
-/* rule 153 can match eol */
+case 155:
+/* rule 155 can match eol */
YY_RULE_SETUP
-#line 423 "../SqlLexer.lpp"
+#line 426 "../SqlLexer.lpp"
{
/* Scan up to a quote or escape sequence. */
yylval->string_value_->append(yytext, yyleng);
}
YY_BREAK
-case 154:
-/* rule 154 can match eol */
+case 156:
+/* rule 156 can match eol */
YY_RULE_SETUP
-#line 428 "../SqlLexer.lpp"
+#line 431 "../SqlLexer.lpp"
{
/* Scan up to a quote. */
yylval->string_value_->append(yytext, yyleng);
}
YY_BREAK
-case 155:
+case 157:
YY_RULE_SETUP
-#line 434 "../SqlLexer.lpp"
+#line 437 "../SqlLexer.lpp"
{
yylval->string_value_ = new quickstep::ParseString(
yylloc->first_line, yylloc->first_column, std::string(yytext, yyleng));
return TOKEN_NAME;
}
YY_BREAK
-case 156:
+case 158:
YY_RULE_SETUP
-#line 440 "../SqlLexer.lpp"
+#line 443 "../SqlLexer.lpp"
{
yy
<TRUNCATED>