Commit 105f46ff authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-12273 Remove dict_table_t::does_not_fit_in_memory

In the InnoDB internal SQL parser, there is the keyword
DOES_NOT_FIT_IN_MEMORY that is never specified in any CREATE TABLE
statement that is passed to the InnoDB SQL parser
(que_eval_sql() or pars_sql() or yyparse()). If this keyword were
ever present, it would set the flag dict_table_t::does_not_fit_in_memory
which is only present in debug builds.

Let us remove all traces of this.

Also, fix storage/innobase/pars/make_flex.sh so that no the generated
file storage/innobase/pars/lexyy.cc works as is.

FIXME: Always generate the InnoDB Bison files at build time, similar
to how sql/sql_yacc.yy is handled. (This would still leave the
generated scanner files, unless we want to add a build-time dependency
for Flex.)
parent aad15eae
......@@ -568,12 +568,6 @@ btr_search_update_block_hash_info(
block->left_side = info->left_side;
}
#ifdef UNIV_DEBUG
if (cursor->index->table->does_not_fit_in_memory) {
block->n_hash_helps = 0;
}
#endif /* UNIV_DEBUG */
if ((block->n_hash_helps > page_get_n_recs(block->frame)
/ BTR_SEARCH_PAGE_BUILD_LIMIT)
&& (info->n_hash_potential >= BTR_SEARCH_BUILD_LIMIT)) {
......
......@@ -1532,15 +1532,6 @@ struct dict_table_t {
/*!< set of foreign key constraints which refer to this table */
dict_foreign_set referenced_set;
#ifdef UNIV_DEBUG
/** This field is used to specify in simulations tables which are so
big that disk should be accessed. Disk access is simulated by putting
the thread to sleep for a while. NOTE that this flag is not stored to
the data dictionary on disk, and the database will forget about value
TRUE if it has to reload the table definition from disk. */
ibool does_not_fit_in_memory;
#endif /* UNIV_DEBUG */
/** TRUE if the maximum length of a single row exceeds BIG_ROW_SIZE.
Initialized in dict_table_add_to_cache(). */
unsigned big_rows:1;
......
/* A Bison parser, made by GNU Bison 2.3. */
/* A Bison parser, made by GNU Bison 3.0.4. */
/* Skeleton interface for Bison's Yacc-like parsers in C
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
......@@ -16,9 +15,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
......@@ -33,12 +30,21 @@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* Tokens. */
#ifndef YY_YY_PARS0GRM_TAB_H_INCLUDED
# define YY_YY_PARS0GRM_TAB_H_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Token type. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
enum yytokentype
{
PARS_INT_LIT = 258,
PARS_FLOAT_LIT = 259,
PARS_STR_LIT = 260,
......@@ -97,165 +103,62 @@
PARS_INDEX_TOKEN = 313,
PARS_UNIQUE_TOKEN = 314,
PARS_CLUSTERED_TOKEN = 315,
PARS_DOES_NOT_FIT_IN_MEM_TOKEN = 316,
PARS_ON_TOKEN = 317,
PARS_ASSIGN_TOKEN = 318,
PARS_DECLARE_TOKEN = 319,
PARS_CURSOR_TOKEN = 320,
PARS_SQL_TOKEN = 321,
PARS_OPEN_TOKEN = 322,
PARS_FETCH_TOKEN = 323,
PARS_CLOSE_TOKEN = 324,
PARS_NOTFOUND_TOKEN = 325,
PARS_TO_CHAR_TOKEN = 326,
PARS_TO_NUMBER_TOKEN = 327,
PARS_TO_BINARY_TOKEN = 328,
PARS_BINARY_TO_NUMBER_TOKEN = 329,
PARS_SUBSTR_TOKEN = 330,
PARS_REPLSTR_TOKEN = 331,
PARS_CONCAT_TOKEN = 332,
PARS_INSTR_TOKEN = 333,
PARS_LENGTH_TOKEN = 334,
PARS_SYSDATE_TOKEN = 335,
PARS_PRINTF_TOKEN = 336,
PARS_ASSERT_TOKEN = 337,
PARS_RND_TOKEN = 338,
PARS_RND_STR_TOKEN = 339,
PARS_ROW_PRINTF_TOKEN = 340,
PARS_COMMIT_TOKEN = 341,
PARS_ROLLBACK_TOKEN = 342,
PARS_WORK_TOKEN = 343,
PARS_UNSIGNED_TOKEN = 344,
PARS_EXIT_TOKEN = 345,
PARS_FUNCTION_TOKEN = 346,
PARS_LOCK_TOKEN = 347,
PARS_SHARE_TOKEN = 348,
PARS_MODE_TOKEN = 349,
PARS_LIKE_TOKEN = 350,
PARS_LIKE_TOKEN_EXACT = 351,
PARS_LIKE_TOKEN_PREFIX = 352,
PARS_LIKE_TOKEN_SUFFIX = 353,
PARS_LIKE_TOKEN_SUBSTR = 354,
PARS_TABLE_NAME_TOKEN = 355,
PARS_COMPACT_TOKEN = 356,
PARS_BLOCK_SIZE_TOKEN = 357,
PARS_BIGINT_TOKEN = 358,
NEG = 359
PARS_ON_TOKEN = 316,
PARS_ASSIGN_TOKEN = 317,
PARS_DECLARE_TOKEN = 318,
PARS_CURSOR_TOKEN = 319,
PARS_SQL_TOKEN = 320,
PARS_OPEN_TOKEN = 321,
PARS_FETCH_TOKEN = 322,
PARS_CLOSE_TOKEN = 323,
PARS_NOTFOUND_TOKEN = 324,
PARS_TO_CHAR_TOKEN = 325,
PARS_TO_NUMBER_TOKEN = 326,
PARS_TO_BINARY_TOKEN = 327,
PARS_BINARY_TO_NUMBER_TOKEN = 328,
PARS_SUBSTR_TOKEN = 329,
PARS_REPLSTR_TOKEN = 330,
PARS_CONCAT_TOKEN = 331,
PARS_INSTR_TOKEN = 332,
PARS_LENGTH_TOKEN = 333,
PARS_SYSDATE_TOKEN = 334,
PARS_PRINTF_TOKEN = 335,
PARS_ASSERT_TOKEN = 336,
PARS_RND_TOKEN = 337,
PARS_RND_STR_TOKEN = 338,
PARS_ROW_PRINTF_TOKEN = 339,
PARS_COMMIT_TOKEN = 340,
PARS_ROLLBACK_TOKEN = 341,
PARS_WORK_TOKEN = 342,
PARS_UNSIGNED_TOKEN = 343,
PARS_EXIT_TOKEN = 344,
PARS_FUNCTION_TOKEN = 345,
PARS_LOCK_TOKEN = 346,
PARS_SHARE_TOKEN = 347,
PARS_MODE_TOKEN = 348,
PARS_LIKE_TOKEN = 349,
PARS_LIKE_TOKEN_EXACT = 350,
PARS_LIKE_TOKEN_PREFIX = 351,
PARS_LIKE_TOKEN_SUFFIX = 352,
PARS_LIKE_TOKEN_SUBSTR = 353,
PARS_TABLE_NAME_TOKEN = 354,
PARS_COMPACT_TOKEN = 355,
PARS_BLOCK_SIZE_TOKEN = 356,
PARS_BIGINT_TOKEN = 357,
NEG = 358
};
#endif
/* Tokens. */
#define PARS_INT_LIT 258
#define PARS_FLOAT_LIT 259
#define PARS_STR_LIT 260
#define PARS_FIXBINARY_LIT 261
#define PARS_BLOB_LIT 262
#define PARS_NULL_LIT 263
#define PARS_ID_TOKEN 264
#define PARS_AND_TOKEN 265
#define PARS_OR_TOKEN 266
#define PARS_NOT_TOKEN 267
#define PARS_GE_TOKEN 268
#define PARS_LE_TOKEN 269
#define PARS_NE_TOKEN 270
#define PARS_PROCEDURE_TOKEN 271
#define PARS_IN_TOKEN 272
#define PARS_OUT_TOKEN 273
#define PARS_BINARY_TOKEN 274
#define PARS_BLOB_TOKEN 275
#define PARS_INT_TOKEN 276
#define PARS_INTEGER_TOKEN 277
#define PARS_FLOAT_TOKEN 278
#define PARS_CHAR_TOKEN 279
#define PARS_IS_TOKEN 280
#define PARS_BEGIN_TOKEN 281
#define PARS_END_TOKEN 282
#define PARS_IF_TOKEN 283
#define PARS_THEN_TOKEN 284
#define PARS_ELSE_TOKEN 285
#define PARS_ELSIF_TOKEN 286
#define PARS_LOOP_TOKEN 287
#define PARS_WHILE_TOKEN 288
#define PARS_RETURN_TOKEN 289
#define PARS_SELECT_TOKEN 290
#define PARS_SUM_TOKEN 291
#define PARS_COUNT_TOKEN 292
#define PARS_DISTINCT_TOKEN 293
#define PARS_FROM_TOKEN 294
#define PARS_WHERE_TOKEN 295
#define PARS_FOR_TOKEN 296
#define PARS_DDOT_TOKEN 297
#define PARS_READ_TOKEN 298
#define PARS_ORDER_TOKEN 299
#define PARS_BY_TOKEN 300
#define PARS_ASC_TOKEN 301
#define PARS_DESC_TOKEN 302
#define PARS_INSERT_TOKEN 303
#define PARS_INTO_TOKEN 304
#define PARS_VALUES_TOKEN 305
#define PARS_UPDATE_TOKEN 306
#define PARS_SET_TOKEN 307
#define PARS_DELETE_TOKEN 308
#define PARS_CURRENT_TOKEN 309
#define PARS_OF_TOKEN 310
#define PARS_CREATE_TOKEN 311
#define PARS_TABLE_TOKEN 312
#define PARS_INDEX_TOKEN 313
#define PARS_UNIQUE_TOKEN 314
#define PARS_CLUSTERED_TOKEN 315
#define PARS_DOES_NOT_FIT_IN_MEM_TOKEN 316
#define PARS_ON_TOKEN 317
#define PARS_ASSIGN_TOKEN 318
#define PARS_DECLARE_TOKEN 319
#define PARS_CURSOR_TOKEN 320
#define PARS_SQL_TOKEN 321
#define PARS_OPEN_TOKEN 322
#define PARS_FETCH_TOKEN 323
#define PARS_CLOSE_TOKEN 324
#define PARS_NOTFOUND_TOKEN 325
#define PARS_TO_CHAR_TOKEN 326
#define PARS_TO_NUMBER_TOKEN 327
#define PARS_TO_BINARY_TOKEN 328
#define PARS_BINARY_TO_NUMBER_TOKEN 329
#define PARS_SUBSTR_TOKEN 330
#define PARS_REPLSTR_TOKEN 331
#define PARS_CONCAT_TOKEN 332
#define PARS_INSTR_TOKEN 333
#define PARS_LENGTH_TOKEN 334
#define PARS_SYSDATE_TOKEN 335
#define PARS_PRINTF_TOKEN 336
#define PARS_ASSERT_TOKEN 337
#define PARS_RND_TOKEN 338
#define PARS_RND_STR_TOKEN 339
#define PARS_ROW_PRINTF_TOKEN 340
#define PARS_COMMIT_TOKEN 341
#define PARS_ROLLBACK_TOKEN 342
#define PARS_WORK_TOKEN 343
#define PARS_UNSIGNED_TOKEN 344
#define PARS_EXIT_TOKEN 345
#define PARS_FUNCTION_TOKEN 346
#define PARS_LOCK_TOKEN 347
#define PARS_SHARE_TOKEN 348
#define PARS_MODE_TOKEN 349
#define PARS_LIKE_TOKEN 350
#define PARS_LIKE_TOKEN_EXACT 351
#define PARS_LIKE_TOKEN_PREFIX 352
#define PARS_LIKE_TOKEN_SUFFIX 353
#define PARS_LIKE_TOKEN_SUBSTR 354
#define PARS_TABLE_NAME_TOKEN 355
#define PARS_COMPACT_TOKEN 356
#define PARS_BLOCK_SIZE_TOKEN 357
#define PARS_BIGINT_TOKEN 358
#define NEG 359
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef int YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;
int yyparse (void);
#endif /* !YY_YY_PARS0GRM_TAB_H_INCLUDED */
......@@ -373,18 +373,7 @@ pars_create_table(
table */
sym_node_t* column_defs, /*!< in: list of column names */
sym_node_t* compact, /* in: non-NULL if COMPACT table. */
sym_node_t* block_size, /* in: block size (can be NULL) */
void* not_fit_in_memory);
/*!< in: a non-NULL pointer means that
this is a table which in simulations
should be simulated as not fitting
in memory; thread is put to sleep
to simulate disk accesses; NOTE that
this flag is not stored to the data
dictionary on disk, and the database
will forget about non-NULL value if
it has to reload the table definition
from disk */
sym_node_t* block_size); /* in: block size (can be NULL) */
/*********************************************************************//**
Parses an index creation operation.
@return index create subgraph */
......
......@@ -9,8 +9,8 @@
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_SUBMINOR_VERSION 35
#define YY_FLEX_MINOR_VERSION 6
#define YY_FLEX_SUBMINOR_VERSION 1
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
......@@ -89,25 +89,13 @@ typedef unsigned int flex_uint32_t;
#endif /* ! FLEXINT_H */
#ifdef __cplusplus
/* 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
/* TODO: this is always defined, so inline it */
#define yyconst const
#if defined(__GNUC__) && __GNUC__ >= 3
#define yynoreturn __attribute__((__noreturn__))
#else
#define yyconst
#define yynoreturn
#endif
/* Returned upon end-of-file. */
......@@ -168,15 +156,16 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
typedef size_t yy_size_t;
#endif
extern yy_size_t yyleng;
extern FILE *yyin, *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
#define YY_LESS_LINENO(n)
#define YY_LESS_LINENO(n)
#define YY_LINENO_REWIND_TO(ptr)
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
......@@ -206,12 +195,12 @@ struct yy_buffer_state
/* Size of input buffer in bytes, not including room for EOB
* characters.
*/
yy_size_t yy_buf_size;
int yy_buf_size;
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
yy_size_t yy_n_chars;
int 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
......@@ -262,7 +251,7 @@ struct yy_buffer_state
/* Stack of input buffers. */
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
/* We provide macros for accessing buffer states in case in the
* future we want to put the buffer states in a more general
......@@ -281,11 +270,11 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
yy_size_t yyleng;
static int yy_n_chars; /* number of characters read into yy_ch_buf */
static int yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static char *yy_c_buf_p = NULL;
static int yy_init = 0; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
......@@ -294,13 +283,13 @@ static int yy_start = 0; /* start state number */
*/
static int yy_did_buffer_switch_on_eof;
void yyrestart (FILE *input_file );
static void yyrestart (FILE *input_file );
MY_ATTRIBUTE((unused)) static void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
static YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
void yy_delete_buffer (YY_BUFFER_STATE b );
void yy_flush_buffer (YY_BUFFER_STATE b );
void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
void yypop_buffer_state (void );
static void yy_delete_buffer (YY_BUFFER_STATE b );
static void yy_flush_buffer (YY_BUFFER_STATE b );
MY_ATTRIBUTE((unused)) static void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
MY_ATTRIBUTE((unused)) static void yypop_buffer_state (void );
static void yyensure_buffer_stack (void );
static void yy_load_buffer_state (void );
......@@ -310,11 +299,11 @@ static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
void *yyalloc (yy_size_t );
void *yyrealloc (void *,yy_size_t );
void yyfree (void * );
static void *yyalloc (yy_size_t );
static void *yyrealloc (void *,yy_size_t );
static void yyfree (void * );
#define yy_new_buffer yy_create_buffer
......@@ -342,39 +331,42 @@ void yyfree (void * );
/* Begin user sect3 */
#define yywrap() 1
#define yywrap() (/*CONSTCOND*/1)
#define YY_SKIP_YYWRAP
typedef unsigned char YY_CHAR;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
static FILE *yyin = NULL, *yyout = NULL;
typedef int yy_state_type;
extern int yylineno;
int yylineno = 1;
extern char *yytext;
static int yylineno = 1;
#ifdef yytext_ptr
#undef yytext_ptr
#endif
#define yytext_ptr yytext
static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
static int yy_get_next_buffer (void );
static void yy_fatal_error (yyconst char msg[] );
static void yynoreturn yy_fatal_error (yyconst char* msg );
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
(yytext_ptr) = yy_bp; \
yyleng = (size_t) (yy_cp - yy_bp); \
yyleng = (int) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
#define YY_NUM_RULES 124
#define YY_END_OF_BUFFER 125
#define YY_NUM_RULES 123
#define YY_END_OF_BUFFER 124
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
......@@ -382,58 +374,56 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
static yyconst flex_int16_t yy_accept[425] =
static yyconst flex_int16_t yy_accept[404] =
{ 0,
0, 0, 119, 119, 0, 0, 0, 0, 125, 123,
122, 122, 8, 123, 114, 5, 103, 109, 112, 110,
107, 111, 123, 113, 1, 123, 108, 106, 104, 105,
117, 96, 96, 96, 96, 96, 96, 96, 96, 96,
96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
115, 116, 119, 120, 6, 7, 9, 10, 122, 4,
98, 118, 2, 1, 3, 99, 100, 102, 101, 0,
96, 0, 96, 96, 96, 96, 96, 44, 96, 96,
96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
96, 96, 96, 96, 28, 17, 25, 96, 96, 96,
96, 96, 96, 54, 63, 96, 14, 96, 96, 96,
96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
96, 96, 96, 96, 96, 119, 120, 120, 121, 6,
7, 9, 10, 2, 0, 97, 13, 45, 96, 96,
96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
96, 96, 96, 96, 96, 96, 96, 27, 96, 96,
96, 41, 96, 96, 96, 96, 21, 96, 96, 96,
96, 96, 15, 96, 96, 96, 18, 96, 96, 96,
96, 96, 82, 96, 96, 96, 51, 96, 12, 96,
36, 96, 96, 96, 96, 96, 96, 96, 96, 96,
96, 96, 0, 97, 96, 96, 96, 96, 20, 96,
24, 96, 96, 96, 96, 96, 96, 96, 96, 96,
96, 96, 46, 96, 96, 30, 96, 89, 96, 96,
39, 96, 96, 96, 96, 96, 48, 96, 94, 91,
32, 93, 96, 11, 66, 96, 96, 96, 42, 96,
96, 96, 96, 96, 96, 96, 96, 96, 96, 29,
96, 96, 96, 96, 96, 96, 96, 96, 96, 87,
0, 96, 26, 96, 96, 96, 68, 96, 96, 96,
96, 37, 96, 96, 96, 96, 96, 96, 96, 31,
67, 23, 96, 59, 96, 77, 96, 96, 96, 43,
96, 96, 96, 96, 96, 96, 96, 96, 92, 96,
96, 56, 96, 96, 96, 96, 96, 96, 96, 40,
33, 0, 81, 95, 19, 96, 96, 85, 96, 76,
55, 96, 65, 96, 52, 96, 96, 96, 47, 96,
78, 96, 80, 96, 96, 34, 96, 96, 96, 35,
74, 96, 96, 96, 96, 60, 96, 50, 49, 96,
96, 96, 57, 53, 64, 96, 96, 96, 22, 96,
96, 75, 83, 96, 96, 79, 96, 70, 96, 96,
96, 96, 96, 38, 96, 90, 69, 96, 86, 96,
96, 96, 88, 96, 96, 61, 96, 16, 96, 72,
71, 96, 58, 96, 84, 96, 96, 96, 96, 96,
96, 96, 96, 96, 96, 73, 96, 96, 96, 96,
96, 96, 62, 0
0, 0, 118, 118, 0, 0, 0, 0, 124, 122,
121, 121, 8, 122, 113, 5, 102, 108, 111, 109,
106, 110, 122, 112, 1, 122, 107, 105, 103, 104,
116, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
114, 115, 118, 119, 6, 7, 9, 10, 121, 4,
97, 117, 2, 1, 3, 98, 99, 101, 100, 0,
95, 0, 95, 95, 95, 95, 95, 44, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 28, 17, 25, 95, 95, 95, 95,
95, 95, 54, 62, 95, 14, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 118, 119, 119, 120, 6, 7,
9, 10, 2, 0, 96, 13, 45, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 27, 95, 95, 95, 41,
95, 95, 95, 95, 21, 95, 95, 95, 95, 95,
15, 95, 95, 95, 18, 95, 95, 95, 95, 95,
81, 95, 95, 95, 51, 95, 12, 95, 36, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
0, 96, 95, 95, 95, 95, 20, 95, 24, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
46, 95, 30, 95, 88, 95, 95, 39, 95, 95,
95, 95, 95, 48, 95, 93, 90, 32, 92, 95,
11, 65, 95, 95, 95, 42, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 29, 95, 95, 95,
95, 95, 95, 95, 95, 95, 86, 0, 95, 26,
95, 95, 95, 67, 95, 95, 95, 95, 37, 95,
95, 95, 95, 95, 95, 31, 66, 23, 95, 59,
95, 76, 95, 95, 95, 43, 95, 95, 95, 95,
95, 95, 95, 95, 91, 95, 95, 56, 95, 95,
95, 95, 95, 95, 95, 40, 33, 0, 80, 94,
19, 95, 95, 84, 95, 75, 55, 95, 64, 95,
52, 95, 95, 47, 95, 77, 95, 79, 95, 95,
34, 95, 95, 95, 35, 73, 95, 95, 95, 95,
60, 95, 50, 49, 95, 95, 95, 57, 53, 63,
95, 95, 22, 95, 95, 74, 82, 95, 95, 78,
95, 69, 95, 95, 95, 95, 95, 38, 89, 68,
95, 85, 95, 95, 95, 87, 95, 95, 61, 16,
95, 71, 70, 95, 58, 83, 95, 95, 95, 95,
95, 72, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
static yyconst YY_CHAR yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
......@@ -465,7 +455,7 @@ static yyconst flex_int32_t yy_ec[256] =
1, 1, 1, 1, 1
} ;
static yyconst flex_int32_t yy_meta[57] =
static yyconst YY_CHAR yy_meta[57] =
{ 0,
1, 1, 1, 2, 3, 1, 1, 4, 1, 1,
5, 1, 1, 1, 1, 6, 7, 1, 1, 1,
......@@ -475,111 +465,107 @@ static yyconst flex_int32_t yy_meta[57] =
9, 9, 9, 9, 1, 1
} ;
static yyconst flex_int16_t yy_base[438] =
static yyconst flex_uint16_t yy_base[417] =
{ 0,
0, 0, 293, 287, 284, 281, 272, 256, 254, 1357,
55, 57, 1357, 0, 1357, 1357, 1357, 1357, 1357, 1357,
1357, 1357, 238, 227, 46, 205, 1357, 43, 1357, 203,
1357, 46, 50, 56, 52, 66, 64, 51, 81, 92,
0, 0, 296, 281, 283, 280, 261, 252, 253, 1285,
55, 57, 1285, 0, 1285, 1285, 1285, 1285, 1285, 1285,
1285, 1285, 211, 213, 46, 202, 1285, 43, 1285, 199,
1285, 46, 50, 56, 52, 66, 64, 51, 81, 92,
91, 94, 96, 111, 113, 116, 130, 134, 53, 143,
1357, 1357, 0, 106, 0, 212, 0, 210, 141, 0,
1357, 1357, 192, 56, 173, 1357, 1357, 1357, 1357, 168,
140, 150, 152, 154, 155, 161, 167, 171, 177, 172,
184, 174, 188, 189, 191, 194, 203, 212, 215, 217,
219, 221, 226, 228, 231, 240, 233, 235, 246, 251,
258, 253, 255, 256, 269, 271, 278, 272, 285, 283,
287, 289, 296, 305, 298, 315, 319, 321, 322, 326,
332, 333, 342, 339, 343, 0, 112, 173, 1357, 0,
155, 0, 156, 132, 93, 0, 355, 357, 358, 360,
364, 367, 374, 370, 379, 380, 389, 383, 390, 392,
395, 408, 411, 409, 415, 418, 425, 427, 429, 436,
431, 441, 446, 448, 450, 452, 453, 462, 471, 464,
473, 474, 478, 485, 488, 490, 491, 494, 500, 501,
504, 506, 507, 517, 518, 519, 520, 521, 522, 523,
533, 536, 538, 543, 549, 554, 555, 561, 556, 566,
567, 576, 60, 0, 573, 578, 580, 582, 583, 593,
589, 596, 598, 603, 605, 607, 610, 617, 619, 621,
622, 628, 633, 634, 635, 639, 640, 649, 650, 652,
653, 655, 659, 664, 668, 669, 665, 671, 674, 678,
681, 685, 687, 688, 692, 697, 698, 701, 703, 704,
707, 708, 717, 713, 728, 730, 724, 740, 734, 745,
746, 750, 751, 756, 757, 760, 761, 762, 771, 773,
42, 778, 782, 783, 787, 789, 792, 794, 793, 804,
805, 808, 809, 810, 819, 823, 826, 828, 829, 830,
835, 840, 844, 846, 847, 856, 857, 858, 859, 860,
863, 872, 873, 878, 879, 882, 885, 889, 894, 895,
896, 898, 905, 910, 908, 912, 914, 915, 926, 930,
931, 73, 932, 933, 935, 937, 942, 944, 946, 947,
948, 949, 951, 958, 961, 965, 967, 972, 978, 979,
981, 984, 983, 985, 994, 988, 999, 1000, 1001, 1004,
1013, 1015, 1022, 1016, 1019, 1026, 1032, 1033, 1035, 1036,
1038, 1039, 1048, 1049, 1050, 1051, 1053, 1054, 1060, 1063,
1065, 1066, 1069, 1070, 1072, 1082, 1084, 1085, 1087, 1096,
1097, 1098, 1099, 1101, 1113, 1114, 1115, 1116, 1117, 1118,
1119, 1128, 1130, 1131, 1134, 1133, 1135, 1137, 1150, 1151,
1153, 1155, 1157, 1162, 1160, 1167, 1172, 1173, 1174, 1176,
1185, 1190, 1183, 1187, 1189, 1199, 1204, 1206, 1208, 1210,
1215, 1220, 1222, 1357, 1269, 1278, 1287, 1290, 1293, 1297,
1306, 1315, 1324, 1333, 1340, 1344, 1347
1285, 1285, 0, 106, 0, 206, 0, 205, 141, 0,
1285, 1285, 177, 56, 152, 1285, 1285, 1285, 1285, 161,
140, 147, 152, 154, 155, 161, 167, 171, 177, 172,
184, 174, 188, 189, 191, 194, 203, 212, 217, 219,
222, 223, 228, 224, 226, 233, 235, 239, 244, 251,
256, 260, 261, 262, 265, 271, 266, 281, 277, 287,
282, 288, 303, 306, 307, 292, 310, 321, 322, 323,
324, 325, 335, 338, 0, 112, 173, 1285, 0, 152,
0, 145, 130, 59, 0, 339, 341, 353, 351, 354,
365, 367, 355, 372, 376, 383, 379, 386, 388, 385,
398, 392, 402, 401, 414, 415, 416, 417, 426, 430,
432, 437, 433, 439, 442, 443, 449, 456, 460, 461,
463, 470, 472, 473, 479, 483, 485, 489, 492, 495,
498, 499, 502, 508, 509, 514, 515, 518, 520, 527,
530, 534, 536, 541, 543, 553, 555, 557, 559, 568,
41, 0, 564, 569, 570, 573, 574, 585, 580, 589,
586, 595, 598, 600, 605, 610, 611, 617, 620, 615,
622, 627, 626, 631, 641, 642, 646, 647, 648, 651,
652, 653, 657, 662, 663, 667, 669, 673, 680, 682,
684, 685, 686, 687, 689, 696, 698, 700, 701, 703,
699, 710, 714, 716, 729, 732, 731, 733, 735, 734,
746, 747, 748, 752, 753, 759, 749, 39, 769, 770,
771, 773, 774, 780, 783, 784, 787, 785, 786, 802,
800, 803, 816, 817, 818, 819, 820, 823, 833, 835,
836, 837, 838, 839, 848, 849, 852, 853, 854, 859,
863, 870, 868, 872, 875, 884, 885, 887, 889, 890,
888, 904, 906, 907, 908, 918, 919, 73, 921, 922,
923, 924, 933, 934, 936, 937, 938, 939, 940, 949,
952, 955, 953, 965, 969, 970, 971, 972, 974, 975,
981, 984, 986, 988, 990, 991, 1000, 1006, 1004, 1009,
1016, 1018, 1020, 1021, 1025, 1027, 1032, 1034, 1038, 1039,
1041, 1043, 1048, 1050, 1052, 1055, 1059, 1064, 1066, 1068,
1071, 1073, 1077, 1084, 1086, 1087, 1091, 1093, 1098, 1100,
1102, 1104, 1105, 1111, 1114, 1116, 1117, 1118, 1120, 1127,
1129, 1130, 1134, 1139, 1141, 1145, 1146, 1148, 1150, 1151,
1155, 1157, 1285, 1197, 1206, 1215, 1218, 1221, 1225, 1234,
1243, 1252, 1261, 1268, 1272, 1275
} ;
static yyconst flex_int16_t yy_def[438] =
static yyconst flex_int16_t yy_def[417] =
{ 0,
424, 1, 425, 425, 426, 426, 427, 427, 424, 424,
424, 424, 424, 428, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 429, 424, 424, 424, 424,
424, 430, 430, 430, 430, 430, 34, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
424, 424, 431, 432, 433, 424, 434, 424, 424, 428,
424, 424, 424, 424, 429, 424, 424, 424, 424, 435,
430, 436, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 431, 432, 432, 424, 433,
424, 434, 424, 424, 424, 437, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 424, 437, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
424, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 424, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
430, 430, 430, 0, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424
403, 1, 404, 404, 405, 405, 406, 406, 403, 403,
403, 403, 403, 407, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 408, 403, 403, 403, 403,
403, 409, 409, 409, 409, 409, 34, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
403, 403, 410, 411, 412, 403, 413, 403, 403, 407,
403, 403, 403, 403, 408, 403, 403, 403, 403, 414,
409, 415, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 410, 411, 411, 403, 412, 403,
413, 403, 403, 403, 416, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
403, 416, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 403, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 403, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
409, 409, 0, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403
} ;
static yyconst flex_int16_t yy_nxt[1414] =
static yyconst flex_uint16_t yy_nxt[1342] =
{ 0,
10, 11, 12, 13, 10, 14, 15, 16, 17, 18,
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
......@@ -588,158 +574,150 @@ static yyconst flex_int16_t yy_nxt[1414] =
38, 45, 46, 47, 48, 49, 50, 38, 38, 38,
38, 38, 38, 38, 51, 52, 59, 59, 59, 59,
63, 70, 64, 67, 68, 70, 70, 70, 70, 72,
63, 70, 64, 72, 72, 72, 72, 123, 75, 72,
84, 70, 76, 73, 85, 77, 136, 79, 74, 72,
86, 80, 90, 322, 81, 71, 70, 82, 78, 91,
83, 87, 92, 88, 72, 93, 70, 70, 94, 70,
95, 70, 271, 89, 72, 72, 128, 72, 96, 72,
98, 129, 424, 97, 99, 104, 70, 424, 70, 101,
100, 70, 102, 105, 72, 106, 72, 107, 103, 72,
108, 110, 59, 59, 113, 70, 203, 114, 134, 70,
111, 112, 109, 72, 118, 70, 115, 72, 70, 133,
116, 119, 131, 72, 117, 70, 72, 70, 120, 70,
70, 121, 135, 122, 124, 72, 70, 72, 72, 137,
138, 125, 70, 128, 72, 140, 70, 70, 129, 70,
72, 141, 70, 424, 72, 72, 139, 72, 142, 70,
72, 144, 150, 70, 70, 143, 70, 72, 134, 70,
145, 72, 72, 133, 72, 152, 146, 72, 70, 131,
147, 148, 156, 69, 153, 66, 72, 70, 149, 151,
70, 154, 70, 155, 70, 72, 70, 62, 72, 158,
72, 70, 72, 70, 72, 157, 70, 159, 70, 72,
70, 72, 61, 424, 72, 70, 72, 161, 72, 58,
160, 70, 162, 72, 163, 164, 70, 165, 70, 72,
70, 70, 168, 70, 72, 58, 72, 170, 72, 72,
169, 72, 166, 167, 70, 172, 70, 70, 56, 171,
174, 56, 72, 70, 72, 72, 173, 54, 70, 175,
70, 72, 70, 54, 70, 176, 72, 180, 72, 424,
72, 70, 72, 70, 183, 177, 424, 178, 424, 72,
70, 72, 181, 179, 184, 424, 182, 424, 72, 188,
70, 186, 424, 189, 70, 185, 70, 70, 72, 187,
190, 70, 72, 424, 72, 72, 193, 70, 70, 72,
194, 191, 424, 424, 70, 72, 72, 70, 70, 424,
198, 192, 72, 424, 196, 72, 72, 200, 424, 424,
70, 201, 70, 70, 197, 70, 195, 199, 72, 70,
72, 72, 70, 72, 202, 70, 205, 72, 424, 70,
72, 208, 206, 72, 70, 70, 207, 72, 70, 209,
210, 424, 72, 72, 70, 70, 72, 70, 424, 216,
70, 211, 72, 72, 424, 72, 218, 424, 72, 424,
424, 212, 213, 70, 70, 214, 70, 217, 215, 424,
70, 72, 72, 70, 72, 223, 219, 220, 72, 222,
70, 72, 70, 221, 70, 424, 70, 424, 72, 424,
72, 70, 72, 226, 72, 230, 70, 227, 224, 72,
225, 70, 229, 70, 72, 70, 424, 70, 70, 72,
424, 72, 228, 72, 232, 72, 72, 70, 233, 70,
234, 236, 231, 424, 424, 72, 70, 72, 70, 70,
424, 237, 238, 70, 72, 235, 72, 72, 240, 239,
70, 72, 242, 70, 424, 70, 70, 243, 72, 70,
424, 72, 241, 72, 72, 70, 70, 72, 246, 70,
244, 70, 70, 72, 72, 245, 248, 72, 249, 72,
72, 247, 70, 70, 70, 70, 70, 70, 70, 250,
72, 72, 72, 72, 72, 72, 72, 255, 70, 424,
251, 70, 253, 70, 424, 424, 72, 252, 70, 72,
424, 72, 256, 258, 70, 257, 72, 424, 254, 70,
70, 70, 72, 259, 261, 262, 70, 72, 72, 72,
260, 70, 70, 424, 72, 266, 263, 265, 70, 72,
72, 70, 424, 70, 264, 70, 72, 70, 70, 72,
267, 72, 269, 72, 70, 72, 72, 268, 70, 424,
270, 70, 72, 70, 272, 273, 72, 274, 70, 72,
70, 72, 70, 275, 277, 70, 72, 276, 72, 280,
72, 281, 70, 72, 70, 279, 70, 70, 424, 424,
72, 278, 72, 70, 72, 72, 286, 284, 70, 70,
70, 72, 424, 282, 70, 70, 72, 72, 72, 285,
283, 424, 72, 72, 70, 70, 288, 70, 70, 290,
70, 287, 72, 72, 70, 72, 72, 424, 72, 70,
70, 291, 72, 70, 70, 289, 70, 72, 72, 70,
424, 72, 72, 70, 72, 292, 70, 72, 293, 297,
70, 72, 70, 70, 72, 295, 294, 70, 72, 296,
72, 72, 70, 70, 298, 72, 70, 424, 70, 70,
72, 72, 70, 70, 72, 299, 72, 72, 70, 302,
72, 72, 70, 424, 424, 424, 72, 424, 300, 70,
72, 301, 306, 70, 424, 70, 303, 72, 304, 70,
305, 72, 307, 72, 308, 70, 424, 72, 309, 424,
70, 70, 312, 72, 311, 70, 70, 310, 72, 72,
424, 70, 70, 72, 72, 70, 70, 70, 313, 72,
72, 314, 424, 72, 72, 72, 70, 317, 70, 319,
320, 424, 424, 70, 72, 315, 72, 70, 70, 321,
316, 72, 70, 318, 70, 72, 72, 70, 70, 70,
72, 424, 72, 424, 424, 72, 72, 72, 424, 70,
70, 323, 327, 70, 70, 70, 324, 72, 72, 424,
329, 72, 72, 72, 70, 325, 328, 331, 70, 326,
424, 70, 72, 70, 70, 70, 72, 332, 330, 72,
70, 72, 72, 72, 335, 70, 424, 424, 72, 70,
333, 70, 70, 72, 334, 336, 337, 72, 424, 72,
72, 70, 70, 70, 70, 70, 338, 424, 70, 72,
72, 72, 72, 72, 424, 340, 72, 70, 70, 341,
339, 424, 343, 70, 70, 72, 72, 70, 424, 344,
70, 72, 72, 342, 70, 72, 348, 424, 72, 70,
70, 70, 72, 70, 424, 346, 345, 72, 72, 72,
70, 72, 347, 70, 424, 70, 349, 70, 72, 70,
70, 72, 350, 72, 354, 72, 351, 72, 72, 352,
356, 70, 353, 358, 355, 70, 70, 70, 70, 72,
70, 357, 70, 72, 72, 72, 72, 70, 72, 70,
72, 70, 70, 70, 70, 72, 70, 72, 359, 72,
72, 72, 72, 70, 72, 424, 70, 424, 424, 361,
70, 72, 70, 362, 72, 360, 365, 70, 72, 363,
72, 366, 364, 70, 70, 72, 70, 424, 70, 70,
70, 72, 72, 70, 72, 367, 72, 72, 72, 70,
368, 72, 424, 424, 70, 70, 70, 72, 424, 70,
369, 370, 72, 72, 72, 424, 374, 72, 70, 371,
70, 70, 424, 375, 70, 372, 72, 70, 72, 72,
373, 70, 72, 376, 379, 72, 377, 70, 70, 72,
70, 70, 424, 70, 70, 72, 72, 378, 72, 72,
380, 72, 72, 70, 70, 70, 70, 383, 70, 70,
382, 72, 72, 72, 72, 70, 72, 72, 70, 381,
70, 70, 424, 72, 70, 70, 72, 70, 72, 72,
387, 386, 72, 72, 384, 72, 385, 70, 424, 70,
70, 424, 70, 424, 389, 72, 388, 72, 72, 390,
72, 70, 70, 70, 70, 392, 70, 424, 424, 72,
72, 72, 72, 393, 72, 391, 396, 424, 70, 70,
70, 70, 70, 70, 70, 394, 72, 72, 72, 72,
72, 72, 72, 70, 398, 70, 70, 395, 70, 70,
70, 72, 70, 72, 72, 424, 72, 72, 72, 424,
72, 399, 403, 397, 404, 70, 70, 400, 70, 401,
70, 424, 70, 72, 72, 70, 72, 70, 72, 405,
72, 402, 70, 72, 424, 72, 424, 70, 70, 70,
72, 70, 406, 424, 407, 72, 72, 72, 70, 72,
70, 412, 70, 424, 70, 70, 72, 424, 72, 410,
72, 408, 72, 72, 70, 409, 424, 413, 414, 70,
415, 70, 72, 70, 411, 70, 424, 72, 416, 72,
70, 72, 424, 72, 419, 70, 424, 70, 72, 417,
418, 424, 424, 72, 420, 72, 424, 424, 421, 424,
424, 424, 424, 424, 424, 424, 422, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 423, 53,
53, 53, 53, 53, 53, 53, 53, 53, 55, 55,
55, 55, 55, 55, 55, 55, 55, 57, 57, 57,
57, 57, 57, 57, 57, 57, 60, 424, 60, 65,
65, 65, 71, 71, 424, 71, 126, 126, 126, 126,
424, 126, 126, 126, 126, 127, 127, 127, 127, 127,
127, 127, 127, 127, 130, 130, 130, 424, 130, 130,
130, 130, 130, 132, 424, 132, 132, 132, 132, 132,
132, 132, 136, 424, 424, 424, 424, 424, 136, 72,
72, 424, 72, 204, 424, 204, 9, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424
63, 70, 64, 72, 72, 72, 72, 122, 75, 72,
84, 70, 76, 73, 85, 77, 135, 79, 74, 72,
318, 80, 89, 268, 81, 71, 70, 82, 78, 90,
83, 86, 91, 87, 72, 92, 70, 70, 93, 70,
94, 70, 201, 88, 72, 72, 127, 72, 95, 72,
97, 128, 403, 96, 98, 103, 70, 403, 70, 100,
99, 70, 101, 104, 72, 105, 72, 106, 102, 72,
107, 109, 59, 59, 112, 70, 133, 113, 132, 70,
110, 111, 108, 72, 117, 70, 114, 72, 70, 130,
115, 118, 70, 72, 116, 134, 72, 70, 119, 70,
70, 120, 403, 121, 123, 72, 70, 72, 72, 136,
137, 124, 70, 127, 72, 139, 70, 70, 128, 70,
72, 140, 70, 133, 72, 72, 138, 72, 141, 70,
72, 143, 149, 70, 70, 142, 70, 72, 132, 70,
144, 72, 72, 130, 72, 151, 145, 72, 70, 69,
146, 147, 66, 62, 152, 61, 72, 70, 148, 150,
156, 153, 70, 154, 70, 72, 155, 70, 70, 70,
72, 70, 72, 70, 157, 72, 72, 72, 70, 72,
70, 72, 403, 163, 70, 58, 72, 159, 72, 70,
158, 161, 72, 160, 58, 162, 70, 72, 164, 165,
168, 70, 166, 167, 72, 70, 70, 70, 170, 72,
70, 70, 169, 72, 72, 72, 70, 56, 72, 72,
56, 54, 70, 173, 72, 172, 70, 70, 174, 171,
72, 178, 70, 70, 72, 72, 54, 70, 403, 175,
72, 72, 403, 176, 181, 72, 179, 182, 70, 177,
180, 70, 70, 184, 403, 70, 72, 186, 183, 72,
72, 185, 188, 72, 190, 191, 70, 70, 70, 70,
70, 187, 403, 189, 72, 72, 72, 72, 72, 192,
70, 196, 403, 70, 70, 194, 70, 403, 72, 403,
197, 72, 72, 198, 72, 195, 70, 199, 70, 70,
70, 403, 193, 403, 72, 403, 72, 72, 72, 200,
70, 203, 70, 204, 403, 403, 205, 70, 72, 206,
72, 70, 207, 208, 70, 72, 209, 403, 70, 72,
70, 70, 72, 70, 403, 214, 72, 70, 72, 72,
403, 72, 216, 70, 210, 72, 70, 70, 211, 212,
220, 72, 213, 215, 72, 72, 217, 218, 221, 70,
70, 70, 70, 219, 403, 403, 403, 72, 72, 72,
72, 70, 223, 226, 222, 70, 224, 70, 70, 72,
227, 403, 70, 72, 70, 72, 72, 70, 70, 225,
72, 230, 72, 229, 70, 72, 72, 231, 228, 403,
233, 70, 72, 235, 403, 70, 70, 236, 70, 72,
234, 403, 232, 72, 72, 70, 72, 70, 70, 239,
237, 403, 240, 72, 70, 72, 72, 403, 70, 238,
70, 243, 72, 403, 70, 241, 72, 70, 72, 242,
70, 245, 72, 70, 70, 72, 246, 70, 72, 403,
244, 72, 72, 70, 70, 72, 403, 247, 403, 70,
70, 72, 72, 70, 250, 70, 252, 72, 72, 248,
403, 72, 70, 72, 403, 70, 403, 403, 249, 70,
72, 70, 251, 72, 255, 253, 70, 72, 70, 72,
254, 258, 259, 403, 72, 256, 72, 403, 70, 403,
70, 257, 70, 260, 70, 262, 72, 263, 72, 70,
72, 261, 72, 70, 70, 70, 403, 72, 70, 70,
403, 72, 72, 72, 266, 70, 72, 72, 265, 264,
70, 70, 267, 72, 70, 269, 270, 271, 72, 72,
70, 403, 72, 70, 272, 70, 403, 274, 72, 273,
70, 72, 277, 72, 278, 70, 70, 276, 72, 275,
70, 403, 70, 72, 72, 70, 403, 70, 72, 281,
72, 70, 70, 72, 283, 72, 70, 403, 279, 72,
72, 403, 403, 280, 72, 282, 70, 70, 284, 285,
286, 70, 70, 70, 72, 72, 70, 70, 70, 72,
72, 72, 70, 287, 72, 72, 72, 70, 70, 403,
72, 403, 70, 403, 70, 72, 72, 293, 70, 288,
72, 289, 72, 291, 292, 70, 72, 70, 290, 70,
70, 70, 70, 72, 70, 72, 294, 72, 72, 72,
72, 70, 72, 70, 70, 70, 70, 298, 70, 72,
295, 72, 72, 72, 72, 70, 72, 296, 302, 70,
297, 70, 403, 72, 403, 403, 304, 72, 303, 72,
299, 300, 305, 301, 70, 403, 70, 70, 70, 70,
70, 403, 72, 307, 72, 72, 72, 72, 72, 306,
308, 70, 70, 70, 70, 309, 310, 70, 70, 72,
72, 72, 72, 403, 70, 72, 72, 313, 311, 403,
315, 316, 72, 403, 70, 70, 70, 317, 70, 70,
312, 314, 72, 72, 72, 70, 72, 72, 70, 70,
70, 70, 70, 72, 403, 403, 72, 72, 72, 72,
72, 323, 319, 325, 320, 70, 403, 70, 70, 403,
403, 321, 403, 72, 322, 72, 72, 324, 326, 403,
327, 70, 70, 70, 70, 70, 403, 328, 70, 72,
72, 72, 72, 72, 329, 331, 72, 403, 70, 403,
70, 70, 70, 70, 70, 332, 72, 330, 72, 72,
72, 72, 72, 70, 70, 333, 335, 70, 70, 70,
336, 72, 72, 403, 70, 72, 72, 72, 70, 334,
339, 338, 72, 70, 403, 70, 72, 70, 403, 403,
70, 72, 337, 72, 343, 72, 341, 340, 72, 70,
70, 403, 70, 70, 70, 70, 342, 72, 72, 344,
72, 72, 72, 72, 349, 345, 403, 403, 403, 70,
403, 70, 70, 70, 350, 346, 348, 72, 347, 72,
72, 72, 351, 70, 70, 353, 70, 70, 70, 70,
403, 72, 72, 352, 72, 72, 72, 72, 70, 70,
354, 70, 70, 70, 70, 70, 72, 72, 403, 72,
72, 72, 72, 72, 70, 403, 356, 70, 70, 403,
70, 403, 72, 355, 357, 72, 72, 360, 72, 358,
70, 361, 359, 403, 70, 70, 70, 70, 72, 70,
70, 362, 72, 72, 72, 72, 70, 72, 72, 70,
403, 70, 403, 70, 72, 70, 70, 72, 364, 72,
363, 72, 368, 72, 72, 70, 366, 403, 365, 70,
369, 70, 403, 72, 70, 367, 403, 72, 370, 72,
371, 70, 72, 70, 373, 70, 70, 403, 403, 72,
70, 72, 70, 72, 72, 372, 374, 70, 72, 70,
72, 403, 403, 70, 70, 72, 70, 72, 70, 376,
377, 72, 72, 70, 72, 70, 72, 70, 375, 403,
70, 72, 403, 72, 70, 72, 403, 380, 72, 70,
379, 70, 72, 70, 378, 403, 70, 72, 70, 72,
403, 72, 70, 381, 72, 403, 72, 403, 382, 70,
72, 70, 70, 383, 403, 385, 70, 72, 70, 72,
72, 386, 384, 70, 72, 70, 72, 70, 389, 70,
70, 72, 403, 72, 387, 72, 70, 72, 72, 70,
390, 70, 70, 70, 72, 70, 388, 72, 403, 72,
72, 72, 70, 72, 70, 70, 395, 403, 391, 70,
72, 403, 72, 72, 70, 393, 70, 72, 396, 392,
70, 70, 72, 70, 72, 70, 70, 394, 72, 72,
70, 72, 70, 72, 72, 400, 397, 403, 72, 401,
72, 403, 403, 403, 399, 403, 403, 403, 403, 403,
398, 403, 403, 403, 403, 403, 402, 53, 53, 53,
53, 53, 53, 53, 53, 53, 55, 55, 55, 55,
55, 55, 55, 55, 55, 57, 57, 57, 57, 57,
57, 57, 57, 57, 60, 403, 60, 65, 65, 65,
71, 71, 403, 71, 125, 125, 125, 125, 403, 125,
125, 125, 125, 126, 126, 126, 126, 126, 126, 126,
126, 126, 129, 129, 129, 403, 129, 129, 129, 129,
129, 131, 403, 131, 131, 131, 131, 131, 131, 131,
135, 403, 403, 403, 403, 403, 135, 72, 72, 403,
72, 202, 403, 202, 9, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403
} ;
static yyconst flex_int16_t yy_chk[1414] =
static yyconst flex_int16_t yy_chk[1342] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
......@@ -749,161 +727,153 @@ static yyconst flex_int16_t yy_chk[1414] =
1, 1, 1, 1, 1, 1, 11, 11, 12, 12,
25, 32, 25, 28, 28, 33, 38, 35, 49, 32,
64, 34, 64, 33, 38, 35, 49, 49, 33, 34,
35, 36, 33, 32, 35, 33, 322, 34, 32, 36,
35, 34, 37, 271, 34, 37, 39, 34, 33, 37,
35, 36, 33, 32, 35, 33, 318, 34, 32, 36,
268, 34, 37, 201, 34, 37, 39, 34, 33, 37,
34, 36, 37, 36, 39, 37, 41, 40, 37, 42,
39, 43, 203, 36, 41, 40, 54, 42, 39, 43,
40, 54, 127, 39, 40, 43, 44, 127, 45, 41,
39, 43, 134, 36, 41, 40, 54, 42, 39, 43,
40, 54, 126, 39, 40, 43, 44, 126, 45, 41,
40, 46, 42, 43, 44, 43, 45, 43, 42, 46,
43, 45, 59, 59, 46, 47, 135, 46, 134, 48,
45, 45, 44, 47, 47, 71, 46, 48, 50, 133,
46, 47, 131, 71, 46, 72, 50, 73, 47, 74,
75, 48, 70, 48, 50, 73, 76, 74, 75, 73,
74, 50, 77, 128, 76, 75, 78, 80, 128, 82,
77, 76, 79, 65, 78, 80, 74, 82, 76, 81,
79, 79, 82, 83, 84, 77, 85, 81, 63, 86,
80, 83, 84, 58, 85, 84, 80, 86, 87, 56,
81, 81, 86, 30, 84, 26, 87, 88, 81, 83,
89, 84, 90, 85, 91, 88, 92, 24, 89, 88,
90, 93, 91, 94, 92, 87, 95, 89, 97, 93,
98, 94, 23, 9, 95, 96, 97, 91, 98, 8,
90, 99, 92, 96, 93, 94, 100, 96, 102, 99,
103, 104, 98, 101, 100, 7, 102, 100, 103, 104,
99, 101, 96, 96, 105, 101, 106, 108, 6, 100,
103, 5, 105, 107, 106, 108, 102, 4, 110, 106,
109, 107, 111, 3, 112, 107, 110, 110, 109, 0,
111, 113, 112, 115, 111, 108, 0, 109, 0, 113,
114, 115, 110, 109, 112, 0, 110, 0, 114, 114,
116, 113, 0, 115, 117, 112, 118, 119, 116, 113,
116, 120, 117, 0, 118, 119, 118, 121, 122, 120,
119, 116, 0, 0, 124, 121, 122, 123, 125, 0,
122, 117, 124, 0, 121, 123, 125, 124, 0, 0,
137, 124, 138, 139, 121, 140, 120, 123, 137, 141,
138, 139, 142, 140, 125, 144, 139, 141, 0, 143,
142, 142, 140, 144, 145, 146, 141, 143, 148, 143,
143, 0, 145, 146, 147, 149, 148, 150, 0, 148,
151, 144, 147, 149, 0, 150, 150, 0, 151, 0,
0, 145, 146, 152, 154, 147, 153, 149, 147, 0,
155, 152, 154, 156, 153, 154, 151, 151, 155, 153,
157, 156, 158, 152, 159, 0, 161, 0, 157, 0,
158, 160, 159, 157, 161, 161, 162, 157, 155, 160,
156, 163, 160, 164, 162, 165, 0, 166, 167, 163,
0, 164, 159, 165, 164, 166, 167, 168, 165, 170,
166, 167, 163, 0, 0, 168, 169, 170, 171, 172,
0, 167, 168, 173, 169, 166, 171, 172, 170, 169,
174, 173, 172, 175, 0, 176, 177, 173, 174, 178,
0, 175, 171, 176, 177, 179, 180, 178, 176, 181,
174, 182, 183, 179, 180, 175, 179, 181, 180, 182,
183, 178, 184, 185, 186, 187, 188, 189, 190, 181,
184, 185, 186, 187, 188, 189, 190, 186, 191, 0,
182, 192, 184, 193, 0, 0, 191, 183, 194, 192,
0, 193, 188, 192, 195, 190, 194, 0, 185, 196,
197, 199, 195, 193, 195, 195, 198, 196, 197, 199,
194, 200, 201, 0, 198, 198, 195, 197, 205, 200,
201, 202, 0, 206, 196, 207, 205, 208, 209, 202,
199, 206, 201, 207, 211, 208, 209, 200, 210, 0,
202, 212, 211, 213, 205, 206, 210, 207, 214, 212,
215, 213, 216, 208, 212, 217, 214, 210, 215, 215,
216, 216, 218, 217, 219, 214, 220, 221, 0, 0,
218, 213, 219, 222, 220, 221, 221, 219, 223, 224,
225, 222, 0, 217, 226, 227, 223, 224, 225, 220,
218, 0, 226, 227, 228, 229, 224, 230, 231, 227,
232, 222, 228, 229, 233, 230, 231, 0, 232, 234,
237, 229, 233, 235, 236, 225, 238, 234, 237, 239,
0, 235, 236, 240, 238, 230, 241, 239, 232, 236,
242, 240, 243, 244, 241, 234, 233, 245, 242, 235,
243, 244, 246, 247, 238, 245, 248, 0, 249, 250,
246, 247, 251, 252, 248, 243, 249, 250, 254, 248,
251, 252, 253, 0, 0, 0, 254, 0, 246, 257,
253, 247, 253, 255, 0, 256, 250, 257, 251, 259,
252, 255, 254, 256, 255, 258, 0, 259, 256, 0,
260, 261, 259, 258, 258, 262, 263, 257, 260, 261,
0, 264, 265, 262, 263, 266, 267, 268, 261, 264,
265, 262, 0, 266, 267, 268, 269, 265, 270, 267,
268, 0, 0, 272, 269, 263, 270, 273, 274, 269,
264, 272, 275, 266, 276, 273, 274, 277, 279, 278,
275, 0, 276, 0, 0, 277, 279, 278, 0, 280,
281, 272, 278, 282, 283, 284, 274, 280, 281, 0,
280, 282, 283, 284, 285, 275, 279, 283, 286, 276,
0, 287, 285, 288, 289, 290, 286, 284, 281, 287,
291, 288, 289, 290, 287, 292, 0, 0, 291, 293,
285, 294, 295, 292, 286, 288, 289, 293, 0, 294,
295, 296, 297, 298, 299, 300, 293, 0, 301, 296,
297, 298, 299, 300, 0, 297, 301, 302, 303, 298,
295, 0, 301, 304, 305, 302, 303, 306, 0, 302,
307, 304, 305, 299, 308, 306, 306, 0, 307, 309,
310, 311, 308, 312, 0, 304, 303, 309, 310, 311,
313, 312, 305, 315, 0, 314, 307, 316, 313, 317,
318, 315, 308, 314, 314, 316, 310, 317, 318, 311,
316, 319, 313, 318, 315, 320, 321, 323, 324, 319,
325, 317, 326, 320, 321, 323, 324, 327, 325, 328,
326, 329, 330, 331, 332, 327, 333, 328, 319, 329,
330, 331, 332, 334, 333, 0, 335, 0, 0, 326,
336, 334, 337, 327, 335, 325, 334, 338, 336, 329,
337, 336, 332, 339, 340, 338, 341, 0, 343, 342,
344, 339, 340, 346, 341, 337, 343, 342, 344, 345,
338, 346, 0, 0, 347, 348, 349, 345, 0, 350,
340, 342, 347, 348, 349, 0, 348, 350, 351, 344,
352, 354, 0, 349, 355, 345, 351, 353, 352, 354,
347, 356, 355, 352, 355, 353, 353, 357, 358, 356,
359, 360, 0, 361, 362, 357, 358, 354, 359, 360,
357, 361, 362, 363, 364, 365, 366, 362, 367, 368,
361, 363, 364, 365, 366, 369, 367, 368, 370, 360,
371, 372, 0, 369, 373, 374, 370, 375, 371, 372,
370, 368, 373, 374, 366, 375, 367, 376, 0, 377,
378, 0, 379, 0, 374, 376, 371, 377, 378, 375,
379, 380, 381, 382, 383, 379, 384, 0, 0, 380,
381, 382, 383, 380, 384, 377, 383, 0, 385, 386,
387, 388, 389, 390, 391, 381, 385, 386, 387, 388,
389, 390, 391, 392, 388, 393, 394, 382, 396, 395,
397, 392, 398, 393, 394, 0, 396, 395, 397, 0,
398, 390, 395, 385, 397, 399, 400, 391, 401, 392,
402, 0, 403, 399, 400, 405, 401, 404, 402, 399,
403, 394, 406, 405, 0, 404, 0, 407, 408, 409,
406, 410, 402, 0, 404, 407, 408, 409, 413, 410,
411, 410, 414, 0, 415, 412, 413, 0, 411, 408,
414, 406, 415, 412, 416, 407, 0, 411, 412, 417,
413, 418, 416, 419, 409, 420, 0, 417, 414, 418,
421, 419, 0, 420, 418, 422, 0, 423, 421, 415,
417, 0, 0, 422, 419, 423, 0, 0, 420, 0,
0, 0, 0, 0, 0, 0, 421, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 422, 425,
425, 425, 425, 425, 425, 425, 425, 425, 426, 426,
426, 426, 426, 426, 426, 426, 426, 427, 427, 427,
427, 427, 427, 427, 427, 427, 428, 0, 428, 429,
429, 429, 430, 430, 0, 430, 431, 431, 431, 431,
0, 431, 431, 431, 431, 432, 432, 432, 432, 432,
432, 432, 432, 432, 433, 433, 433, 0, 433, 433,
433, 433, 433, 434, 0, 434, 434, 434, 434, 434,
434, 434, 435, 0, 0, 0, 0, 0, 435, 436,
436, 0, 436, 437, 0, 437, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424
43, 45, 59, 59, 46, 47, 133, 46, 132, 48,
45, 45, 44, 47, 47, 71, 46, 48, 50, 130,
46, 47, 72, 71, 46, 70, 50, 73, 47, 74,
75, 48, 65, 48, 50, 73, 76, 74, 75, 73,
74, 50, 77, 127, 76, 75, 78, 80, 127, 82,
77, 76, 79, 63, 78, 80, 74, 82, 76, 81,
79, 79, 82, 83, 84, 77, 85, 81, 58, 86,
80, 83, 84, 56, 85, 84, 80, 86, 87, 30,
81, 81, 26, 24, 84, 23, 87, 88, 81, 83,
87, 84, 89, 85, 90, 88, 86, 91, 92, 94,
89, 95, 90, 93, 88, 91, 92, 94, 96, 95,
97, 93, 9, 95, 98, 8, 96, 90, 97, 99,
89, 92, 98, 91, 7, 93, 100, 99, 95, 95,
99, 101, 97, 98, 100, 102, 103, 104, 100, 101,
105, 107, 99, 102, 103, 104, 106, 6, 105, 107,
5, 4, 109, 105, 106, 102, 108, 111, 106, 101,
109, 109, 110, 112, 108, 111, 3, 116, 0, 107,
110, 112, 0, 108, 110, 116, 109, 111, 113, 108,
109, 114, 115, 112, 0, 117, 113, 113, 111, 114,
115, 112, 115, 117, 116, 117, 118, 119, 120, 121,
122, 114, 0, 115, 118, 119, 120, 121, 122, 118,
123, 121, 0, 124, 136, 120, 137, 0, 123, 0,
122, 124, 136, 123, 137, 120, 139, 123, 138, 140,
143, 0, 119, 0, 139, 0, 138, 140, 143, 124,
141, 138, 142, 139, 0, 0, 140, 144, 141, 141,
142, 145, 142, 142, 147, 144, 143, 0, 146, 145,
150, 148, 147, 149, 0, 147, 146, 152, 150, 148,
0, 149, 149, 151, 144, 152, 154, 153, 145, 146,
152, 151, 146, 148, 154, 153, 150, 150, 153, 155,
156, 157, 158, 151, 0, 0, 0, 155, 156, 157,
158, 159, 155, 158, 154, 160, 155, 161, 163, 159,
159, 0, 162, 160, 164, 161, 163, 165, 166, 157,
162, 163, 164, 162, 167, 165, 166, 164, 161, 0,
165, 168, 167, 166, 0, 169, 170, 167, 171, 168,
165, 0, 164, 169, 170, 172, 171, 173, 174, 170,
168, 0, 171, 172, 175, 173, 174, 0, 176, 169,
177, 174, 175, 0, 178, 172, 176, 179, 177, 173,
180, 177, 178, 181, 182, 179, 178, 183, 180, 0,
176, 181, 182, 184, 185, 183, 0, 179, 0, 186,
187, 184, 185, 188, 182, 189, 184, 186, 187, 180,
0, 188, 190, 189, 0, 191, 0, 0, 181, 192,
190, 193, 183, 191, 190, 186, 194, 192, 195, 193,
188, 193, 193, 0, 194, 191, 195, 0, 196, 0,
197, 192, 198, 193, 199, 195, 196, 196, 197, 203,
198, 194, 199, 200, 204, 205, 0, 203, 206, 207,
0, 200, 204, 205, 199, 209, 206, 207, 198, 197,
208, 211, 200, 209, 210, 203, 204, 205, 208, 211,
212, 0, 210, 213, 206, 214, 0, 210, 212, 208,
215, 213, 213, 214, 214, 216, 217, 212, 215, 211,
220, 0, 218, 216, 217, 219, 0, 221, 220, 217,
218, 223, 222, 219, 219, 221, 224, 0, 215, 223,
222, 0, 0, 216, 224, 218, 225, 226, 220, 222,
224, 227, 228, 229, 225, 226, 230, 231, 232, 227,
228, 229, 233, 226, 230, 231, 232, 234, 235, 0,
233, 0, 236, 0, 237, 234, 235, 233, 238, 227,
236, 229, 237, 231, 232, 239, 238, 240, 230, 241,
242, 243, 244, 239, 245, 240, 235, 241, 242, 243,
244, 246, 245, 247, 251, 248, 249, 245, 250, 246,
240, 247, 251, 248, 249, 252, 250, 243, 250, 253,
244, 254, 0, 252, 0, 0, 252, 253, 251, 254,
247, 248, 253, 249, 255, 0, 257, 256, 258, 260,
259, 0, 255, 255, 257, 256, 258, 260, 259, 254,
256, 261, 262, 263, 267, 258, 259, 264, 265, 261,
262, 263, 267, 0, 266, 264, 265, 262, 260, 0,
264, 265, 266, 0, 269, 270, 271, 266, 272, 273,
261, 263, 269, 270, 271, 274, 272, 273, 275, 276,
278, 279, 277, 274, 0, 0, 275, 276, 278, 279,
277, 275, 269, 277, 271, 281, 0, 280, 282, 0,
0, 272, 0, 281, 273, 280, 282, 276, 278, 0,
280, 283, 284, 285, 286, 287, 0, 281, 288, 283,
284, 285, 286, 287, 282, 284, 288, 0, 289, 0,
290, 291, 292, 293, 294, 285, 289, 283, 290, 291,
292, 293, 294, 295, 296, 289, 293, 297, 298, 299,
294, 295, 296, 0, 300, 297, 298, 299, 301, 291,
298, 297, 300, 303, 0, 302, 301, 304, 0, 0,
305, 303, 295, 302, 302, 304, 300, 299, 305, 306,
307, 0, 308, 311, 309, 310, 301, 306, 307, 303,
308, 311, 309, 310, 310, 304, 0, 0, 0, 312,
0, 313, 314, 315, 311, 306, 309, 312, 307, 313,
314, 315, 312, 316, 317, 314, 319, 320, 321, 322,
0, 316, 317, 313, 319, 320, 321, 322, 323, 324,
315, 325, 326, 327, 328, 329, 323, 324, 0, 325,
326, 327, 328, 329, 330, 0, 322, 331, 333, 0,
332, 0, 330, 321, 323, 331, 333, 330, 332, 325,
334, 332, 328, 0, 335, 336, 337, 338, 334, 339,
340, 333, 335, 336, 337, 338, 341, 339, 340, 342,
0, 343, 0, 344, 341, 345, 346, 342, 337, 343,
335, 344, 343, 345, 346, 347, 340, 0, 339, 349,
344, 348, 0, 347, 350, 342, 0, 349, 347, 348,
348, 351, 350, 352, 350, 353, 354, 0, 0, 351,
355, 352, 356, 353, 354, 349, 352, 357, 355, 358,
356, 0, 0, 359, 360, 357, 361, 358, 362, 356,
357, 359, 360, 363, 361, 364, 362, 365, 355, 0,
366, 363, 0, 364, 367, 365, 0, 364, 366, 368,
362, 369, 367, 370, 361, 0, 371, 368, 372, 369,
0, 370, 373, 365, 371, 0, 372, 0, 368, 374,
373, 375, 376, 369, 0, 373, 377, 374, 378, 375,
376, 374, 371, 379, 377, 380, 378, 381, 377, 382,
383, 379, 0, 380, 375, 381, 384, 382, 383, 385,
381, 386, 387, 388, 384, 389, 376, 385, 0, 386,
387, 388, 390, 389, 391, 392, 388, 0, 383, 393,
390, 0, 391, 392, 394, 385, 395, 393, 391, 384,
396, 397, 394, 398, 395, 399, 400, 387, 396, 397,
401, 398, 402, 399, 400, 399, 394, 0, 401, 400,
402, 0, 0, 0, 398, 0, 0, 0, 0, 0,
397, 0, 0, 0, 0, 0, 401, 404, 404, 404,
404, 404, 404, 404, 404, 404, 405, 405, 405, 405,
405, 405, 405, 405, 405, 406, 406, 406, 406, 406,
406, 406, 406, 406, 407, 0, 407, 408, 408, 408,
409, 409, 0, 409, 410, 410, 410, 410, 0, 410,
410, 410, 410, 411, 411, 411, 411, 411, 411, 411,
411, 411, 412, 412, 412, 0, 412, 412, 412, 412,
412, 413, 0, 413, 413, 413, 413, 413, 413, 413,
414, 0, 0, 0, 0, 0, 414, 415, 415, 0,
415, 416, 0, 416, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403, 403, 403, 403, 403, 403, 403, 403, 403, 403,
403
} ;
static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;
extern int yy_flex_debug;
int yy_flex_debug = 0;
static int yy_flex_debug = 0;
/* The intent behind this definition is that it'll catch
* any uses of REJECT which flex missed.
......@@ -912,11 +882,12 @@ int yy_flex_debug = 0;
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
static char *yytext;
#line 1 "pars0lex.l"
/*****************************************************************************
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......@@ -951,7 +922,7 @@ Created 12/14/1997 Heikki Tuuri
*******************************************************/
#define YY_NO_INPUT 1
#define YY_NO_UNISTD_H 1
#line 53 "pars0lex.l"
#line 54 "pars0lex.l"
#define YYSTYPE que_node_t*
#include "univ.i"
......@@ -1003,7 +974,7 @@ string_append(
#line 1006 "lexyy.cc"
#line 977 "lexyy.cc"
#define INITIAL 0
#define comment 1
......@@ -1029,29 +1000,29 @@ static int yy_init_globals (void );
MY_ATTRIBUTE((unused)) static int yylex_destroy (void );
int yyget_debug (void );
MY_ATTRIBUTE((unused)) static int yyget_debug (void );
void yyset_debug (int debug_flag );
MY_ATTRIBUTE((unused)) static void yyset_debug (int debug_flag );
YY_EXTRA_TYPE yyget_extra (void );
void yyset_extra (YY_EXTRA_TYPE user_defined );
FILE *yyget_in (void );
void yyset_in (FILE * in_str );
MY_ATTRIBUTE((unused)) static FILE *yyget_in (void );
FILE *yyget_out (void );
MY_ATTRIBUTE((unused)) static void yyset_in (FILE * _in_str );
void yyset_out (FILE * out_str );
MY_ATTRIBUTE((unused)) static FILE *yyget_out (void );
yy_size_t yyget_leng (void );
MY_ATTRIBUTE((unused)) static void yyset_out (FILE * _out_str );
char *yyget_text (void );
MY_ATTRIBUTE((unused)) static int yyget_leng (void );
int yyget_lineno (void );
MY_ATTRIBUTE((unused)) static char *yyget_text (void );
void yyset_lineno (int line_number );
MY_ATTRIBUTE((unused)) static int yyget_lineno (void );
MY_ATTRIBUTE((unused)) static void yyset_lineno (int _line_number );
/* Macros after this point can all be overridden by user definitions in
* section 1.
......@@ -1065,6 +1036,10 @@ extern int yywrap (void );
#endif
#endif
#ifndef YY_NO_UNPUT
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
......@@ -1098,7 +1073,7 @@ static int input (void );
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
......@@ -1122,7 +1097,7 @@ static int input (void );
else \
{ \
errno=0; \
while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
while ( (result = (int) fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
......@@ -1177,7 +1152,7 @@ extern int yylex (void);
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#define YY_BREAK /*LINTED*/break;
#endif
#define YY_RULE_SETUP \
......@@ -1187,14 +1162,9 @@ extern int yylex (void);
*/
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
#line 112 "pars0lex.l"
#line 1197 "lexyy.cc"
yy_state_type yy_current_state;
char *yy_cp, *yy_bp;
int yy_act;
if ( !(yy_init) )
{
......@@ -1222,7 +1192,13 @@ YY_DECL
yy_load_buffer_state( );
}
while ( 1 ) /* loops until end-of-file is reached */
{
#line 113 "pars0lex.l"
#line 1199 "lexyy.cc"
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{
yy_cp = (yy_c_buf_p);
......@@ -1238,7 +1214,7 @@ YY_DECL
yy_match:
do
{
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
if ( yy_accept[yy_current_state] )
{
(yy_last_accepting_state) = yy_current_state;
......@@ -1247,13 +1223,13 @@ YY_DECL
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 >= 425 )
if ( yy_current_state >= 404 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
++yy_cp;
}
while ( yy_current_state != 424 );
while ( yy_current_state != 403 );
yy_cp = (yy_last_accepting_cpos);
yy_current_state = (yy_last_accepting_state);
......@@ -1275,7 +1251,7 @@ YY_DECL
case 1:
YY_RULE_SETUP
#line 114 "pars0lex.l"
#line 115 "pars0lex.l"
{
yylval = sym_tab_add_int_lit(pars_sym_tab_global,
atoi(yytext));
......@@ -1284,7 +1260,7 @@ YY_RULE_SETUP
YY_BREAK
case 2:
YY_RULE_SETUP
#line 120 "pars0lex.l"
#line 121 "pars0lex.l"
{
ut_error; /* not implemented */
......@@ -1293,7 +1269,7 @@ YY_RULE_SETUP
YY_BREAK
case 3:
YY_RULE_SETUP
#line 126 "pars0lex.l"
#line 127 "pars0lex.l"
{
ulint type;
......@@ -1305,7 +1281,7 @@ YY_RULE_SETUP
YY_BREAK
case 4:
YY_RULE_SETUP
#line 135 "pars0lex.l"
#line 136 "pars0lex.l"
{
yylval = sym_tab_add_bound_id(pars_sym_tab_global,
yytext + 1);
......@@ -1315,7 +1291,7 @@ YY_RULE_SETUP
YY_BREAK
case 5:
YY_RULE_SETUP
#line 142 "pars0lex.l"
#line 143 "pars0lex.l"
{
/* Quoted character string literals are handled in an explicit
start state 'quoted'. This state is entered and the buffer for
......@@ -1329,7 +1305,7 @@ In the state 'quoted', only two actions are possible (defined below). */
case 6:
/* rule 6 can match eol */
YY_RULE_SETUP
#line 151 "pars0lex.l"
#line 152 "pars0lex.l"
{
/* Got a sequence of characters other than "'":
append to string buffer */
......@@ -1338,7 +1314,7 @@ YY_RULE_SETUP
YY_BREAK
case 7:
YY_RULE_SETUP
#line 156 "pars0lex.l"
#line 157 "pars0lex.l"
{
/* Got a sequence of "'" characters:
append half of them to string buffer,
......@@ -1365,7 +1341,7 @@ YY_RULE_SETUP
YY_BREAK
case 8:
YY_RULE_SETUP
#line 180 "pars0lex.l"
#line 181 "pars0lex.l"
{
/* Quoted identifiers are handled in an explicit start state 'id'.
This state is entered and the buffer for the scanned string is emptied
......@@ -1379,7 +1355,7 @@ In the state 'id', only two actions are possible (defined below). */
case 9:
/* rule 9 can match eol */
YY_RULE_SETUP
#line 189 "pars0lex.l"
#line 190 "pars0lex.l"
{
/* Got a sequence of characters other than '"':
append to string buffer */
......@@ -1388,7 +1364,7 @@ YY_RULE_SETUP
YY_BREAK
case 10:
YY_RULE_SETUP
#line 194 "pars0lex.l"
#line 195 "pars0lex.l"
{
/* Got a sequence of '"' characters:
append half of them to string buffer,
......@@ -1416,7 +1392,7 @@ YY_RULE_SETUP
YY_BREAK
case 11:
YY_RULE_SETUP
#line 219 "pars0lex.l"
#line 220 "pars0lex.l"
{
yylval = sym_tab_add_null_lit(pars_sym_tab_global);
......@@ -1425,7 +1401,7 @@ YY_RULE_SETUP
YY_BREAK
case 12:
YY_RULE_SETUP
#line 225 "pars0lex.l"
#line 226 "pars0lex.l"
{
/* Implicit cursor name */
yylval = sym_tab_add_str_lit(pars_sym_tab_global,
......@@ -1435,643 +1411,644 @@ YY_RULE_SETUP
YY_BREAK
case 13:
YY_RULE_SETUP
#line 232 "pars0lex.l"
#line 233 "pars0lex.l"
{
return(PARS_AND_TOKEN);
}
YY_BREAK
case 14:
YY_RULE_SETUP
#line 236 "pars0lex.l"
#line 237 "pars0lex.l"
{
return(PARS_OR_TOKEN);
}
YY_BREAK
case 15:
YY_RULE_SETUP
#line 240 "pars0lex.l"
#line 241 "pars0lex.l"
{
return(PARS_NOT_TOKEN);
}
YY_BREAK
case 16:
YY_RULE_SETUP
#line 244 "pars0lex.l"
#line 245 "pars0lex.l"
{
return(PARS_PROCEDURE_TOKEN);
}
YY_BREAK
case 17:
YY_RULE_SETUP
#line 248 "pars0lex.l"
#line 249 "pars0lex.l"
{
return(PARS_IN_TOKEN);
}
YY_BREAK
case 18:
YY_RULE_SETUP
#line 252 "pars0lex.l"
#line 253 "pars0lex.l"
{
return(PARS_OUT_TOKEN);
}
YY_BREAK
case 19:
YY_RULE_SETUP
#line 256 "pars0lex.l"
#line 257 "pars0lex.l"
{
return(PARS_BINARY_TOKEN);
}
YY_BREAK
case 20:
YY_RULE_SETUP
#line 260 "pars0lex.l"
#line 261 "pars0lex.l"
{
return(PARS_BLOB_TOKEN);
}
YY_BREAK
case 21:
YY_RULE_SETUP
#line 264 "pars0lex.l"
#line 265 "pars0lex.l"
{
return(PARS_INT_TOKEN);
}
YY_BREAK
case 22:
YY_RULE_SETUP
#line 268 "pars0lex.l"
#line 269 "pars0lex.l"
{
return(PARS_INT_TOKEN);
}
YY_BREAK
case 23:
YY_RULE_SETUP
#line 272 "pars0lex.l"
#line 273 "pars0lex.l"
{
return(PARS_FLOAT_TOKEN);
}
YY_BREAK
case 24:
YY_RULE_SETUP
#line 276 "pars0lex.l"
#line 277 "pars0lex.l"
{
return(PARS_CHAR_TOKEN);
}
YY_BREAK
case 25:
YY_RULE_SETUP
#line 280 "pars0lex.l"
#line 281 "pars0lex.l"
{
return(PARS_IS_TOKEN);
}
YY_BREAK
case 26:
YY_RULE_SETUP
#line 284 "pars0lex.l"
#line 285 "pars0lex.l"
{
return(PARS_BEGIN_TOKEN);
}
YY_BREAK
case 27:
YY_RULE_SETUP
#line 288 "pars0lex.l"
#line 289 "pars0lex.l"
{
return(PARS_END_TOKEN);
}
YY_BREAK
case 28:
YY_RULE_SETUP
#line 292 "pars0lex.l"
#line 293 "pars0lex.l"
{
return(PARS_IF_TOKEN);
}
YY_BREAK
case 29:
YY_RULE_SETUP
#line 296 "pars0lex.l"
#line 297 "pars0lex.l"
{
return(PARS_THEN_TOKEN);
}
YY_BREAK
case 30:
YY_RULE_SETUP
#line 300 "pars0lex.l"
#line 301 "pars0lex.l"
{
return(PARS_ELSE_TOKEN);
}
YY_BREAK
case 31:
YY_RULE_SETUP
#line 304 "pars0lex.l"
#line 305 "pars0lex.l"
{
return(PARS_ELSIF_TOKEN);
}
YY_BREAK
case 32:
YY_RULE_SETUP
#line 308 "pars0lex.l"
#line 309 "pars0lex.l"
{
return(PARS_LOOP_TOKEN);
}
YY_BREAK
case 33:
YY_RULE_SETUP
#line 312 "pars0lex.l"
#line 313 "pars0lex.l"
{
return(PARS_WHILE_TOKEN);
}
YY_BREAK
case 34:
YY_RULE_SETUP
#line 316 "pars0lex.l"
#line 317 "pars0lex.l"
{
return(PARS_RETURN_TOKEN);
}
YY_BREAK
case 35:
YY_RULE_SETUP
#line 320 "pars0lex.l"
#line 321 "pars0lex.l"
{
return(PARS_SELECT_TOKEN);
}
YY_BREAK
case 36:
YY_RULE_SETUP
#line 324 "pars0lex.l"
#line 325 "pars0lex.l"
{
return(PARS_SUM_TOKEN);
}
YY_BREAK
case 37:
YY_RULE_SETUP
#line 328 "pars0lex.l"
#line 329 "pars0lex.l"
{
return(PARS_COUNT_TOKEN);
}
YY_BREAK
case 38:
YY_RULE_SETUP
#line 332 "pars0lex.l"
#line 333 "pars0lex.l"
{
return(PARS_DISTINCT_TOKEN);
}
YY_BREAK
case 39:
YY_RULE_SETUP
#line 336 "pars0lex.l"
#line 337 "pars0lex.l"
{
return(PARS_FROM_TOKEN);
}
YY_BREAK
case 40:
YY_RULE_SETUP
#line 340 "pars0lex.l"
#line 341 "pars0lex.l"
{
return(PARS_WHERE_TOKEN);
}
YY_BREAK
case 41:
YY_RULE_SETUP
#line 344 "pars0lex.l"
#line 345 "pars0lex.l"
{
return(PARS_FOR_TOKEN);
}
YY_BREAK
case 42:
YY_RULE_SETUP
#line 348 "pars0lex.l"
#line 349 "pars0lex.l"
{
return(PARS_READ_TOKEN);
}
YY_BREAK
case 43:
YY_RULE_SETUP
#line 352 "pars0lex.l"
#line 353 "pars0lex.l"
{
return(PARS_ORDER_TOKEN);
}
YY_BREAK
case 44:
YY_RULE_SETUP
#line 356 "pars0lex.l"
#line 357 "pars0lex.l"
{
return(PARS_BY_TOKEN);
}
YY_BREAK
case 45:
YY_RULE_SETUP
#line 360 "pars0lex.l"
#line 361 "pars0lex.l"
{
return(PARS_ASC_TOKEN);
}
YY_BREAK
case 46:
YY_RULE_SETUP
#line 364 "pars0lex.l"
#line 365 "pars0lex.l"
{
return(PARS_DESC_TOKEN);
}
YY_BREAK
case 47:
YY_RULE_SETUP
#line 368 "pars0lex.l"
#line 369 "pars0lex.l"
{
return(PARS_INSERT_TOKEN);
}
YY_BREAK
case 48:
YY_RULE_SETUP
#line 372 "pars0lex.l"
#line 373 "pars0lex.l"
{
return(PARS_INTO_TOKEN);
}
YY_BREAK
case 49:
YY_RULE_SETUP
#line 376 "pars0lex.l"
#line 377 "pars0lex.l"
{
return(PARS_VALUES_TOKEN);
}
YY_BREAK
case 50:
YY_RULE_SETUP
#line 380 "pars0lex.l"
#line 381 "pars0lex.l"
{
return(PARS_UPDATE_TOKEN);
}
YY_BREAK
case 51:
YY_RULE_SETUP
#line 384 "pars0lex.l"
#line 385 "pars0lex.l"
{
return(PARS_SET_TOKEN);
}
YY_BREAK
case 52:
YY_RULE_SETUP
#line 388 "pars0lex.l"
#line 389 "pars0lex.l"
{
return(PARS_DELETE_TOKEN);
}
YY_BREAK
case 53:
YY_RULE_SETUP
#line 392 "pars0lex.l"
#line 393 "pars0lex.l"
{
return(PARS_CURRENT_TOKEN);
}
YY_BREAK
case 54:
YY_RULE_SETUP
#line 396 "pars0lex.l"
#line 397 "pars0lex.l"
{
return(PARS_OF_TOKEN);
}
YY_BREAK
case 55:
YY_RULE_SETUP
#line 400 "pars0lex.l"
#line 401 "pars0lex.l"
{
return(PARS_CREATE_TOKEN);
}
YY_BREAK
case 56:
YY_RULE_SETUP
#line 404 "pars0lex.l"
#line 405 "pars0lex.l"
{
return(PARS_TABLE_TOKEN);
}
YY_BREAK
case 57:
YY_RULE_SETUP
#line 408 "pars0lex.l"
#line 409 "pars0lex.l"
{
return(PARS_COMPACT_TOKEN);
}
YY_BREAK
case 58:
YY_RULE_SETUP
#line 412 "pars0lex.l"
#line 413 "pars0lex.l"
{
return(PARS_BLOCK_SIZE_TOKEN);
}
YY_BREAK
case 59:
YY_RULE_SETUP
#line 416 "pars0lex.l"
#line 417 "pars0lex.l"
{
return(PARS_INDEX_TOKEN);
}
YY_BREAK
case 60:
YY_RULE_SETUP
#line 420 "pars0lex.l"
#line 421 "pars0lex.l"
{
return(PARS_UNIQUE_TOKEN);
}
YY_BREAK
case 61:
YY_RULE_SETUP
#line 424 "pars0lex.l"
#line 425 "pars0lex.l"
{
return(PARS_CLUSTERED_TOKEN);
}
YY_BREAK
case 62:
YY_RULE_SETUP
#line 428 "pars0lex.l"
#line 429 "pars0lex.l"
{
return(PARS_DOES_NOT_FIT_IN_MEM_TOKEN);
return(PARS_ON_TOKEN);
}
YY_BREAK
case 63:
YY_RULE_SETUP
#line 432 "pars0lex.l"
#line 433 "pars0lex.l"
{
return(PARS_ON_TOKEN);
return(PARS_DECLARE_TOKEN);
}
YY_BREAK
case 64:
YY_RULE_SETUP
#line 436 "pars0lex.l"
#line 437 "pars0lex.l"
{
return(PARS_DECLARE_TOKEN);
return(PARS_CURSOR_TOKEN);
}
YY_BREAK
case 65:
YY_RULE_SETUP
#line 440 "pars0lex.l"
#line 441 "pars0lex.l"
{
return(PARS_CURSOR_TOKEN);
return(PARS_OPEN_TOKEN);
}
YY_BREAK
case 66:
YY_RULE_SETUP
#line 444 "pars0lex.l"
#line 445 "pars0lex.l"
{
return(PARS_OPEN_TOKEN);
return(PARS_FETCH_TOKEN);
}
YY_BREAK
case 67:
YY_RULE_SETUP
#line 448 "pars0lex.l"
#line 449 "pars0lex.l"
{
return(PARS_FETCH_TOKEN);
return(PARS_CLOSE_TOKEN);
}
YY_BREAK
case 68:
YY_RULE_SETUP
#line 452 "pars0lex.l"
#line 453 "pars0lex.l"
{
return(PARS_CLOSE_TOKEN);
return(PARS_NOTFOUND_TOKEN);
}
YY_BREAK
case 69:
YY_RULE_SETUP
#line 456 "pars0lex.l"
#line 457 "pars0lex.l"
{
return(PARS_NOTFOUND_TOKEN);
return(PARS_TO_CHAR_TOKEN);
}
YY_BREAK
case 70:
YY_RULE_SETUP
#line 460 "pars0lex.l"
#line 461 "pars0lex.l"
{
return(PARS_TO_CHAR_TOKEN);
return(PARS_TO_NUMBER_TOKEN);
}
YY_BREAK
case 71:
YY_RULE_SETUP
#line 464 "pars0lex.l"
#line 465 "pars0lex.l"
{
return(PARS_TO_NUMBER_TOKEN);
return(PARS_TO_BINARY_TOKEN);
}
YY_BREAK
case 72:
YY_RULE_SETUP
#line 468 "pars0lex.l"
#line 469 "pars0lex.l"
{
return(PARS_TO_BINARY_TOKEN);
return(PARS_BINARY_TO_NUMBER_TOKEN);
}
YY_BREAK
case 73:
YY_RULE_SETUP
#line 472 "pars0lex.l"
#line 473 "pars0lex.l"
{
return(PARS_BINARY_TO_NUMBER_TOKEN);
return(PARS_SUBSTR_TOKEN);
}
YY_BREAK
case 74:
YY_RULE_SETUP
#line 476 "pars0lex.l"
#line 477 "pars0lex.l"
{
return(PARS_SUBSTR_TOKEN);
return(PARS_REPLSTR_TOKEN);
}
YY_BREAK
case 75:
YY_RULE_SETUP
#line 480 "pars0lex.l"
#line 481 "pars0lex.l"
{
return(PARS_REPLSTR_TOKEN);
return(PARS_CONCAT_TOKEN);
}
YY_BREAK
case 76:
YY_RULE_SETUP
#line 484 "pars0lex.l"
#line 485 "pars0lex.l"
{
return(PARS_CONCAT_TOKEN);
return(PARS_INSTR_TOKEN);
}
YY_BREAK
case 77:
YY_RULE_SETUP
#line 488 "pars0lex.l"
#line 489 "pars0lex.l"
{
return(PARS_INSTR_TOKEN);
return(PARS_LENGTH_TOKEN);
}
YY_BREAK
case 78:
YY_RULE_SETUP
#line 492 "pars0lex.l"
#line 493 "pars0lex.l"
{
return(PARS_LENGTH_TOKEN);
return(PARS_SYSDATE_TOKEN);
}
YY_BREAK
case 79:
YY_RULE_SETUP
#line 496 "pars0lex.l"
#line 497 "pars0lex.l"
{
return(PARS_SYSDATE_TOKEN);
return(PARS_PRINTF_TOKEN);
}
YY_BREAK
case 80:
YY_RULE_SETUP
#line 500 "pars0lex.l"
#line 501 "pars0lex.l"
{
return(PARS_PRINTF_TOKEN);
return(PARS_ASSERT_TOKEN);
}
YY_BREAK
case 81:
YY_RULE_SETUP
#line 504 "pars0lex.l"
#line 505 "pars0lex.l"
{
return(PARS_ASSERT_TOKEN);
return(PARS_RND_TOKEN);
}
YY_BREAK
case 82:
YY_RULE_SETUP
#line 508 "pars0lex.l"
#line 509 "pars0lex.l"
{
return(PARS_RND_TOKEN);
return(PARS_RND_STR_TOKEN);
}
YY_BREAK
case 83:
YY_RULE_SETUP
#line 512 "pars0lex.l"
#line 513 "pars0lex.l"
{
return(PARS_RND_STR_TOKEN);
return(PARS_ROW_PRINTF_TOKEN);
}
YY_BREAK
case 84:
YY_RULE_SETUP
#line 516 "pars0lex.l"
#line 517 "pars0lex.l"
{
return(PARS_ROW_PRINTF_TOKEN);
return(PARS_COMMIT_TOKEN);
}
YY_BREAK
case 85:
YY_RULE_SETUP
#line 520 "pars0lex.l"
#line 521 "pars0lex.l"
{
return(PARS_COMMIT_TOKEN);
return(PARS_ROLLBACK_TOKEN);
}
YY_BREAK
case 86:
YY_RULE_SETUP
#line 524 "pars0lex.l"
#line 525 "pars0lex.l"
{
return(PARS_ROLLBACK_TOKEN);
return(PARS_WORK_TOKEN);
}
YY_BREAK
case 87:
YY_RULE_SETUP
#line 528 "pars0lex.l"
#line 529 "pars0lex.l"
{
return(PARS_WORK_TOKEN);
return(PARS_UNSIGNED_TOKEN);
}
YY_BREAK
case 88:
YY_RULE_SETUP
#line 532 "pars0lex.l"
#line 533 "pars0lex.l"
{
return(PARS_UNSIGNED_TOKEN);
return(PARS_EXIT_TOKEN);
}
YY_BREAK
case 89:
YY_RULE_SETUP
#line 536 "pars0lex.l"
#line 537 "pars0lex.l"
{
return(PARS_EXIT_TOKEN);
return(PARS_FUNCTION_TOKEN);
}
YY_BREAK
case 90:
YY_RULE_SETUP
#line 540 "pars0lex.l"
#line 541 "pars0lex.l"
{
return(PARS_FUNCTION_TOKEN);
return(PARS_LOCK_TOKEN);
}
YY_BREAK
case 91:
YY_RULE_SETUP
#line 544 "pars0lex.l"
#line 545 "pars0lex.l"
{
return(PARS_LOCK_TOKEN);
return(PARS_SHARE_TOKEN);
}
YY_BREAK
case 92:
YY_RULE_SETUP
#line 548 "pars0lex.l"
#line 549 "pars0lex.l"
{
return(PARS_SHARE_TOKEN);
return(PARS_MODE_TOKEN);
}
YY_BREAK
case 93:
YY_RULE_SETUP
#line 552 "pars0lex.l"
#line 553 "pars0lex.l"
{
return(PARS_MODE_TOKEN);
return(PARS_LIKE_TOKEN);
}
YY_BREAK
case 94:
YY_RULE_SETUP
#line 556 "pars0lex.l"
#line 557 "pars0lex.l"
{
return(PARS_LIKE_TOKEN);
return(PARS_BIGINT_TOKEN);
}
YY_BREAK
case 95:
YY_RULE_SETUP
#line 560 "pars0lex.l"
#line 561 "pars0lex.l"
{
return(PARS_BIGINT_TOKEN);
yylval = sym_tab_add_id(pars_sym_tab_global,
(byte*) yytext,
ut_strlen(yytext));
return(PARS_ID_TOKEN);
}
YY_BREAK
case 96:
YY_RULE_SETUP
#line 564 "pars0lex.l"
#line 568 "pars0lex.l"
{
yylval = sym_tab_add_id(pars_sym_tab_global,
(byte*) yytext,
ut_strlen(yytext));
return(PARS_ID_TOKEN);
return(PARS_TABLE_NAME_TOKEN);
}
YY_BREAK
case 97:
YY_RULE_SETUP
#line 571 "pars0lex.l"
#line 575 "pars0lex.l"
{
yylval = sym_tab_add_id(pars_sym_tab_global,
(byte*) yytext,
ut_strlen(yytext));
return(PARS_TABLE_NAME_TOKEN);
return(PARS_DDOT_TOKEN);
}
YY_BREAK
case 98:
YY_RULE_SETUP
#line 578 "pars0lex.l"
#line 579 "pars0lex.l"
{
return(PARS_DDOT_TOKEN);
return(PARS_ASSIGN_TOKEN);
}
YY_BREAK
case 99:
YY_RULE_SETUP
#line 582 "pars0lex.l"
#line 583 "pars0lex.l"
{
return(PARS_ASSIGN_TOKEN);
return(PARS_LE_TOKEN);
}
YY_BREAK
case 100:
YY_RULE_SETUP
#line 586 "pars0lex.l"
#line 587 "pars0lex.l"
{
return(PARS_LE_TOKEN);
return(PARS_GE_TOKEN);
}
YY_BREAK
case 101:
YY_RULE_SETUP
#line 590 "pars0lex.l"
#line 591 "pars0lex.l"
{
return(PARS_GE_TOKEN);
return(PARS_NE_TOKEN);
}
YY_BREAK
case 102:
YY_RULE_SETUP
#line 594 "pars0lex.l"
#line 595 "pars0lex.l"
{
return(PARS_NE_TOKEN);
return((int)(*yytext));
}
YY_BREAK
case 103:
YY_RULE_SETUP
#line 598 "pars0lex.l"
#line 600 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2079,7 +2056,7 @@ YY_RULE_SETUP
YY_BREAK
case 104:
YY_RULE_SETUP
#line 603 "pars0lex.l"
#line 605 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2087,7 +2064,7 @@ YY_RULE_SETUP
YY_BREAK
case 105:
YY_RULE_SETUP
#line 608 "pars0lex.l"
#line 610 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2095,7 +2072,7 @@ YY_RULE_SETUP
YY_BREAK
case 106:
YY_RULE_SETUP
#line 613 "pars0lex.l"
#line 615 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2103,7 +2080,7 @@ YY_RULE_SETUP
YY_BREAK
case 107:
YY_RULE_SETUP
#line 618 "pars0lex.l"
#line 620 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2111,7 +2088,7 @@ YY_RULE_SETUP
YY_BREAK
case 108:
YY_RULE_SETUP
#line 623 "pars0lex.l"
#line 625 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2119,7 +2096,7 @@ YY_RULE_SETUP
YY_BREAK
case 109:
YY_RULE_SETUP
#line 628 "pars0lex.l"
#line 630 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2127,7 +2104,7 @@ YY_RULE_SETUP
YY_BREAK
case 110:
YY_RULE_SETUP
#line 633 "pars0lex.l"
#line 635 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2135,7 +2112,7 @@ YY_RULE_SETUP
YY_BREAK
case 111:
YY_RULE_SETUP
#line 638 "pars0lex.l"
#line 640 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2143,7 +2120,7 @@ YY_RULE_SETUP
YY_BREAK
case 112:
YY_RULE_SETUP
#line 643 "pars0lex.l"
#line 645 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2151,7 +2128,7 @@ YY_RULE_SETUP
YY_BREAK
case 113:
YY_RULE_SETUP
#line 648 "pars0lex.l"
#line 650 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2159,7 +2136,7 @@ YY_RULE_SETUP
YY_BREAK
case 114:
YY_RULE_SETUP
#line 653 "pars0lex.l"
#line 655 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2167,7 +2144,7 @@ YY_RULE_SETUP
YY_BREAK
case 115:
YY_RULE_SETUP
#line 658 "pars0lex.l"
#line 660 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2175,7 +2152,7 @@ YY_RULE_SETUP
YY_BREAK
case 116:
YY_RULE_SETUP
#line 663 "pars0lex.l"
#line 665 "pars0lex.l"
{
return((int)(*yytext));
......@@ -2183,43 +2160,35 @@ YY_RULE_SETUP
YY_BREAK
case 117:
YY_RULE_SETUP
#line 668 "pars0lex.l"
{
return((int)(*yytext));
}
#line 670 "pars0lex.l"
BEGIN(comment); /* eat up comment */
YY_BREAK
case 118:
/* rule 118 can match eol */
YY_RULE_SETUP
#line 673 "pars0lex.l"
BEGIN(comment); /* eat up comment */
#line 672 "pars0lex.l"
YY_BREAK
case 119:
/* rule 119 can match eol */
YY_RULE_SETUP
#line 675 "pars0lex.l"
#line 673 "pars0lex.l"
YY_BREAK
case 120:
/* rule 120 can match eol */
YY_RULE_SETUP
#line 676 "pars0lex.l"
#line 674 "pars0lex.l"
BEGIN(INITIAL);
YY_BREAK
case 121:
/* rule 121 can match eol */
YY_RULE_SETUP
#line 677 "pars0lex.l"
BEGIN(INITIAL);
#line 676 "pars0lex.l"
/* eat up whitespace */
YY_BREAK
case 122:
/* rule 122 can match eol */
YY_RULE_SETUP
#line 679 "pars0lex.l"
/* eat up whitespace */
YY_BREAK
case 123:
YY_RULE_SETUP
#line 682 "pars0lex.l"
{
fprintf(stderr,"Unrecognized character: %02x\n",
*yytext);
......@@ -2229,12 +2198,12 @@ YY_RULE_SETUP
return(0);
}
YY_BREAK
case 124:
case 123:
YY_RULE_SETUP
#line 691 "pars0lex.l"
#line 688 "pars0lex.l"
YY_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK
#line 2237 "lexyy.cc"
#line 2206 "lexyy.cc"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(comment):
case YY_STATE_EOF(quoted):
......@@ -2369,6 +2338,7 @@ case YY_STATE_EOF(id):
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
} /* end of user's declarations */
} /* end of yylex */
/* yy_get_next_buffer - try to read in a new buffer
......@@ -2380,9 +2350,9 @@ case YY_STATE_EOF(id):
*/
static int yy_get_next_buffer (void)
{
register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
register char *source = (yytext_ptr);
register int number_to_move, i;
char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
char *source = (yytext_ptr);
int number_to_move, i;
int ret_val;
if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
......@@ -2411,7 +2381,7 @@ static int yy_get_next_buffer (void)
/* Try to read more data. */
/* First move last chars to start of buffer. */
number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
......@@ -2424,21 +2394,21 @@ static int yy_get_next_buffer (void)
else
{
int num_to_read = static_cast<int>(
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1);
int num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
int yy_c_buf_p_offset =
(int) ((yy_c_buf_p) - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
int new_size = static_cast<int>(b->yy_buf_size * 2);
int new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
......@@ -2451,7 +2421,7 @@ static int yy_get_next_buffer (void)
}
else
/* Can't grow it, we don't own it. */
b->yy_ch_buf = 0;
b->yy_ch_buf = NULL;
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR(
......@@ -2459,9 +2429,9 @@ static int yy_get_next_buffer (void)
(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
num_to_read = static_cast<int>(
YY_CURRENT_BUFFER_LVALUE->yy_buf_size
- number_to_move - 1);
num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
number_to_move - 1;
}
if ( num_to_read > YY_READ_BUF_SIZE )
......@@ -2469,7 +2439,7 @@ static int yy_get_next_buffer (void)
/* Read in more data. */
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
(yy_n_chars), (size_t) num_to_read );
(yy_n_chars), num_to_read );
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
......@@ -2493,9 +2463,9 @@ static int yy_get_next_buffer (void)
else
ret_val = EOB_ACT_CONTINUE_SCAN;
if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
/* Extend the array by 50%, plus the number we really need. */
yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
......@@ -2512,16 +2482,16 @@ static int yy_get_next_buffer (void)
/* yy_get_previous_state - get the state just before the EOB char was reached */
yy_state_type yy_get_previous_state (void)
static yy_state_type yy_get_previous_state (void)
{
register yy_state_type yy_current_state;
register char *yy_cp;
yy_state_type yy_current_state;
char *yy_cp;
yy_current_state = (yy_start);
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
if ( yy_accept[yy_current_state] )
{
(yy_last_accepting_state) = yy_current_state;
......@@ -2530,10 +2500,10 @@ yy_state_type yy_get_previous_state (void)
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 >= 425 )
if ( yy_current_state >= 404 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
}
return yy_current_state;
......@@ -2544,12 +2514,12 @@ yy_state_type yy_get_previous_state (void)
* synopsis
* next_state = yy_try_NUL_trans( current_state );
*/
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
{
register int yy_is_jam;
register char *yy_cp = (yy_c_buf_p);
int yy_is_jam;
char *yy_cp = (yy_c_buf_p);
register YY_CHAR yy_c = 1;
YY_CHAR yy_c = 1;
if ( yy_accept[yy_current_state] )
{
(yy_last_accepting_state) = yy_current_state;
......@@ -2558,15 +2528,19 @@ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
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 >= 425 )
if ( yy_current_state >= 404 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 424);
yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
yy_is_jam = (yy_current_state == 403);
return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_UNPUT
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void)
......@@ -2615,7 +2589,7 @@ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
case EOB_ACT_END_OF_FILE:
{
if ( yywrap( ) )
return EOF;
return 0;
if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE;
......@@ -2646,7 +2620,7 @@ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
*
* @note This function does not reset the start condition to @c INITIAL .
*/
void yyrestart (FILE * input_file )
static void yyrestart (FILE * input_file )
{
if ( ! YY_CURRENT_BUFFER ){
......@@ -2663,7 +2637,7 @@ void yyrestart (FILE * input_file )
* @param new_buffer The new input buffer.
*
*/
MY_ATTRIBUTE((unused)) static void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
MY_ATTRIBUTE((unused)) static void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
{
/* TODO. We should be able to replace this entire function body
......@@ -2708,7 +2682,7 @@ static void yy_load_buffer_state (void)
*
* @return the allocated buffer state.
*/
static YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
static YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
{
YY_BUFFER_STATE b;
......@@ -2716,7 +2690,7 @@ static YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size;
b->yy_buf_size = (yy_size_t)size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
......@@ -2736,7 +2710,7 @@ static YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
* @param b a buffer created with yy_create_buffer()
*
*/
void yy_delete_buffer (YY_BUFFER_STATE b )
static void yy_delete_buffer (YY_BUFFER_STATE b )
{
if ( ! b )
......@@ -2755,7 +2729,7 @@ void yy_delete_buffer (YY_BUFFER_STATE b )
* This function is sometimes called more than once on the same buffer,
* such as during a yyrestart() or at EOF.
*/
static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
{
int oerrno = errno;
......@@ -2783,7 +2757,7 @@ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
*
*/
void yy_flush_buffer (YY_BUFFER_STATE b )
static void yy_flush_buffer (YY_BUFFER_STATE b )
{
if ( ! b )
return;
......@@ -2812,7 +2786,7 @@ void yy_flush_buffer (YY_BUFFER_STATE b )
* @param new_buffer The new state.
*
*/
void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
MY_ATTRIBUTE((unused)) static void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
{
if (new_buffer == NULL)
return;
......@@ -2842,7 +2816,7 @@ void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
* The next element becomes the new top.
*
*/
void yypop_buffer_state (void)
MY_ATTRIBUTE((unused)) static void yypop_buffer_state (void)
{
if (!YY_CURRENT_BUFFER)
return;
......@@ -2871,7 +2845,7 @@ static void yyensure_buffer_stack (void)
* scanner will even need a stack. We use 2 instead of 1 to avoid an
* immediate realloc on the next call.
*/
num_to_alloc = 1;
num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
(num_to_alloc * sizeof(struct yy_buffer_state*)
);
......@@ -2888,10 +2862,9 @@ static void yyensure_buffer_stack (void)
if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
/* Increase the buffer to prepare for a possible push. */
int grow_size = 8 /* arbitrary grow size */;
yy_size_t grow_size = 8 /* arbitrary grow size */;
num_to_alloc = static_cast<int>(
(yy_buffer_stack_max) + grow_size);
num_to_alloc = (yy_buffer_stack_max) + grow_size;
(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
((yy_buffer_stack),
num_to_alloc * sizeof(struct yy_buffer_state*)
......@@ -2909,7 +2882,7 @@ static void yyensure_buffer_stack (void)
#define YY_EXIT_FAILURE 2
#endif
static void yy_fatal_error (yyconst char* msg )
static void yynoreturn yy_fatal_error (yyconst char* msg )
{
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
......@@ -2937,7 +2910,7 @@ static void yy_fatal_error (yyconst char* msg )
/** Get the current line number.
*
*/
int yyget_lineno (void)
MY_ATTRIBUTE((unused)) static int yyget_lineno (void)
{
return yylineno;
......@@ -2946,7 +2919,7 @@ int yyget_lineno (void)
/** Get the input stream.
*
*/
FILE *yyget_in (void)
MY_ATTRIBUTE((unused)) static FILE *yyget_in (void)
{
return yyin;
}
......@@ -2954,7 +2927,7 @@ FILE *yyget_in (void)
/** Get the output stream.
*
*/
FILE *yyget_out (void)
MY_ATTRIBUTE((unused)) static FILE *yyget_out (void)
{
return yyout;
}
......@@ -2962,7 +2935,7 @@ FILE *yyget_out (void)
/** Get the length of the current token.
*
*/
yy_size_t yyget_leng (void)
MY_ATTRIBUTE((unused)) static int yyget_leng (void)
{
return yyleng;
}
......@@ -2971,45 +2944,45 @@ yy_size_t yyget_leng (void)
*
*/
char *yyget_text (void)
MY_ATTRIBUTE((unused)) static char *yyget_text (void)
{
return yytext;
}
/** Set the current line number.
* @param line_number
* @param _line_number line number
*
*/
void yyset_lineno (int line_number )
MY_ATTRIBUTE((unused)) static void yyset_lineno (int _line_number )
{
yylineno = line_number;
yylineno = _line_number;
}
/** Set the input stream. This does not discard the current
* input buffer.
* @param in_str A readable stream.
* @param _in_str A readable stream.
*
* @see yy_switch_to_buffer
*/
void yyset_in (FILE * in_str )
MY_ATTRIBUTE((unused)) static void yyset_in (FILE * _in_str )
{
yyin = in_str ;
yyin = _in_str ;
}
void yyset_out (FILE * out_str )
MY_ATTRIBUTE((unused)) static void yyset_out (FILE * _out_str )
{
yyout = out_str ;
yyout = _out_str ;
}
int yyget_debug (void)
MY_ATTRIBUTE((unused)) static int yyget_debug (void)
{
return yy_flex_debug;
}
void yyset_debug (int bdebug )
MY_ATTRIBUTE((unused)) static void yyset_debug (int _bdebug )
{
yy_flex_debug = bdebug ;
yy_flex_debug = _bdebug ;
}
static int yy_init_globals (void)
......@@ -3018,10 +2991,10 @@ static int yy_init_globals (void)
* This function is called from yylex_destroy(), so don't allocate here.
*/
(yy_buffer_stack) = 0;
(yy_buffer_stack) = NULL;
(yy_buffer_stack_top) = 0;
(yy_buffer_stack_max) = 0;
(yy_c_buf_p) = (char *) 0;
(yy_c_buf_p) = NULL;
(yy_init) = 0;
(yy_start) = 0;
......@@ -3030,8 +3003,8 @@ static int yy_init_globals (void)
yyin = stdin;
yyout = stdout;
#else
yyin = (FILE *) 0;
yyout = (FILE *) 0;
yyin = NULL;
yyout = NULL;
#endif
/* For future reference: Set errno on error, since we are called by
......@@ -3069,7 +3042,8 @@ MY_ATTRIBUTE((unused)) static int yylex_destroy (void)
#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
{
register int i;
int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
......@@ -3078,7 +3052,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * s )
{
register int n;
int n;
for ( n = 0; s[n]; ++n )
;
......@@ -3086,13 +3060,14 @@ static int yy_flex_strlen (yyconst char * s )
}
#endif
void *yyalloc (yy_size_t size )
static void *yyalloc (yy_size_t size )
{
return (void *) malloc( size );
return malloc(size);
}
void *yyrealloc (void * ptr, yy_size_t size )
static void *yyrealloc (void * ptr, yy_size_t size )
{
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
......@@ -3100,17 +3075,17 @@ void *yyrealloc (void * ptr, yy_size_t size )
* any pointer type to void*, and deal with argument conversions
* as though doing an assignment.
*/
return (void *) realloc( (char *) ptr, size );
return realloc(ptr, size);
}
void yyfree (void * ptr )
static void yyfree (void * ptr )
{
free( (char*) ptr ); /* see yyrealloc() for (char *) cast */
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
}
#define YYTABLES_NAME "yytables"
#line 691 "pars0lex.l"
#line 688 "pars0lex.l"
......
#!/bin/bash
#
# Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
# Copyright (c) 2017, MariaDB Corporation.
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
......@@ -31,6 +32,7 @@ echo '#include "univ.i"' > $OUTFILE
# a warning on Win64. Add the cast. Also define some symbols as static.
sed -e '
s/'"$TMPFILE"'/'"$OUTFILE"'/;
s/^void yyset_extra *(YY_EXTRA_TYPE *user_defined *);//
s/\(int offset = \)\((yy_c_buf_p) - (yytext_ptr)\);/\1(int)(\2);/;
s/\(void yy\(restart\|_\(delete\|flush\)_buffer\)\)/static \1/;
s/\(void yy_switch_to_buffer\)/MY_ATTRIBUTE((unused)) static \1/;
......@@ -38,10 +40,12 @@ s/\(void yy\(push\|pop\)_buffer_state\)/MY_ATTRIBUTE((unused)) static \1/;
s/\(YY_BUFFER_STATE yy_create_buffer\)/static \1/;
s/\(\(int\|void\) yy[gs]et_\)/MY_ATTRIBUTE((unused)) static \1/;
s/\(void \*\?yy\(\(re\)\?alloc\|free\)\)/static \1/;
s/\(extern \)\?\(int yy\(leng\|lineno\|_flex_debug\)\)/static \2/;
s/extern int yy\(leng\|_flex_debug\|lineno\);//;
s/\(int yy\(leng\|lineno\|_flex_debug\)\)/static \1/;
s/\(int yylex_destroy\)/MY_ATTRIBUTE((unused)) static \1/;
s/^\(\(FILE\|char\) *\* *yyget\)/MY_ATTRIBUTE((unused)) static \1/;
s/^\(extern \)\?\(\(FILE\|char\) *\* *yy\)/static \2/;
s/^extern \(\(FILE\|char\) *\* *yy\).*//;
s/^\(FILE\|char\) *\* *yy/static &/;
' < $TMPFILE >> $OUTFILE
rm $TMPFILE
This source diff could not be displayed because it is too large. You can view the blob instead.
/*****************************************************************************
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......@@ -102,7 +103,6 @@ yylex(void);
%token PARS_INDEX_TOKEN
%token PARS_UNIQUE_TOKEN
%token PARS_CLUSTERED_TOKEN
%token PARS_DOES_NOT_FIT_IN_MEM_TOKEN
%token PARS_ON_TOKEN
%token PARS_ASSIGN_TOKEN
%token PARS_DECLARE_TOKEN
......@@ -154,6 +154,8 @@ yylex(void);
%left NEG /* negation--unary minus */
%left '%'
%expect 41
/* Grammar follows */
%%
......@@ -573,13 +575,6 @@ opt_not_null:
/* pass any non-NULL pointer */ }
;
not_fit_in_memory:
/* Nothing */ { $$ = NULL; }
| PARS_DOES_NOT_FIT_IN_MEM_TOKEN
{ $$ = &pars_int_token;
/* pass any non-NULL pointer */ }
;
compact:
/* Nothing */ { $$ = NULL; }
| PARS_COMPACT_TOKEN { $$ = &pars_int_token;
......@@ -595,12 +590,12 @@ block_size:
create_table:
PARS_CREATE_TOKEN PARS_TABLE_TOKEN
table_name '(' column_def_list ')'
not_fit_in_memory compact block_size
compact block_size
{ $$ = pars_create_table(
static_cast<sym_node_t*>($3),
static_cast<sym_node_t*>($5),
static_cast<sym_node_t*>($8),
static_cast<sym_node_t*>($9), $7); }
static_cast<sym_node_t*>($7),
static_cast<sym_node_t*>($8)); }
;
column_list:
......
/*****************************************************************************
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
......@@ -66,7 +67,7 @@ Created 12/14/1997 Heikki Tuuri
/* Note: We cast &result to int* from yysize_t* */
#define YY_INPUT(buf, result, max_size) \
pars_get_lex_chars(buf, (int*) &result, max_size)
(result = pars_get_lex_chars(buf, max_size))
/* String buffer for removing quotes */
static ulint stringbuf_len_alloc = 0; /* Allocated length */
......@@ -425,10 +426,6 @@ In the state 'id', only two actions are possible (defined below). */
return(PARS_CLUSTERED_TOKEN);
}
"DOES_NOT_FIT_IN_MEMORY" {
return(PARS_DOES_NOT_FIT_IN_MEM_TOKEN);
}
"ON" {
return(PARS_ON_TOKEN);
}
......
......@@ -1857,18 +1857,7 @@ pars_create_table(
table */
sym_node_t* column_defs, /*!< in: list of column names */
sym_node_t* compact, /* in: non-NULL if COMPACT table. */
sym_node_t* block_size, /* in: block size (can be NULL) */
void* not_fit_in_memory MY_ATTRIBUTE((unused)))
/*!< in: a non-NULL pointer means that
this is a table which in simulations
should be simulated as not fitting
in memory; thread is put to sleep
to simulate disk accesses; NOTE that
this flag is not stored to the data
dictionary on disk, and the database
will forget about non-NULL value if
it has to reload the table definition
from disk */
sym_node_t* block_size) /* in: block size (can be NULL) */
{
dict_table_t* table;
sym_node_t* column;
......@@ -1932,11 +1921,6 @@ pars_create_table(
table = dict_mem_table_create(
table_sym->name, 0, n_cols, 0, flags, flags2);
#ifdef UNIV_DEBUG
if (not_fit_in_memory != NULL) {
table->does_not_fit_in_memory = TRUE;
}
#endif /* UNIV_DEBUG */
column = column_defs;
while (column) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment