Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: third_party/wds/gen/headerscanner.cpp

Issue 1498473010: third_party: Add WDS library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wds
Patch Set: Fixed license headers in generated files Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/wds/gen/headerscanner.cpp
diff --git a/third_party/wds/gen/headerscanner.cpp b/third_party/wds/gen/headerscanner.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..58d43c6e3331f91f0fa9fa6d0f0bc2213076e832
--- /dev/null
+++ b/third_party/wds/gen/headerscanner.cpp
@@ -0,0 +1,3384 @@
+/*
+ * This file is part of Wireless Display Software for Linux OS
+ *
+ * Copyright (C) 2015 Intel Corporation.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
+
+
+#line 26 "gen/headerscanner.cpp"
+
+#define YY_INT_ALIGNED short int
+
+/* A lexical scanner generated by flex */
+
+#define FLEX_SCANNER
+#define YY_FLEX_MAJOR_VERSION 2
+#define YY_FLEX_MINOR_VERSION 5
+#define YY_FLEX_SUBMINOR_VERSION 35
+#if YY_FLEX_SUBMINOR_VERSION > 0
+#define FLEX_BETA
+#endif
+
+/* First, we deal with platform-specific or compiler-specific issues. */
+
+/* begin standard C headers. */
+#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include <stdlib.h>
+
+/* end standard C headers. */
+
+/* flex integer type definitions */
+
+#ifndef FLEXINT_H
+#define FLEXINT_H
+
+/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
+
+#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+
+/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
+ * if you want the limit (max/min) macros for int types.
+ */
+#ifndef __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS 1
+#endif
+
+#include <inttypes.h>
+typedef int8_t flex_int8_t;
+typedef uint8_t flex_uint8_t;
+typedef int16_t flex_int16_t;
+typedef uint16_t flex_uint16_t;
+typedef int32_t flex_int32_t;
+typedef uint32_t flex_uint32_t;
+#else
+typedef signed char flex_int8_t;
+typedef short int flex_int16_t;
+typedef int flex_int32_t;
+typedef unsigned char flex_uint8_t;
+typedef unsigned short int flex_uint16_t;
+typedef unsigned int flex_uint32_t;
+
+/* Limits of integral types. */
+#ifndef INT8_MIN
+#define INT8_MIN (-128)
+#endif
+#ifndef INT16_MIN
+#define INT16_MIN (-32767-1)
+#endif
+#ifndef INT32_MIN
+#define INT32_MIN (-2147483647-1)
+#endif
+#ifndef INT8_MAX
+#define INT8_MAX (127)
+#endif
+#ifndef INT16_MAX
+#define INT16_MAX (32767)
+#endif
+#ifndef INT32_MAX
+#define INT32_MAX (2147483647)
+#endif
+#ifndef UINT8_MAX
+#define UINT8_MAX (255U)
+#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX (65535U)
+#endif
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif
+
+#endif /* ! C99 */
+
+#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
+#define yyconst const
+#else
+#define yyconst
+#endif
+
+/* Returned upon end-of-file. */
+#define YY_NULL 0
+
+/* Promotes a possibly negative, possibly signed char to an unsigned
+ * integer for use as an array index. If the signed char is negative,
+ * we want to instead treat it as an 8-bit unsigned char, hence the
+ * double cast.
+ */
+#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
+
+/* An opaque pointer. */
+#ifndef YY_TYPEDEF_YY_SCANNER_T
+#define YY_TYPEDEF_YY_SCANNER_T
+typedef void* yyscan_t;
+#endif
+
+/* For convenience, these vars (plus the bison vars far below)
+ are macros in the reentrant scanner. */
+#define yyin yyg->yyin_r
+#define yyout yyg->yyout_r
+#define yyextra yyg->yyextra_r
+#define yyleng yyg->yyleng_r
+#define yytext yyg->yytext_r
+#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
+#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
+#define yy_flex_debug yyg->yy_flex_debug_r
+
+/* Enter a start condition. This macro really ought to take a parameter,
+ * but we do it the disgusting crufty way forced on us by the ()-less
+ * definition of BEGIN.
+ */
+#define BEGIN yyg->yy_start = 1 + 2 *
+
+/* Translate the current start state into a value that can be later handed
+ * to BEGIN to return to the state. The YYSTATE alias is for lex
+ * compatibility.
+ */
+#define YY_START ((yyg->yy_start - 1) / 2)
+#define YYSTATE YY_START
+
+/* Action number for EOF rule of a given start state. */
+#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
+
+/* Special action meaning "start processing a new file". */
+#define YY_NEW_FILE header_restart(yyin ,yyscanner )
+
+#define YY_END_OF_BUFFER_CHAR 0
+
+/* Size of default input buffer. */
+#ifndef YY_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k.
+ * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
+ * Ditto for the __ia64__ case accordingly.
+ */
+#define YY_BUF_SIZE 32768
+#else
+#define YY_BUF_SIZE 16384
+#endif /* __ia64__ */
+#endif
+
+/* The state buf must be large enough to hold one state per character in the main buffer.
+ */
+#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
+
+#ifndef YY_TYPEDEF_YY_BUFFER_STATE
+#define YY_TYPEDEF_YY_BUFFER_STATE
+typedef struct yy_buffer_state *YY_BUFFER_STATE;
+#endif
+
+#define EOB_ACT_CONTINUE_SCAN 0
+#define EOB_ACT_END_OF_FILE 1
+#define EOB_ACT_LAST_MATCH 2
+
+ #define YY_LESS_LINENO(n)
+
+/* Return all but the first "n" matched characters back to the input stream. */
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ *yy_cp = yyg->yy_hold_char; \
+ YY_RESTORE_YY_MORE_OFFSET \
+ yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
+ YY_DO_BEFORE_ACTION; /* set up yytext again */ \
+ } \
+ while ( 0 )
+
+#define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
+
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
+
+#ifndef YY_STRUCT_YY_BUFFER_STATE
+#define YY_STRUCT_YY_BUFFER_STATE
+struct yy_buffer_state
+ {
+ FILE *yy_input_file;
+
+ char *yy_ch_buf; /* input buffer */
+ char *yy_buf_pos; /* current position in input buffer */
+
+ /* Size of input buffer in bytes, not including room for EOB
+ * characters.
+ */
+ yy_size_t yy_buf_size;
+
+ /* Number of characters read into yy_ch_buf, not including EOB
+ * characters.
+ */
+ 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
+ * delete it.
+ */
+ int yy_is_our_buffer;
+
+ /* Whether this is an "interactive" input source; if so, and
+ * if we're using stdio for input, then we want to use getc()
+ * instead of fread(), to make sure we stop fetching input after
+ * each newline.
+ */
+ int yy_is_interactive;
+
+ /* Whether we're considered to be at the beginning of a line.
+ * If so, '^' rules will be active on the next match, otherwise
+ * not.
+ */
+ int yy_at_bol;
+
+ int yy_bs_lineno; /**< The line count. */
+ int yy_bs_column; /**< The column count. */
+
+ /* Whether to try to fill the input buffer when we reach the
+ * end of it.
+ */
+ int yy_fill_buffer;
+
+ int yy_buffer_status;
+
+#define YY_BUFFER_NEW 0
+#define YY_BUFFER_NORMAL 1
+ /* When an EOF's been seen but there's still some text to process
+ * then we mark the buffer as YY_EOF_PENDING, to indicate that we
+ * shouldn't try reading from the input source any more. We might
+ * still have a bunch of tokens to match, though, because of
+ * possible backing-up.
+ *
+ * When we actually see the EOF, we change the status to "new"
+ * (via header_restart()), so that the user can continue scanning by
+ * just pointing yyin at a new input file.
+ */
+#define YY_BUFFER_EOF_PENDING 2
+
+ };
+#endif /* !YY_STRUCT_YY_BUFFER_STATE */
+
+/* We provide macros for accessing buffer states in case in the
+ * future we want to put the buffer states in a more general
+ * "scanner state".
+ *
+ * Returns the top of the stack, or NULL.
+ */
+#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
+ ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
+ : NULL)
+
+/* Same as previous macro, but useful when we know that the buffer stack is not
+ * NULL or when we need an lvalue. For internal use only.
+ */
+#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
+
+void header_restart (FILE *input_file ,yyscan_t yyscanner );
+void header__switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
+YY_BUFFER_STATE header__create_buffer (FILE *file,int size ,yyscan_t yyscanner );
+void header__delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
+void header__flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
+void header_push_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
+void header_pop_buffer_state (yyscan_t yyscanner );
+
+static void header_ensure_buffer_stack (yyscan_t yyscanner );
+static void header__load_buffer_state (yyscan_t yyscanner );
+static void header__init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
+
+#define YY_FLUSH_BUFFER header__flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
+
+YY_BUFFER_STATE header__scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
+YY_BUFFER_STATE header__scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
+YY_BUFFER_STATE header__scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
+
+void *header_alloc (yy_size_t ,yyscan_t yyscanner );
+void *header_realloc (void *,yy_size_t ,yyscan_t yyscanner );
+void header_free (void * ,yyscan_t yyscanner );
+
+#define yy_new_buffer header__create_buffer
+
+#define yy_set_interactive(is_interactive) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){ \
+ header_ensure_buffer_stack (yyscanner); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ header__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
+ }
+
+#define yy_set_bol(at_bol) \
+ { \
+ if ( ! YY_CURRENT_BUFFER ){\
+ header_ensure_buffer_stack (yyscanner); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ header__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
+ }
+
+#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
+
+/* Begin user sect3 */
+
+#define header_wrap(n) 1
+#define YY_SKIP_YYWRAP
+
+typedef unsigned char YY_CHAR;
+
+typedef int yy_state_type;
+
+#define yytext_ptr yytext_r
+
+static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
+static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
+static int yy_get_next_buffer (yyscan_t yyscanner );
+static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
+
+/* Done after the current pattern has been matched and before the
+ * corresponding action - sets up yytext.
+ */
+#define YY_DO_BEFORE_ACTION \
+ yyg->yytext_ptr = yy_bp; \
+ yyleng = (size_t) (yy_cp - yy_bp); \
+ yyg->yy_hold_char = *yy_cp; \
+ *yy_cp = '\0'; \
+ yyg->yy_c_buf_p = yy_cp;
+
+#define YY_NUM_RULES 47
+#define YY_END_OF_BUFFER 48
+/* This struct is not used in this scanner,
+ but its presence is necessary. */
+struct yy_trans_info
+ {
+ flex_int32_t yy_verify;
+ flex_int32_t yy_nxt;
+ };
+static yyconst flex_int16_t yy_accept[804] =
+ { 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 48, 46, 10, 2,
+ 1, 6, 5, 4, 9, 43, 8, 7, 3, 46,
+ 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
+ 46, 46, 30, 46, 46, 46, 46, 46, 46, 46,
+ 46, 46, 46, 46, 46, 46, 46, 46, 4, 43,
+ 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
+ 46, 46, 46, 29, 6, 5, 4, 9, 29, 8,
+ 3, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 46, 46, 10, 43, 0, 0, 0,
+
+ 0, 28, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 30, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 43,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 29, 29, 29, 29, 28,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 42, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 17, 0, 0, 0, 0, 0, 0, 0, 0,
+ 31, 0, 0, 0, 0, 36, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 17, 36, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 17, 0,
+ 0, 0, 0, 0, 0, 0, 29, 29, 29, 29,
+
+ 29, 29, 17, 29, 29, 29, 29, 29, 29, 29,
+ 29, 0, 0, 0, 0, 0, 0, 0, 21, 0,
+ 0, 19, 0, 0, 0, 28, 0, 16, 0, 0,
+ 0, 0, 0, 0, 38, 35, 0, 0, 0, 0,
+ 0, 0, 19, 38, 16, 35, 0, 0, 0, 0,
+ 0, 0, 0, 19, 0, 0, 0, 0, 16, 0,
+ 0, 29, 29, 29, 21, 29, 29, 19, 29, 29,
+ 29, 28, 29, 16, 29, 29, 29, 0, 28, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 0, 0, 0, 0, 0, 42, 0, 0, 0,
+ 0, 42, 0, 0, 0, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 29, 29, 29, 0, 0, 0,
+ 0, 0, 0, 0, 13, 22, 0, 0, 0, 0,
+ 0, 0, 0, 32, 0, 0, 0, 0, 0, 13,
+ 32, 0, 0, 0, 0, 0, 13, 0, 0, 0,
+ 0, 29, 29, 29, 29, 13, 22, 29, 29, 29,
+ 29, 29, 29, 0, 0, 0, 44, 45, 0, 0,
+ 28, 44, 26, 0, 18, 0, 0, 0, 0, 37,
+ 0, 0, 0, 0, 18, 37, 0, 18, 0, 29,
+
+ 29, 29, 29, 28, 29, 26, 29, 18, 29, 45,
+ 0, 11, 0, 0, 0, 0, 20, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 29,
+ 29, 29, 29, 29, 45, 45, 45, 45, 0, 0,
+ 0, 0, 0, 0, 28, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 29, 29, 29, 29, 28, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 29,
+ 29, 29, 29, 45, 45, 45, 45, 45, 45, 45,
+
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 29, 29, 29, 29,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 12, 0, 24, 15, 0, 14,
+ 0, 34, 0, 33, 15, 34, 14, 33, 0, 29,
+ 24, 15, 14, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 0, 0, 0, 39, 0, 29, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+
+ 25, 0, 0, 25, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 0, 0, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 0, 0, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 0, 0, 45, 0, 0, 45, 0,
+ 0, 45, 0, 0, 45, 0, 0, 45, 23, 0,
+ 45, 0, 45, 0, 45, 0, 45, 0, 45, 0,
+ 45, 0, 45, 0, 45, 0, 45, 0, 45, 0,
+ 40, 41, 0, 0, 0, 0, 0, 0, 0, 0,
+
+ 0, 27, 0
+ } ;
+
+static yyconst flex_int32_t yy_ec[256] =
+ { 0,
+ 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
+ 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 5, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 6, 1, 7, 8, 9, 10, 11, 12, 13,
+ 14, 14, 15, 16, 16, 16, 16, 17, 18, 1,
+ 19, 1, 1, 1, 20, 21, 22, 23, 24, 25,
+ 26, 27, 28, 29, 29, 30, 31, 32, 33, 34,
+ 35, 36, 37, 38, 39, 40, 41, 29, 42, 29,
+ 1, 1, 1, 1, 43, 1, 44, 45, 46, 47,
+
+ 48, 49, 50, 51, 52, 29, 29, 53, 54, 55,
+ 56, 57, 58, 59, 60, 61, 62, 63, 64, 29,
+ 65, 29, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1
+ } ;
+
+static yyconst flex_int32_t yy_meta[66] =
+ { 0,
+ 1, 2, 3, 4, 2, 1, 1, 5, 1, 6,
+ 5, 5, 5, 5, 5, 5, 7, 8, 1, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 7, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
+ 5, 5, 5, 5, 5
+ } ;
+
+static yyconst flex_int16_t yy_base[818] =
+ { 0,
+ 0, 59, 17, 20, 26, 40, 123, 159, 220, 279,
+ 343, 402, 442, 96, 478, 0, 1713, 4003, 26, 4003,
+ 4003, 4003, 4003, 4003, 4003, 34, 4003, 106, 4003, 107,
+ 1691, 154, 9, 129, 178, 152, 10, 153, 335, 130,
+ 145, 0, 230, 124, 213, 343, 126, 127, 347, 460,
+ 470, 351, 489, 352, 474, 510, 353, 505, 1668, 370,
+ 1666, 459, 355, 533, 464, 534, 535, 563, 571, 574,
+ 565, 575, 569, 0, 0, 0, 0, 0, 239, 0,
+ 0, 127, 258, 633, 648, 667, 701, 763, 681, 824,
+ 716, 735, 783, 210, 583, 30, 377, 170, 443, 433,
+
+ 1641, 4003, 504, 598, 169, 240, 466, 182, 592, 525,
+ 509, 643, 530, 186, 609, 1653, 735, 533, 564, 570,
+ 597, 612, 600, 625, 624, 654, 658, 678, 692, 677,
+ 717, 726, 751, 760, 768, 759, 774, 1636, 0, 839,
+ 776, 689, 827, 847, 797, 829, 846, 848, 856, 859,
+ 869, 870, 883, 894, 905, 0, 920, 721, 944, 0,
+ 958, 972, 991, 1005, 1025, 1039, 1056, 1073, 1087, 1147,
+ 1108, 1132, 1169, 762, 861, 768, 778, 781, 858, 888,
+ 695, 136, 646, 867, 844, 921, 923, 910, 945, 599,
+ 886, 1625, 1565, 795, 1561, 879, 929, 933, 950, 845,
+
+ 976, 999, 1000, 249, 970, 1001, 1030, 1061, 1059, 1068,
+ 1051, 1053, 0, 1071, 1112, 1148, 1043, 1152, 1103, 1150,
+ 1180, 1177, 1188, 1191, 1186, 1194, 1192, 968, 1243, 1257,
+ 1276, 1290, 1304, 1319, 1333, 1348, 1363, 1382, 1397, 1416,
+ 1437, 1066, 1102, 1137, 904, 252, 1195, 1512, 455, 243,
+ 743, 1511, 1204, 1237, 800, 1242, 613, 680, 135, 1201,
+ 4003, 1183, 1213, 1207, 918, 4003, 1221, 1223, 976, 1267,
+ 1299, 1289, 1315, 1255, 1320, 1501, 1491, 1343, 1345, 1361,
+ 1377, 1358, 1392, 1074, 1431, 1414, 1420, 1441, 1450, 1454,
+ 1458, 1456, 1460, 1466, 1468, 1470, 1127, 1514, 1533, 1547,
+
+ 1566, 1581, 1600, 1614, 1628, 1642, 1662, 1676, 1690, 1710,
+ 1725, 1164, 1258, 1264, 1275, 1581, 1452, 1395, 4003, 465,
+ 647, 1444, 1313, 1349, 1690, 1449, 1357, 1412, 541, 361,
+ 1415, 1307, 1321, 1396, 4003, 4003, 1461, 1461, 1478, 1515,
+ 1472, 1519, 1411, 1367, 1330, 1329, 1524, 1560, 1528, 1530,
+ 1725, 1711, 1622, 1601, 1735, 1713, 1775, 1736, 1645, 1741,
+ 1760, 1784, 1307, 1801, 0, 1815, 1830, 1754, 1844, 1858,
+ 1858, 1292, 1878, 1895, 1909, 1926, 1941, 1288, 1263, 1460,
+ 1463, 1233, 1231, 1499, 739, 779, 1219, 1541, 1218, 1595,
+ 809, 1473, 1597, 1490, 1509, 1535, 1566, 1562, 1605, 1653,
+
+ 1792, 1821, 1656, 1787, 1742, 1859, 1217, 1903, 1920, 1758,
+ 1944, 1206, 1939, 1881, 1945, 1205, 1189, 1990, 2004, 2024,
+ 2038, 2053, 1163, 2072, 2086, 2101, 2122, 1161, 1118, 1575,
+ 2004, 0, 749, 631, 1126, 4003, 1117, 2053, 1099, 707,
+ 1004, 1824, 1596, 4003, 1090, 1640, 1643, 1949, 1959, 1052,
+ 1050, 1960, 1964, 1750, 1825, 2066, 1882, 2032, 2102, 2104,
+ 2107, 2145, 906, 2162, 2176, 2191, 0, 2205, 2205, 2222,
+ 2236, 2251, 2265, 0, 1691, 1020, 4003, 0, 2247, 927,
+ 1032, 1130, 4003, 938, 988, 1968, 1824, 1845, 1877, 4003,
+ 1890, 1936, 2099, 2120, 986, 957, 2259, 2170, 2271, 0,
+
+ 1037, 2332, 2286, 951, 1285, 0, 2309, 2346, 2365, 2365,
+ 1939, 4003, 1670, 1985, 1554, 1956, 1391, 1650, 875, 1795,
+ 1857, 1998, 2116, 2185, 2230, 2256, 2340, 2326, 2317, 2388,
+ 2408, 2422, 2442, 2461, 2470, 2478, 2486, 2494, 1999, 2039,
+ 2081, 1016, 2054, 1033, 876, 2087, 2126, 2106, 2187, 2188,
+ 2269, 2306, 2494, 2420, 2511, 2535, 2555, 2569, 807, 2569,
+ 2585, 2597, 2605, 2613, 2621, 2629, 2637, 2645, 2653, 2661,
+ 2669, 2677, 2685, 2114, 2177, 2274, 2082, 2139, 2167, 2140,
+ 2211, 796, 2214, 2289, 2387, 2396, 2416, 2505, 2515, 2701,
+ 2715, 2735, 2755, 2769, 2777, 2785, 2793, 2801, 2809, 2817,
+
+ 2825, 2833, 2841, 2849, 2857, 2865, 2873, 2881, 2889, 2897,
+ 755, 2384, 745, 968, 704, 1146, 2169, 2204, 669, 2208,
+ 2337, 2383, 2417, 2670, 2530, 2517, 2913, 2927, 2946, 2960,
+ 2755, 2972, 2986, 2994, 3002, 3010, 3018, 3026, 3034, 3042,
+ 3050, 3058, 3066, 3074, 4003, 2294, 4003, 586, 2284, 545,
+ 2301, 4003, 546, 4003, 539, 507, 501, 469, 2921, 3090,
+ 0, 3104, 3118, 3131, 3139, 3147, 3155, 3163, 3171, 3179,
+ 3187, 3195, 3203, 3211, 3219, 3227, 3235, 3243, 3251, 3259,
+ 467, 2361, 463, 4003, 2695, 3275, 2978, 3284, 3292, 3300,
+ 3308, 3316, 3324, 3332, 3340, 3348, 3356, 3364, 3372, 3380,
+
+ 4003, 2372, 2452, 0, 3388, 3396, 3404, 3412, 3420, 3428,
+ 3436, 3444, 3452, 3460, 3468, 3476, 3484, 3492, 3500, 3508,
+ 3516, 358, 2384, 3522, 3530, 3538, 3546, 3555, 3563, 3578,
+ 3586, 3594, 3602, 3610, 3618, 3626, 3634, 2424, 2489, 3640,
+ 3648, 3657, 3665, 3681, 3689, 3697, 3705, 3713, 3721, 3729,
+ 3737, 3745, 3753, 2489, 356, 3759, 2506, 2528, 3118, 262,
+ 2510, 3772, 264, 2669, 3275, 250, 193, 3780, 4003, 2675,
+ 3786, 2685, 3796, 2507, 3802, 2549, 3815, 2595, 3829, 2686,
+ 3839, 2692, 3853, 187, 3863, 2601, 3876, 2705, 3569, 2603,
+ 3885, 3900, 2647, 2718, 2878, 158, 2883, 2885, 2890, 2889,
+
+ 38, 4003, 4003, 3916, 3924, 3932, 3940, 3944, 3951, 3955,
+ 3957, 3964, 3971, 4, 3978, 3986, 3994
+ } ;
+
+static yyconst flex_int16_t yy_def[818] =
+ { 0,
+ 804, 803, 805, 805, 804, 804, 804, 2, 806, 803,
+ 807, 803, 7, 2, 7, 2, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 808, 808, 808, 808, 808, 808, 808, 808, 808, 808,
+ 808, 809, 803, 803, 803, 803, 803, 803, 808, 808,
+ 808, 808, 808, 808, 808, 808, 808, 808, 810, 810,
+ 810, 810, 811, 811, 811, 811, 811, 811, 811, 811,
+ 811, 811, 811, 812, 812, 812, 812, 812, 812, 812,
+ 812, 812, 813, 813, 813, 813, 813, 813, 813, 813,
+ 813, 813, 813, 803, 808, 803, 803, 803, 803, 803,
+
+ 808, 803, 808, 808, 808, 808, 808, 808, 808, 808,
+ 808, 808, 808, 808, 808, 809, 803, 803, 803, 803,
+ 803, 803, 803, 803, 808, 808, 808, 808, 808, 808,
+ 808, 808, 808, 808, 808, 808, 808, 810, 814, 810,
+ 810, 811, 811, 811, 811, 811, 811, 811, 811, 811,
+ 811, 811, 811, 811, 811, 812, 812, 812, 813, 812,
+ 813, 813, 813, 813, 813, 813, 813, 813, 813, 813,
+ 813, 813, 813, 803, 808, 803, 803, 803, 808, 808,
+ 808, 808, 808, 808, 808, 808, 808, 808, 808, 808,
+ 808, 803, 803, 803, 803, 803, 803, 803, 803, 808,
+
+ 808, 808, 808, 808, 808, 808, 808, 808, 808, 808,
+ 808, 808, 814, 810, 811, 811, 811, 811, 811, 811,
+ 811, 811, 811, 811, 811, 811, 811, 812, 813, 813,
+ 813, 813, 813, 813, 813, 813, 813, 813, 813, 813,
+ 813, 803, 808, 803, 803, 803, 808, 808, 808, 808,
+ 808, 808, 808, 808, 808, 808, 808, 808, 808, 808,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 808,
+ 808, 808, 808, 808, 808, 808, 808, 808, 808, 808,
+ 808, 808, 808, 810, 811, 811, 811, 811, 811, 811,
+ 811, 811, 811, 811, 811, 811, 812, 813, 813, 813,
+
+ 813, 813, 813, 813, 813, 813, 813, 813, 813, 813,
+ 813, 803, 808, 803, 803, 803, 803, 808, 803, 808,
+ 808, 808, 808, 808, 803, 803, 808, 808, 808, 808,
+ 808, 803, 803, 803, 803, 803, 803, 803, 808, 808,
+ 808, 808, 808, 808, 808, 808, 808, 808, 808, 808,
+ 814, 811, 811, 811, 811, 811, 814, 811, 811, 811,
+ 811, 812, 812, 813, 812, 813, 813, 813, 813, 813,
+ 812, 812, 813, 813, 813, 813, 813, 803, 803, 803,
+ 803, 803, 803, 808, 808, 808, 808, 808, 803, 808,
+ 808, 808, 808, 803, 803, 803, 803, 803, 808, 808,
+
+ 808, 808, 808, 808, 808, 808, 814, 811, 811, 811,
+ 811, 814, 811, 811, 811, 812, 812, 813, 813, 813,
+ 813, 813, 812, 813, 813, 813, 813, 803, 803, 803,
+ 803, 815, 808, 808, 808, 803, 808, 803, 808, 808,
+ 808, 808, 803, 803, 803, 803, 803, 808, 808, 808,
+ 808, 808, 808, 808, 808, 811, 811, 811, 811, 811,
+ 811, 812, 816, 813, 813, 813, 812, 813, 812, 813,
+ 813, 813, 813, 817, 803, 803, 803, 815, 808, 808,
+ 803, 803, 803, 808, 808, 808, 803, 803, 803, 803,
+ 808, 808, 808, 808, 808, 808, 811, 811, 811, 812,
+
+ 816, 813, 813, 812, 812, 812, 813, 813, 813, 817,
+ 803, 803, 808, 808, 808, 803, 803, 808, 808, 803,
+ 803, 803, 808, 808, 808, 808, 811, 811, 811, 813,
+ 813, 813, 813, 813, 817, 817, 817, 817, 803, 808,
+ 808, 808, 803, 808, 803, 803, 803, 803, 808, 808,
+ 808, 808, 811, 811, 813, 813, 813, 813, 812, 817,
+ 817, 817, 817, 817, 817, 817, 817, 817, 817, 817,
+ 817, 817, 817, 803, 808, 808, 808, 803, 808, 803,
+ 803, 803, 803, 808, 808, 808, 808, 811, 811, 813,
+ 813, 813, 813, 817, 817, 817, 817, 817, 817, 817,
+
+ 817, 817, 817, 817, 817, 817, 817, 817, 817, 817,
+ 803, 808, 808, 808, 803, 808, 803, 803, 803, 803,
+ 808, 808, 808, 808, 811, 811, 813, 813, 813, 813,
+ 817, 817, 817, 817, 817, 817, 817, 817, 817, 817,
+ 817, 817, 817, 817, 803, 808, 803, 808, 803, 808,
+ 803, 803, 803, 803, 808, 808, 808, 808, 811, 813,
+ 812, 813, 813, 817, 817, 817, 817, 817, 817, 817,
+ 817, 817, 817, 817, 817, 817, 817, 817, 817, 817,
+ 808, 803, 803, 803, 811, 813, 817, 817, 817, 817,
+ 817, 817, 817, 817, 817, 817, 817, 817, 817, 817,
+
+ 803, 803, 803, 812, 817, 817, 817, 817, 817, 817,
+ 817, 817, 817, 817, 817, 817, 817, 817, 817, 817,
+ 817, 803, 803, 817, 817, 817, 817, 817, 817, 817,
+ 817, 817, 817, 817, 817, 817, 817, 803, 803, 817,
+ 817, 817, 817, 817, 817, 817, 817, 817, 817, 817,
+ 817, 817, 817, 803, 803, 817, 803, 803, 817, 803,
+ 803, 817, 803, 803, 817, 803, 803, 817, 803, 803,
+ 817, 803, 817, 803, 817, 803, 817, 803, 817, 803,
+ 817, 803, 817, 803, 817, 803, 817, 803, 817, 803,
+ 817, 817, 803, 803, 803, 803, 803, 803, 803, 803,
+
+ 803, 803, 0, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803
+ } ;
+
+static yyconst flex_int16_t yy_nxt[4069] =
+ { 0,
+ 803, 19, 20, 21, 19, 22, 23, 24, 213, 25,
+ 26, 26, 26, 26, 26, 26, 27, 28, 29, 20,
+ 21, 18, 20, 21, 18, 102, 102, 96, 20, 21,
+ 96, 96, 105, 112, 96, 30, 43, 43, 43, 43,
+ 43, 43, 20, 21, 97, 97, 97, 97, 97, 97,
+ 43, 43, 43, 43, 43, 43, 802, 113, 30, 18,
+ 19, 20, 21, 19, 22, 23, 24, 18, 25, 26,
+ 26, 26, 26, 26, 26, 27, 28, 29, 31, 31,
+ 32, 31, 31, 31, 33, 31, 31, 31, 31, 31,
+ 31, 34, 35, 31, 36, 37, 38, 31, 31, 31,
+
+ 31, 18, 31, 31, 32, 31, 31, 31, 31, 31,
+ 31, 31, 31, 31, 31, 39, 31, 36, 40, 41,
+ 31, 31, 31, 31, 19, 20, 21, 19, 22, 23,
+ 24, 95, 25, 26, 26, 26, 26, 26, 26, 27,
+ 28, 29, 98, 99, 100, 102, 102, 118, 44, 123,
+ 124, 102, 102, 113, 95, 45, 46, 330, 30, 47,
+ 48, 102, 106, 250, 158, 98, 99, 100, 102, 102,
+ 102, 118, 44, 123, 124, 110, 114, 113, 45, 46,
+ 115, 30, 47, 48, 49, 102, 103, 158, 115, 111,
+ 104, 50, 51, 176, 102, 52, 53, 107, 102, 110,
+
+ 797, 184, 102, 115, 786, 190, 181, 108, 54, 103,
+ 770, 115, 111, 104, 55, 56, 109, 176, 57, 58,
+ 18, 19, 20, 21, 19, 22, 23, 59, 18, 25,
+ 60, 60, 60, 60, 60, 60, 27, 28, 29, 109,
+ 117, 117, 117, 117, 117, 117, 119, 174, 120, 157,
+ 157, 157, 157, 157, 157, 62, 102, 264, 156, 102,
+ 769, 316, 18, 156, 156, 102, 156, 156, 317, 119,
+ 174, 120, 766, 763, 160, 321, 156, 182, 62, 18,
+ 19, 20, 21, 19, 22, 23, 59, 18, 25, 60,
+ 60, 60, 60, 60, 60, 27, 28, 29, 63, 63,
+
+ 64, 63, 63, 63, 65, 63, 63, 63, 63, 63,
+ 63, 66, 67, 63, 68, 69, 70, 63, 63, 63,
+ 63, 18, 63, 63, 64, 63, 63, 63, 63, 63,
+ 63, 63, 63, 63, 63, 71, 63, 68, 72, 73,
+ 63, 63, 63, 63, 19, 20, 21, 19, 75, 76,
+ 77, 102, 78, 79, 79, 79, 79, 79, 79, 80,
+ 28, 81, 121, 102, 139, 758, 738, 102, 102, 102,
+ 125, 102, 122, 109, 134, 126, 135, 102, 82, 139,
+ 140, 140, 140, 140, 140, 140, 121, 97, 97, 97,
+ 97, 97, 97, 392, 126, 122, 109, 101, 135, 126,
+
+ 135, 82, 74, 19, 20, 21, 19, 75, 76, 77,
+ 74, 78, 79, 79, 79, 79, 79, 79, 80, 28,
+ 81, 83, 83, 84, 83, 83, 83, 85, 83, 83,
+ 83, 83, 83, 83, 86, 87, 83, 88, 89, 90,
+ 83, 83, 83, 83, 74, 83, 83, 84, 83, 83,
+ 83, 83, 83, 83, 83, 83, 83, 83, 91, 83,
+ 88, 92, 93, 83, 83, 83, 83, 18, 139, 178,
+ 177, 102, 703, 139, 18, 18, 102, 94, 18, 18,
+ 102, 102, 102, 701, 385, 102, 102, 145, 320, 130,
+ 102, 18, 178, 127, 177, 128, 141, 18, 18, 131,
+
+ 94, 18, 18, 18, 183, 102, 101, 129, 109, 128,
+ 18, 18, 136, 132, 18, 18, 129, 102, 128, 141,
+ 102, 102, 133, 102, 115, 102, 102, 18, 137, 132,
+ 129, 109, 128, 18, 18, 179, 137, 18, 18, 133,
+ 115, 102, 139, 139, 139, 187, 102, 115, 109, 102,
+ 102, 102, 137, 132, 147, 102, 684, 102, 179, 186,
+ 391, 102, 133, 115, 148, 143, 188, 146, 187, 144,
+ 193, 109, 139, 149, 139, 101, 101, 101, 139, 102,
+ 139, 102, 186, 139, 139, 102, 150, 102, 143, 188,
+ 102, 102, 144, 193, 152, 195, 149, 154, 153, 102,
+
+ 151, 194, 102, 149, 155, 101, 110, 101, 102, 155,
+ 150, 101, 185, 101, 102, 102, 101, 101, 153, 195,
+ 175, 180, 153, 151, 194, 102, 149, 155, 191, 102,
+ 110, 197, 155, 156, 259, 196, 185, 198, 156, 156,
+ 102, 156, 156, 175, 199, 180, 328, 102, 156, 160,
+ 480, 156, 191, 156, 156, 197, 156, 156, 196, 102,
+ 198, 200, 102, 102, 160, 161, 156, 156, 199, 162,
+ 102, 163, 156, 156, 102, 156, 156, 653, 386, 188,
+ 189, 156, 251, 160, 201, 156, 156, 156, 161, 156,
+ 156, 201, 162, 102, 102, 202, 102, 160, 139, 156,
+
+ 164, 156, 188, 204, 170, 102, 156, 156, 102, 156,
+ 156, 102, 649, 329, 201, 205, 156, 160, 203, 156,
+ 165, 156, 156, 102, 156, 156, 484, 204, 171, 203,
+ 166, 101, 160, 102, 156, 156, 207, 249, 206, 167,
+ 156, 156, 102, 156, 156, 117, 117, 117, 117, 117,
+ 117, 160, 203, 156, 167, 102, 479, 228, 171, 102,
+ 208, 647, 167, 156, 206, 102, 322, 102, 156, 156,
+ 208, 156, 156, 645, 434, 102, 102, 167, 211, 160,
+ 228, 156, 171, 156, 102, 139, 168, 206, 156, 156,
+ 102, 156, 156, 212, 208, 102, 188, 209, 242, 160,
+
+ 169, 156, 212, 244, 188, 210, 139, 619, 245, 325,
+ 168, 580, 214, 102, 246, 435, 326, 212, 173, 188,
+ 210, 242, 263, 169, 156, 102, 244, 188, 210, 156,
+ 156, 245, 156, 156, 217, 214, 139, 246, 139, 101,
+ 160, 173, 156, 102, 440, 102, 263, 172, 139, 140,
+ 140, 140, 140, 140, 140, 139, 139, 139, 215, 173,
+ 102, 102, 102, 102, 102, 139, 218, 220, 139, 101,
+ 216, 101, 102, 253, 102, 102, 221, 102, 139, 139,
+ 580, 215, 173, 102, 219, 102, 102, 270, 101, 101,
+ 101, 545, 139, 222, 216, 247, 253, 243, 101, 102,
+
+ 221, 101, 102, 139, 102, 223, 224, 225, 252, 478,
+ 102, 101, 101, 226, 139, 265, 222, 260, 247, 224,
+ 243, 102, 248, 478, 227, 101, 102, 315, 223, 224,
+ 157, 157, 157, 157, 157, 157, 101, 102, 265, 102,
+ 260, 335, 224, 102, 156, 248, 256, 101, 227, 156,
+ 156, 315, 156, 156, 102, 516, 255, 515, 156, 254,
+ 160, 102, 156, 156, 156, 335, 156, 156, 518, 256,
+ 266, 267, 156, 102, 160, 268, 156, 156, 156, 255,
+ 156, 156, 254, 257, 102, 269, 102, 258, 160, 229,
+ 156, 156, 102, 266, 267, 230, 156, 156, 338, 156,
+
+ 156, 297, 102, 648, 102, 156, 274, 160, 269, 156,
+ 156, 156, 229, 156, 156, 102, 102, 102, 271, 230,
+ 102, 160, 338, 156, 297, 156, 272, 273, 231, 275,
+ 156, 156, 102, 156, 156, 485, 516, 275, 512, 156,
+ 478, 160, 232, 156, 156, 156, 102, 156, 156, 102,
+ 273, 273, 139, 577, 478, 160, 156, 156, 234, 102,
+ 275, 156, 156, 233, 156, 156, 102, 102, 102, 102,
+ 579, 276, 160, 156, 156, 102, 235, 102, 156, 156,
+ 139, 156, 156, 351, 102, 249, 282, 156, 283, 160,
+ 317, 156, 156, 156, 277, 156, 156, 278, 488, 312,
+
+ 235, 279, 277, 160, 284, 156, 280, 236, 156, 283,
+ 281, 283, 139, 156, 156, 483, 156, 156, 102, 102,
+ 280, 139, 312, 237, 160, 277, 156, 284, 102, 280,
+ 236, 517, 156, 481, 517, 313, 362, 156, 156, 288,
+ 156, 156, 102, 363, 238, 101, 237, 156, 160, 285,
+ 156, 240, 156, 156, 101, 156, 156, 139, 313, 139,
+ 475, 139, 102, 160, 102, 156, 102, 238, 102, 156,
+ 474, 469, 285, 316, 156, 156, 314, 156, 156, 287,
+ 378, 650, 286, 238, 239, 160, 139, 156, 241, 139,
+ 101, 289, 101, 102, 101, 139, 102, 139, 463, 314,
+
+ 139, 139, 102, 139, 102, 286, 238, 102, 102, 290,
+ 102, 102, 241, 462, 438, 291, 332, 102, 318, 101,
+ 102, 292, 101, 296, 294, 431, 438, 293, 258, 295,
+ 101, 323, 290, 101, 101, 436, 101, 331, 291, 332,
+ 432, 431, 318, 156, 292, 333, 296, 334, 156, 156,
+ 293, 156, 156, 102, 336, 323, 337, 156, 102, 160,
+ 331, 156, 156, 156, 324, 156, 156, 325, 333, 327,
+ 334, 102, 428, 160, 379, 156, 156, 336, 343, 337,
+ 298, 156, 156, 102, 156, 156, 517, 380, 324, 517,
+ 156, 299, 160, 327, 156, 156, 156, 428, 156, 156,
+
+ 339, 417, 344, 298, 156, 102, 160, 381, 156, 156,
+ 156, 380, 156, 156, 299, 102, 417, 301, 300, 156,
+ 160, 341, 156, 340, 156, 156, 394, 156, 156, 102,
+ 381, 102, 340, 156, 387, 160, 102, 156, 156, 156,
+ 302, 156, 156, 344, 342, 102, 102, 342, 156, 160,
+ 394, 156, 395, 156, 156, 340, 156, 156, 387, 102,
+ 303, 102, 304, 156, 160, 102, 156, 344, 156, 156,
+ 342, 156, 156, 102, 102, 395, 345, 102, 347, 160,
+ 349, 156, 156, 102, 388, 304, 305, 156, 156, 390,
+ 156, 156, 517, 102, 346, 517, 306, 156, 160, 346,
+
+ 156, 348, 156, 156, 350, 156, 156, 388, 102, 305,
+ 348, 102, 390, 160, 350, 156, 156, 346, 307, 306,
+ 396, 156, 156, 139, 156, 156, 384, 102, 102, 139,
+ 319, 102, 160, 348, 156, 308, 102, 156, 350, 309,
+ 139, 307, 156, 156, 396, 156, 156, 102, 393, 384,
+ 139, 310, 353, 160, 352, 156, 101, 102, 383, 139,
+ 102, 383, 101, 139, 354, 357, 102, 139, 311, 139,
+ 102, 393, 326, 101, 102, 139, 102, 139, 352, 139,
+ 397, 355, 102, 101, 102, 356, 102, 358, 102, 102,
+ 360, 311, 101, 398, 102, 429, 101, 399, 101, 359,
+
+ 101, 430, 101, 401, 397, 355, 361, 102, 101, 356,
+ 101, 358, 101, 441, 156, 102, 398, 102, 429, 156,
+ 156, 400, 156, 156, 430, 443, 402, 102, 319, 361,
+ 160, 102, 156, 156, 400, 102, 433, 364, 156, 156,
+ 102, 156, 156, 403, 102, 444, 102, 156, 443, 365,
+ 402, 156, 156, 156, 445, 156, 156, 102, 400, 433,
+ 405, 364, 406, 160, 437, 156, 156, 404, 444, 264,
+ 102, 156, 156, 402, 156, 156, 102, 542, 445, 404,
+ 366, 156, 160, 406, 156, 406, 156, 156, 437, 156,
+ 156, 382, 382, 382, 382, 382, 382, 160, 367, 156,
+
+ 156, 446, 447, 404, 368, 156, 156, 262, 156, 156,
+ 139, 102, 476, 102, 156, 487, 160, 102, 156, 156,
+ 156, 102, 156, 156, 446, 447, 439, 261, 156, 442,
+ 160, 139, 156, 156, 156, 476, 156, 156, 102, 487,
+ 448, 369, 156, 101, 160, 139, 156, 156, 156, 439,
+ 156, 371, 442, 409, 139, 370, 192, 102, 372, 489,
+ 156, 102, 156, 449, 101, 369, 102, 156, 156, 102,
+ 156, 156, 102, 544, 490, 139, 156, 139, 160, 370,
+ 156, 156, 156, 489, 156, 156, 102, 101, 449, 373,
+ 156, 452, 160, 540, 156, 156, 156, 490, 156, 156,
+
+ 389, 389, 389, 389, 389, 389, 160, 102, 156, 374,
+ 156, 449, 803, 373, 453, 156, 156, 540, 156, 156,
+ 139, 803, 139, 375, 511, 156, 160, 102, 156, 102,
+ 156, 156, 376, 156, 156, 407, 407, 407, 407, 407,
+ 407, 160, 408, 156, 139, 139, 803, 511, 411, 803,
+ 139, 102, 102, 101, 156, 101, 410, 102, 102, 156,
+ 156, 377, 156, 156, 803, 408, 102, 139, 413, 139,
+ 160, 411, 156, 414, 436, 803, 102, 101, 101, 803,
+ 410, 495, 454, 101, 377, 412, 412, 412, 412, 412,
+ 412, 413, 803, 415, 416, 416, 416, 416, 416, 416,
+
+ 101, 156, 101, 102, 496, 455, 156, 156, 102, 156,
+ 156, 803, 803, 803, 803, 156, 415, 160, 546, 156,
+ 156, 156, 453, 156, 156, 803, 803, 803, 450, 803,
+ 156, 160, 418, 156, 419, 156, 156, 102, 156, 156,
+ 102, 102, 546, 803, 156, 453, 160, 803, 156, 156,
+ 156, 451, 156, 156, 520, 418, 496, 451, 156, 486,
+ 160, 420, 156, 156, 156, 421, 156, 156, 423, 423,
+ 423, 423, 423, 423, 160, 102, 156, 520, 156, 496,
+ 451, 547, 486, 156, 156, 521, 156, 156, 803, 421,
+ 139, 139, 803, 422, 160, 156, 156, 102, 102, 455,
+
+ 156, 156, 803, 156, 156, 547, 102, 522, 521, 156,
+ 424, 160, 139, 156, 156, 156, 422, 156, 156, 102,
+ 523, 460, 455, 101, 101, 160, 156, 156, 425, 139,
+ 522, 156, 156, 424, 156, 156, 102, 803, 803, 803,
+ 456, 156, 160, 524, 156, 101, 156, 156, 139, 156,
+ 156, 803, 102, 139, 139, 102, 457, 160, 426, 156,
+ 102, 102, 101, 456, 803, 102, 524, 458, 491, 803,
+ 459, 539, 803, 803, 427, 102, 102, 461, 492, 493,
+ 102, 101, 803, 494, 102, 803, 101, 101, 543, 524,
+ 156, 458, 492, 459, 539, 156, 156, 427, 156, 156,
+
+ 461, 102, 492, 494, 156, 519, 160, 494, 156, 156,
+ 156, 543, 156, 156, 477, 477, 477, 477, 477, 477,
+ 160, 548, 156, 803, 156, 803, 541, 464, 519, 156,
+ 156, 803, 156, 156, 574, 803, 803, 803, 156, 465,
+ 160, 139, 156, 156, 156, 548, 156, 156, 481, 541,
+ 464, 803, 803, 156, 467, 102, 156, 574, 156, 156,
+ 466, 156, 156, 482, 482, 482, 482, 482, 482, 160,
+ 575, 156, 156, 497, 101, 139, 468, 156, 156, 803,
+ 156, 156, 102, 803, 803, 803, 156, 803, 160, 578,
+ 156, 156, 156, 575, 156, 156, 803, 102, 102, 803,
+
+ 468, 156, 160, 470, 156, 614, 156, 156, 101, 156,
+ 156, 139, 578, 139, 576, 102, 139, 160, 483, 156,
+ 102, 471, 156, 102, 581, 803, 470, 156, 156, 525,
+ 156, 156, 102, 803, 803, 498, 102, 576, 160, 549,
+ 156, 472, 499, 583, 101, 803, 101, 581, 582, 101,
+ 526, 611, 526, 803, 473, 500, 500, 500, 500, 500,
+ 500, 803, 156, 550, 615, 499, 583, 156, 156, 502,
+ 156, 156, 582, 526, 611, 617, 156, 473, 160, 139,
+ 156, 156, 156, 102, 156, 156, 102, 803, 615, 803,
+ 616, 156, 160, 102, 156, 503, 156, 156, 617, 156,
+
+ 156, 102, 612, 102, 102, 156, 651, 160, 550, 156,
+ 156, 156, 101, 156, 156, 505, 505, 505, 505, 505,
+ 505, 504, 156, 156, 584, 585, 612, 156, 156, 651,
+ 156, 156, 550, 803, 618, 803, 156, 620, 506, 652,
+ 156, 156, 156, 654, 156, 156, 102, 585, 585, 803,
+ 803, 156, 160, 551, 156, 507, 156, 156, 618, 156,
+ 156, 620, 652, 102, 803, 156, 654, 160, 139, 156,
+ 156, 156, 102, 156, 156, 102, 513, 552, 803, 552,
+ 139, 160, 508, 156, 514, 102, 156, 102, 527, 803,
+ 102, 156, 156, 803, 156, 156, 528, 613, 803, 513,
+
+ 509, 101, 160, 552, 156, 102, 586, 514, 529, 156,
+ 102, 527, 621, 101, 156, 156, 532, 156, 156, 528,
+ 681, 613, 102, 509, 682, 160, 139, 156, 803, 587,
+ 803, 529, 156, 545, 683, 139, 622, 156, 156, 533,
+ 156, 156, 102, 587, 681, 803, 156, 682, 160, 139,
+ 156, 156, 156, 102, 156, 156, 102, 683, 803, 101,
+ 803, 530, 160, 553, 156, 156, 587, 554, 101, 531,
+ 156, 156, 655, 156, 156, 535, 536, 537, 538, 538,
+ 538, 160, 101, 156, 530, 702, 803, 553, 156, 803,
+ 554, 722, 531, 156, 156, 656, 156, 156, 803, 102,
+
+ 102, 803, 534, 102, 160, 803, 156, 803, 156, 702,
+ 622, 555, 102, 156, 156, 722, 156, 156, 656, 623,
+ 803, 646, 156, 739, 160, 534, 156, 156, 156, 139,
+ 156, 156, 102, 102, 622, 555, 102, 803, 160, 624,
+ 156, 656, 156, 624, 646, 557, 739, 156, 156, 556,
+ 156, 156, 657, 589, 803, 803, 803, 803, 160, 803,
+ 156, 156, 101, 624, 754, 558, 156, 156, 803, 156,
+ 156, 723, 556, 803, 803, 658, 589, 559, 560, 156,
+ 535, 536, 537, 538, 538, 538, 560, 754, 561, 562,
+ 563, 564, 564, 564, 560, 723, 565, 566, 567, 568,
+
+ 569, 570, 560, 139, 571, 572, 573, 570, 570, 570,
+ 102, 156, 803, 757, 139, 803, 156, 156, 803, 156,
+ 156, 102, 755, 803, 139, 588, 139, 160, 760, 156,
+ 625, 102, 764, 647, 776, 156, 101, 757, 626, 139,
+ 156, 156, 590, 156, 156, 755, 102, 101, 588, 803,
+ 803, 160, 760, 156, 625, 156, 764, 101, 776, 101,
+ 156, 156, 626, 156, 156, 590, 761, 659, 591, 156,
+ 778, 160, 101, 156, 156, 156, 803, 156, 156, 594,
+ 595, 596, 597, 597, 597, 160, 803, 156, 803, 761,
+ 659, 591, 592, 560, 778, 571, 572, 573, 570, 570,
+
+ 570, 803, 803, 803, 803, 560, 593, 598, 599, 600,
+ 601, 601, 601, 560, 780, 602, 603, 604, 605, 606,
+ 607, 560, 788, 608, 609, 610, 607, 607, 607, 560,
+ 793, 571, 572, 573, 570, 570, 570, 560, 780, 598,
+ 599, 600, 601, 601, 601, 560, 788, 602, 603, 604,
+ 605, 606, 607, 560, 793, 608, 609, 610, 607, 607,
+ 607, 560, 803, 608, 609, 610, 607, 607, 570, 560,
+ 794, 571, 572, 573, 570, 570, 570, 560, 803, 535,
+ 536, 537, 538, 538, 538, 560, 102, 561, 562, 563,
+ 564, 564, 564, 560, 794, 565, 566, 567, 568, 569,
+
+ 570, 156, 767, 803, 139, 658, 156, 156, 803, 156,
+ 156, 701, 803, 772, 803, 156, 774, 160, 803, 156,
+ 156, 156, 782, 156, 156, 767, 627, 803, 658, 784,
+ 803, 160, 803, 156, 790, 156, 772, 101, 628, 774,
+ 156, 156, 803, 156, 156, 782, 803, 803, 803, 795,
+ 627, 160, 784, 156, 803, 156, 803, 790, 629, 803,
+ 156, 156, 628, 156, 156, 664, 665, 666, 667, 667,
+ 667, 160, 795, 156, 803, 803, 803, 631, 630, 535,
+ 536, 537, 538, 538, 538, 631, 803, 632, 633, 634,
+ 635, 635, 635, 631, 803, 636, 637, 638, 639, 640,
+
+ 641, 631, 803, 642, 643, 644, 641, 641, 641, 560,
+ 803, 571, 572, 573, 570, 570, 570, 560, 803, 598,
+ 599, 600, 601, 601, 601, 560, 803, 602, 603, 604,
+ 605, 606, 607, 560, 803, 608, 609, 610, 607, 607,
+ 607, 560, 803, 571, 572, 573, 570, 570, 570, 560,
+ 803, 598, 599, 600, 601, 601, 601, 560, 803, 602,
+ 603, 604, 605, 606, 607, 560, 803, 608, 609, 610,
+ 607, 607, 607, 560, 803, 608, 609, 610, 607, 607,
+ 570, 560, 803, 571, 572, 573, 570, 570, 570, 560,
+ 803, 535, 536, 537, 538, 538, 538, 560, 803, 561,
+
+ 562, 563, 564, 564, 564, 560, 803, 565, 566, 567,
+ 568, 569, 570, 156, 803, 796, 798, 799, 156, 156,
+ 803, 156, 156, 803, 803, 800, 801, 156, 803, 160,
+ 139, 156, 156, 156, 803, 156, 156, 102, 796, 798,
+ 799, 803, 803, 661, 803, 156, 156, 685, 800, 801,
+ 660, 156, 156, 803, 156, 156, 803, 803, 803, 803,
+ 156, 803, 160, 101, 156, 156, 156, 803, 156, 156,
+ 803, 685, 803, 660, 803, 803, 160, 803, 156, 803,
+ 631, 662, 642, 643, 644, 641, 641, 641, 705, 706,
+ 707, 708, 708, 708, 631, 663, 668, 669, 670, 671,
+
+ 671, 671, 631, 803, 672, 673, 674, 675, 676, 677,
+ 631, 803, 678, 679, 680, 677, 677, 677, 631, 803,
+ 642, 643, 644, 641, 641, 641, 631, 803, 668, 669,
+ 670, 671, 671, 671, 631, 803, 672, 673, 674, 675,
+ 676, 677, 631, 803, 678, 679, 680, 677, 677, 677,
+ 631, 803, 678, 679, 680, 677, 677, 570, 631, 803,
+ 571, 572, 573, 570, 570, 570, 631, 803, 535, 536,
+ 537, 538, 538, 538, 631, 803, 561, 562, 563, 564,
+ 564, 564, 631, 803, 565, 566, 567, 568, 569, 570,
+ 156, 803, 803, 803, 803, 156, 156, 803, 156, 156,
+
+ 803, 803, 803, 803, 156, 803, 160, 803, 156, 156,
+ 156, 803, 156, 156, 803, 803, 686, 803, 156, 803,
+ 160, 803, 156, 156, 156, 803, 156, 156, 535, 762,
+ 537, 538, 538, 538, 160, 803, 156, 803, 803, 687,
+ 686, 535, 536, 537, 538, 538, 538, 687, 803, 688,
+ 689, 690, 691, 691, 691, 687, 803, 692, 693, 694,
+ 695, 696, 697, 687, 803, 698, 699, 700, 697, 697,
+ 697, 631, 803, 571, 572, 573, 570, 570, 570, 631,
+ 803, 598, 599, 600, 601, 601, 601, 631, 803, 602,
+ 603, 604, 605, 606, 607, 631, 803, 608, 609, 610,
+
+ 607, 607, 607, 631, 803, 571, 572, 573, 570, 570,
+ 570, 631, 803, 598, 599, 600, 601, 601, 601, 631,
+ 803, 602, 603, 604, 605, 606, 607, 631, 803, 608,
+ 609, 610, 607, 607, 607, 631, 803, 608, 609, 610,
+ 607, 607, 570, 631, 803, 571, 572, 573, 570, 570,
+ 570, 631, 803, 535, 536, 537, 538, 538, 538, 631,
+ 803, 561, 562, 563, 564, 564, 564, 631, 803, 565,
+ 566, 567, 568, 569, 570, 156, 803, 803, 803, 803,
+ 156, 156, 803, 156, 156, 768, 595, 596, 597, 597,
+ 597, 704, 687, 156, 698, 699, 700, 697, 697, 697,
+
+ 687, 803, 709, 710, 711, 712, 712, 712, 687, 803,
+ 713, 714, 715, 716, 717, 718, 687, 803, 719, 720,
+ 721, 718, 718, 718, 687, 803, 698, 699, 700, 697,
+ 697, 697, 687, 803, 709, 710, 711, 712, 712, 712,
+ 687, 803, 713, 714, 715, 716, 717, 718, 687, 803,
+ 719, 720, 721, 718, 718, 718, 687, 803, 719, 720,
+ 721, 718, 718, 570, 687, 803, 571, 572, 573, 570,
+ 570, 570, 687, 803, 535, 536, 537, 538, 538, 538,
+ 687, 803, 561, 562, 563, 564, 564, 564, 687, 803,
+ 565, 566, 567, 568, 569, 570, 687, 724, 535, 536,
+
+ 537, 538, 538, 538, 687, 724, 725, 726, 727, 728,
+ 728, 728, 687, 724, 729, 730, 731, 732, 733, 734,
+ 687, 724, 735, 736, 737, 734, 734, 734, 687, 803,
+ 571, 572, 573, 570, 570, 570, 687, 803, 598, 599,
+ 600, 601, 601, 601, 687, 803, 602, 603, 604, 605,
+ 606, 607, 687, 803, 608, 609, 610, 607, 607, 607,
+ 687, 803, 571, 572, 573, 570, 570, 570, 687, 803,
+ 598, 599, 600, 601, 601, 601, 687, 803, 602, 603,
+ 604, 605, 606, 607, 687, 803, 608, 609, 610, 607,
+ 607, 607, 687, 803, 608, 609, 610, 607, 607, 570,
+
+ 687, 803, 571, 572, 573, 570, 570, 570, 687, 803,
+ 535, 536, 537, 538, 538, 538, 687, 803, 561, 562,
+ 563, 564, 564, 564, 687, 803, 565, 566, 567, 568,
+ 569, 570, 535, 536, 537, 538, 538, 538, 687, 724,
+ 735, 736, 737, 734, 734, 734, 687, 724, 741, 742,
+ 743, 744, 744, 744, 687, 724, 745, 746, 747, 748,
+ 749, 750, 740, 687, 724, 751, 752, 753, 750, 750,
+ 750, 687, 724, 735, 736, 737, 734, 734, 734, 791,
+ 792, 537, 538, 538, 538, 740, 687, 724, 741, 742,
+ 743, 744, 744, 744, 687, 724, 745, 746, 747, 748,
+
+ 749, 750, 687, 724, 751, 752, 753, 750, 750, 750,
+ 687, 724, 751, 752, 753, 750, 750, 570, 687, 724,
+ 571, 572, 573, 570, 570, 570, 687, 724, 535, 536,
+ 537, 538, 538, 538, 687, 724, 561, 562, 563, 564,
+ 564, 564, 687, 724, 565, 566, 567, 568, 569, 570,
+ 535, 536, 537, 538, 538, 538, 687, 724, 571, 572,
+ 573, 570, 570, 570, 756, 687, 724, 598, 599, 600,
+ 601, 601, 601, 687, 724, 602, 603, 604, 605, 606,
+ 607, 803, 803, 803, 803, 803, 803, 803, 756, 687,
+ 724, 608, 609, 610, 607, 607, 607, 687, 724, 571,
+
+ 572, 573, 570, 570, 570, 687, 724, 598, 599, 600,
+ 601, 601, 601, 687, 724, 602, 603, 604, 605, 606,
+ 607, 687, 724, 608, 609, 610, 607, 607, 607, 687,
+ 724, 608, 609, 610, 607, 607, 570, 687, 724, 571,
+ 572, 573, 570, 570, 570, 687, 724, 535, 536, 537,
+ 538, 538, 538, 687, 724, 561, 562, 563, 564, 564,
+ 564, 687, 724, 565, 566, 567, 568, 569, 570, 535,
+ 536, 537, 538, 538, 538, 803, 803, 803, 803, 803,
+ 765, 759, 561, 562, 563, 564, 564, 564, 631, 771,
+ 535, 536, 537, 538, 538, 538, 535, 536, 537, 538,
+
+ 538, 538, 803, 803, 803, 759, 535, 536, 537, 538,
+ 538, 538, 535, 536, 537, 538, 538, 538, 803, 803,
+ 803, 803, 773, 803, 803, 535, 536, 537, 538, 538,
+ 538, 803, 803, 775, 803, 803, 803, 777, 779, 535,
+ 536, 537, 538, 538, 538, 773, 803, 803, 781, 535,
+ 536, 537, 538, 538, 538, 803, 775, 803, 803, 803,
+ 777, 803, 779, 535, 536, 537, 538, 538, 538, 783,
+ 803, 803, 781, 535, 536, 537, 538, 538, 538, 803,
+ 785, 803, 803, 803, 803, 787, 535, 536, 537, 538,
+ 538, 538, 783, 560, 789, 535, 536, 537, 538, 538,
+
+ 538, 803, 803, 803, 785, 803, 803, 803, 560, 787,
+ 561, 562, 563, 564, 564, 564, 18, 18, 18, 18,
+ 18, 18, 18, 18, 42, 42, 42, 42, 42, 42,
+ 42, 42, 61, 61, 61, 61, 61, 61, 61, 61,
+ 74, 74, 74, 74, 74, 74, 74, 74, 101, 803,
+ 101, 116, 116, 803, 803, 116, 116, 116, 116, 138,
+ 138, 142, 142, 142, 156, 803, 803, 803, 156, 156,
+ 156, 159, 803, 803, 803, 159, 159, 159, 478, 803,
+ 803, 478, 478, 478, 478, 478, 501, 803, 803, 501,
+ 501, 501, 501, 501, 510, 803, 803, 510, 510, 510,
+
+ 510, 510, 17, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803
+ } ;
+
+static yyconst flex_int16_t yy_chk[4069] =
+ { 0,
+ 0, 1, 1, 1, 1, 1, 1, 1, 814, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 3,
+ 3, 3, 4, 4, 4, 33, 37, 19, 5, 5,
+ 19, 96, 33, 37, 96, 1, 5, 5, 5, 5,
+ 5, 5, 6, 6, 26, 26, 26, 26, 26, 26,
+ 6, 6, 6, 6, 6, 6, 801, 37, 1, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 7, 7, 7, 7, 7, 7,
+ 7, 14, 7, 7, 7, 7, 7, 7, 7, 7,
+ 7, 7, 28, 28, 30, 34, 40, 44, 7, 47,
+ 48, 259, 182, 40, 14, 7, 7, 259, 7, 7,
+ 7, 41, 34, 182, 82, 28, 28, 30, 36, 38,
+ 32, 44, 7, 47, 48, 36, 38, 40, 7, 7,
+ 41, 7, 7, 7, 8, 105, 32, 82, 38, 36,
+ 32, 8, 8, 98, 35, 8, 8, 35, 108, 36,
+
+ 796, 108, 114, 41, 784, 114, 105, 35, 8, 32,
+ 767, 38, 36, 32, 8, 8, 35, 98, 8, 8,
+ 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
+ 9, 9, 9, 9, 9, 9, 9, 9, 9, 35,
+ 43, 43, 43, 43, 43, 43, 45, 94, 45, 79,
+ 79, 79, 79, 79, 79, 9, 106, 204, 83, 250,
+ 766, 246, 9, 83, 83, 204, 83, 83, 246, 45,
+ 94, 45, 763, 760, 83, 250, 83, 106, 9, 10,
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
+ 10, 10, 10, 10, 11, 11, 11, 11, 11, 11,
+ 11, 39, 11, 11, 11, 11, 11, 11, 11, 11,
+ 11, 11, 46, 49, 63, 755, 722, 52, 54, 57,
+ 49, 63, 46, 39, 52, 54, 57, 330, 11, 60,
+ 60, 60, 60, 60, 60, 60, 46, 97, 97, 97,
+ 97, 97, 97, 330, 49, 46, 39, 63, 52, 54,
+
+ 57, 11, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
+ 12, 12, 12, 12, 12, 12, 12, 13, 62, 100,
+ 99, 249, 683, 65, 13, 13, 50, 13, 13, 13,
+ 65, 320, 107, 681, 320, 658, 51, 65, 249, 51,
+ 55, 13, 100, 50, 99, 50, 62, 13, 13, 51,
+
+ 13, 13, 13, 15, 107, 53, 65, 55, 51, 55,
+ 15, 15, 53, 51, 15, 15, 50, 657, 50, 62,
+ 103, 58, 51, 656, 53, 111, 56, 15, 58, 56,
+ 55, 51, 55, 15, 15, 103, 53, 15, 15, 56,
+ 58, 110, 64, 66, 67, 111, 113, 53, 56, 64,
+ 66, 67, 58, 56, 67, 655, 653, 329, 103, 110,
+ 329, 650, 56, 58, 67, 64, 113, 66, 111, 64,
+ 118, 56, 68, 67, 71, 64, 66, 67, 73, 68,
+ 69, 71, 110, 70, 72, 73, 68, 69, 64, 113,
+ 70, 72, 64, 118, 69, 120, 67, 70, 72, 95,
+
+ 68, 119, 648, 71, 73, 68, 95, 71, 109, 70,
+ 68, 73, 109, 69, 104, 190, 70, 72, 69, 120,
+ 95, 104, 72, 68, 119, 115, 71, 73, 115, 257,
+ 95, 122, 70, 84, 190, 121, 109, 123, 84, 84,
+ 125, 84, 84, 95, 124, 104, 257, 434, 85, 84,
+ 434, 84, 115, 85, 85, 122, 85, 85, 121, 112,
+ 123, 125, 183, 321, 85, 84, 85, 86, 124, 84,
+ 126, 85, 86, 86, 127, 86, 86, 619, 321, 112,
+ 112, 89, 183, 86, 125, 86, 89, 89, 84, 89,
+ 89, 126, 84, 130, 128, 127, 258, 89, 142, 89,
+
+ 86, 87, 112, 128, 89, 142, 87, 87, 129, 87,
+ 87, 181, 615, 258, 126, 130, 91, 87, 127, 87,
+ 87, 91, 91, 440, 91, 91, 440, 128, 89, 129,
+ 87, 142, 91, 131, 91, 92, 131, 181, 130, 87,
+ 92, 92, 132, 92, 92, 117, 117, 117, 117, 117,
+ 117, 92, 129, 92, 91, 385, 433, 158, 92, 251,
+ 131, 613, 87, 88, 132, 433, 251, 133, 88, 88,
+ 133, 88, 88, 611, 385, 136, 134, 91, 136, 88,
+ 158, 88, 92, 93, 135, 141, 88, 132, 93, 93,
+ 137, 93, 93, 137, 133, 386, 134, 134, 174, 93,
+
+ 88, 93, 136, 176, 135, 135, 145, 582, 177, 255,
+ 88, 559, 141, 145, 178, 386, 255, 137, 93, 134,
+ 134, 174, 194, 88, 90, 391, 176, 135, 135, 90,
+ 90, 177, 90, 90, 145, 141, 143, 178, 146, 145,
+ 90, 93, 90, 143, 391, 146, 194, 90, 140, 140,
+ 140, 140, 140, 140, 140, 147, 144, 148, 143, 90,
+ 185, 200, 147, 144, 148, 149, 146, 148, 150, 143,
+ 144, 146, 149, 185, 179, 150, 149, 175, 151, 152,
+ 545, 143, 90, 184, 147, 151, 152, 200, 147, 144,
+ 148, 519, 153, 150, 144, 179, 185, 175, 149, 153,
+
+ 149, 150, 191, 154, 180, 151, 152, 152, 184, 463,
+ 154, 151, 152, 154, 155, 196, 150, 191, 179, 153,
+ 175, 155, 180, 463, 155, 153, 188, 245, 151, 152,
+ 157, 157, 157, 157, 157, 157, 154, 186, 196, 187,
+ 191, 265, 153, 480, 159, 180, 188, 155, 155, 159,
+ 159, 245, 159, 159, 484, 504, 187, 480, 161, 186,
+ 159, 189, 159, 161, 161, 265, 161, 161, 484, 188,
+ 197, 198, 162, 496, 161, 198, 161, 162, 162, 187,
+ 162, 162, 186, 189, 614, 199, 205, 189, 162, 161,
+ 162, 163, 201, 197, 198, 162, 163, 163, 269, 163,
+
+ 163, 228, 495, 614, 485, 164, 205, 163, 199, 163,
+ 164, 164, 161, 164, 164, 202, 203, 206, 201, 162,
+ 441, 164, 269, 164, 228, 165, 202, 203, 163, 205,
+ 165, 165, 542, 165, 165, 441, 481, 206, 476, 166,
+ 501, 165, 164, 165, 166, 166, 207, 166, 166, 544,
+ 202, 203, 217, 542, 501, 166, 167, 166, 166, 217,
+ 206, 167, 167, 165, 167, 167, 451, 211, 450, 212,
+ 544, 207, 167, 168, 167, 209, 167, 208, 168, 168,
+ 214, 168, 168, 284, 210, 217, 211, 169, 212, 168,
+ 284, 168, 169, 169, 207, 169, 169, 209, 445, 242,
+
+ 167, 209, 208, 169, 214, 169, 210, 168, 171, 211,
+ 210, 212, 219, 171, 171, 439, 171, 171, 243, 219,
+ 209, 215, 242, 169, 171, 208, 171, 214, 215, 210,
+ 168, 482, 172, 437, 482, 243, 297, 172, 172, 219,
+ 172, 172, 435, 297, 171, 219, 169, 170, 172, 215,
+ 172, 172, 170, 170, 215, 170, 170, 216, 243, 220,
+ 429, 218, 616, 170, 216, 170, 220, 171, 218, 173,
+ 428, 423, 215, 312, 173, 173, 244, 173, 173, 218,
+ 312, 616, 216, 170, 170, 173, 222, 173, 173, 221,
+ 216, 220, 220, 222, 218, 225, 221, 223, 417, 244,
+
+ 224, 227, 225, 226, 223, 216, 170, 224, 227, 221,
+ 226, 247, 173, 416, 412, 222, 262, 260, 247, 222,
+ 253, 223, 221, 227, 225, 407, 389, 224, 225, 226,
+ 223, 253, 221, 224, 227, 387, 226, 260, 222, 262,
+ 383, 382, 247, 229, 223, 263, 227, 264, 229, 229,
+ 224, 229, 229, 254, 267, 253, 268, 230, 256, 229,
+ 260, 229, 230, 230, 254, 230, 230, 313, 263, 256,
+ 264, 274, 379, 230, 313, 230, 231, 267, 274, 268,
+ 229, 231, 231, 270, 231, 231, 505, 314, 254, 505,
+ 232, 230, 231, 256, 231, 232, 232, 378, 232, 232,
+
+ 270, 372, 274, 229, 233, 272, 232, 315, 232, 233,
+ 233, 314, 233, 233, 230, 271, 363, 232, 231, 234,
+ 233, 272, 233, 270, 234, 234, 332, 234, 234, 323,
+ 315, 273, 271, 235, 323, 234, 275, 234, 235, 235,
+ 233, 235, 235, 275, 272, 346, 345, 273, 236, 235,
+ 332, 235, 333, 236, 236, 271, 236, 236, 323, 278,
+ 234, 279, 235, 237, 236, 324, 236, 275, 237, 237,
+ 273, 237, 237, 327, 282, 333, 278, 280, 279, 237,
+ 282, 237, 238, 344, 324, 235, 236, 238, 238, 327,
+ 238, 238, 517, 281, 280, 517, 237, 239, 238, 278,
+
+ 238, 279, 239, 239, 282, 239, 239, 324, 283, 236,
+ 281, 318, 327, 239, 283, 239, 240, 280, 238, 237,
+ 334, 240, 240, 286, 240, 240, 318, 343, 328, 287,
+ 286, 331, 240, 281, 240, 239, 287, 241, 283, 239,
+ 285, 238, 241, 241, 334, 241, 241, 285, 331, 318,
+ 288, 240, 287, 241, 285, 241, 286, 288, 326, 289,
+ 322, 317, 287, 290, 288, 292, 289, 291, 241, 293,
+ 290, 331, 292, 285, 291, 294, 293, 295, 285, 296,
+ 337, 290, 294, 288, 295, 291, 296, 293, 341, 392,
+ 295, 241, 289, 338, 339, 380, 290, 339, 292, 294,
+
+ 291, 381, 293, 341, 337, 290, 296, 277, 294, 291,
+ 295, 293, 296, 392, 298, 384, 338, 276, 380, 298,
+ 298, 339, 298, 298, 381, 394, 341, 252, 248, 296,
+ 298, 340, 298, 299, 340, 342, 384, 298, 299, 299,
+ 347, 299, 299, 347, 349, 395, 350, 300, 394, 299,
+ 342, 299, 300, 300, 396, 300, 300, 388, 340, 384,
+ 349, 298, 350, 300, 388, 300, 301, 347, 395, 195,
+ 515, 301, 301, 342, 301, 301, 348, 515, 396, 348,
+ 300, 302, 301, 349, 301, 350, 302, 302, 388, 302,
+ 302, 316, 316, 316, 316, 316, 316, 302, 301, 302,
+
+ 303, 397, 398, 348, 302, 303, 303, 193, 303, 303,
+ 354, 390, 430, 393, 304, 443, 303, 354, 303, 304,
+ 304, 399, 304, 304, 397, 398, 390, 192, 305, 393,
+ 304, 353, 304, 305, 305, 430, 305, 305, 353, 443,
+ 399, 304, 306, 354, 305, 138, 305, 306, 306, 390,
+ 306, 306, 393, 353, 359, 305, 116, 101, 306, 446,
+ 306, 359, 307, 399, 353, 304, 518, 307, 307, 400,
+ 307, 307, 403, 518, 447, 61, 308, 59, 307, 305,
+ 307, 308, 308, 446, 308, 308, 513, 359, 400, 307,
+ 309, 403, 308, 513, 308, 309, 309, 447, 309, 309,
+
+ 325, 325, 325, 325, 325, 325, 309, 31, 309, 308,
+ 310, 400, 17, 307, 403, 310, 310, 513, 310, 310,
+ 352, 0, 356, 309, 475, 311, 310, 352, 310, 356,
+ 311, 311, 310, 311, 311, 351, 351, 351, 351, 351,
+ 351, 311, 352, 311, 355, 358, 0, 475, 356, 0,
+ 360, 355, 358, 352, 368, 356, 355, 360, 405, 368,
+ 368, 311, 368, 368, 0, 352, 454, 410, 358, 361,
+ 368, 356, 368, 360, 410, 0, 361, 355, 358, 0,
+ 355, 454, 405, 360, 311, 357, 357, 357, 357, 357,
+ 357, 358, 0, 361, 362, 362, 362, 362, 362, 362,
+
+ 410, 364, 361, 404, 454, 405, 364, 364, 401, 364,
+ 364, 0, 0, 0, 0, 366, 361, 364, 520, 364,
+ 366, 366, 404, 366, 366, 0, 0, 0, 401, 0,
+ 367, 366, 364, 366, 366, 367, 367, 402, 367, 367,
+ 442, 455, 520, 0, 369, 404, 367, 0, 367, 369,
+ 369, 401, 369, 369, 487, 364, 455, 402, 370, 442,
+ 369, 367, 369, 370, 370, 369, 370, 370, 371, 371,
+ 371, 371, 371, 371, 370, 406, 370, 487, 373, 455,
+ 402, 521, 442, 373, 373, 488, 373, 373, 0, 369,
+ 414, 457, 0, 370, 373, 374, 373, 414, 457, 406,
+
+ 374, 374, 0, 374, 374, 521, 491, 489, 488, 375,
+ 373, 374, 408, 374, 375, 375, 370, 375, 375, 408,
+ 491, 414, 406, 414, 457, 375, 376, 375, 375, 409,
+ 489, 376, 376, 373, 376, 376, 409, 0, 0, 0,
+ 408, 377, 376, 491, 376, 408, 377, 377, 413, 377,
+ 377, 0, 492, 411, 415, 413, 409, 377, 376, 377,
+ 411, 415, 409, 408, 0, 448, 492, 411, 448, 0,
+ 413, 511, 0, 0, 377, 449, 452, 415, 449, 452,
+ 453, 413, 0, 453, 486, 0, 411, 415, 516, 492,
+ 418, 411, 448, 413, 511, 418, 418, 377, 418, 418,
+
+ 415, 514, 449, 452, 419, 486, 418, 453, 418, 419,
+ 419, 516, 419, 419, 431, 431, 431, 431, 431, 431,
+ 419, 522, 419, 0, 420, 0, 514, 418, 486, 420,
+ 420, 0, 420, 420, 539, 0, 0, 0, 421, 419,
+ 420, 458, 420, 421, 421, 522, 421, 421, 458, 514,
+ 418, 0, 0, 422, 421, 540, 421, 539, 422, 422,
+ 420, 422, 422, 438, 438, 438, 438, 438, 438, 422,
+ 540, 422, 424, 456, 458, 456, 422, 424, 424, 0,
+ 424, 424, 456, 0, 0, 0, 425, 0, 424, 543,
+ 424, 425, 425, 540, 425, 425, 0, 541, 577, 0,
+
+ 422, 426, 425, 424, 425, 577, 426, 426, 456, 426,
+ 426, 459, 543, 460, 541, 493, 461, 426, 459, 426,
+ 460, 425, 427, 461, 546, 0, 424, 427, 427, 493,
+ 427, 427, 523, 0, 0, 460, 494, 541, 427, 523,
+ 427, 426, 461, 548, 459, 0, 460, 546, 547, 461,
+ 494, 574, 493, 0, 427, 462, 462, 462, 462, 462,
+ 462, 0, 464, 523, 578, 461, 548, 464, 464, 464,
+ 464, 464, 547, 494, 574, 580, 465, 427, 464, 498,
+ 464, 465, 465, 579, 465, 465, 498, 0, 578, 0,
+ 579, 466, 465, 575, 465, 465, 466, 466, 580, 466,
+
+ 466, 524, 575, 549, 550, 468, 617, 466, 524, 466,
+ 468, 468, 498, 468, 468, 469, 469, 469, 469, 469,
+ 469, 468, 470, 468, 549, 550, 575, 470, 470, 617,
+ 470, 470, 524, 0, 581, 0, 471, 583, 470, 618,
+ 470, 471, 471, 620, 471, 471, 525, 549, 550, 0,
+ 0, 472, 471, 525, 471, 471, 472, 472, 581, 472,
+ 472, 583, 618, 479, 0, 473, 620, 472, 497, 472,
+ 473, 473, 526, 473, 473, 497, 479, 525, 0, 526,
+ 499, 473, 472, 473, 479, 551, 503, 499, 497, 0,
+ 576, 503, 503, 0, 503, 503, 497, 576, 0, 479,
+
+ 473, 497, 503, 526, 503, 584, 551, 479, 499, 507,
+ 646, 497, 584, 499, 507, 507, 503, 507, 507, 497,
+ 646, 576, 552, 473, 649, 507, 529, 507, 0, 551,
+ 0, 499, 502, 529, 651, 528, 584, 502, 502, 507,
+ 502, 502, 528, 552, 646, 0, 508, 649, 502, 527,
+ 502, 508, 508, 621, 508, 508, 527, 651, 0, 529,
+ 0, 502, 508, 527, 508, 509, 552, 528, 528, 502,
+ 509, 509, 621, 509, 509, 510, 510, 510, 510, 510,
+ 510, 509, 527, 509, 502, 682, 0, 527, 530, 0,
+ 528, 702, 502, 530, 530, 621, 530, 530, 0, 622,
+
+ 612, 0, 509, 585, 530, 0, 530, 0, 531, 682,
+ 585, 530, 586, 531, 531, 702, 531, 531, 622, 586,
+ 0, 612, 532, 723, 531, 509, 531, 532, 532, 554,
+ 532, 532, 587, 623, 585, 530, 554, 0, 532, 587,
+ 532, 622, 533, 586, 612, 532, 723, 533, 533, 531,
+ 533, 533, 623, 554, 0, 0, 0, 0, 533, 0,
+ 533, 534, 554, 587, 738, 533, 534, 534, 0, 534,
+ 534, 703, 531, 0, 0, 623, 554, 534, 535, 534,
+ 535, 535, 535, 535, 535, 535, 536, 738, 536, 536,
+ 536, 536, 536, 536, 537, 703, 537, 537, 537, 537,
+
+ 537, 537, 538, 553, 538, 538, 538, 538, 538, 538,
+ 553, 555, 0, 754, 588, 0, 555, 555, 0, 555,
+ 555, 588, 739, 0, 589, 553, 626, 555, 757, 555,
+ 588, 589, 761, 626, 774, 556, 553, 754, 589, 625,
+ 556, 556, 555, 556, 556, 739, 625, 588, 553, 0,
+ 0, 556, 757, 556, 588, 557, 761, 589, 774, 626,
+ 557, 557, 589, 557, 557, 555, 758, 625, 556, 558,
+ 776, 557, 625, 557, 558, 558, 0, 558, 558, 560,
+ 560, 560, 560, 560, 560, 558, 0, 558, 0, 758,
+ 625, 556, 557, 561, 776, 561, 561, 561, 561, 561,
+
+ 561, 0, 0, 0, 0, 562, 558, 562, 562, 562,
+ 562, 562, 562, 563, 778, 563, 563, 563, 563, 563,
+ 563, 564, 786, 564, 564, 564, 564, 564, 564, 565,
+ 790, 565, 565, 565, 565, 565, 565, 566, 778, 566,
+ 566, 566, 566, 566, 566, 567, 786, 567, 567, 567,
+ 567, 567, 567, 568, 790, 568, 568, 568, 568, 568,
+ 568, 569, 0, 569, 569, 569, 569, 569, 569, 570,
+ 793, 570, 570, 570, 570, 570, 570, 571, 0, 571,
+ 571, 571, 571, 571, 571, 572, 624, 572, 572, 572,
+ 572, 572, 572, 573, 793, 573, 573, 573, 573, 573,
+
+ 573, 590, 764, 0, 685, 624, 590, 590, 0, 590,
+ 590, 685, 0, 770, 0, 591, 772, 590, 0, 590,
+ 591, 591, 780, 591, 591, 764, 590, 0, 624, 782,
+ 0, 591, 0, 591, 788, 592, 770, 685, 591, 772,
+ 592, 592, 0, 592, 592, 780, 0, 0, 0, 794,
+ 590, 592, 782, 592, 0, 593, 0, 788, 592, 0,
+ 593, 593, 591, 593, 593, 631, 631, 631, 631, 631,
+ 631, 593, 794, 593, 0, 0, 0, 594, 593, 594,
+ 594, 594, 594, 594, 594, 595, 0, 595, 595, 595,
+ 595, 595, 595, 596, 0, 596, 596, 596, 596, 596,
+
+ 596, 597, 0, 597, 597, 597, 597, 597, 597, 598,
+ 0, 598, 598, 598, 598, 598, 598, 599, 0, 599,
+ 599, 599, 599, 599, 599, 600, 0, 600, 600, 600,
+ 600, 600, 600, 601, 0, 601, 601, 601, 601, 601,
+ 601, 602, 0, 602, 602, 602, 602, 602, 602, 603,
+ 0, 603, 603, 603, 603, 603, 603, 604, 0, 604,
+ 604, 604, 604, 604, 604, 605, 0, 605, 605, 605,
+ 605, 605, 605, 606, 0, 606, 606, 606, 606, 606,
+ 606, 607, 0, 607, 607, 607, 607, 607, 607, 608,
+ 0, 608, 608, 608, 608, 608, 608, 609, 0, 609,
+
+ 609, 609, 609, 609, 609, 610, 0, 610, 610, 610,
+ 610, 610, 610, 627, 0, 795, 797, 798, 627, 627,
+ 0, 627, 627, 0, 0, 799, 800, 628, 0, 627,
+ 659, 627, 628, 628, 0, 628, 628, 659, 795, 797,
+ 798, 0, 0, 628, 0, 628, 629, 659, 799, 800,
+ 627, 629, 629, 0, 629, 629, 0, 0, 0, 0,
+ 630, 0, 629, 659, 629, 630, 630, 0, 630, 630,
+ 0, 659, 0, 627, 0, 0, 630, 0, 630, 0,
+ 632, 629, 632, 632, 632, 632, 632, 632, 687, 687,
+ 687, 687, 687, 687, 633, 630, 633, 633, 633, 633,
+
+ 633, 633, 634, 0, 634, 634, 634, 634, 634, 634,
+ 635, 0, 635, 635, 635, 635, 635, 635, 636, 0,
+ 636, 636, 636, 636, 636, 636, 637, 0, 637, 637,
+ 637, 637, 637, 637, 638, 0, 638, 638, 638, 638,
+ 638, 638, 639, 0, 639, 639, 639, 639, 639, 639,
+ 640, 0, 640, 640, 640, 640, 640, 640, 641, 0,
+ 641, 641, 641, 641, 641, 641, 642, 0, 642, 642,
+ 642, 642, 642, 642, 643, 0, 643, 643, 643, 643,
+ 643, 643, 644, 0, 644, 644, 644, 644, 644, 644,
+ 660, 0, 0, 0, 0, 660, 660, 0, 660, 660,
+
+ 0, 0, 0, 0, 662, 0, 660, 0, 660, 662,
+ 662, 0, 662, 662, 0, 0, 660, 0, 663, 0,
+ 662, 0, 662, 663, 663, 0, 663, 663, 759, 759,
+ 759, 759, 759, 759, 663, 0, 663, 0, 0, 664,
+ 660, 664, 664, 664, 664, 664, 664, 665, 0, 665,
+ 665, 665, 665, 665, 665, 666, 0, 666, 666, 666,
+ 666, 666, 666, 667, 0, 667, 667, 667, 667, 667,
+ 667, 668, 0, 668, 668, 668, 668, 668, 668, 669,
+ 0, 669, 669, 669, 669, 669, 669, 670, 0, 670,
+ 670, 670, 670, 670, 670, 671, 0, 671, 671, 671,
+
+ 671, 671, 671, 672, 0, 672, 672, 672, 672, 672,
+ 672, 673, 0, 673, 673, 673, 673, 673, 673, 674,
+ 0, 674, 674, 674, 674, 674, 674, 675, 0, 675,
+ 675, 675, 675, 675, 675, 676, 0, 676, 676, 676,
+ 676, 676, 676, 677, 0, 677, 677, 677, 677, 677,
+ 677, 678, 0, 678, 678, 678, 678, 678, 678, 679,
+ 0, 679, 679, 679, 679, 679, 679, 680, 0, 680,
+ 680, 680, 680, 680, 680, 686, 0, 0, 0, 0,
+ 686, 686, 0, 686, 686, 765, 765, 765, 765, 765,
+ 765, 686, 688, 686, 688, 688, 688, 688, 688, 688,
+
+ 689, 0, 689, 689, 689, 689, 689, 689, 690, 0,
+ 690, 690, 690, 690, 690, 690, 691, 0, 691, 691,
+ 691, 691, 691, 691, 692, 0, 692, 692, 692, 692,
+ 692, 692, 693, 0, 693, 693, 693, 693, 693, 693,
+ 694, 0, 694, 694, 694, 694, 694, 694, 695, 0,
+ 695, 695, 695, 695, 695, 695, 696, 0, 696, 696,
+ 696, 696, 696, 696, 697, 0, 697, 697, 697, 697,
+ 697, 697, 698, 0, 698, 698, 698, 698, 698, 698,
+ 699, 0, 699, 699, 699, 699, 699, 699, 700, 0,
+ 700, 700, 700, 700, 700, 700, 705, 705, 705, 705,
+
+ 705, 705, 705, 705, 706, 706, 706, 706, 706, 706,
+ 706, 706, 707, 707, 707, 707, 707, 707, 707, 707,
+ 708, 708, 708, 708, 708, 708, 708, 708, 709, 0,
+ 709, 709, 709, 709, 709, 709, 710, 0, 710, 710,
+ 710, 710, 710, 710, 711, 0, 711, 711, 711, 711,
+ 711, 711, 712, 0, 712, 712, 712, 712, 712, 712,
+ 713, 0, 713, 713, 713, 713, 713, 713, 714, 0,
+ 714, 714, 714, 714, 714, 714, 715, 0, 715, 715,
+ 715, 715, 715, 715, 716, 0, 716, 716, 716, 716,
+ 716, 716, 717, 0, 717, 717, 717, 717, 717, 717,
+
+ 718, 0, 718, 718, 718, 718, 718, 718, 719, 0,
+ 719, 719, 719, 719, 719, 719, 720, 0, 720, 720,
+ 720, 720, 720, 720, 721, 0, 721, 721, 721, 721,
+ 721, 721, 724, 724, 724, 724, 724, 724, 725, 725,
+ 725, 725, 725, 725, 725, 725, 726, 726, 726, 726,
+ 726, 726, 726, 726, 727, 727, 727, 727, 727, 727,
+ 727, 727, 724, 728, 728, 728, 728, 728, 728, 728,
+ 728, 729, 729, 729, 729, 729, 729, 729, 729, 789,
+ 789, 789, 789, 789, 789, 724, 730, 730, 730, 730,
+ 730, 730, 730, 730, 731, 731, 731, 731, 731, 731,
+
+ 731, 731, 732, 732, 732, 732, 732, 732, 732, 732,
+ 733, 733, 733, 733, 733, 733, 733, 733, 734, 734,
+ 734, 734, 734, 734, 734, 734, 735, 735, 735, 735,
+ 735, 735, 735, 735, 736, 736, 736, 736, 736, 736,
+ 736, 736, 737, 737, 737, 737, 737, 737, 737, 737,
+ 740, 740, 740, 740, 740, 740, 741, 741, 741, 741,
+ 741, 741, 741, 741, 740, 742, 742, 742, 742, 742,
+ 742, 742, 742, 743, 743, 743, 743, 743, 743, 743,
+ 743, 0, 0, 0, 0, 0, 0, 0, 740, 744,
+ 744, 744, 744, 744, 744, 744, 744, 745, 745, 745,
+
+ 745, 745, 745, 745, 745, 746, 746, 746, 746, 746,
+ 746, 746, 746, 747, 747, 747, 747, 747, 747, 747,
+ 747, 748, 748, 748, 748, 748, 748, 748, 748, 749,
+ 749, 749, 749, 749, 749, 749, 749, 750, 750, 750,
+ 750, 750, 750, 750, 750, 751, 751, 751, 751, 751,
+ 751, 751, 751, 752, 752, 752, 752, 752, 752, 752,
+ 752, 753, 753, 753, 753, 753, 753, 753, 753, 756,
+ 756, 756, 756, 756, 756, 0, 0, 0, 0, 0,
+ 762, 756, 762, 762, 762, 762, 762, 762, 768, 768,
+ 768, 768, 768, 768, 768, 768, 771, 771, 771, 771,
+
+ 771, 771, 0, 0, 0, 756, 773, 773, 773, 773,
+ 773, 773, 775, 775, 775, 775, 775, 775, 0, 0,
+ 0, 0, 771, 0, 0, 777, 777, 777, 777, 777,
+ 777, 0, 0, 773, 0, 0, 0, 775, 777, 779,
+ 779, 779, 779, 779, 779, 771, 0, 0, 779, 781,
+ 781, 781, 781, 781, 781, 0, 773, 0, 0, 0,
+ 775, 0, 777, 783, 783, 783, 783, 783, 783, 781,
+ 0, 0, 779, 785, 785, 785, 785, 785, 785, 0,
+ 783, 0, 0, 0, 0, 785, 787, 787, 787, 787,
+ 787, 787, 781, 791, 787, 791, 791, 791, 791, 791,
+
+ 791, 0, 0, 0, 783, 0, 0, 0, 792, 785,
+ 792, 792, 792, 792, 792, 792, 804, 804, 804, 804,
+ 804, 804, 804, 804, 805, 805, 805, 805, 805, 805,
+ 805, 805, 806, 806, 806, 806, 806, 806, 806, 806,
+ 807, 807, 807, 807, 807, 807, 807, 807, 808, 0,
+ 808, 809, 809, 0, 0, 809, 809, 809, 809, 810,
+ 810, 811, 811, 811, 812, 0, 0, 0, 812, 812,
+ 812, 813, 0, 0, 0, 813, 813, 813, 815, 0,
+ 0, 815, 815, 815, 815, 815, 816, 0, 0, 816,
+ 816, 816, 816, 816, 817, 0, 0, 817, 817, 817,
+
+ 817, 817, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803, 803, 803,
+ 803, 803, 803, 803, 803, 803, 803, 803
+ } ;
+
+/* The intent behind this definition is that it'll catch
+ * any uses of REJECT which flex missed.
+ */
+#define REJECT reject_used_but_not_detected
+#define yymore() yymore_used_but_not_detected
+#define YY_MORE_ADJ 0
+#define YY_RESTORE_YY_MORE_OFFSET
+
+#include <string>
+#include "parser.h"
+#define yyterminate() return(END)
+
+#define INITIAL 0
+#define MATCH_STRING_STATE 1
+#define MATCH_RESPONSE_CODE_STATE 2
+#define SUPPORTED_METHODS_STATE 3
+#define CONTENT_TYPE_STATE 4
+#define SESSION_STATE 5
+#define MATCH_PRESENTATION_URL 6
+#define NUM_AS_HEX_MODE 7
+
+#ifndef YY_NO_UNISTD_H
+/* Special case for "unistd.h", since it is non-ANSI. We include it way
+ * down here because we want the user's section 1 to have been scanned first.
+ * The user has a chance to override it with an option.
+ */
+#include <unistd.h>
+#endif
+
+#define YY_EXTRA_TYPE bool
+
+/* Holds the entire state of the reentrant scanner. */
+struct yyguts_t
+ {
+
+ /* User-defined. Not touched by flex. */
+ YY_EXTRA_TYPE yyextra_r;
+
+ /* The rest are the same as the globals declared in the non-reentrant scanner. */
+ FILE *yyin_r, *yyout_r;
+ size_t yy_buffer_stack_top; /**< index of top of stack. */
+ size_t yy_buffer_stack_max; /**< capacity of stack. */
+ YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */
+ char yy_hold_char;
+ int yy_n_chars;
+ int yyleng_r;
+ char *yy_c_buf_p;
+ int yy_init;
+ int yy_start;
+ int yy_did_buffer_switch_on_eof;
+ int yy_start_stack_ptr;
+ int yy_start_stack_depth;
+ int *yy_start_stack;
+ yy_state_type yy_last_accepting_state;
+ char* yy_last_accepting_cpos;
+
+ int yylineno_r;
+ int yy_flex_debug_r;
+
+ char *yytext_r;
+ int yy_more_flag;
+ int yy_more_len;
+
+ YYSTYPE * yylval_r;
+
+ }; /* end struct yyguts_t */
+
+static int yy_init_globals (yyscan_t yyscanner );
+
+ /* This must go here because YYSTYPE and YYLTYPE are included
+ * from bison output in section 1.*/
+ # define yylval yyg->yylval_r
+
+int header_lex_init (yyscan_t* scanner);
+
+int header_lex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
+
+/* Accessor methods to globals.
+ These are made visible to non-reentrant scanners for convenience. */
+
+int header_lex_destroy (yyscan_t yyscanner );
+
+int header_get_debug (yyscan_t yyscanner );
+
+void header_set_debug (int debug_flag ,yyscan_t yyscanner );
+
+YY_EXTRA_TYPE header_get_extra (yyscan_t yyscanner );
+
+void header_set_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
+
+FILE *header_get_in (yyscan_t yyscanner );
+
+void header_set_in (FILE * in_str ,yyscan_t yyscanner );
+
+FILE *header_get_out (yyscan_t yyscanner );
+
+void header_set_out (FILE * out_str ,yyscan_t yyscanner );
+
+int header_get_leng (yyscan_t yyscanner );
+
+char *header_get_text (yyscan_t yyscanner );
+
+int header_get_lineno (yyscan_t yyscanner );
+
+void header_set_lineno (int line_number ,yyscan_t yyscanner );
+
+YYSTYPE * header_get_lval (yyscan_t yyscanner );
+
+void header_set_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
+
+/* Macros after this point can all be overridden by user definitions in
+ * section 1.
+ */
+
+#ifndef YY_SKIP_YYWRAP
+#ifdef __cplusplus
+extern "C" int header_wrap (yyscan_t yyscanner );
+#else
+extern int header_wrap (yyscan_t yyscanner );
+#endif
+#endif
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
+#endif
+
+#ifndef YY_NO_INPUT
+
+#ifdef __cplusplus
+static int yyinput (yyscan_t yyscanner );
+#else
+static int input (yyscan_t yyscanner );
+#endif
+
+#endif
+
+/* Amount of stuff to slurp up with each read. */
+#ifndef YY_READ_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k */
+#define YY_READ_BUF_SIZE 16384
+#else
+#define YY_READ_BUF_SIZE 8192
+#endif /* __ia64__ */
+#endif
+
+/* Copy whatever the last rule matched to the standard output. */
+#ifndef ECHO
+/* 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)
+#endif
+
+/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
+ * is returned in "result".
+ */
+#ifndef YY_INPUT
+#define YY_INPUT(buf,result,max_size) \
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
+ { \
+ int c = '*'; \
+ size_t n; \
+ for ( n = 0; n < max_size && \
+ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
+ buf[n] = (char) c; \
+ if ( c == '\n' ) \
+ buf[n++] = (char) c; \
+ if ( c == EOF && ferror( yyin ) ) \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ result = n; \
+ } \
+ else \
+ { \
+ errno=0; \
+ while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
+ { \
+ if( errno != EINTR) \
+ { \
+ YY_FATAL_ERROR( "input in flex scanner failed" ); \
+ break; \
+ } \
+ errno=0; \
+ clearerr(yyin); \
+ } \
+ }\
+\
+
+#endif
+
+/* No semi-colon after return; correct usage is to write "yyterminate();" -
+ * we don't want an extra ';' after the "return" because that will cause
+ * some compilers to complain about unreachable statements.
+ */
+#ifndef yyterminate
+#define yyterminate() return YY_NULL
+#endif
+
+/* Number of entries by which start-condition stack grows. */
+#ifndef YY_START_STACK_INCR
+#define YY_START_STACK_INCR 25
+#endif
+
+/* Report a fatal error. */
+#ifndef YY_FATAL_ERROR
+#define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
+#endif
+
+/* end tables serialization structures and prototypes */
+
+/* Default declaration of generated scanner - a define so the user can
+ * easily add parameters.
+ */
+#ifndef YY_DECL
+#define YY_DECL_IS_OURS 1
+
+extern int header_lex \
+ (YYSTYPE * yylval_param ,yyscan_t yyscanner);
+
+#define YY_DECL int header_lex \
+ (YYSTYPE * yylval_param , yyscan_t yyscanner)
+#endif /* !YY_DECL */
+
+/* Code executed at the beginning of each rule, after yytext and yyleng
+ * have been set up.
+ */
+#ifndef YY_USER_ACTION
+#define YY_USER_ACTION
+#endif
+
+/* Code executed at the end of each rule. */
+#ifndef YY_BREAK
+#define YY_BREAK break;
+#endif
+
+#define YY_RULE_SETUP \
+ if ( yyleng > 0 ) \
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
+ (yytext[yyleng - 1] == '\n'); \
+ YY_USER_ACTION
+
+/** The main scanner function which does all the work.
+ */
+YY_DECL
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp, *yy_bp;
+ register int yy_act;
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ /* skip these */
+
+ yylval = yylval_param;
+
+ if ( !yyg->yy_init )
+ {
+ yyg->yy_init = 1;
+
+#ifdef YY_USER_INIT
+ YY_USER_INIT;
+#endif
+
+ if ( ! yyg->yy_start )
+ yyg->yy_start = 1; /* first start state */
+
+ if ( ! yyin )
+ yyin = stdin;
+
+ if ( ! yyout )
+ yyout = stdout;
+
+ if ( ! YY_CURRENT_BUFFER ) {
+ header_ensure_buffer_stack (yyscanner);
+ YY_CURRENT_BUFFER_LVALUE =
+ header__create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
+ }
+
+ header__load_buffer_state(yyscanner );
+ }
+
+ while ( 1 ) /* loops until end-of-file is reached */
+ {
+ yy_cp = yyg->yy_c_buf_p;
+
+ /* Support of yytext. */
+ *yy_cp = yyg->yy_hold_char;
+
+ /* yy_bp points to the position in yy_ch_buf of the start of
+ * the current run.
+ */
+ yy_bp = yy_cp;
+
+ yy_current_state = yyg->yy_start;
+ yy_current_state += YY_AT_BOL();
+yy_match:
+ do
+ {
+ register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
+ if ( yy_accept[yy_current_state] )
+ {
+ yyg->yy_last_accepting_state = yy_current_state;
+ yyg->yy_last_accepting_cpos = yy_cp;
+ }
+ 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 >= 804 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ ++yy_cp;
+ }
+ while ( yy_current_state != 803 );
+ yy_cp = yyg->yy_last_accepting_cpos;
+ yy_current_state = yyg->yy_last_accepting_state;
+
+yy_find_action:
+ yy_act = yy_accept[yy_current_state];
+
+ YY_DO_BEFORE_ACTION;
+
+do_action: /* This label is used only to access EOF actions. */
+
+ switch ( yy_act )
+ { /* beginning of action switch */
+ case 0: /* must back up */
+ /* undo the effects of YY_DO_BEFORE_ACTION */
+ *yy_cp = yyg->yy_hold_char;
+ yy_cp = yyg->yy_last_accepting_cpos;
+ yy_current_state = yyg->yy_last_accepting_state;
+ goto yy_find_action;
+
+case 1:
+YY_RULE_SETUP
+{ BEGIN(INITIAL); }
+ YY_BREAK
+case 2:
+/* rule 2 can match eol */
+YY_RULE_SETUP
+{ BEGIN(INITIAL); }
+ YY_BREAK
+/* Convert these */
+case 3:
+YY_RULE_SETUP
+{ return '='; }
+ YY_BREAK
+case 4:
+YY_RULE_SETUP
+{ return '-'; }
+ YY_BREAK
+case 5:
+YY_RULE_SETUP
+{ return ','; }
+ YY_BREAK
+case 6:
+YY_RULE_SETUP
+{ return '*'; }
+ YY_BREAK
+case 7:
+YY_RULE_SETUP
+{ return ';'; }
+ YY_BREAK
+case 8:
+YY_RULE_SETUP
+{ return ':'; }
+ YY_BREAK
+case 9:
+YY_RULE_SETUP
+{ return '/'; }
+ YY_BREAK
+case 10:
+YY_RULE_SETUP
+return WFD_SP;
+ YY_BREAK
+case 11:
+YY_RULE_SETUP
+return WFD_TIMEOUT;
+ YY_BREAK
+case 12:
+YY_RULE_SETUP
+return WFD_SERVER_PORT;
+ YY_BREAK
+case 13:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_OPTIONS;
+ }
+ YY_BREAK
+case 14:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_SET_PARAMETER;
+ }
+ YY_BREAK
+case 15:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_GET_PARAMETER;
+ }
+ YY_BREAK
+case 16:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_SETUP;
+ }
+ YY_BREAK
+case 17:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_PLAY;
+ }
+ YY_BREAK
+case 18:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_TEARDOWN;
+ }
+ YY_BREAK
+case 19:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_PAUSE;
+ }
+ YY_BREAK
+/* RTSP response, get reply code, RTSP/1.0 200 OK */
+case 20:
+YY_RULE_SETUP
+{
+ BEGIN(MATCH_RESPONSE_CODE_STATE);
+ return WFD_RESPONSE;
+ }
+ YY_BREAK
+/* CSeq: i */
+case 21:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_CSEQ;
+ }
+ YY_BREAK
+case 22:
+YY_RULE_SETUP
+{
+ BEGIN(SUPPORTED_METHODS_STATE);
+ return WFD_RESPONSE_METHODS;
+ }
+ YY_BREAK
+case 23:
+YY_RULE_SETUP
+{
+ return WFD_SUPPORT_CHECK;
+ }
+ YY_BREAK
+case 24:
+YY_RULE_SETUP
+{
+ BEGIN(CONTENT_TYPE_STATE);
+ return WFD_CONTENT_TYPE;
+ }
+ YY_BREAK
+case 25:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ return WFD_CONTENT_LENGTH;
+ }
+ YY_BREAK
+case 26:
+YY_RULE_SETUP
+{
+ BEGIN(SESSION_STATE);
+ return WFD_SESSION;
+ }
+ YY_BREAK
+case 27:
+YY_RULE_SETUP
+{
+ return WFD_TRANSPORT;
+ }
+ YY_BREAK
+case 28:
+YY_RULE_SETUP
+{
+ BEGIN(MATCH_STRING_STATE);
+ yylval->sval = new std::string(yytext, yyleng - 1);
+ return WFD_HEADER;
+ }
+ YY_BREAK
+case 29:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ yylval->sval = new std::string(yytext, yyleng);
+ return WFD_SESSION_ID;
+ }
+ YY_BREAK
+case 30:
+YY_RULE_SETUP
+{
+ BEGIN(MATCH_STRING_STATE);
+ yylval->nval = atoi(yytext);
+ return WFD_RESPONSE_CODE;
+ }
+ YY_BREAK
+case 31:
+/* rule 31 can match eol */
+*yy_cp = yyg->yy_hold_char; /* undo effects of setting up yytext */
+yyg->yy_c_buf_p = yy_cp -= 2;
+YY_DO_BEFORE_ACTION; /* set up yytext again */
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ yylval->sval = new std::string(yytext);
+ return WFD_STRING;
+ }
+ YY_BREAK
+case 32:
+YY_RULE_SETUP
+{
+ return WFD_OPTIONS;
+ }
+ YY_BREAK
+case 33:
+YY_RULE_SETUP
+{
+ return WFD_SET_PARAMETER;
+ }
+ YY_BREAK
+case 34:
+YY_RULE_SETUP
+{
+ return WFD_GET_PARAMETER;
+ }
+ YY_BREAK
+case 35:
+YY_RULE_SETUP
+{
+ return WFD_SETUP;
+ }
+ YY_BREAK
+case 36:
+YY_RULE_SETUP
+{
+ return WFD_PLAY;
+ }
+ YY_BREAK
+case 37:
+YY_RULE_SETUP
+{
+ return WFD_TEARDOWN;
+ }
+ YY_BREAK
+case 38:
+YY_RULE_SETUP
+{
+ return WFD_PAUSE;
+ }
+ YY_BREAK
+case 39:
+YY_RULE_SETUP
+{
+ return WFD_TAG;
+ }
+ YY_BREAK
+case 40:
+YY_RULE_SETUP
+{
+ yylval->sval = new std::string(yytext);
+ return WFD_PRESENTATION_URL_0;
+ }
+ YY_BREAK
+case 41:
+YY_RULE_SETUP
+{
+ yylval->sval = new std::string(yytext);
+ return WFD_PRESENTATION_URL_1;
+ }
+ YY_BREAK
+case 42:
+YY_RULE_SETUP
+{
+ BEGIN(INITIAL);
+ yylval->sval = new std::string(yytext);
+ return WFD_MIME;
+ }
+ YY_BREAK
+case 43:
+YY_RULE_SETUP
+{
+ std::string str(yytext, yyleng);
+ str += '\0';
+ yylval->nval = strtoull(str.c_str(), NULL, 10);
+ if (errno == ERANGE) {
+ // todo: handle error
+ }
+ return WFD_NUM;
+ }
+ YY_BREAK
+/* RTSP request rule, e.g., OPTIONS * RTSP/1.0 */
+case 44:
+YY_RULE_SETUP
+{
+ return WFD_END;
+ }
+ YY_BREAK
+/* GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 */
+case 45:
+YY_RULE_SETUP
+{
+ yylval->sval = new std::string(yytext);
+ return WFD_REQUEST_URI;
+ }
+ YY_BREAK
+/* all unmatched */
+case 46:
+YY_RULE_SETUP
+{}
+ YY_BREAK
+case 47:
+YY_RULE_SETUP
+YY_FATAL_ERROR( "flex scanner jammed" );
+ YY_BREAK
+case YY_STATE_EOF(INITIAL):
+case YY_STATE_EOF(MATCH_STRING_STATE):
+case YY_STATE_EOF(MATCH_RESPONSE_CODE_STATE):
+case YY_STATE_EOF(SUPPORTED_METHODS_STATE):
+case YY_STATE_EOF(CONTENT_TYPE_STATE):
+case YY_STATE_EOF(SESSION_STATE):
+case YY_STATE_EOF(MATCH_PRESENTATION_URL):
+case YY_STATE_EOF(NUM_AS_HEX_MODE):
+ yyterminate();
+
+ case YY_END_OF_BUFFER:
+ {
+ /* Amount of text matched not including the EOB char. */
+ int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
+
+ /* Undo the effects of YY_DO_BEFORE_ACTION. */
+ *yy_cp = yyg->yy_hold_char;
+ YY_RESTORE_YY_MORE_OFFSET
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
+ {
+ /* We're scanning a new file or input source. It's
+ * possible that this happened because the user
+ * just pointed yyin at a new source and called
+ * header_lex(). If so, then we have to assure
+ * consistency between YY_CURRENT_BUFFER and our
+ * globals. Here is the right place to do so, because
+ * this is the first action (other than possibly a
+ * back-up) that will match for the new input source.
+ */
+ yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
+ }
+
+ /* Note that here we test for yy_c_buf_p "<=" to the position
+ * of the first EOB in the buffer, since yy_c_buf_p will
+ * already have been incremented past the NUL character
+ * (since all states make transitions on EOB to the
+ * end-of-buffer state). Contrast this with the test
+ * in input().
+ */
+ if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
+ { /* This was really a NUL. */
+ yy_state_type yy_next_state;
+
+ yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( yyscanner );
+
+ /* Okay, we're now positioned to make the NUL
+ * transition. We couldn't have
+ * yy_get_previous_state() go ahead and do it
+ * for us because it doesn't know how to deal
+ * with the possibility of jamming (and we don't
+ * want to build jamming into it because then it
+ * will run more slowly).
+ */
+
+ yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
+
+ yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
+
+ if ( yy_next_state )
+ {
+ /* Consume the NUL. */
+ yy_cp = ++yyg->yy_c_buf_p;
+ yy_current_state = yy_next_state;
+ goto yy_match;
+ }
+
+ else
+ {
+ yy_cp = yyg->yy_last_accepting_cpos;
+ yy_current_state = yyg->yy_last_accepting_state;
+ goto yy_find_action;
+ }
+ }
+
+ else switch ( yy_get_next_buffer( yyscanner ) )
+ {
+ case EOB_ACT_END_OF_FILE:
+ {
+ yyg->yy_did_buffer_switch_on_eof = 0;
+
+ if ( header_wrap(yyscanner ) )
+ {
+ /* Note: because we've taken care in
+ * yy_get_next_buffer() to have set up
+ * yytext, we can now set up
+ * yy_c_buf_p so that if some total
+ * hoser (like flex itself) wants to
+ * call the scanner after we return the
+ * YY_NULL, it'll still work - another
+ * YY_NULL will get returned.
+ */
+ yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
+
+ yy_act = YY_STATE_EOF(YY_START);
+ goto do_action;
+ }
+
+ else
+ {
+ if ( ! yyg->yy_did_buffer_switch_on_eof )
+ YY_NEW_FILE;
+ }
+ break;
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ yyg->yy_c_buf_p =
+ yyg->yytext_ptr + yy_amount_of_matched_text;
+
+ yy_current_state = yy_get_previous_state( yyscanner );
+
+ yy_cp = yyg->yy_c_buf_p;
+ yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
+ goto yy_match;
+
+ case EOB_ACT_LAST_MATCH:
+ yyg->yy_c_buf_p =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
+
+ yy_current_state = yy_get_previous_state( yyscanner );
+
+ yy_cp = yyg->yy_c_buf_p;
+ yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
+ goto yy_find_action;
+ }
+ break;
+ }
+
+ default:
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--no action found" );
+ } /* end of action switch */
+ } /* end of scanning one token */
+} /* end of header_lex */
+
+/* yy_get_next_buffer - try to read in a new buffer
+ *
+ * Returns a code representing an action:
+ * EOB_ACT_LAST_MATCH -
+ * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
+ * EOB_ACT_END_OF_FILE - end of file
+ */
+static int yy_get_next_buffer (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ register char *source = yyg->yytext_ptr;
+ register int number_to_move, i;
+ int ret_val;
+
+ if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
+ YY_FATAL_ERROR(
+ "fatal flex scanner internal error--end of buffer missed" );
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
+ { /* Don't try to fill the buffer, so this is an EOF. */
+ if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
+ {
+ /* We matched a single character, the EOB, so
+ * treat this as a final EOF.
+ */
+ return EOB_ACT_END_OF_FILE;
+ }
+
+ else
+ {
+ /* We matched some text prior to the EOB, first
+ * process it.
+ */
+ return EOB_ACT_LAST_MATCH;
+ }
+ }
+
+ /* Try to read more data. */
+
+ /* First move last chars to start of buffer. */
+ number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
+
+ for ( i = 0; i < number_to_move; ++i )
+ *(dest++) = *(source++);
+
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
+ /* don't do the read, it's not guaranteed to return an EOF,
+ * just force an EOF
+ */
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
+
+ else
+ {
+ 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;
+
+ int yy_c_buf_p_offset =
+ (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
+
+ if ( b->yy_is_our_buffer )
+ {
+ int new_size = b->yy_buf_size * 2;
+
+ if ( new_size <= 0 )
+ b->yy_buf_size += b->yy_buf_size / 8;
+ else
+ b->yy_buf_size *= 2;
+
+ b->yy_ch_buf = (char *)
+ /* Include room in for 2 EOB chars. */
+ header_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
+ }
+ else
+ /* Can't grow it, we don't own it. */
+ b->yy_ch_buf = 0;
+
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR(
+ "fatal error - scanner input buffer overflow" );
+
+ yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
+
+ num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
+ number_to_move - 1;
+
+ }
+
+ if ( num_to_read > YY_READ_BUF_SIZE )
+ num_to_read = YY_READ_BUF_SIZE;
+
+ /* Read in more data. */
+ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
+ yyg->yy_n_chars, (size_t) num_to_read );
+
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
+ }
+
+ if ( yyg->yy_n_chars == 0 )
+ {
+ if ( number_to_move == YY_MORE_ADJ )
+ {
+ ret_val = EOB_ACT_END_OF_FILE;
+ header_restart(yyin ,yyscanner);
+ }
+
+ else
+ {
+ ret_val = EOB_ACT_LAST_MATCH;
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
+ YY_BUFFER_EOF_PENDING;
+ }
+ }
+
+ else
+ ret_val = EOB_ACT_CONTINUE_SCAN;
+
+ if ((yy_size_t) (yyg->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 = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) header_realloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner );
+ if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+ }
+
+ yyg->yy_n_chars += number_to_move;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
+
+ yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
+
+ return ret_val;
+}
+
+/* yy_get_previous_state - get the state just before the EOB char was reached */
+
+ static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
+{
+ register yy_state_type yy_current_state;
+ register char *yy_cp;
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ yy_current_state = yyg->yy_start;
+ yy_current_state += YY_AT_BOL();
+
+ for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
+ {
+ register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
+ if ( yy_accept[yy_current_state] )
+ {
+ yyg->yy_last_accepting_state = yy_current_state;
+ yyg->yy_last_accepting_cpos = yy_cp;
+ }
+ 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 >= 804 )
+ yy_c = yy_meta[(unsigned int) yy_c];
+ }
+ yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
+ }
+
+ return yy_current_state;
+}
+
+/* yy_try_NUL_trans - try to make a transition on the NUL character
+ *
+ * synopsis
+ * next_state = yy_try_NUL_trans( current_state );
+ */
+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
+{
+ register int yy_is_jam;
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
+ register char *yy_cp = yyg->yy_c_buf_p;
+
+ register YY_CHAR yy_c = 1;
+ if ( yy_accept[yy_current_state] )
+ {
+ yyg->yy_last_accepting_state = yy_current_state;
+ yyg->yy_last_accepting_cpos = yy_cp;
+ }
+ 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 >= 804 )
+ 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 == 803);
+
+ return yy_is_jam ? 0 : yy_current_state;
+}
+
+#ifndef YY_NO_INPUT
+#ifdef __cplusplus
+ static int yyinput (yyscan_t yyscanner)
+#else
+ static int input (yyscan_t yyscanner)
+#endif
+
+{
+ int c;
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ *yyg->yy_c_buf_p = yyg->yy_hold_char;
+
+ if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
+ {
+ /* yy_c_buf_p now points to the character we want to return.
+ * If this occurs *before* the EOB characters, then it's a
+ * valid NUL; if not, then we've hit the end of the buffer.
+ */
+ if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
+ /* This was really a NUL. */
+ *yyg->yy_c_buf_p = '\0';
+
+ else
+ { /* need more input */
+ int offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
+ ++yyg->yy_c_buf_p;
+
+ switch ( yy_get_next_buffer( yyscanner ) )
+ {
+ case EOB_ACT_LAST_MATCH:
+ /* This happens because yy_g_n_b()
+ * sees that we've accumulated a
+ * token and flags that we need to
+ * try matching the token before
+ * proceeding. But for input(),
+ * there's no matching to consider.
+ * So convert the EOB_ACT_LAST_MATCH
+ * to EOB_ACT_END_OF_FILE.
+ */
+
+ /* Reset buffer status. */
+ header_restart(yyin ,yyscanner);
+
+ /*FALLTHROUGH*/
+
+ case EOB_ACT_END_OF_FILE:
+ {
+ if ( header_wrap(yyscanner ) )
+ return EOF;
+
+ if ( ! yyg->yy_did_buffer_switch_on_eof )
+ YY_NEW_FILE;
+#ifdef __cplusplus
+ return yyinput(yyscanner);
+#else
+ return input(yyscanner);
+#endif
+ }
+
+ case EOB_ACT_CONTINUE_SCAN:
+ yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
+ break;
+ }
+ }
+ }
+
+ c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
+ *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
+ yyg->yy_hold_char = *++yyg->yy_c_buf_p;
+
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
+
+ return c;
+}
+#endif /* ifndef YY_NO_INPUT */
+
+/** Immediately switch to a different input stream.
+ * @param input_file A readable stream.
+ * @param yyscanner The scanner object.
+ * @note This function does not reset the start condition to @c INITIAL .
+ */
+ void header_restart (FILE * input_file , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ if ( ! YY_CURRENT_BUFFER ){
+ header_ensure_buffer_stack (yyscanner);
+ YY_CURRENT_BUFFER_LVALUE =
+ header__create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
+ }
+
+ header__init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner);
+ header__load_buffer_state(yyscanner );
+}
+
+/** Switch to a different input buffer.
+ * @param new_buffer The new input buffer.
+ * @param yyscanner The scanner object.
+ */
+ void header__switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ /* TODO. We should be able to replace this entire function body
+ * with
+ * header_pop_buffer_state();
+ * header_push_buffer_state(new_buffer);
+ */
+ header_ensure_buffer_stack (yyscanner);
+ if ( YY_CURRENT_BUFFER == new_buffer )
+ return;
+
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *yyg->yy_c_buf_p = yyg->yy_hold_char;
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
+ }
+
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+ header__load_buffer_state(yyscanner );
+
+ /* We don't actually know whether we did this switch during
+ * EOF (header_wrap()) processing, but the only time this flag
+ * is looked at is after header_wrap() is called, so it's safe
+ * to go ahead and always set it.
+ */
+ yyg->yy_did_buffer_switch_on_eof = 1;
+}
+
+static void header__load_buffer_state (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
+ yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
+ yyg->yy_hold_char = *yyg->yy_c_buf_p;
+}
+
+/** Allocate and initialize an input buffer state.
+ * @param file A readable stream.
+ * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
+ * @param yyscanner The scanner object.
+ * @return the allocated buffer state.
+ */
+ YY_BUFFER_STATE header__create_buffer (FILE * file, int size , yyscan_t yyscanner)
+{
+ YY_BUFFER_STATE b;
+
+ b = (YY_BUFFER_STATE) header_alloc(sizeof( struct yy_buffer_state ) ,yyscanner );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in header__create_buffer()" );
+
+ b->yy_buf_size = 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.
+ */
+ b->yy_ch_buf = (char *) header_alloc(b->yy_buf_size + 2 ,yyscanner );
+ if ( ! b->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in header__create_buffer()" );
+
+ b->yy_is_our_buffer = 1;
+
+ header__init_buffer(b,file ,yyscanner);
+
+ return b;
+}
+
+/** Destroy the buffer.
+ * @param b a buffer created with header__create_buffer()
+ * @param yyscanner The scanner object.
+ */
+ void header__delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ if ( ! b )
+ return;
+
+ if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
+ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
+
+ if ( b->yy_is_our_buffer )
+ header_free((void *) b->yy_ch_buf ,yyscanner );
+
+ header_free((void *) b ,yyscanner );
+}
+
+/* Initializes or reinitializes a buffer.
+ * This function is sometimes called more than once on the same buffer,
+ * such as during a header_restart() or at EOF.
+ */
+ static void header__init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner)
+
+{
+ int oerrno = errno;
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ header__flush_buffer(b ,yyscanner);
+
+ b->yy_input_file = file;
+ b->yy_fill_buffer = 1;
+
+ /* If b is the current buffer, then header__init_buffer was _probably_
+ * called from header_restart() or through yy_get_next_buffer.
+ * In that case, we don't want to reset the lineno or column.
+ */
+ if (b != YY_CURRENT_BUFFER){
+ b->yy_bs_lineno = 1;
+ b->yy_bs_column = 0;
+ }
+
+ b->yy_is_interactive = 0;
+
+ errno = oerrno;
+}
+
+/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
+ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
+ * @param yyscanner The scanner object.
+ */
+ void header__flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ if ( ! b )
+ return;
+
+ b->yy_n_chars = 0;
+
+ /* We always need two end-of-buffer characters. The first causes
+ * a transition to the end-of-buffer state. The second causes
+ * a jam in that state.
+ */
+ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
+ b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
+
+ b->yy_buf_pos = &b->yy_ch_buf[0];
+
+ b->yy_at_bol = 1;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ if ( b == YY_CURRENT_BUFFER )
+ header__load_buffer_state(yyscanner );
+}
+
+/** Pushes the new state onto the stack. The new state becomes
+ * the current state. This function will allocate the stack
+ * if necessary.
+ * @param new_buffer The new state.
+ * @param yyscanner The scanner object.
+ */
+void header_push_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ if (new_buffer == NULL)
+ return;
+
+ header_ensure_buffer_stack(yyscanner);
+
+ /* This block is copied from header__switch_to_buffer. */
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *yyg->yy_c_buf_p = yyg->yy_hold_char;
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
+ }
+
+ /* Only push if top exists. Otherwise, replace top. */
+ if (YY_CURRENT_BUFFER)
+ yyg->yy_buffer_stack_top++;
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+
+ /* copied from header__switch_to_buffer. */
+ header__load_buffer_state(yyscanner );
+ yyg->yy_did_buffer_switch_on_eof = 1;
+}
+
+/** Removes and deletes the top of the stack, if present.
+ * The next element becomes the new top.
+ * @param yyscanner The scanner object.
+ */
+void header_pop_buffer_state (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ if (!YY_CURRENT_BUFFER)
+ return;
+
+ header__delete_buffer(YY_CURRENT_BUFFER ,yyscanner);
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ if (yyg->yy_buffer_stack_top > 0)
+ --yyg->yy_buffer_stack_top;
+
+ if (YY_CURRENT_BUFFER) {
+ header__load_buffer_state(yyscanner );
+ yyg->yy_did_buffer_switch_on_eof = 1;
+ }
+}
+
+/* Allocates the stack if it does not exist.
+ * Guarantees space for at least one push.
+ */
+static void header_ensure_buffer_stack (yyscan_t yyscanner)
+{
+ int num_to_alloc;
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ if (!yyg->yy_buffer_stack) {
+
+ /* First allocation is just for 2 elements, since we don't know if this
+ * 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;
+ yyg->yy_buffer_stack = (struct yy_buffer_state**)header_alloc
+ (num_to_alloc * sizeof(struct yy_buffer_state*)
+ , yyscanner);
+ if ( ! yyg->yy_buffer_stack )
+ YY_FATAL_ERROR( "out of dynamic memory in header_ensure_buffer_stack()" );
+
+ memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
+
+ yyg->yy_buffer_stack_max = num_to_alloc;
+ yyg->yy_buffer_stack_top = 0;
+ return;
+ }
+
+ if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
+
+ /* Increase the buffer to prepare for a possible push. */
+ int grow_size = 8 /* arbitrary grow size */;
+
+ num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
+ yyg->yy_buffer_stack = (struct yy_buffer_state**)header_realloc
+ (yyg->yy_buffer_stack,
+ num_to_alloc * sizeof(struct yy_buffer_state*)
+ , yyscanner);
+ if ( ! yyg->yy_buffer_stack )
+ YY_FATAL_ERROR( "out of dynamic memory in header_ensure_buffer_stack()" );
+
+ /* zero only the new slots.*/
+ memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
+ yyg->yy_buffer_stack_max = num_to_alloc;
+ }
+}
+
+/** Setup the input buffer state to scan directly from a user-specified character buffer.
+ * @param base the character buffer
+ * @param size the size in bytes of the character buffer
+ * @param yyscanner The scanner object.
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE header__scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner)
+{
+ YY_BUFFER_STATE b;
+
+ if ( size < 2 ||
+ base[size-2] != YY_END_OF_BUFFER_CHAR ||
+ base[size-1] != YY_END_OF_BUFFER_CHAR )
+ /* They forgot to leave room for the EOB's. */
+ return 0;
+
+ b = (YY_BUFFER_STATE) header_alloc(sizeof( struct yy_buffer_state ) ,yyscanner );
+ if ( ! b )
+ YY_FATAL_ERROR( "out of dynamic memory in header__scan_buffer()" );
+
+ b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
+ b->yy_buf_pos = b->yy_ch_buf = base;
+ b->yy_is_our_buffer = 0;
+ b->yy_input_file = 0;
+ b->yy_n_chars = b->yy_buf_size;
+ b->yy_is_interactive = 0;
+ b->yy_at_bol = 1;
+ b->yy_fill_buffer = 0;
+ b->yy_buffer_status = YY_BUFFER_NEW;
+
+ header__switch_to_buffer(b ,yyscanner );
+
+ return b;
+}
+
+/** Setup the input buffer state to scan a string. The next call to header_lex() will
+ * scan from a @e copy of @a str.
+ * @param yystr a NUL-terminated string to scan
+ * @param yyscanner The scanner object.
+ * @return the newly allocated buffer state object.
+ * @note If you want to scan bytes that may contain NUL values, then use
+ * header__scan_bytes() instead.
+ */
+YY_BUFFER_STATE header__scan_string (yyconst char * yystr , yyscan_t yyscanner)
+{
+
+ return header__scan_bytes(yystr,strlen(yystr) ,yyscanner);
+}
+
+/** Setup the input buffer state to scan the given bytes. The next call to header_lex() will
+ * scan from a @e copy of @a bytes.
+ * @param yybytes the byte buffer to scan
+ * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
+ * @param yyscanner The scanner object.
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE header__scan_bytes (yyconst char * yybytes, int _yybytes_len , yyscan_t yyscanner)
+{
+ YY_BUFFER_STATE b;
+ char *buf;
+ yy_size_t n;
+ int i;
+
+ /* Get memory for full buffer, including space for trailing EOB's. */
+ n = _yybytes_len + 2;
+ buf = (char *) header_alloc(n ,yyscanner );
+ if ( ! buf )
+ YY_FATAL_ERROR( "out of dynamic memory in header__scan_bytes()" );
+
+ for ( i = 0; i < _yybytes_len; ++i )
+ buf[i] = yybytes[i];
+
+ buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
+
+ b = header__scan_buffer(buf,n ,yyscanner);
+ if ( ! b )
+ YY_FATAL_ERROR( "bad buffer in header__scan_bytes()" );
+
+ /* It's okay to grow etc. this buffer, and we should throw it
+ * away when we're done.
+ */
+ b->yy_is_our_buffer = 1;
+
+ return b;
+}
+
+#ifndef YY_EXIT_FAILURE
+#define YY_EXIT_FAILURE 2
+#endif
+
+static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
+{
+ (void) fprintf( stderr, "%s\n", msg );
+ exit( YY_EXIT_FAILURE );
+}
+
+/* Redefine yyless() so it works in section 3 code. */
+
+#undef yyless
+#define yyless(n) \
+ do \
+ { \
+ /* Undo effects of setting up yytext. */ \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ yytext[yyleng] = yyg->yy_hold_char; \
+ yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
+ yyg->yy_hold_char = *yyg->yy_c_buf_p; \
+ *yyg->yy_c_buf_p = '\0'; \
+ yyleng = yyless_macro_arg; \
+ } \
+ while ( 0 )
+
+/* Accessor methods (get/set functions) to struct members. */
+
+/** Get the user-defined data for this scanner.
+ * @param yyscanner The scanner object.
+ */
+YY_EXTRA_TYPE header_get_extra (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ return yyextra;
+}
+
+/** Get the current line number.
+ * @param yyscanner The scanner object.
+ */
+int header_get_lineno (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ if (! YY_CURRENT_BUFFER)
+ return 0;
+
+ return yylineno;
+}
+
+/** Get the current column number.
+ * @param yyscanner The scanner object.
+ */
+int header_get_column (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ if (! YY_CURRENT_BUFFER)
+ return 0;
+
+ return yycolumn;
+}
+
+/** Get the input stream.
+ * @param yyscanner The scanner object.
+ */
+FILE *header_get_in (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ return yyin;
+}
+
+/** Get the output stream.
+ * @param yyscanner The scanner object.
+ */
+FILE *header_get_out (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ return yyout;
+}
+
+/** Get the length of the current token.
+ * @param yyscanner The scanner object.
+ */
+int header_get_leng (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ return yyleng;
+}
+
+/** Get the current token.
+ * @param yyscanner The scanner object.
+ */
+
+char *header_get_text (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ return yytext;
+}
+
+/** Set the user-defined data. This data is never touched by the scanner.
+ * @param user_defined The data to be associated with this scanner.
+ * @param yyscanner The scanner object.
+ */
+void header_set_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ yyextra = user_defined ;
+}
+
+/** Set the current line number.
+ * @param line_number
+ * @param yyscanner The scanner object.
+ */
+void header_set_lineno (int line_number , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ /* lineno is only valid if an input buffer exists. */
+ if (! YY_CURRENT_BUFFER )
+ yy_fatal_error( "header_set_lineno called with no buffer" , yyscanner);
+
+ yylineno = line_number;
+}
+
+/** Set the current column.
+ * @param line_number
+ * @param yyscanner The scanner object.
+ */
+void header_set_column (int column_no , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ /* column is only valid if an input buffer exists. */
+ if (! YY_CURRENT_BUFFER )
+ yy_fatal_error( "header_set_column called with no buffer" , yyscanner);
+
+ yycolumn = column_no;
+}
+
+/** Set the input stream. This does not discard the current
+ * input buffer.
+ * @param in_str A readable stream.
+ * @param yyscanner The scanner object.
+ * @see header__switch_to_buffer
+ */
+void header_set_in (FILE * in_str , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ yyin = in_str ;
+}
+
+void header_set_out (FILE * out_str , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ yyout = out_str ;
+}
+
+int header_get_debug (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ return yy_flex_debug;
+}
+
+void header_set_debug (int bdebug , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ yy_flex_debug = bdebug ;
+}
+
+/* Accessor methods for yylval and yylloc */
+
+YYSTYPE * header_get_lval (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ return yylval;
+}
+
+void header_set_lval (YYSTYPE * yylval_param , yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ yylval = yylval_param;
+}
+
+/* User-visible API */
+
+/* header_lex_init is special because it creates the scanner itself, so it is
+ * the ONLY reentrant function that doesn't take the scanner as the last argument.
+ * That's why we explicitly handle the declaration, instead of using our macros.
+ */
+
+int header_lex_init(yyscan_t* ptr_yy_globals)
+
+{
+ if (ptr_yy_globals == NULL){
+ errno = EINVAL;
+ return 1;
+ }
+
+ *ptr_yy_globals = (yyscan_t) header_alloc ( sizeof( struct yyguts_t ), NULL );
+
+ if (*ptr_yy_globals == NULL){
+ errno = ENOMEM;
+ return 1;
+ }
+
+ /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */
+ memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
+
+ return yy_init_globals ( *ptr_yy_globals );
+}
+
+/* header_lex_init_extra has the same functionality as header_lex_init, but follows the
+ * convention of taking the scanner as the last argument. Note however, that
+ * this is a *pointer* to a scanner, as it will be allocated by this call (and
+ * is the reason, too, why this function also must handle its own declaration).
+ * The user defined value in the first argument will be available to header_alloc in
+ * the yyextra field.
+ */
+
+int header_lex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals )
+
+{
+ struct yyguts_t dummy_yyguts;
+
+ header_set_extra (yy_user_defined, &dummy_yyguts);
+
+ if (ptr_yy_globals == NULL){
+ errno = EINVAL;
+ return 1;
+ }
+
+ *ptr_yy_globals = (yyscan_t) header_alloc ( sizeof( struct yyguts_t ), &dummy_yyguts );
+
+ if (*ptr_yy_globals == NULL){
+ errno = ENOMEM;
+ return 1;
+ }
+
+ /* By setting to 0xAA, we expose bugs in
+ yy_init_globals. Leave at 0x00 for releases. */
+ memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
+
+ header_set_extra (yy_user_defined, *ptr_yy_globals);
+
+ return yy_init_globals ( *ptr_yy_globals );
+}
+
+static int yy_init_globals (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+ /* Initialization is the same as for the non-reentrant scanner.
+ * This function is called from header_lex_destroy(), so don't allocate here.
+ */
+
+ yyg->yy_buffer_stack = 0;
+ yyg->yy_buffer_stack_top = 0;
+ yyg->yy_buffer_stack_max = 0;
+ yyg->yy_c_buf_p = (char *) 0;
+ yyg->yy_init = 0;
+ yyg->yy_start = 0;
+
+ yyg->yy_start_stack_ptr = 0;
+ yyg->yy_start_stack_depth = 0;
+ yyg->yy_start_stack = NULL;
+
+/* Defined in main.c */
+#ifdef YY_STDINIT
+ yyin = stdin;
+ yyout = stdout;
+#else
+ yyin = (FILE *) 0;
+ yyout = (FILE *) 0;
+#endif
+
+ /* For future reference: Set errno on error, since we are called by
+ * header_lex_init()
+ */
+ return 0;
+}
+
+/* header_lex_destroy is for both reentrant and non-reentrant scanners. */
+int header_lex_destroy (yyscan_t yyscanner)
+{
+ struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
+
+ /* Pop the buffer stack, destroying each element. */
+ while(YY_CURRENT_BUFFER){
+ header__delete_buffer(YY_CURRENT_BUFFER ,yyscanner );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ header_pop_buffer_state(yyscanner);
+ }
+
+ /* Destroy the stack itself. */
+ header_free(yyg->yy_buffer_stack ,yyscanner);
+ yyg->yy_buffer_stack = NULL;
+
+ /* Destroy the start condition stack. */
+ header_free(yyg->yy_start_stack ,yyscanner );
+ yyg->yy_start_stack = NULL;
+
+ /* Reset the globals. This is important in a non-reentrant scanner so the next time
+ * header_lex() is called, initialization will occur. */
+ yy_init_globals( yyscanner);
+
+ /* Destroy the main struct (reentrant only). */
+ header_free ( yyscanner , yyscanner );
+ yyscanner = NULL;
+ return 0;
+}
+
+/*
+ * Internal utility routines.
+ */
+
+#ifndef yytext_ptr
+static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
+{
+ register int i;
+ for ( i = 0; i < n; ++i )
+ s1[i] = s2[i];
+}
+#endif
+
+#ifdef YY_NEED_STRLEN
+static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
+{
+ register int n;
+ for ( n = 0; s[n]; ++n )
+ ;
+
+ return n;
+}
+#endif
+
+void *header_alloc (yy_size_t size , yyscan_t yyscanner)
+{
+ return (void *) malloc( size );
+}
+
+void *header_realloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
+{
+ /* 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
+ * because both ANSI C and C++ allow castless assignment from
+ * any pointer type to void*, and deal with argument conversions
+ * as though doing an assignment.
+ */
+ return (void *) realloc( (char *) ptr, size );
+}
+
+void header_free (void * ptr , yyscan_t yyscanner)
+{
+ free( (char *) ptr ); /* see header_realloc() for (char *) cast */
+}
+
+#define YYTABLES_NAME "yytables"
+

Powered by Google App Engine
This is Rietveld 408576698