-/* A lexical scanner generated by flex */
-/* Scanner skeleton version:
- * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $
- */
+#line 3 "lexer.c"
+
+#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 <unistd.h>
+#include <string.h>
+#include <errno.h>
+#include <stdlib.h>
+/* end standard C headers. */
-/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
-#ifdef c_plusplus
-#ifndef __cplusplus
-#define __cplusplus
-#endif
+/* 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;
-#ifdef __cplusplus
+/* 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
-#include <stdlib.h>
+#endif /* ! C99 */
+
+#endif /* ! FLEXINT_H */
-/* Use prototypes in function declarations. */
-#define YY_USE_PROTOS
+#ifdef __cplusplus
/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
-#if __STDC__
+/* C99 requires __STDC__ to be defined as 1. */
+#if defined (__STDC__)
-#define YY_USE_PROTOS
#define YY_USE_CONST
-#endif /* __STDC__ */
+#endif /* defined (__STDC__) */
#endif /* ! __cplusplus */
-#ifdef __TURBOC__
- #pragma warn -rch
- #pragma warn -use
-#include <io.h>
-#include <stdlib.h>
-#define YY_USE_CONST
-#define YY_USE_PROTOS
-#endif
-
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
-
-#ifdef YY_USE_PROTOS
-#define YY_PROTO(proto) proto
-#else
-#define YY_PROTO(proto) ()
-#endif
-
/* Returned upon end-of-file. */
#define YY_NULL 0
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
-#define BEGIN yy_start = 1 + 2 *
+#define BEGIN (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 ((yy_start - 1) / 2)
+#define YY_START (((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 yyrestart( yyin )
+#define YY_NEW_FILE yyrestart(yyin )
#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
extern int yyleng;
+
extern FILE *yyin, *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
-/* The funky do-while in the following #define is used to turn the definition
- * int a single C statement (which needs a semi-colon terminator). This
- * avoids problems with code like:
- *
- * if ( condition_holds )
- * yyless( 5 );
- * else
- * do_something_else();
- *
- * Prior to using the do-while the compiler would get upset at the
- * "else" because it interpreted the "if" statement as being all
- * done when it reached the ';' after the yyless() call.
- */
-
-/* Return all but the first 'n' matched characters back to the input stream. */
-
+ #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. */ \
- *yy_cp = yy_hold_char; \
+ int yyless_macro_arg = (n); \
+ YY_LESS_LINENO(yyless_macro_arg);\
+ *yy_cp = (yy_hold_char); \
YY_RESTORE_YY_MORE_OFFSET \
- yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
+ (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, yytext_ptr )
-
-/* The following is because we cannot portably get our hands on size_t
- * (without autoconf's help, which isn't available because we want
- * flex-generated scanners to compile on their own).
- */
-typedef unsigned int yy_size_t;
+#define unput(c) yyunput( c, (yytext_ptr) )
+#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;
*/
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
* just pointing yyin at a new input file.
*/
#define YY_BUFFER_EOF_PENDING 2
+
};
+#endif /* !YY_STRUCT_YY_BUFFER_STATE */
-static YY_BUFFER_STATE yy_current_buffer = 0;
+/* Stack of input buffers. */
+static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
+static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
+static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
/* 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 yy_current_buffer
+#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
+ ? (yy_buffer_stack)[(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 (yy_buffer_stack)[(yy_buffer_stack_top)]
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
-
static int yy_n_chars; /* number of characters read into yy_ch_buf */
-
-
int yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
-static int yy_init = 1; /* whether we need to initialize */
+static int yy_init = 0; /* whether we need to initialize */
static int yy_start = 0; /* start state number */
/* Flag which is used to allow yywrap()'s to do buffer switches
*/
static int yy_did_buffer_switch_on_eof;
-void yyrestart YY_PROTO(( FILE *input_file ));
+void yyrestart (FILE *input_file );
+void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
+YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
+void yy_delete_buffer (YY_BUFFER_STATE b );
+void yy_flush_buffer (YY_BUFFER_STATE b );
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
+void yypop_buffer_state (void );
+
+static void yyensure_buffer_stack (void );
+static void yy_load_buffer_state (void );
+static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
-void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
-void yy_load_buffer_state YY_PROTO(( void ));
-YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
-void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
-void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
+#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
-YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
-YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
-YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
+YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
+YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
+YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
-static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
-static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
-static void yy_flex_free YY_PROTO(( void * ));
+void *yyalloc (yy_size_t );
+void *yyrealloc (void *,yy_size_t );
+void yyfree (void * );
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
{ \
- if ( ! yy_current_buffer ) \
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
- yy_current_buffer->yy_is_interactive = is_interactive; \
+ if ( ! YY_CURRENT_BUFFER ){ \
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
#define yy_set_bol(at_bol) \
{ \
- if ( ! yy_current_buffer ) \
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
- yy_current_buffer->yy_at_bol = at_bol; \
+ if ( ! YY_CURRENT_BUFFER ){\
+ yyensure_buffer_stack (); \
+ YY_CURRENT_BUFFER_LVALUE = \
+ yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ } \
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
-#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
+#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
+/* Begin user sect3 */
-#define YY_USES_REJECT
typedef unsigned char YY_CHAR;
+
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
+
typedef int yy_state_type;
+
+extern int yylineno;
+
+int yylineno = 1;
+
extern char *yytext;
#define yytext_ptr yytext
-static yy_state_type yy_get_previous_state YY_PROTO(( void ));
-static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
-static int yy_get_next_buffer YY_PROTO(( void ));
-static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
+static yy_state_type yy_get_previous_state (void );
+static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
+static int yy_get_next_buffer (void );
+static void yy_fatal_error (yyconst char msg[] );
/* Done after the current pattern has been matched and before the
* corresponding action - sets up yytext.
*/
#define YY_DO_BEFORE_ACTION \
- yytext_ptr = yy_bp; \
- yyleng = (int) (yy_cp - yy_bp); \
- yy_hold_char = *yy_cp; \
+ (yytext_ptr) = yy_bp; \
+ yyleng = (size_t) (yy_cp - yy_bp); \
+ (yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
- yy_c_buf_p = yy_cp;
+ (yy_c_buf_p) = yy_cp;
-#define YY_NUM_RULES 110
-#define YY_END_OF_BUFFER 111
-static yyconst short int yy_acclist[606] =
+#define YY_NUM_RULES 121
+#define YY_END_OF_BUFFER 122
+/* 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_acclist[652] =
{ 0,
- 111, 108, 110, 107, 108, 110, 1, 109, 110, 108,
- 109, 110, 108, 110, 108, 110, 108, 110, 98, 108,
- 110, 98, 108, 110, 108, 110, 101, 108, 110, 101,
- 108, 110, 101, 108, 110, 101, 108, 110, 107, 108,
- 110, 108, 110, 108, 110, 101, 108, 110, 27, 108,
- 110, 1, 28, 109, 110, 27, 108, 109, 110, 27,
- 108, 110, 27, 108, 110, 27, 108, 110, 51, 108,
- 110, 1, 52, 109, 110, 51, 108, 109, 110, 43,
- 51, 108, 110, 51, 108, 110, 51, 108, 110, 51,
- 108, 110, 49, 51, 108, 110, 50, 51, 108, 110,
-
- 51, 108, 110, 51, 108, 110, 47, 108, 110, 1,
- 48, 109, 110, 47, 108, 109, 110, 46, 47, 108,
- 110, 47, 108, 110, 47, 108, 110, 108, 110, 101,
- 108, 110, 101, 108, 110, 101, 108, 110, 104, 108,
- 110, 108, 110, 108, 110, 108, 110, 101, 108, 110,
- 101, 108, 110, 101, 108, 110, 101, 108, 110, 101,
- 108, 110, 101, 108, 110, 101, 108, 110, 101, 108,
- 110, 101, 108, 110, 101, 108, 110, 101, 108, 110,
- 101, 108, 110, 105, 108, 110, 106, 108, 110, 95,
- 108, 110, 44, 108, 110, 96, 108, 110, 97, 108,
-
- 110, 101, 108, 110, 101, 108, 110, 101, 108, 110,
- 101, 108, 110, 101, 108, 110, 101, 108, 110, 101,
- 108, 110, 101, 108, 110, 101, 108, 110, 101, 108,
- 110, 101, 108, 110, 101, 108, 110, 10, 108, 110,
- 10, 108, 109, 110, 10, 108, 110, 10, 108, 110,
- 10, 108, 110, 10, 108, 110, 15, 108, 110, 15,
- 108, 109, 110, 15, 108, 110, 15, 108, 110, 15,
- 108, 110, 15, 108, 110, 18, 108, 110, 18, 108,
- 109, 110, 18, 108, 110, 18, 108, 110, 98, 22,
- 98, 98, 100, 101, 99, 101, 101, 101, 101, 34,
-
- 101, 26, 23, 42, 35, 45, 24, 101, 101, 101,
- 25, 103, 101, 101, 101, 101, 101, 101, 101, 101,
- 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
- 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
- 101, 101, 9, 7, 14, 11, 13, 12, 14, 17,
- 16, 102, 102, 98, 3, 98, 98, 100, 100, 99,
- 101, 101, 101, 101, 29, 33, 101, 40, 36, 38,
- 19, 20, 101, 101, 101, 73, 21, 101, 101, 101,
- 101, 101, 101, 101, 68, 101, 101, 101, 101, 101,
- 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
-
- 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
- 12, 100, 101, 55, 101, 101, 101, 30, 31, 32,
- 101, 41, 37, 39, 101, 59, 101, 58, 101, 6,
- 101, 71, 101, 101, 101, 101, 63, 101, 101, 66,
- 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
- 101, 101, 60, 101, 101, 101, 101, 63, 101, 101,
- 101, 101, 83, 101, 101, 101, 101, 89, 101, 8,
- 53, 101, 54, 101, 56, 101, 101, 101, 58, 101,
- 72, 101, 101, 69, 101, 101, 101, 101, 101, 101,
- 67, 101, 101, 101, 101, 62, 101, 101, 101, 84,
-
- 101, 101, 101, 101, 88, 101, 101, 101, 101, 101,
- 101, 101, 101, 70, 101, 101, 101, 101, 101, 74,
- 101, 80, 101, 64, 101, 61, 101, 101, 101, 101,
- 101, 101, 101, 101, 101, 101, 101, 4, 101, 101,
- 101, 101, 75, 101, 101, 101, 101, 79, 101, 101,
- 101, 101, 101, 85, 101, 86, 101, 101, 101, 101,
- 78, 101, 101, 81, 101, 82, 101, 101, 65, 101,
- 101, 101, 101, 101, 101, 101, 77, 101, 76, 101,
- 101, 101, 91, 101, 101, 101, 101, 4, 2, 93,
- 101, 101, 90, 101, 101, 92, 101, 5, 101, 94,
-
- 101, 101, 87, 101, 57
+ 122, 118, 121, 117, 118, 121, 1, 119, 121, 118,
+ 119, 121, 118, 121, 118, 121, 118, 121, 106, 118,
+ 121, 106, 118, 121, 118, 121, 110, 118, 121, 110,
+ 118, 121, 110, 118, 121, 110, 118, 121, 117, 118,
+ 121, 118, 121, 118, 121, 110, 118, 121, 110, 118,
+ 121, 29, 118, 121, 1, 30, 119, 121, 29, 118,
+ 119, 121, 29, 118, 121, 29, 118, 121, 29, 118,
+ 121, 54, 118, 121, 1, 55, 119, 121, 54, 118,
+ 119, 121, 46, 54, 118, 121, 54, 118, 121, 54,
+ 118, 121, 54, 118, 121, 52, 54, 118, 121, 53,
+
+ 54, 118, 121, 54, 118, 121, 54, 118, 121, 50,
+ 118, 121, 1, 51, 119, 121, 50, 118, 119, 121,
+ 49, 50, 118, 121, 50, 118, 121, 50, 118, 121,
+ 63, 118, 121, 118, 121, 110, 118, 121, 110, 118,
+ 121, 110, 118, 121, 114, 118, 121, 66, 118, 121,
+ 1, 67, 119, 121, 66, 118, 119, 121, 65, 66,
+ 118, 121, 66, 118, 121, 66, 118, 121, 118, 121,
+ 118, 121, 118, 121, 118, 121, 110, 118, 121, 110,
+ 118, 121, 110, 118, 121, 110, 118, 121, 110, 118,
+ 121, 110, 118, 121, 110, 118, 121, 110, 118, 121,
+
+ 110, 118, 121, 110, 118, 121, 110, 118, 121, 110,
+ 118, 121, 115, 118, 121, 116, 118, 121, 103, 118,
+ 121, 47, 118, 121, 104, 118, 121, 105, 118, 121,
+ 118, 121, 110, 118, 121, 110, 118, 121, 110, 118,
+ 121, 110, 118, 121, 110, 118, 121, 110, 118, 121,
+ 110, 118, 121, 110, 118, 121, 110, 118, 121, 110,
+ 118, 121, 110, 118, 121, 110, 118, 121, 10, 118,
+ 121, 10, 118, 119, 121, 10, 118, 121, 10, 118,
+ 121, 10, 118, 121, 10, 118, 121, 15, 118, 121,
+ 15, 118, 119, 121, 15, 118, 121, 15, 118, 121,
+
+ 15, 118, 121, 15, 118, 121, 18, 118, 121, 18,
+ 118, 119, 121, 18, 118, 121, 18, 118, 121, 106,
+ 23, 106, 106, 109, 110, 110, 110, 110, 110, 36,
+ 110, 110, 28, 24, 45, 38, 48, 25, 110, 110,
+ 110, 64, 26, 113, 112, 110, 110, 110, 110, 110,
+ 110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
+ 110, 110, 110, 27, 110, 110, 110, 110, 110, 110,
+ 110, 110, 110, 110, 110, 110, 9, 7, 14, 13,
+ 11, 12, 14, 17, 16, 111, 111, 106, 3, 106,
+ 106, 109, 107, 108, 110, 110, 110, 110, 31, 35,
+
+ 110, 110, 43, 39, 41, 19, 20, 110, 110, 110,
+ 81, 21, 110, 110, 110, 110, 110, 110, 110, 76,
+ 110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
+ 110, 110, 110, 22, 110, 110, 110, 110, 110, 110,
+ 110, 110, 110, 110, 110, 110, 12, 109, 107, 108,
+ 110, 58, 110, 110, 110, 37, 32, 33, 34, 110,
+ 110, 44, 40, 42, 110, 62, 110, 61, 110, 6,
+ 110, 79, 110, 110, 110, 110, 71, 110, 110, 74,
+ 110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
+ 110, 110, 68, 110, 110, 110, 110, 71, 110, 110,
+
+ 110, 110, 91, 110, 110, 110, 110, 97, 110, 8,
+ 109, 56, 110, 57, 110, 59, 110, 110, 110, 110,
+ 61, 110, 80, 110, 110, 77, 110, 110, 110, 110,
+ 110, 110, 75, 110, 110, 110, 110, 70, 110, 110,
+ 110, 92, 110, 110, 110, 110, 96, 110, 110, 110,
+ 110, 110, 110, 110, 110, 110, 78, 110, 110, 110,
+ 110, 110, 82, 110, 88, 110, 72, 110, 69, 110,
+ 110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
+ 4, 110, 110, 110, 110, 110, 83, 110, 110, 110,
+ 110, 87, 110, 110, 110, 110, 110, 93, 110, 94,
+
+ 110, 110, 110, 110, 110, 86, 110, 110, 89, 110,
+ 90, 110, 110, 73, 110, 110, 110, 110, 110, 110,
+ 110, 85, 110, 84, 110, 110, 110, 99, 110, 110,
+ 110, 110, 4, 2, 101, 110, 110, 98, 110, 110,
+ 100, 110, 120, 5, 110, 102, 110, 110, 95, 110,
+ 60
} ;
-static yyconst short int yy_accept[509] =
+static yyconst flex_int16_t yy_accept[562] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 2, 4, 7, 10, 13, 15, 17,
- 19, 22, 25, 27, 30, 33, 36, 39, 42, 44,
- 46, 49, 52, 56, 60, 63, 66, 69, 72, 76,
- 80, 84, 87, 90, 93, 97, 101, 104, 107, 110,
- 114, 118, 122, 125, 128, 130, 133, 136, 139, 142,
- 144, 146, 148, 151, 154, 157, 160, 163, 166, 169,
- 172, 175, 178, 181, 184, 187, 190, 193, 196, 199,
- 202, 205, 208, 211, 214, 217, 220, 223, 226, 229,
-
- 232, 235, 238, 241, 245, 248, 251, 254, 257, 260,
- 264, 267, 270, 273, 276, 279, 283, 286, 289, 289,
- 289, 290, 291, 291, 291, 292, 292, 292, 293, 294,
- 295, 296, 297, 298, 299, 300, 300, 300, 300, 300,
- 300, 300, 300, 301, 302, 303, 303, 303, 303, 303,
- 303, 304, 304, 305, 305, 305, 306, 307, 308, 308,
- 309, 310, 311, 311, 312, 312, 312, 312, 313, 314,
- 315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
- 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
- 335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
-
- 344, 344, 344, 345, 345, 346, 346, 346, 346, 347,
- 348, 348, 350, 351, 352, 353, 353, 354, 355, 355,
- 356, 357, 358, 359, 360, 361, 362, 363, 364, 365,
- 365, 365, 365, 365, 366, 366, 366, 367, 367, 367,
- 368, 368, 369, 369, 369, 369, 370, 371, 371, 372,
- 372, 372, 373, 374, 375, 376, 377, 377, 377, 378,
- 378, 378, 379, 380, 381, 382, 383, 384, 385, 387,
- 388, 389, 390, 391, 392, 393, 394, 395, 396, 397,
- 398, 399, 400, 401, 402, 403, 404, 405, 406, 407,
- 408, 409, 410, 411, 411, 412, 413, 414, 416, 417,
-
- 418, 418, 418, 418, 419, 419, 420, 421, 421, 422,
- 422, 423, 424, 425, 425, 426, 428, 430, 430, 431,
- 432, 434, 435, 436, 437, 439, 440, 442, 443, 444,
- 445, 446, 447, 448, 449, 450, 451, 452, 453, 455,
- 456, 457, 458, 460, 461, 462, 463, 465, 466, 467,
- 468, 470, 470, 471, 471, 471, 473, 475, 477, 477,
- 477, 477, 477, 477, 478, 478, 478, 479, 481, 483,
- 484, 486, 487, 488, 489, 490, 491, 493, 494, 495,
- 496, 498, 499, 500, 502, 503, 504, 505, 507, 508,
- 509, 510, 511, 511, 511, 511, 511, 511, 512, 512,
-
- 512, 513, 514, 516, 517, 518, 519, 520, 522, 524,
- 526, 528, 529, 530, 531, 532, 533, 534, 535, 536,
- 537, 538, 538, 539, 539, 539, 540, 540, 540, 541,
- 542, 543, 545, 546, 547, 548, 550, 551, 552, 553,
- 554, 556, 558, 559, 560, 560, 560, 560, 560, 561,
- 561, 561, 563, 564, 566, 568, 569, 571, 572, 573,
- 574, 575, 576, 577, 577, 577, 577, 577, 577, 577,
- 577, 577, 579, 581, 582, 583, 585, 586, 587, 588,
- 588, 589, 589, 589, 589, 590, 590, 592, 593, 595,
- 596, 598, 598, 598, 598, 599, 600, 602, 602, 602,
-
- 603, 603, 603, 605, 605, 605, 606, 606
+ 1, 1, 1, 1, 1, 2, 4, 7, 10, 13,
+ 15, 17, 19, 22, 25, 27, 30, 33, 36, 39,
+ 42, 44, 46, 49, 52, 55, 59, 63, 66, 69,
+ 72, 75, 79, 83, 87, 90, 93, 96, 100, 104,
+ 107, 110, 113, 117, 121, 125, 128, 131, 134, 136,
+ 139, 142, 145, 148, 151, 155, 159, 163, 166, 169,
+ 171, 173, 175, 177, 180, 183, 186, 189, 192, 195,
+ 198, 201, 204, 207, 210, 213, 216, 219, 222, 225,
+
+ 228, 231, 233, 236, 239, 242, 245, 248, 251, 254,
+ 257, 260, 263, 266, 269, 272, 276, 279, 282, 285,
+ 288, 291, 295, 298, 301, 304, 307, 310, 314, 317,
+ 320, 320, 320, 321, 322, 322, 322, 323, 323, 323,
+ 324, 325, 326, 326, 327, 328, 329, 330, 330, 330,
+ 330, 330, 330, 330, 330, 330, 331, 332, 333, 334,
+ 334, 334, 334, 334, 334, 335, 335, 336, 336, 336,
+ 337, 338, 339, 339, 340, 341, 342, 343, 343, 344,
+ 344, 345, 345, 345, 346, 347, 348, 349, 350, 351,
+ 352, 353, 354, 355, 356, 357, 358, 359, 360, 361,
+
+ 362, 363, 364, 365, 365, 366, 367, 368, 369, 370,
+ 371, 372, 373, 374, 375, 376, 377, 378, 378, 378,
+ 378, 379, 379, 380, 380, 380, 381, 382, 382, 384,
+ 385, 386, 387, 387, 388, 389, 389, 390, 391, 392,
+ 393, 393, 394, 395, 396, 397, 398, 399, 399, 399,
+ 399, 399, 399, 399, 399, 400, 400, 400, 401, 401,
+ 401, 402, 403, 403, 404, 404, 404, 404, 405, 406,
+ 406, 407, 407, 407, 408, 409, 410, 411, 412, 412,
+ 412, 413, 413, 413, 414, 415, 416, 417, 418, 419,
+ 420, 422, 423, 424, 425, 426, 427, 428, 429, 430,
+
+ 431, 432, 433, 434, 434, 435, 436, 437, 438, 439,
+ 440, 441, 442, 443, 444, 445, 446, 447, 447, 448,
+ 448, 449, 450, 450, 451, 451, 452, 454, 455, 456,
+ 456, 456, 456, 457, 457, 457, 458, 458, 459, 460,
+ 460, 461, 462, 462, 463, 464, 465, 465, 466, 468,
+ 470, 470, 471, 472, 474, 475, 476, 477, 479, 480,
+ 482, 483, 484, 485, 486, 487, 488, 489, 490, 491,
+ 492, 493, 495, 496, 497, 498, 500, 501, 502, 503,
+ 505, 506, 507, 508, 510, 510, 511, 511, 511, 512,
+ 514, 516, 518, 518, 518, 518, 518, 518, 518, 518,
+
+ 519, 520, 520, 520, 521, 523, 525, 526, 528, 529,
+ 530, 531, 532, 533, 535, 536, 537, 538, 540, 541,
+ 542, 544, 545, 546, 547, 549, 550, 551, 552, 553,
+ 553, 553, 553, 553, 553, 553, 553, 554, 555, 555,
+ 555, 556, 557, 559, 560, 561, 562, 563, 565, 567,
+ 569, 571, 572, 573, 574, 575, 576, 577, 578, 579,
+ 580, 581, 581, 581, 582, 582, 582, 582, 583, 584,
+ 584, 584, 585, 586, 587, 589, 590, 591, 592, 594,
+ 595, 596, 597, 598, 600, 602, 603, 604, 604, 604,
+ 604, 604, 604, 604, 605, 606, 606, 606, 608, 609,
+
+ 611, 613, 614, 616, 617, 618, 619, 620, 621, 622,
+ 622, 622, 622, 622, 622, 622, 622, 622, 622, 622,
+ 622, 624, 626, 627, 628, 630, 631, 632, 633, 633,
+ 634, 634, 634, 634, 634, 634, 635, 635, 637, 638,
+ 640, 641, 643, 643, 643, 644, 644, 644, 645, 646,
+ 648, 648, 648, 649, 649, 649, 651, 651, 651, 652,
+ 652
} ;
-static yyconst int yy_ec[256] =
+static yyconst flex_int32_t yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 4, 5, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
-static yyconst int yy_meta[60] =
+static yyconst flex_int32_t yy_meta[60] =
{ 0,
1, 2, 3, 4, 4, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 5, 5, 5, 5, 6,
8, 8, 8, 8, 8, 8, 8, 1, 1
} ;
-static yyconst short int yy_base[536] =
+static yyconst flex_int16_t yy_base[595] =
{ 0,
- 0, 58, 58, 65, 69, 126, 80, 85, 60, 86,
- 172, 1204, 102, 111, 225, 1203, 101, 149, 140, 158,
- 162, 165, 1210, 1213, 1213, 1213, 1213, 1179, 163, 67,
- 177, 225, 0, 1188, 42, 57, 45, 196, 103, 164,
- 105, 1213, 1213, 1213, 1192, 114, 1178, 1213, 1213, 1213,
- 1213, 169, 87, 0, 1213, 1213, 209, 1146, 1213, 1213,
- 1213, 1213, 0, 212, 117, 130, 61, 149, 1213, 266,
- 175, 270, 197, 255, 49, 157, 139, 209, 201, 152,
- 214, 270, 245, 272, 1213, 1213, 1213, 1213, 1213, 1213,
- 261, 274, 278, 254, 273, 283, 277, 215, 218, 286,
-
- 276, 284, 1213, 1213, 1189, 326, 328, 334, 1213, 1213,
- 1188, 339, 340, 341, 1199, 1198, 242, 355, 1190, 1189,
- 346, 1213, 1195, 350, 357, 363, 0, 369, 1177, 1176,
- 1175, 287, 339, 303, 315, 387, 1157, 388, 1152, 351,
- 354, 218, 1213, 358, 1213, 0, 1182, 343, 1181, 1180,
- 1213, 1186, 1213, 394, 1142, 1213, 1213, 1213, 1184, 377,
- 378, 385, 1172, 1172, 1181, 397, 1152, 1153, 331, 384,
- 388, 309, 391, 398, 399, 400, 402, 403, 409, 407,
- 410, 404, 411, 413, 416, 414, 419, 422, 425, 427,
- 429, 433, 438, 439, 440, 445, 447, 448, 1213, 475,
-
- 467, 488, 1213, 495, 1213, 497, 502, 510, 1213, 516,
- 1166, 1213, 1213, 1213, 1213, 1170, 1169, 507, 1175, 1213,
- 511, 0, 1157, 1156, 1155, 451, 455, 459, 472, 1125,
- 1127, 1128, 1113, 1213, 1137, 1111, 1213, 1110, 1126, 467,
- 1139, 1213, 1155, 1154, 1153, 1213, 1213, 1159, 1213, 1126,
- 1157, 1213, 463, 487, 489, 1213, 531, 1156, 1213, 1127,
- 525, 501, 511, 515, 516, 518, 519, 525, 1137, 526,
- 527, 528, 531, 529, 530, 535, 533, 537, 548, 539,
- 540, 542, 550, 552, 543, 551, 554, 555, 558, 573,
- 574, 577, 578, 597, 1213, 1136, 582, 1135, 584, 585,
-
- 1101, 1116, 554, 1213, 1116, 1213, 1213, 1097, 588, 1124,
- 1213, 1213, 1213, 1105, 589, 1128, 1127, 616, 1213, 593,
- 1126, 591, 594, 600, 1125, 596, 1124, 601, 604, 606,
- 608, 611, 605, 621, 612, 607, 610, 615, 1123, 630,
- 619, 636, 639, 640, 641, 642, 1122, 643, 645, 646,
- 1121, 667, 1213, 673, 678, 1120, 1119, 1118, 1096, 686,
- 1089, 1098, 1101, 647, 0, 1080, 657, 652, 1112, 662,
- 1111, 654, 665, 676, 678, 680, 1110, 681, 682, 683,
- 1109, 684, 686, 1108, 688, 685, 689, 690, 691, 692,
- 694, 696, 1077, 721, 1078, 1075, 1072, 711, 1099, 1086,
-
- 701, 712, 1095, 713, 714, 704, 716, 1087, 1086, 1077,
- 1070, 722, 723, 730, 732, 734, 735, 738, 740, 737,
- 741, 1044, 760, 712, 1043, 743, 1068, 1036, 745, 752,
- 753, 1018, 751, 755, 760, 1006, 754, 766, 761, 769,
- 989, 983, 775, 779, 944, 979, 924, 870, 798, 784,
- 804, 889, 785, 888, 886, 787, 885, 792, 793, 794,
- 795, 796, 797, 818, 897, 838, 838, 832, 838, 846,
- 812, 819, 810, 805, 808, 801, 809, 812, 815, 562,
- 1213, 460, 852, 860, 1213, 837, 465, 817, 340, 847,
- 292, 273, 864, 866, 1213, 854, 234, 215, 873, 865,
-
- 150, 877, 172, 895, 897, 1213, 1213, 914, 923, 932,
- 941, 950, 959, 968, 971, 975, 983, 992, 997, 1006,
- 1015, 1020, 1023, 1027, 1035, 1044, 1053, 1062, 1067, 1075,
- 1079, 1086, 1094, 1103, 1112
+ 0, 58, 58, 65, 69, 126, 80, 85, 74, 87,
+ 93, 113, 172, 1329, 131, 136, 225, 1328, 100, 147,
+ 135, 159, 175, 190, 1335, 1338, 1338, 1338, 1338, 1304,
+ 225, 62, 231, 237, 0, 1313, 42, 150, 60, 232,
+ 63, 164, 156, 77, 1338, 1338, 1338, 1317, 173, 1303,
+ 1338, 1338, 1338, 1338, 245, 104, 0, 1338, 1338, 279,
+ 1271, 1338, 1338, 1338, 1338, 0, 262, 1338, 144, 110,
+ 161, 143, 1338, 1338, 1338, 1338, 1338, 0, 282, 275,
+ 214, 279, 283, 171, 285, 263, 182, 138, 219, 266,
+ 179, 287, 295, 270, 292, 1338, 1338, 1338, 1338, 1338,
+
+ 1338, 296, 297, 298, 311, 288, 170, 310, 226, 308,
+ 326, 329, 299, 307, 1338, 1338, 1314, 351, 359, 360,
+ 1338, 1338, 1313, 365, 366, 371, 1324, 1323, 373, 377,
+ 1315, 1314, 373, 1338, 1320, 377, 383, 390, 0, 397,
+ 1302, 1301, 1300, 365, 302, 332, 385, 417, 1269, 1281,
+ 418, 1276, 389, 380, 310, 1338, 198, 402, 1338, 0,
+ 1306, 405, 1305, 1304, 1338, 1310, 1338, 428, 1266, 1338,
+ 1338, 1338, 1308, 406, 408, 409, 1338, 1296, 1296, 1305,
+ 426, 440, 1276, 1277, 62, 415, 416, 420, 417, 426,
+ 433, 432, 440, 237, 434, 448, 441, 453, 454, 456,
+
+ 458, 457, 1338, 1302, 463, 465, 467, 469, 470, 471,
+ 473, 474, 476, 475, 481, 480, 1338, 500, 508, 527,
+ 1338, 529, 1338, 532, 534, 540, 1338, 1289, 1338, 1338,
+ 1338, 1338, 1293, 1292, 534, 1298, 1338, 538, 0, 1280,
+ 0, 1279, 1278, 519, 479, 521, 524, 1260, 1247, 1249,
+ 1236, 1241, 1248, 1233, 1338, 1257, 1231, 1338, 1230, 1246,
+ 528, 506, 1259, 1338, 1275, 1274, 1273, 1338, 1338, 1279,
+ 1338, 1246, 1277, 1338, 538, 540, 542, 1338, 563, 1276,
+ 1338, 1247, 555, 544, 555, 547, 556, 557, 558, 559,
+ 1257, 560, 561, 562, 567, 564, 563, 568, 570, 574,
+
+ 576, 575, 582, 1273, 1338, 580, 589, 592, 584, 581,
+ 590, 602, 604, 608, 613, 586, 614, 633, 1338, 635,
+ 1255, 1254, 1253, 1252, 1251, 620, 1250, 622, 624, 1236,
+ 1215, 1230, 1338, 1229, 596, 1338, 1229, 1338, 1338, 1210,
+ 629, 635, 1237, 1338, 1338, 1338, 1218, 630, 1241, 1240,
+ 654, 1338, 632, 1239, 638, 639, 641, 1238, 642, 1237,
+ 643, 645, 646, 647, 649, 644, 662, 666, 654, 648,
+ 650, 1236, 668, 672, 659, 677, 660, 678, 684, 1235,
+ 685, 686, 687, 1234, 711, 1338, 713, 719, 1233, 1232,
+ 1231, 1230, 1205, 1207, 724, 1197, 1199, 1208, 1211, 690,
+
+ 698, 0, 1190, 707, 708, 1222, 712, 1221, 715, 716,
+ 717, 718, 719, 1220, 720, 721, 722, 1219, 723, 725,
+ 1218, 727, 726, 730, 740, 731, 732, 735, 741, 1193,
+ 1186, 760, 1199, 1186, 1183, 1174, 745, 751, 1194, 1181,
+ 755, 761, 1188, 760, 763, 766, 769, 1177, 1162, 1161,
+ 1160, 770, 771, 773, 774, 775, 777, 778, 779, 784,
+ 783, 1118, 1093, 825, 1082, 753, 1065, 793, 786, 1085,
+ 1051, 788, 794, 797, 1059, 789, 799, 802, 1050, 790,
+ 813, 800, 792, 1035, 965, 819, 830, 949, 932, 975,
+ 946, 933, 939, 849, 850, 840, 858, 957, 841, 946,
+
+ 945, 843, 940, 833, 834, 845, 842, 846, 847, 866,
+ 871, 936, 898, 887, 878, 883, 890, 894, 902, 873,
+ 884, 866, 854, 864, 855, 856, 878, 885, 516, 1338,
+ 464, 479, 921, 914, 929, 1338, 922, 411, 905, 367,
+ 897, 304, 285, 948, 1338, 939, 945, 1338, 863, 238,
+ 178, 945, 916, 127, 952, 117, 970, 972, 1338, 1338,
+ 989, 998, 1007, 1016, 1025, 1034, 1043, 1052, 1055, 1059,
+ 1067, 1076, 1085, 1090, 1099, 1108, 1113, 1116, 1119, 1127,
+ 1136, 1145, 1154, 1159, 1168, 1176, 1178, 1182, 1186, 1193,
+ 1197, 1205, 1214, 1223
+
} ;
-static yyconst short int yy_def[536] =
+static yyconst flex_int16_t yy_def[595] =
{ 0,
- 507, 1, 508, 508, 509, 509, 510, 510, 1, 1,
- 1, 11, 1, 1, 1, 15, 511, 511, 512, 512,
- 513, 513, 507, 507, 507, 507, 507, 514, 507, 507,
- 507, 507, 515, 516, 516, 516, 516, 507, 507, 507,
- 516, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 517, 507, 507, 507, 507, 507, 507,
- 507, 507, 518, 507, 507, 516, 516, 516, 507, 507,
- 507, 519, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 507, 507, 507, 507, 507, 507,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
-
- 516, 516, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 520,
- 507, 507, 521, 507, 507, 507, 522, 507, 523, 516,
- 524, 516, 516, 516, 516, 507, 507, 507, 507, 507,
- 507, 507, 507, 516, 507, 525, 507, 507, 507, 507,
- 507, 526, 507, 507, 507, 507, 507, 507, 527, 516,
- 516, 516, 507, 507, 528, 507, 529, 507, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 507, 507,
-
- 507, 507, 507, 530, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 521, 507,
- 507, 522, 523, 531, 524, 516, 516, 516, 516, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 516,
- 507, 507, 507, 507, 507, 507, 507, 526, 507, 507,
- 527, 507, 516, 516, 516, 507, 507, 528, 507, 529,
- 519, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 532, 507, 531, 516, 516, 516, 516,
-
- 507, 507, 507, 507, 507, 507, 507, 507, 516, 507,
- 507, 507, 507, 507, 516, 516, 516, 507, 507, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 507, 507, 532, 507, 516, 516, 516, 507, 507,
- 507, 507, 507, 516, 533, 507, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 507, 507, 507, 507, 507, 516, 507, 507,
-
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 507, 507, 507, 507, 516, 507, 507, 516, 516,
- 516, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 516, 507, 507, 507, 507, 516, 507,
- 507, 516, 516, 516, 516, 516, 516, 516, 516, 516,
- 516, 516, 516, 507, 534, 507, 507, 507, 507, 507,
- 507, 516, 516, 516, 516, 516, 516, 516, 516, 534,
- 507, 507, 507, 507, 507, 535, 516, 516, 516, 516,
- 516, 507, 507, 535, 507, 516, 516, 507, 507, 516,
-
- 507, 507, 516, 507, 507, 507, 0, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507
+ 560, 1, 561, 561, 562, 562, 563, 563, 1, 1,
+ 564, 564, 1, 13, 1, 1, 1, 17, 565, 565,
+ 566, 566, 567, 567, 560, 560, 560, 560, 560, 568,
+ 560, 560, 560, 560, 569, 570, 570, 570, 570, 560,
+ 560, 560, 570, 570, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 571, 560, 560, 560,
+ 560, 560, 560, 560, 560, 572, 560, 560, 560, 570,
+ 570, 570, 560, 560, 560, 560, 560, 573, 560, 560,
+ 560, 569, 574, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 560, 560, 560, 560, 560,
+
+ 560, 560, 570, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 575, 560, 560, 576, 560, 560, 560, 577, 560,
+ 578, 570, 579, 570, 570, 570, 570, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 570, 570, 560, 580,
+ 560, 560, 560, 560, 560, 581, 560, 560, 560, 560,
+ 560, 560, 582, 570, 570, 570, 560, 560, 560, 583,
+ 560, 560, 584, 560, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
+
+ 570, 570, 560, 585, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 560, 560, 560, 560,
+ 560, 586, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 576, 560, 560, 577, 578,
+ 587, 588, 589, 570, 570, 570, 570, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 570, 570, 560, 560, 560, 560, 560, 560, 560, 581,
+ 560, 560, 582, 560, 570, 570, 570, 560, 560, 583,
+ 560, 584, 574, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
+
+ 570, 570, 570, 585, 560, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 590, 560, 560,
+ 591, 588, 560, 589, 579, 570, 570, 570, 570, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 570, 570, 560, 560, 560, 560, 560, 570, 570, 570,
+ 560, 560, 570, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 560, 560, 590, 560, 591, 570,
+ 570, 570, 560, 560, 560, 560, 560, 560, 560, 570,
+
+ 570, 592, 560, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 560,
+ 560, 560, 560, 560, 560, 560, 570, 570, 560, 560,
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 570,
+ 570, 560, 560, 560, 560, 560, 560, 570, 570, 560,
+ 560, 570, 570, 570, 570, 570, 570, 570, 570, 570,
+ 570, 570, 570, 570, 570, 570, 570, 560, 560, 560,
+ 560, 560, 560, 570, 570, 560, 560, 570, 570, 570,
+
+ 570, 570, 570, 570, 570, 570, 570, 570, 570, 560,
+ 560, 593, 560, 560, 560, 560, 560, 560, 560, 560,
+ 570, 570, 570, 570, 570, 570, 570, 570, 593, 560,
+ 560, 560, 560, 560, 560, 560, 594, 570, 570, 570,
+ 570, 570, 560, 560, 560, 560, 594, 560, 570, 570,
+ 560, 560, 570, 560, 560, 570, 560, 560, 560, 0,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560
+
} ;
-static yyconst short int yy_nxt[1273] =
+static yyconst flex_int16_t yy_nxt[1398] =
{ 0,
- 24, 25, 26, 25, 27, 25, 24, 24, 24, 28,
- 24, 24, 24, 29, 30, 31, 32, 32, 32, 33,
- 24, 24, 34, 34, 34, 34, 34, 34, 24, 24,
- 24, 34, 34, 34, 35, 34, 36, 37, 34, 34,
- 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
- 34, 34, 34, 34, 34, 34, 34, 24, 24, 38,
- 43, 131, 44, 38, 131, 39, 40, 43, 131, 44,
- 45, 49, 46, 50, 65, 51, 131, 45, 52, 122,
- 131, 123, 60, 53, 61, 132, 62, 60, 135, 61,
- 47, 62, 64, 39, 66, 173, 34, 67, 54, 151,
-
- 65, 152, 133, 26, 138, 104, 134, 41, 138, 63,
- 161, 68, 87, 105, 63, 138, 24, 69, 39, 138,
- 66, 87, 34, 67, 131, 24, 55, 56, 49, 158,
- 50, 159, 51, 57, 58, 52, 34, 68, 34, 34,
- 53, 144, 26, 69, 110, 34, 139, 34, 34, 131,
- 106, 26, 111, 104, 106, 54, 107, 139, 131, 112,
- 26, 108, 110, 112, 26, 113, 116, 26, 131, 116,
- 114, 131, 118, 160, 117, 147, 131, 117, 121, 121,
- 121, 121, 175, 55, 56, 70, 71, 164, 162, 165,
- 124, 131, 125, 125, 125, 126, 140, 136, 148, 238,
-
- 72, 136, 174, 141, 73, 178, 74, 75, 76, 77,
- 154, 142, 78, 138, 154, 79, 131, 138, 80, 81,
- 131, 143, 82, 68, 83, 84, 149, 150, 131, 85,
- 86, 88, 127, 131, 131, 89, 90, 131, 124, 24,
- 128, 128, 128, 128, 213, 137, 169, 177, 195, 155,
- 196, 501, 139, 131, 176, 139, 214, 238, 91, 92,
- 93, 94, 95, 179, 131, 78, 180, 239, 79, 96,
- 97, 98, 99, 131, 131, 100, 101, 83, 102, 163,
- 131, 121, 121, 121, 121, 166, 166, 166, 166, 131,
- 184, 131, 131, 131, 170, 131, 131, 131, 171, 190,
-
- 168, 172, 131, 131, 187, 131, 131, 188, 498, 181,
- 182, 131, 185, 170, 189, 192, 191, 194, 186, 226,
- 172, 183, 131, 193, 173, 181, 197, 200, 131, 138,
- 186, 200, 198, 138, 131, 202, 203, 183, 201, 204,
- 206, 138, 208, 209, 206, 138, 210, 229, 199, 243,
- 131, 207, 228, 211, 265, 212, 138, 213, 131, 131,
- 138, 218, 218, 218, 218, 221, 221, 221, 221, 262,
- 124, 139, 125, 125, 125, 126, 124, 131, 126, 126,
- 126, 126, 124, 139, 128, 128, 128, 128, 136, 138,
- 235, 227, 136, 138, 232, 154, 131, 131, 139, 154,
-
- 244, 245, 233, 131, 131, 236, 240, 131, 234, 253,
- 131, 237, 166, 166, 166, 166, 263, 131, 131, 131,
- 264, 131, 131, 131, 254, 255, 131, 168, 131, 131,
- 131, 139, 131, 131, 155, 131, 137, 139, 131, 271,
- 274, 131, 276, 266, 131, 268, 131, 270, 131, 272,
- 267, 269, 131, 278, 281, 273, 275, 131, 131, 131,
- 277, 286, 284, 279, 131, 280, 131, 131, 202, 203,
- 131, 282, 204, 289, 131, 268, 200, 283, 131, 285,
- 200, 290, 131, 288, 131, 292, 131, 201, 287, 202,
- 203, 131, 492, 202, 291, 293, 202, 203, 206, 298,
-
- 202, 297, 206, 208, 209, 299, 131, 210, 131, 207,
- 300, 208, 209, 315, 211, 208, 295, 208, 209, 309,
- 131, 208, 218, 218, 218, 218, 221, 221, 221, 221,
- 131, 316, 318, 319, 131, 131, 318, 131, 131, 317,
- 166, 166, 166, 166, 131, 131, 131, 131, 131, 131,
- 131, 324, 131, 320, 131, 168, 131, 326, 131, 131,
- 321, 131, 131, 325, 327, 322, 323, 131, 481, 131,
- 131, 131, 332, 131, 131, 339, 328, 131, 330, 333,
- 334, 329, 331, 336, 342, 335, 341, 343, 337, 344,
- 338, 340, 131, 131, 345, 346, 131, 131, 352, 353,
-
- 347, 131, 352, 131, 131, 361, 349, 131, 131, 348,
- 131, 234, 131, 131, 351, 131, 355, 318, 319, 131,
- 131, 318, 350, 131, 131, 131, 131, 131, 364, 131,
- 131, 131, 356, 357, 131, 358, 373, 367, 131, 317,
- 131, 368, 374, 370, 375, 369, 380, 371, 382, 131,
- 372, 376, 381, 378, 385, 131, 377, 379, 131, 131,
- 131, 131, 131, 384, 131, 131, 131, 383, 352, 353,
- 387, 131, 352, 131, 352, 353, 131, 391, 352, 352,
- 353, 131, 379, 352, 131, 389, 390, 394, 386, 392,
- 388, 394, 355, 401, 404, 131, 398, 131, 403, 131,
-
- 131, 131, 131, 131, 131, 131, 402, 131, 131, 131,
- 131, 131, 407, 131, 408, 131, 405, 410, 413, 414,
- 131, 417, 394, 131, 409, 406, 394, 421, 415, 412,
- 131, 131, 131, 131, 411, 131, 423, 423, 423, 423,
- 416, 131, 131, 418, 419, 420, 429, 426, 431, 131,
- 432, 131, 430, 131, 131, 433, 131, 131, 435, 131,
- 131, 446, 131, 447, 131, 446, 436, 434, 443, 237,
- 131, 131, 131, 131, 131, 423, 423, 423, 423, 131,
- 131, 437, 441, 438, 442, 131, 440, 453, 131, 454,
- 439, 456, 444, 449, 131, 457, 452, 459, 131, 468,
-
- 469, 470, 470, 468, 131, 471, 131, 455, 460, 471,
- 458, 131, 131, 131, 131, 131, 131, 131, 486, 468,
- 131, 472, 473, 468, 131, 461, 462, 131, 131, 131,
- 476, 131, 486, 468, 131, 463, 131, 468, 131, 474,
- 488, 487, 477, 495, 479, 489, 475, 483, 483, 483,
- 483, 491, 478, 484, 484, 484, 484, 485, 495, 490,
- 496, 484, 484, 484, 484, 493, 131, 483, 483, 483,
- 483, 485, 495, 131, 482, 484, 484, 484, 484, 499,
- 499, 499, 499, 497, 131, 236, 502, 495, 499, 499,
- 499, 499, 504, 504, 504, 504, 505, 506, 505, 506,
-
- 505, 503, 505, 481, 131, 131, 500, 131, 131, 467,
- 504, 504, 504, 504, 42, 42, 42, 42, 42, 42,
- 42, 42, 42, 48, 48, 48, 48, 48, 48, 48,
- 48, 48, 59, 59, 59, 59, 59, 59, 59, 59,
- 59, 103, 103, 103, 103, 103, 103, 103, 103, 103,
- 109, 109, 109, 109, 109, 109, 109, 109, 109, 115,
- 115, 115, 115, 115, 115, 115, 115, 115, 119, 119,
- 466, 119, 119, 119, 119, 119, 119, 129, 129, 130,
- 130, 130, 130, 153, 153, 465, 153, 153, 153, 153,
- 153, 153, 157, 157, 464, 157, 157, 157, 157, 157,
-
- 157, 167, 131, 167, 167, 167, 216, 216, 131, 216,
- 216, 216, 216, 216, 216, 219, 219, 219, 219, 219,
- 219, 219, 219, 219, 222, 131, 222, 223, 223, 223,
- 223, 225, 225, 225, 225, 241, 241, 131, 241, 241,
- 241, 241, 241, 241, 248, 248, 248, 248, 248, 248,
- 248, 248, 248, 251, 251, 251, 251, 251, 251, 251,
- 251, 251, 258, 258, 258, 258, 258, 258, 258, 258,
- 258, 260, 451, 260, 260, 260, 294, 294, 450, 448,
- 445, 294, 294, 296, 296, 296, 296, 354, 354, 131,
- 354, 354, 354, 354, 399, 399, 131, 399, 399, 399,
-
- 399, 399, 399, 480, 480, 131, 131, 480, 480, 480,
- 480, 480, 494, 494, 131, 494, 494, 494, 494, 494,
- 494, 428, 427, 425, 424, 233, 422, 131, 131, 131,
- 131, 131, 400, 397, 396, 395, 393, 131, 131, 131,
- 131, 131, 131, 131, 131, 131, 131, 131, 366, 365,
- 363, 362, 360, 359, 131, 224, 131, 168, 259, 252,
- 314, 249, 313, 312, 311, 310, 308, 307, 306, 305,
- 304, 303, 302, 301, 131, 224, 224, 220, 215, 215,
- 295, 261, 168, 259, 257, 256, 252, 250, 249, 247,
- 246, 242, 231, 230, 131, 131, 224, 220, 217, 215,
-
- 213, 213, 205, 199, 156, 146, 145, 131, 120, 507,
- 39, 39, 23, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507
+ 26, 27, 28, 27, 29, 27, 26, 26, 26, 30,
+ 26, 26, 26, 31, 32, 33, 34, 34, 34, 35,
+ 26, 26, 36, 36, 36, 36, 36, 36, 26, 26,
+ 26, 36, 36, 36, 37, 36, 38, 39, 36, 36,
+ 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+ 36, 36, 36, 36, 36, 36, 36, 26, 26, 40,
+ 46, 143, 47, 40, 151, 41, 42, 46, 151, 47,
+ 48, 52, 49, 53, 134, 54, 135, 48, 55, 143,
+ 68, 143, 63, 56, 64, 144, 65, 63, 69, 64,
+ 50, 65, 67, 68, 41, 75, 143, 76, 57, 77,
+
+ 284, 69, 28, 147, 116, 43, 152, 44, 70, 66,
+ 36, 71, 117, 158, 66, 75, 165, 76, 166, 77,
+ 79, 70, 78, 36, 71, 72, 58, 59, 52, 143,
+ 53, 73, 54, 60, 61, 55, 143, 28, 72, 122,
+ 56, 98, 78, 41, 73, 26, 98, 123, 118, 28,
+ 26, 116, 118, 174, 119, 57, 172, 143, 173, 120,
+ 124, 28, 143, 122, 124, 36, 125, 36, 36, 143,
+ 36, 126, 36, 36, 151, 143, 259, 28, 151, 128,
+ 143, 191, 176, 58, 59, 80, 81, 129, 96, 143,
+ 143, 82, 28, 96, 128, 145, 153, 130, 143, 146,
+
+ 83, 143, 129, 154, 84, 157, 85, 86, 87, 88,
+ 175, 155, 89, 209, 554, 90, 152, 143, 91, 92,
+ 185, 156, 93, 72, 94, 95, 179, 190, 180, 96,
+ 97, 99, 194, 148, 261, 100, 101, 148, 143, 102,
+ 133, 133, 133, 133, 136, 143, 137, 137, 137, 138,
+ 136, 161, 140, 140, 140, 140, 143, 143, 103, 104,
+ 105, 106, 107, 151, 192, 89, 212, 151, 90, 108,
+ 109, 110, 111, 293, 162, 112, 113, 94, 114, 149,
+ 168, 150, 143, 151, 168, 143, 139, 151, 178, 143,
+ 133, 133, 133, 133, 181, 181, 181, 181, 182, 182,
+
+ 182, 182, 163, 164, 143, 152, 143, 143, 203, 189,
+ 204, 143, 193, 184, 143, 200, 143, 143, 143, 169,
+ 551, 143, 152, 143, 186, 152, 143, 143, 187, 143,
+ 143, 188, 201, 208, 197, 198, 195, 186, 202, 196,
+ 205, 213, 210, 206, 188, 143, 199, 207, 143, 259,
+ 211, 143, 218, 202, 245, 216, 218, 189, 214, 260,
+ 151, 220, 221, 219, 151, 222, 224, 151, 197, 215,
+ 224, 151, 226, 227, 217, 230, 226, 225, 151, 230,
+ 199, 246, 151, 228, 143, 229, 143, 231, 235, 235,
+ 235, 235, 238, 238, 238, 238, 136, 244, 137, 137,
+
+ 137, 138, 152, 136, 143, 138, 138, 138, 138, 152,
+ 136, 265, 140, 140, 140, 140, 256, 247, 148, 151,
+ 152, 143, 148, 151, 251, 143, 252, 143, 143, 168,
+ 143, 257, 253, 168, 143, 143, 143, 258, 275, 143,
+ 254, 181, 181, 181, 181, 143, 255, 285, 286, 277,
+ 262, 143, 143, 143, 276, 182, 182, 182, 182, 143,
+ 143, 152, 266, 267, 149, 287, 150, 143, 169, 288,
+ 184, 152, 143, 143, 294, 143, 143, 143, 289, 290,
+ 295, 296, 143, 291, 143, 292, 143, 297, 143, 143,
+ 143, 298, 143, 143, 143, 143, 300, 303, 143, 143,
+
+ 143, 218, 310, 299, 308, 218, 301, 302, 313, 220,
+ 221, 543, 219, 222, 251, 306, 290, 314, 312, 316,
+ 307, 309, 530, 327, 315, 143, 311, 317, 220, 221,
+ 220, 221, 220, 224, 220, 226, 227, 224, 143, 226,
+ 143, 320, 227, 143, 225, 320, 228, 143, 319, 235,
+ 235, 235, 235, 238, 238, 238, 238, 143, 342, 143,
+ 341, 143, 329, 143, 351, 352, 143, 328, 351, 326,
+ 182, 182, 182, 182, 143, 143, 143, 143, 143, 143,
+ 143, 143, 143, 143, 349, 184, 143, 143, 348, 143,
+ 357, 359, 350, 143, 143, 143, 353, 355, 360, 143,
+
+ 143, 143, 358, 143, 354, 143, 356, 365, 143, 143,
+ 361, 143, 366, 367, 363, 362, 370, 372, 364, 377,
+ 369, 143, 368, 143, 375, 374, 371, 143, 376, 373,
+ 378, 383, 143, 143, 385, 386, 320, 227, 385, 143,
+ 320, 143, 379, 143, 381, 382, 380, 397, 143, 143,
+ 384, 143, 388, 255, 143, 351, 352, 143, 143, 351,
+ 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
+ 390, 391, 400, 143, 392, 401, 404, 410, 143, 143,
+ 350, 143, 411, 412, 407, 143, 419, 143, 405, 413,
+ 406, 143, 409, 408, 415, 414, 143, 143, 416, 418,
+
+ 417, 421, 420, 143, 143, 143, 143, 422, 424, 143,
+ 425, 423, 385, 386, 385, 386, 385, 143, 385, 428,
+ 385, 386, 426, 416, 385, 432, 143, 143, 427, 432,
+ 429, 143, 388, 437, 143, 143, 143, 143, 143, 143,
+ 143, 143, 143, 441, 143, 143, 143, 438, 443, 143,
+ 143, 143, 447, 448, 143, 444, 450, 453, 454, 143,
+ 143, 432, 442, 449, 143, 432, 446, 445, 452, 455,
+ 143, 457, 461, 451, 143, 464, 464, 464, 464, 143,
+ 143, 456, 143, 458, 459, 143, 460, 469, 143, 143,
+ 143, 468, 143, 143, 143, 474, 143, 143, 143, 475,
+
+ 472, 473, 143, 143, 492, 143, 478, 143, 143, 143,
+ 258, 143, 143, 143, 479, 486, 143, 476, 143, 143,
+ 477, 143, 484, 485, 480, 481, 490, 494, 483, 499,
+ 490, 482, 143, 500, 487, 502, 495, 503, 143, 498,
+ 464, 464, 464, 464, 505, 501, 504, 506, 507, 143,
+ 516, 517, 143, 143, 516, 517, 518, 519, 519, 520,
+ 143, 143, 143, 520, 143, 143, 143, 516, 143, 143,
+ 508, 516, 517, 143, 143, 143, 517, 521, 522, 537,
+ 523, 525, 143, 143, 516, 143, 509, 524, 516, 526,
+ 538, 517, 540, 537, 528, 517, 539, 143, 533, 533,
+
+ 533, 533, 527, 143, 143, 534, 534, 534, 534, 535,
+ 535, 535, 535, 536, 532, 553, 143, 535, 535, 535,
+ 535, 542, 544, 545, 143, 541, 544, 546, 548, 534,
+ 534, 534, 534, 550, 257, 143, 533, 533, 533, 533,
+ 536, 531, 530, 548, 535, 535, 535, 535, 549, 544,
+ 545, 548, 556, 544, 552, 552, 552, 552, 555, 143,
+ 552, 552, 552, 552, 143, 143, 548, 557, 557, 557,
+ 557, 558, 559, 558, 559, 558, 143, 558, 515, 514,
+ 513, 512, 511, 510, 143, 557, 557, 557, 557, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 51, 51,
+
+ 51, 51, 51, 51, 51, 51, 51, 62, 62, 62,
+ 62, 62, 62, 62, 62, 62, 74, 74, 74, 74,
+ 74, 74, 74, 74, 74, 115, 115, 115, 115, 115,
+ 115, 115, 115, 115, 121, 121, 121, 121, 121, 121,
+ 121, 121, 121, 127, 127, 127, 127, 127, 127, 127,
+ 127, 127, 131, 131, 143, 131, 131, 131, 131, 131,
+ 131, 141, 141, 142, 142, 142, 142, 167, 167, 143,
+ 167, 167, 167, 167, 167, 167, 171, 171, 143, 171,
+ 171, 171, 171, 171, 171, 177, 177, 497, 177, 177,
+ 177, 177, 177, 177, 183, 496, 183, 183, 183, 233,
+
+ 233, 493, 233, 233, 233, 233, 233, 233, 236, 236,
+ 236, 236, 236, 236, 236, 236, 236, 239, 491, 239,
+ 240, 240, 240, 240, 243, 243, 243, 263, 263, 489,
+ 263, 263, 263, 263, 263, 263, 270, 270, 270, 270,
+ 270, 270, 270, 270, 270, 273, 273, 273, 273, 273,
+ 273, 273, 273, 273, 280, 280, 280, 280, 280, 280,
+ 280, 280, 280, 282, 488, 282, 282, 282, 304, 304,
+ 304, 304, 304, 304, 304, 304, 304, 318, 318, 143,
+ 143, 143, 318, 318, 321, 321, 322, 322, 322, 322,
+ 324, 324, 324, 324, 387, 387, 143, 387, 387, 387,
+
+ 387, 389, 389, 389, 389, 439, 439, 143, 439, 439,
+ 439, 439, 439, 439, 529, 529, 471, 470, 529, 529,
+ 529, 529, 529, 547, 547, 467, 547, 547, 547, 547,
+ 547, 547, 466, 254, 465, 463, 462, 143, 143, 143,
+ 143, 143, 440, 436, 435, 434, 433, 431, 430, 143,
+ 143, 143, 241, 143, 143, 143, 143, 143, 143, 143,
+ 143, 403, 402, 399, 398, 396, 395, 394, 393, 143,
+ 560, 325, 242, 323, 241, 305, 143, 184, 281, 274,
+ 347, 271, 346, 345, 344, 343, 340, 339, 338, 337,
+ 336, 335, 334, 333, 332, 331, 330, 325, 323, 241,
+
+ 237, 232, 232, 319, 305, 283, 184, 281, 279, 278,
+ 274, 272, 271, 269, 268, 264, 250, 249, 248, 242,
+ 143, 241, 237, 234, 232, 230, 230, 223, 217, 170,
+ 160, 159, 143, 132, 560, 41, 41, 25, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560
+
} ;
-static yyconst short int yy_chk[1273] =
+static yyconst flex_int16_t yy_chk[1398] =
{ 0,
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, 2,
- 3, 35, 3, 2, 37, 2, 2, 4, 75, 4,
- 3, 5, 4, 5, 9, 5, 36, 4, 5, 30,
- 67, 30, 7, 5, 7, 35, 7, 8, 37, 8,
- 4, 8, 8, 10, 9, 75, 9, 9, 5, 53,
-
- 10, 53, 36, 17, 39, 17, 36, 2, 39, 7,
- 67, 9, 13, 17, 8, 46, 13, 9, 14, 46,
- 10, 14, 10, 10, 41, 14, 5, 5, 6, 65,
- 6, 65, 6, 6, 6, 6, 13, 10, 13, 13,
- 6, 41, 19, 10, 19, 14, 39, 14, 14, 66,
- 18, 18, 19, 18, 18, 6, 18, 46, 77, 20,
- 20, 18, 20, 20, 21, 20, 21, 22, 68, 22,
- 20, 80, 22, 66, 21, 52, 76, 22, 29, 29,
- 29, 29, 77, 6, 6, 11, 11, 71, 68, 71,
- 31, 503, 31, 31, 31, 31, 40, 38, 52, 501,
-
- 11, 38, 76, 40, 11, 80, 11, 11, 11, 11,
- 57, 40, 11, 64, 57, 11, 73, 64, 11, 11,
- 79, 40, 11, 11, 11, 11, 52, 52, 78, 11,
- 11, 15, 31, 81, 98, 15, 15, 99, 32, 15,
- 32, 32, 32, 32, 117, 38, 73, 79, 98, 57,
- 99, 498, 57, 497, 78, 64, 117, 142, 15, 15,
- 15, 15, 15, 81, 83, 15, 81, 142, 15, 15,
- 15, 15, 15, 94, 74, 15, 15, 15, 15, 70,
- 91, 70, 70, 70, 70, 72, 72, 72, 72, 82,
- 83, 84, 95, 92, 74, 101, 97, 93, 74, 94,
-
- 72, 74, 96, 102, 91, 100, 132, 91, 492, 82,
- 82, 491, 84, 92, 93, 96, 95, 97, 84, 132,
- 92, 82, 134, 96, 93, 100, 100, 106, 172, 107,
- 102, 106, 101, 107, 135, 108, 108, 100, 106, 108,
- 112, 113, 114, 114, 112, 113, 114, 135, 108, 148,
- 169, 112, 134, 114, 172, 114, 118, 118, 133, 489,
- 118, 121, 121, 121, 121, 124, 124, 124, 124, 169,
- 125, 107, 125, 125, 125, 125, 126, 144, 126, 126,
- 126, 126, 128, 113, 128, 128, 128, 128, 136, 138,
- 141, 133, 136, 138, 140, 154, 160, 161, 118, 154,
-
- 148, 148, 140, 170, 162, 141, 144, 171, 140, 160,
- 173, 141, 166, 166, 166, 166, 170, 174, 175, 176,
- 171, 177, 178, 182, 161, 162, 180, 166, 179, 181,
- 183, 138, 184, 186, 154, 185, 136, 154, 187, 178,
- 180, 188, 182, 173, 189, 175, 190, 177, 191, 179,
- 174, 176, 192, 184, 186, 179, 181, 193, 194, 195,
- 183, 191, 189, 184, 196, 185, 197, 198, 201, 201,
- 226, 187, 201, 194, 227, 191, 200, 188, 228, 190,
- 200, 195, 253, 193, 487, 197, 240, 200, 192, 202,
- 202, 229, 482, 202, 196, 198, 204, 204, 206, 227,
-
- 204, 226, 206, 207, 207, 228, 254, 207, 255, 206,
- 229, 208, 208, 253, 207, 208, 207, 210, 210, 240,
- 262, 210, 218, 218, 218, 218, 221, 221, 221, 221,
- 263, 254, 257, 257, 264, 265, 257, 266, 267, 255,
- 261, 261, 261, 261, 268, 270, 271, 272, 274, 275,
- 273, 266, 277, 262, 276, 261, 278, 268, 280, 281,
- 263, 282, 285, 267, 270, 264, 265, 279, 480, 283,
- 286, 284, 274, 287, 288, 281, 271, 289, 273, 275,
- 276, 272, 273, 278, 284, 277, 283, 285, 279, 286,
- 280, 282, 290, 291, 287, 288, 292, 293, 294, 294,
-
- 289, 297, 294, 299, 300, 303, 291, 309, 315, 290,
- 322, 303, 320, 323, 293, 326, 294, 318, 318, 324,
- 328, 318, 292, 329, 333, 330, 336, 331, 309, 337,
- 332, 335, 297, 299, 338, 300, 329, 320, 341, 315,
- 334, 322, 330, 324, 331, 323, 335, 326, 337, 340,
- 328, 332, 336, 334, 341, 342, 333, 334, 343, 344,
- 345, 346, 348, 340, 349, 350, 364, 338, 352, 352,
- 343, 368, 352, 372, 354, 354, 367, 348, 354, 355,
- 355, 370, 350, 355, 373, 345, 346, 360, 342, 349,
- 344, 360, 354, 367, 372, 374, 364, 375, 370, 376,
-
- 378, 379, 380, 382, 386, 383, 368, 385, 387, 388,
- 389, 390, 375, 391, 376, 392, 373, 379, 383, 385,
- 401, 388, 394, 406, 378, 374, 394, 392, 386, 382,
- 398, 402, 404, 405, 380, 407, 394, 394, 394, 394,
- 387, 412, 413, 389, 390, 391, 401, 398, 404, 414,
- 405, 415, 402, 416, 417, 406, 420, 418, 412, 419,
- 421, 423, 426, 424, 429, 423, 413, 407, 420, 424,
- 433, 430, 431, 437, 434, 423, 423, 423, 423, 435,
- 439, 414, 418, 415, 419, 438, 417, 430, 440, 431,
- 416, 434, 421, 426, 443, 435, 429, 438, 444, 449,
-
- 450, 450, 450, 449, 453, 451, 456, 433, 439, 451,
- 437, 458, 459, 460, 461, 462, 463, 449, 471, 464,
- 476, 453, 456, 464, 474, 440, 443, 475, 477, 473,
- 460, 478, 471, 468, 479, 444, 488, 468, 472, 458,
- 475, 474, 461, 486, 463, 477, 459, 468, 468, 468,
- 468, 479, 462, 469, 469, 469, 469, 470, 486, 478,
- 488, 470, 470, 470, 470, 483, 490, 483, 483, 483,
- 483, 484, 494, 496, 467, 484, 484, 484, 484, 493,
- 493, 493, 493, 490, 500, 466, 499, 494, 499, 499,
- 499, 499, 502, 502, 502, 502, 504, 504, 505, 505,
-
- 504, 500, 505, 465, 457, 455, 496, 454, 452, 448,
- 504, 504, 504, 504, 508, 508, 508, 508, 508, 508,
- 508, 508, 508, 509, 509, 509, 509, 509, 509, 509,
- 509, 509, 510, 510, 510, 510, 510, 510, 510, 510,
- 510, 511, 511, 511, 511, 511, 511, 511, 511, 511,
- 512, 512, 512, 512, 512, 512, 512, 512, 512, 513,
- 513, 513, 513, 513, 513, 513, 513, 513, 514, 514,
- 447, 514, 514, 514, 514, 514, 514, 515, 515, 516,
- 516, 516, 516, 517, 517, 446, 517, 517, 517, 517,
- 517, 517, 518, 518, 445, 518, 518, 518, 518, 518,
-
- 518, 519, 442, 519, 519, 519, 520, 520, 441, 520,
- 520, 520, 520, 520, 520, 521, 521, 521, 521, 521,
- 521, 521, 521, 521, 522, 436, 522, 523, 523, 523,
- 523, 524, 524, 524, 524, 525, 525, 432, 525, 525,
- 525, 525, 525, 525, 526, 526, 526, 526, 526, 526,
- 526, 526, 526, 527, 527, 527, 527, 527, 527, 527,
- 527, 527, 528, 528, 528, 528, 528, 528, 528, 528,
- 528, 529, 428, 529, 529, 529, 530, 530, 427, 425,
- 422, 530, 530, 531, 531, 531, 531, 532, 532, 411,
- 532, 532, 532, 532, 533, 533, 410, 533, 533, 533,
-
- 533, 533, 533, 534, 534, 409, 408, 534, 534, 534,
- 534, 534, 535, 535, 403, 535, 535, 535, 535, 535,
- 535, 400, 399, 397, 396, 395, 393, 384, 381, 377,
- 371, 369, 366, 363, 362, 361, 359, 358, 357, 356,
- 351, 347, 339, 327, 325, 321, 317, 316, 314, 310,
- 308, 305, 302, 301, 298, 296, 269, 260, 258, 251,
- 250, 248, 245, 244, 243, 241, 239, 238, 236, 235,
- 233, 232, 231, 230, 225, 224, 223, 219, 217, 216,
- 211, 168, 167, 165, 164, 163, 159, 155, 152, 150,
- 149, 147, 139, 137, 131, 130, 129, 123, 120, 119,
-
- 116, 115, 111, 105, 58, 47, 45, 34, 28, 23,
- 16, 12, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507, 507, 507, 507, 507, 507, 507, 507, 507,
- 507, 507
+ 3, 37, 3, 2, 41, 2, 2, 4, 41, 4,
+ 3, 5, 4, 5, 32, 5, 32, 4, 5, 39,
+ 9, 185, 7, 5, 7, 37, 7, 8, 9, 8,
+ 4, 8, 8, 10, 10, 11, 44, 11, 5, 11,
+
+ 185, 10, 19, 39, 19, 2, 41, 2, 9, 7,
+ 9, 9, 19, 44, 8, 12, 56, 12, 56, 12,
+ 12, 10, 11, 10, 10, 9, 5, 5, 6, 70,
+ 6, 9, 6, 6, 6, 6, 556, 21, 10, 21,
+ 6, 15, 12, 16, 10, 15, 16, 21, 20, 20,
+ 16, 20, 20, 70, 20, 6, 69, 88, 69, 20,
+ 22, 22, 72, 22, 22, 15, 22, 15, 15, 38,
+ 16, 22, 16, 16, 49, 43, 554, 23, 49, 23,
+ 71, 88, 72, 6, 6, 13, 13, 23, 15, 107,
+ 84, 13, 24, 16, 24, 38, 42, 24, 91, 38,
+
+ 13, 87, 24, 42, 13, 43, 13, 13, 13, 13,
+ 71, 42, 13, 107, 551, 13, 49, 157, 13, 13,
+ 84, 42, 13, 13, 13, 13, 81, 87, 81, 13,
+ 13, 17, 91, 40, 157, 17, 17, 40, 89, 17,
+ 31, 31, 31, 31, 33, 109, 33, 33, 33, 33,
+ 34, 55, 34, 34, 34, 34, 194, 550, 17, 17,
+ 17, 17, 17, 67, 89, 17, 109, 67, 17, 17,
+ 17, 17, 17, 194, 55, 17, 17, 17, 17, 40,
+ 60, 40, 86, 79, 60, 90, 33, 79, 80, 94,
+ 80, 80, 80, 80, 82, 82, 82, 82, 83, 83,
+
+ 83, 83, 55, 55, 85, 67, 92, 106, 102, 86,
+ 102, 95, 90, 83, 93, 94, 103, 104, 113, 60,
+ 543, 145, 60, 542, 85, 79, 114, 110, 85, 108,
+ 105, 85, 95, 106, 93, 93, 92, 104, 95, 92,
+ 103, 110, 108, 103, 104, 111, 93, 105, 112, 155,
+ 108, 146, 118, 114, 145, 113, 118, 105, 111, 155,
+ 119, 120, 120, 118, 119, 120, 124, 125, 112, 112,
+ 124, 125, 126, 126, 120, 129, 126, 124, 130, 130,
+ 112, 146, 130, 126, 144, 126, 540, 129, 133, 133,
+ 133, 133, 136, 136, 136, 136, 137, 144, 137, 137,
+
+ 137, 137, 119, 138, 147, 138, 138, 138, 138, 125,
+ 140, 162, 140, 140, 140, 140, 154, 147, 148, 151,
+ 130, 158, 148, 151, 153, 174, 153, 175, 176, 168,
+ 538, 154, 153, 168, 186, 187, 189, 154, 174, 188,
+ 153, 181, 181, 181, 181, 190, 153, 186, 187, 176,
+ 158, 192, 191, 195, 175, 182, 182, 182, 182, 193,
+ 197, 151, 162, 162, 148, 188, 148, 196, 168, 189,
+ 182, 168, 198, 199, 195, 200, 202, 201, 190, 191,
+ 195, 196, 205, 192, 206, 193, 207, 197, 208, 209,
+ 210, 198, 211, 212, 214, 213, 200, 202, 245, 216,
+
+ 215, 218, 209, 199, 207, 218, 200, 201, 212, 219,
+ 219, 532, 218, 219, 531, 205, 209, 213, 211, 215,
+ 206, 208, 529, 245, 214, 262, 210, 216, 220, 220,
+ 222, 222, 220, 224, 222, 225, 225, 224, 244, 225,
+ 246, 226, 226, 247, 224, 226, 225, 261, 225, 235,
+ 235, 235, 235, 238, 238, 238, 238, 275, 262, 276,
+ 261, 277, 247, 284, 279, 279, 286, 246, 279, 244,
+ 283, 283, 283, 283, 285, 287, 288, 289, 290, 292,
+ 293, 294, 297, 296, 276, 283, 295, 298, 275, 299,
+ 288, 290, 277, 300, 302, 301, 284, 286, 292, 306,
+
+ 310, 303, 289, 309, 285, 316, 287, 296, 307, 311,
+ 293, 308, 297, 298, 295, 294, 301, 303, 295, 310,
+ 300, 312, 299, 313, 308, 307, 302, 314, 309, 306,
+ 311, 316, 315, 317, 318, 318, 320, 320, 318, 326,
+ 320, 328, 312, 329, 314, 315, 313, 335, 341, 348,
+ 317, 353, 318, 335, 342, 351, 351, 355, 356, 351,
+ 357, 359, 361, 366, 362, 363, 364, 370, 365, 371,
+ 326, 328, 341, 369, 329, 342, 353, 362, 375, 377,
+ 348, 367, 363, 364, 357, 368, 370, 373, 355, 365,
+ 356, 374, 361, 359, 367, 366, 376, 378, 367, 369,
+
+ 368, 373, 371, 379, 381, 382, 383, 374, 376, 400,
+ 377, 375, 385, 385, 387, 387, 385, 401, 387, 381,
+ 388, 388, 378, 383, 388, 395, 404, 405, 379, 395,
+ 382, 407, 387, 400, 409, 410, 411, 412, 413, 415,
+ 416, 417, 419, 404, 420, 423, 422, 401, 407, 424,
+ 426, 427, 412, 413, 428, 409, 416, 420, 422, 425,
+ 429, 432, 405, 415, 437, 432, 411, 410, 419, 423,
+ 438, 425, 429, 417, 441, 432, 432, 432, 432, 444,
+ 442, 424, 445, 426, 427, 446, 428, 438, 447, 452,
+ 453, 437, 454, 455, 456, 444, 457, 458, 459, 445,
+
+ 441, 442, 461, 460, 466, 469, 452, 472, 476, 480,
+ 466, 483, 468, 473, 453, 460, 474, 446, 477, 482,
+ 447, 478, 458, 459, 454, 455, 464, 468, 457, 473,
+ 464, 456, 481, 474, 461, 477, 469, 478, 486, 472,
+ 464, 464, 464, 464, 481, 476, 480, 482, 483, 487,
+ 494, 495, 504, 505, 494, 495, 496, 496, 496, 497,
+ 499, 507, 502, 497, 506, 508, 509, 510, 494, 495,
+ 486, 510, 511, 523, 525, 526, 511, 499, 502, 520,
+ 504, 506, 549, 524, 516, 522, 487, 505, 516, 507,
+ 523, 517, 526, 520, 509, 517, 524, 527, 516, 516,
+
+ 516, 516, 508, 521, 528, 517, 517, 517, 517, 518,
+ 518, 518, 518, 519, 515, 549, 541, 519, 519, 519,
+ 519, 528, 533, 533, 539, 527, 533, 534, 537, 534,
+ 534, 534, 534, 541, 514, 553, 533, 533, 533, 533,
+ 535, 513, 512, 537, 535, 535, 535, 535, 539, 544,
+ 544, 547, 553, 544, 546, 546, 546, 546, 552, 503,
+ 552, 552, 552, 552, 501, 500, 547, 555, 555, 555,
+ 555, 557, 557, 558, 558, 557, 498, 558, 493, 492,
+ 491, 490, 489, 488, 485, 557, 557, 557, 557, 561,
+ 561, 561, 561, 561, 561, 561, 561, 561, 562, 562,
+
+ 562, 562, 562, 562, 562, 562, 562, 563, 563, 563,
+ 563, 563, 563, 563, 563, 563, 564, 564, 564, 564,
+ 564, 564, 564, 564, 564, 565, 565, 565, 565, 565,
+ 565, 565, 565, 565, 566, 566, 566, 566, 566, 566,
+ 566, 566, 566, 567, 567, 567, 567, 567, 567, 567,
+ 567, 567, 568, 568, 484, 568, 568, 568, 568, 568,
+ 568, 569, 569, 570, 570, 570, 570, 571, 571, 479,
+ 571, 571, 571, 571, 571, 571, 572, 572, 475, 572,
+ 572, 572, 572, 572, 572, 573, 573, 471, 573, 573,
+ 573, 573, 573, 573, 574, 470, 574, 574, 574, 575,
+
+ 575, 467, 575, 575, 575, 575, 575, 575, 576, 576,
+ 576, 576, 576, 576, 576, 576, 576, 577, 465, 577,
+ 578, 578, 578, 578, 579, 579, 579, 580, 580, 463,
+ 580, 580, 580, 580, 580, 580, 581, 581, 581, 581,
+ 581, 581, 581, 581, 581, 582, 582, 582, 582, 582,
+ 582, 582, 582, 582, 583, 583, 583, 583, 583, 583,
+ 583, 583, 583, 584, 462, 584, 584, 584, 585, 585,
+ 585, 585, 585, 585, 585, 585, 585, 586, 586, 451,
+ 450, 449, 586, 586, 587, 587, 588, 588, 588, 588,
+ 589, 589, 589, 589, 590, 590, 448, 590, 590, 590,
+
+ 590, 591, 591, 591, 591, 592, 592, 443, 592, 592,
+ 592, 592, 592, 592, 593, 593, 440, 439, 593, 593,
+ 593, 593, 593, 594, 594, 436, 594, 594, 594, 594,
+ 594, 594, 435, 434, 433, 431, 430, 421, 418, 414,
+ 408, 406, 403, 399, 398, 397, 396, 394, 393, 392,
+ 391, 390, 389, 384, 380, 372, 360, 358, 354, 350,
+ 349, 347, 343, 340, 337, 334, 332, 331, 330, 327,
+ 325, 324, 323, 322, 321, 304, 291, 282, 280, 273,
+ 272, 270, 267, 266, 265, 263, 260, 259, 257, 256,
+ 254, 253, 252, 251, 250, 249, 248, 243, 242, 240,
+
+ 236, 234, 233, 228, 204, 184, 183, 180, 179, 178,
+ 173, 169, 166, 164, 163, 161, 152, 150, 149, 143,
+ 142, 141, 135, 132, 131, 128, 127, 123, 117, 61,
+ 50, 48, 36, 30, 25, 18, 14, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560, 560, 560, 560,
+ 560, 560, 560, 560, 560, 560, 560
+
} ;
-static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
+extern int yy_flex_debug;
+int yy_flex_debug = 0;
+
+static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
static char *yy_full_match;
static int yy_lp;
#define REJECT \
{ \
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
-yy_cp = yy_full_match; /* restore poss. backed-over text */ \
-++yy_lp; \
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
+yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
+++(yy_lp); \
goto find_rule; \
}
+
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "lexer.l"
-#define INITIAL 0
/* GOB C Preprocessor
- * Copyright (C) 1999 the Free Software Foundation.
+ * Copyright (C) 1999-2000 the Free Software Foundation.
+ * Copyright (C) 2000 Eazel, Inc.
+ * Copyright (C) 2001-2009 George (Jiri) Lebl
*
* Author: George Lebl
*
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*/
-#line 22 "lexer.l"
+#line 24 "lexer.l"
#include "config.h"
-#include <glib.h>
+#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include <glib.h>
#include "treefuncs.h"
#include "parse.h"
#include "util.h"
static int parenth_depth = 0;
-static int before_comment = INITIAL;
+static int before_comment
+/* New flex is on drugs */
+#if defined(FLEX_SCANNER) && ! defined(INITIAL)
+ = 0;
+#else
+ = INITIAL;
+#endif
static gboolean class_after_c = FALSE;
static int code_type = CCODE;
static int before_string;
int yylex(void);
#endif
-#define COMMENT 1
-#define C_CODE 2
-#define CODE_STRING 3
+
+
+
+
+
+
+
+
+#line 1153 "lexer.c"
+
+#define INITIAL 0
+#define COMMENT 1
+#define C_CODE 2
+#define CODE_STRING 3
#define CLASS_CODE 4
+#define CLASS_STRING 5
+#define CLASS_CODE_I 6
+#define PROPERTY_CODE 7
+#define PROPERTY_CODE_I 8
+#define GTK_DOC_BEFORE_NAME 9
+#define GTK_DOC 10
+#define GTK_DOC_LINE 11
+
+#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
+
+#ifndef YY_EXTRA_TYPE
+#define YY_EXTRA_TYPE void *
+#endif
+
+static int yy_init_globals (void );
+
+/* Accessor methods to globals.
+ These are made visible to non-reentrant scanners for convenience. */
-#define CLASS_CODE_I 5
+int yylex_destroy (void );
-#define PROPERTY_CODE 6
+int yyget_debug (void );
-#define PROPERTY_CODE_I 7
+void yyset_debug (int debug_flag );
-#define GTK_DOC_BEFORE_NAME 8
+YY_EXTRA_TYPE yyget_extra (void );
-#define GTK_DOC 9
+void yyset_extra (YY_EXTRA_TYPE user_defined );
-#define GTK_DOC_LINE 10
+FILE *yyget_in (void );
-#line 1006 "lex.yy.c"
+void yyset_in (FILE * in_str );
+
+FILE *yyget_out (void );
+
+void yyset_out (FILE * out_str );
+
+int yyget_leng (void );
+
+char *yyget_text (void );
+
+int yyget_lineno (void );
+
+void yyset_lineno (int line_number );
/* Macros after this point can all be overridden by user definitions in
* section 1.
#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
-extern "C" int yywrap YY_PROTO(( void ));
+extern "C" int yywrap (void );
#else
-extern int yywrap YY_PROTO(( void ));
+extern int yywrap (void );
#endif
#endif
-#ifndef YY_NO_UNPUT
-static void yyunput YY_PROTO(( int c, char *buf_ptr ));
-#endif
-
+ static void yyunput (int c,char *buf_ptr );
+
#ifndef yytext_ptr
-static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
+static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
#ifdef YY_NEED_STRLEN
-static int yy_flex_strlen YY_PROTO(( yyconst char * ));
+static int yy_flex_strlen (yyconst char * );
#endif
#ifndef YY_NO_INPUT
-#ifdef __cplusplus
-static int yyinput YY_PROTO(( void ));
-#else
-static int input YY_PROTO(( void ));
-#endif
-#endif
-
-#if YY_STACK_USED
-static int yy_start_stack_ptr = 0;
-static int yy_start_stack_depth = 0;
-static int *yy_start_stack = 0;
-#ifndef YY_NO_PUSH_STATE
-static void yy_push_state YY_PROTO(( int new_state ));
-#endif
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state YY_PROTO(( void ));
-#endif
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state YY_PROTO(( void ));
-#endif
+#ifdef __cplusplus
+static int yyinput (void );
#else
-#define YY_NO_PUSH_STATE 1
-#define YY_NO_POP_STATE 1
-#define YY_NO_TOP_STATE 1
+static int input (void );
#endif
-#ifdef YY_MALLOC_DECL
-YY_MALLOC_DECL
-#else
-#if __STDC__
-#ifndef __cplusplus
-#include <stdlib.h>
-#endif
-#else
-/* Just try to get by without declaring the routines. This will fail
- * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
- * or sizeof(void*) != sizeof(int).
- */
-#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 (void) fwrite( yytext, yyleng, 1, yyout )
+#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,
*/
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
- if ( yy_current_buffer->yy_is_interactive ) \
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
- int c = '*', n; \
+ int c = '*'; \
+ size_t n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
- else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
- && ferror( yyin ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" );
+ 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();" -
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#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 int yylex YY_PROTO(( void ))
-#endif
+#define YY_DECL_IS_OURS 1
+
+extern int yylex (void);
+
+#define YY_DECL int yylex (void)
+#endif /* !YY_DECL */
/* Code executed at the beginning of each rule, after yytext and yyleng
* have been set up.
#define YY_RULE_SETUP \
if ( yyleng > 0 ) \
- yy_current_buffer->yy_at_bol = \
+ 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 = NULL, *yy_bp = NULL;
+ register char *yy_cp, *yy_bp;
register int yy_act;
-
-#line 109 "lexer.l"
+
+#line 119 "lexer.l"
-#line 1171 "lex.yy.c"
+#line 1365 "lexer.c"
- if ( yy_init )
+ if ( !(yy_init) )
{
- yy_init = 0;
+ (yy_init) = 1;
#ifdef YY_USER_INIT
YY_USER_INIT;
#endif
- if ( ! yy_start )
- yy_start = 1; /* first start state */
+ /* Create the reject buffer large enough to save one state per allowed character. */
+ if ( ! (yy_state_buf) )
+ (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
+ if ( ! (yy_state_buf) )
+ YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
+
+ if ( ! (yy_start) )
+ (yy_start) = 1; /* first start state */
if ( ! yyin )
yyin = stdin;
if ( ! yyout )
yyout = stdout;
- if ( ! yy_current_buffer )
- yy_current_buffer =
- yy_create_buffer( yyin, YY_BUF_SIZE );
+ if ( ! YY_CURRENT_BUFFER ) {
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
+ }
- yy_load_buffer_state();
+ yy_load_buffer_state( );
}
while ( 1 ) /* loops until end-of-file is reached */
{
- yy_cp = yy_c_buf_p;
+ yy_cp = (yy_c_buf_p);
/* Support of yytext. */
- *yy_cp = yy_hold_char;
+ *yy_cp = (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 = yy_start;
+ yy_current_state = (yy_start);
yy_current_state += YY_AT_BOL();
- yy_state_ptr = yy_state_buf;
- *yy_state_ptr++ = yy_current_state;
+
+ (yy_state_ptr) = (yy_state_buf);
+ *(yy_state_ptr)++ = yy_current_state;
+
yy_match:
do
{
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 >= 508 )
+ if ( yy_current_state >= 561 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- *yy_state_ptr++ = yy_current_state;
+ *(yy_state_ptr)++ = yy_current_state;
++yy_cp;
}
- while ( yy_base[yy_current_state] != 1213 );
+ while ( yy_base[yy_current_state] != 1338 );
yy_find_action:
- yy_current_state = *--yy_state_ptr;
- yy_lp = yy_accept[yy_current_state];
+ yy_current_state = *--(yy_state_ptr);
+ (yy_lp) = yy_accept[yy_current_state];
find_rule: /* we branch to this label when backing up */
for ( ; ; ) /* until we find what rule we matched */
{
- if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
+ if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
{
- yy_act = yy_acclist[yy_lp];
+ yy_act = yy_acclist[(yy_lp)];
{
- yy_full_match = yy_cp;
+ (yy_full_match) = yy_cp;
break;
}
}
--yy_cp;
- yy_current_state = *--yy_state_ptr;
- yy_lp = yy_accept[yy_current_state];
+ yy_current_state = *--(yy_state_ptr);
+ (yy_lp) = 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 1:
+/* rule 1 can match eol */
YY_RULE_SETUP
-#line 119 "lexer.l"
+#line 129 "lexer.l"
{ line_no++; REJECT; }
YY_BREAK
case 2:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 121 "lexer.l"
+#line 131 "lexer.l"
{
/* Thy evil easter egg */
#define QQ(x) long x
}
YY_BREAK
case 3:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 143 "lexer.l"
+#line 153 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 145 "lexer.l"
+#line 155 "lexer.l"
{
char *p;
char *number;
YY_BREAK
case 5:
YY_RULE_SETUP
-#line 182 "lexer.l"
+#line 192 "lexer.l"
{
if(look_for_includes==1) {
char *p;
file++;
p = strchr(file,'"');
if(!p) p = strchr(file,'>');
- *p = '\0';
- include_files = g_list_prepend(include_files,g_strdup(file));
- g_free(str);
+ if (p != NULL) {
+ *p = '\0';
+ include_files = g_list_prepend(include_files,g_strdup(file));
+ g_free(str);
+ }
}
REJECT;
}
YY_BREAK
case 6:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 199 "lexer.l"
+#line 211 "lexer.l"
{
/* eat out gtk doc stuff */
BEGIN(GTK_DOC_BEFORE_NAME);
}
YY_BREAK
case 7:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 204 "lexer.l"
+#line 216 "lexer.l"
{
/* empty doc lines */
;
}
YY_BREAK
case 8:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 208 "lexer.l"
+#line 220 "lexer.l"
{
char *p;
BEGIN(GTK_DOC);
YY_BREAK
case 9:
YY_RULE_SETUP
-#line 218 "lexer.l"
+#line 230 "lexer.l"
{
BEGIN(CLASS_CODE_I);
}
YY_BREAK
case 10:
YY_RULE_SETUP
-#line 221 "lexer.l"
+#line 233 "lexer.l"
{
BEGIN(COMMENT);
before_comment = CLASS_CODE_I;
}
YY_BREAK
case 11:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 225 "lexer.l"
+#line 237 "lexer.l"
{
/* empty doc lines */
add_to_cbuf(" *\n");
YY_BREAK
case 12:
YY_RULE_SETUP
-#line 229 "lexer.l"
+#line 241 "lexer.l"
{
BEGIN(CLASS_CODE_I);
add_gtk_doc_func();
YY_BREAK
case 13:
YY_RULE_SETUP
-#line 233 "lexer.l"
+#line 245 "lexer.l"
{
fflush(stdout);
add_to_cbuf(" * ");
YY_BREAK
case 14:
YY_RULE_SETUP
-#line 238 "lexer.l"
+#line 250 "lexer.l"
{
BEGIN(CLASS_CODE_I);
}
YY_BREAK
case 15:
YY_RULE_SETUP
-#line 241 "lexer.l"
+#line 253 "lexer.l"
{
BEGIN(COMMENT);
before_comment = CLASS_CODE_I;
YY_BREAK
case 16:
YY_RULE_SETUP
-#line 245 "lexer.l"
+#line 257 "lexer.l"
{
BEGIN(CLASS_CODE_I);
add_to_cbuf("\n");
}
YY_BREAK
case 17:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 250 "lexer.l"
+#line 262 "lexer.l"
{
BEGIN(GTK_DOC);
add_to_cbuf(yytext);
YY_BREAK
case 18:
YY_RULE_SETUP
-#line 255 "lexer.l"
+#line 267 "lexer.l"
{
fflush(stdout);
add_to_cbuf(yytext);
}
YY_BREAK
case 19:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 260 "lexer.l"
+#line 272 "lexer.l"
{ add_to_cbuf(yytext); /*comment, ignore*/ }
YY_BREAK
case 20:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 261 "lexer.l"
+#line 273 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
case 21:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 262 "lexer.l"
+#line 274 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
case 22:
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
+YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 263 "lexer.l"
-{BEGIN(COMMENT); before_comment = INITIAL; }
+#line 275 "lexer.l"
+{ ; /*comment, ignore*/ }
YY_BREAK
case 23:
YY_RULE_SETUP
-#line 264 "lexer.l"
+#line 276 "lexer.l"
+{BEGIN(COMMENT); before_comment = INITIAL; }
+ YY_BREAK
+case 24:
+YY_RULE_SETUP
+#line 277 "lexer.l"
{
add_to_cbuf(yytext);
BEGIN(COMMENT);
before_comment = C_CODE;
}
YY_BREAK
-case 24:
+case 25:
YY_RULE_SETUP
-#line 269 "lexer.l"
+#line 282 "lexer.l"
{BEGIN(COMMENT); before_comment = CLASS_CODE; }
YY_BREAK
-case 25:
+case 26:
YY_RULE_SETUP
-#line 270 "lexer.l"
+#line 283 "lexer.l"
{BEGIN(COMMENT); before_comment = CLASS_CODE_I; }
YY_BREAK
-case 26:
+case 27:
+YY_RULE_SETUP
+#line 284 "lexer.l"
+{BEGIN(COMMENT); before_comment = PROPERTY_CODE_I; }
+ YY_BREAK
+case 28:
YY_RULE_SETUP
-#line 271 "lexer.l"
+#line 285 "lexer.l"
{
if(before_comment == C_CODE) add_to_cbuf(yytext);
BEGIN(before_comment);
}
YY_BREAK
-case 27:
+case 29:
YY_RULE_SETUP
-#line 275 "lexer.l"
+#line 289 "lexer.l"
{
/* comment, ignore */
if(before_comment == C_CODE) add_to_cbuf(yytext);
}
YY_BREAK
-case 28:
+case 30:
+/* rule 30 can match eol */
YY_RULE_SETUP
-#line 279 "lexer.l"
+#line 293 "lexer.l"
{
/* comment, ignore */
if(before_comment == C_CODE) add_to_cbuf(yytext);
}
YY_BREAK
-case 29:
+case 31:
YY_RULE_SETUP
-#line 284 "lexer.l"
+#line 298 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 30:
+case 32:
YY_RULE_SETUP
-#line 292 "lexer.l"
+#line 306 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 31:
+case 33:
YY_RULE_SETUP
-#line 301 "lexer.l"
+#line 315 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 32:
+case 34:
YY_RULE_SETUP
-#line 309 "lexer.l"
+#line 323 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 33:
+case 35:
YY_RULE_SETUP
-#line 317 "lexer.l"
+#line 331 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 34:
+case 36:
YY_RULE_SETUP
-#line 325 "lexer.l"
+#line 339 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
look_for_includes=1;
}
YY_BREAK
-case 35:
+case 37:
+YY_RULE_SETUP
+#line 349 "lexer.l"
+{
+ BEGIN(C_CODE);
+ parenth_depth = 1;
+ class_after_c = FALSE;
+ code_type = ADCODE;
+ clear_cbuf();
+ ccode_line = line_no;
+ }
+ YY_BREAK
+case 38:
YY_RULE_SETUP
-#line 335 "lexer.l"
+#line 357 "lexer.l"
{
BEGIN(INITIAL);
yylval.cbuf = cbuf;
return code_type;
}
YY_BREAK
-case 36:
+case 39:
YY_RULE_SETUP
-#line 344 "lexer.l"
+#line 366 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 37:
+case 40:
YY_RULE_SETUP
-#line 345 "lexer.l"
+#line 367 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 38:
+case 41:
YY_RULE_SETUP
-#line 346 "lexer.l"
+#line 368 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 39:
+case 42:
YY_RULE_SETUP
-#line 347 "lexer.l"
+#line 369 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 40:
+case 43:
YY_RULE_SETUP
-#line 348 "lexer.l"
+#line 370 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 41:
+case 44:
YY_RULE_SETUP
-#line 349 "lexer.l"
+#line 371 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 42:
+case 45:
YY_RULE_SETUP
-#line 351 "lexer.l"
+#line 373 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 43:
+case 46:
YY_RULE_SETUP
-#line 354 "lexer.l"
+#line 376 "lexer.l"
{
BEGIN(CODE_STRING);
before_string = C_CODE;
add_to_cbuf(yytext);
}
YY_BREAK
-case 44:
+case 47:
YY_RULE_SETUP
-#line 359 "lexer.l"
+#line 381 "lexer.l"
{
BEGIN(CODE_STRING);
before_string = PROPERTY_CODE_I;
add_to_cbuf(yytext);
}
YY_BREAK
-case 45:
+case 48:
YY_RULE_SETUP
-#line 364 "lexer.l"
+#line 386 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 46:
+case 49:
YY_RULE_SETUP
-#line 365 "lexer.l"
+#line 387 "lexer.l"
{
BEGIN(before_string);
add_to_cbuf(yytext);
}
}
YY_BREAK
-case 47:
+case 50:
YY_RULE_SETUP
-#line 375 "lexer.l"
+#line 397 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 48:
+case 51:
+/* rule 51 can match eol */
YY_RULE_SETUP
-#line 376 "lexer.l"
+#line 398 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 49:
+case 52:
YY_RULE_SETUP
-#line 378 "lexer.l"
+#line 400 "lexer.l"
{
parenth_depth++;
add_to_cbuf(yytext);
}
YY_BREAK
-case 50:
+case 53:
YY_RULE_SETUP
-#line 382 "lexer.l"
+#line 404 "lexer.l"
{
parenth_depth--;
if(parenth_depth<0) {
add_to_cbuf(yytext);
}
YY_BREAK
-case 51:
+case 54:
YY_RULE_SETUP
-#line 395 "lexer.l"
+#line 417 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 52:
+case 55:
+/* rule 55 can match eol */
YY_RULE_SETUP
-#line 396 "lexer.l"
+#line 418 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 53:
+case 56:
YY_RULE_SETUP
-#line 398 "lexer.l"
+#line 420 "lexer.l"
{
static int found_classes = 0;
look_for_includes = 2;
return CLASS;
}
YY_BREAK
-case 54:
+case 57:
YY_RULE_SETUP
-#line 411 "lexer.l"
+#line 433 "lexer.l"
{ return ERROR; }
YY_BREAK
-case 55:
+case 58:
YY_RULE_SETUP
-#line 412 "lexer.l"
+#line 434 "lexer.l"
{ return ENUM; }
YY_BREAK
-case 56:
+case 59:
YY_RULE_SETUP
-#line 413 "lexer.l"
+#line 435 "lexer.l"
{ return FLAGS; }
YY_BREAK
-case 57:
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */
-yy_c_buf_p = yy_cp -= 1;
+case 60:
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 415 "lexer.l"
+#line 437 "lexer.l"
{
int maj = 0, min = 0, pl = 0;
int rmaj = 0, rmin = 0, rpl = 0;
}
YY_BREAK
-case 58:
+case 61:
YY_RULE_SETUP
-#line 456 "lexer.l"
+#line 478 "lexer.l"
{
if(for_cpp) {
error_printf(GOB_WARN, line_no,
REJECT;
}
YY_BREAK
-case 59:
+case 62:
YY_RULE_SETUP
-#line 466 "lexer.l"
+#line 488 "lexer.l"
{return FROM;}
YY_BREAK
-case 60:
+case 63:
+YY_RULE_SETUP
+#line 489 "lexer.l"
+{
+ BEGIN(CLASS_STRING);
+ before_string = CLASS_CODE;
+ add_to_cbuf(yytext);
+ }
+ YY_BREAK
+case 64:
+YY_RULE_SETUP
+#line 494 "lexer.l"
+{ add_to_cbuf(yytext); }
+ YY_BREAK
+case 65:
YY_RULE_SETUP
-#line 468 "lexer.l"
+#line 495 "lexer.l"
+{
+ BEGIN(before_string);
+ add_to_cbuf(yytext);
+ yylval.id = cbuf->str;
+ g_string_free (cbuf, FALSE);
+ cbuf = NULL;
+ return STRING;
+ }
+ YY_BREAK
+case 66:
+YY_RULE_SETUP
+#line 503 "lexer.l"
+{ add_to_cbuf(yytext); }
+ YY_BREAK
+case 67:
+/* rule 67 can match eol */
+YY_RULE_SETUP
+#line 504 "lexer.l"
+{ add_to_cbuf(yytext); }
+ YY_BREAK
+case 68:
+YY_RULE_SETUP
+#line 506 "lexer.l"
{return VOID;}
YY_BREAK
-case 61:
+case 69:
YY_RULE_SETUP
-#line 469 "lexer.l"
+#line 507 "lexer.l"
{return STRUCT;}
YY_BREAK
-case 62:
+case 70:
YY_RULE_SETUP
-#line 470 "lexer.l"
+#line 508 "lexer.l"
{return UNION;}
YY_BREAK
-case 63:
+case 71:
YY_RULE_SETUP
-#line 471 "lexer.l"
+#line 509 "lexer.l"
{return ENUM;}
YY_BREAK
-case 64:
+case 72:
YY_RULE_SETUP
-#line 472 "lexer.l"
+#line 510 "lexer.l"
{return SIGNED;}
YY_BREAK
-case 65:
+case 73:
YY_RULE_SETUP
-#line 473 "lexer.l"
+#line 511 "lexer.l"
{return UNSIGNED;}
YY_BREAK
-case 66:
+case 74:
YY_RULE_SETUP
-#line 474 "lexer.l"
+#line 512 "lexer.l"
{return LONG;}
YY_BREAK
-case 67:
+case 75:
YY_RULE_SETUP
-#line 475 "lexer.l"
+#line 513 "lexer.l"
{return SHORT;}
YY_BREAK
-case 68:
+case 76:
YY_RULE_SETUP
-#line 476 "lexer.l"
+#line 514 "lexer.l"
{return INT;}
YY_BREAK
-case 69:
+case 77:
YY_RULE_SETUP
-#line 477 "lexer.l"
+#line 515 "lexer.l"
{return FLOAT;}
YY_BREAK
-case 70:
+case 78:
YY_RULE_SETUP
-#line 478 "lexer.l"
+#line 516 "lexer.l"
{return DOUBLE;}
YY_BREAK
-case 71:
+case 79:
YY_RULE_SETUP
-#line 479 "lexer.l"
+#line 517 "lexer.l"
{return CHAR;}
YY_BREAK
-case 72:
+case 80:
YY_RULE_SETUP
-#line 480 "lexer.l"
+#line 518 "lexer.l"
{return CONST;}
YY_BREAK
-case 73:
+case 81:
YY_RULE_SETUP
-#line 482 "lexer.l"
+#line 520 "lexer.l"
{return THREEDOTS;}
YY_BREAK
-case 74:
+case 82:
YY_RULE_SETUP
-#line 484 "lexer.l"
+#line 522 "lexer.l"
{yylval.line = line_no; return PUBLIC;}
YY_BREAK
-case 75:
+case 83:
YY_RULE_SETUP
-#line 485 "lexer.l"
+#line 523 "lexer.l"
{yylval.line = line_no; return PRIVATE;}
YY_BREAK
-case 76:
+case 84:
YY_RULE_SETUP
-#line 486 "lexer.l"
+#line 524 "lexer.l"
{yylval.line = line_no; return PROTECTED;}
YY_BREAK
-case 77:
+case 85:
YY_RULE_SETUP
-#line 487 "lexer.l"
+#line 525 "lexer.l"
{yylval.line = line_no; return CLASSWIDE;}
YY_BREAK
-case 78:
+case 86:
YY_RULE_SETUP
-#line 488 "lexer.l"
+#line 526 "lexer.l"
{yylval.line = line_no; return ARGUMENT;}
YY_BREAK
-case 79:
+case 87:
YY_RULE_SETUP
-#line 489 "lexer.l"
+#line 527 "lexer.l"
{yylval.line = line_no; return VIRTUAL;}
YY_BREAK
-case 80:
+case 88:
YY_RULE_SETUP
-#line 490 "lexer.l"
+#line 528 "lexer.l"
{yylval.line = line_no; return SIGNAL;}
YY_BREAK
-case 81:
+case 89:
YY_RULE_SETUP
-#line 491 "lexer.l"
+#line 529 "lexer.l"
{yylval.line = line_no; return OVERRIDE;}
YY_BREAK
-case 82:
+case 90:
YY_RULE_SETUP
-#line 492 "lexer.l"
+#line 530 "lexer.l"
{
yylval.line = line_no;
BEGIN(PROPERTY_CODE);
return PROPERTY;
}
YY_BREAK
-case 83:
+case 91:
YY_RULE_SETUP
-#line 497 "lexer.l"
+#line 535 "lexer.l"
{ yylval.line = line_no; return NICK; }
YY_BREAK
-case 84:
+case 92:
YY_RULE_SETUP
-#line 498 "lexer.l"
+#line 536 "lexer.l"
{ yylval.line = line_no; return BLURB; }
YY_BREAK
-case 85:
+case 93:
YY_RULE_SETUP
-#line 499 "lexer.l"
+#line 537 "lexer.l"
{ yylval.line = line_no; return MAXIMUM; }
YY_BREAK
-case 86:
+case 94:
YY_RULE_SETUP
-#line 500 "lexer.l"
+#line 538 "lexer.l"
{ yylval.line = line_no; return MINIMUM; }
YY_BREAK
-case 87:
+case 95:
YY_RULE_SETUP
-#line 501 "lexer.l"
+#line 539 "lexer.l"
{ yylval.line = line_no; return DEFAULT_VALUE; }
YY_BREAK
-case 88:
+case 96:
YY_RULE_SETUP
-#line 502 "lexer.l"
+#line 540 "lexer.l"
{ yylval.line = line_no; return FLAGS; }
YY_BREAK
-case 89:
+case 97:
YY_RULE_SETUP
-#line 503 "lexer.l"
+#line 541 "lexer.l"
{ yylval.line = line_no; return TYPE; }
YY_BREAK
-case 90:
+case 98:
YY_RULE_SETUP
-#line 504 "lexer.l"
+#line 542 "lexer.l"
{ yylval.line = line_no; return FLAGS_TYPE; }
YY_BREAK
-case 91:
+case 99:
YY_RULE_SETUP
-#line 505 "lexer.l"
+#line 543 "lexer.l"
{ yylval.line = line_no; return ENUM_TYPE; }
YY_BREAK
-case 92:
+case 100:
YY_RULE_SETUP
-#line 506 "lexer.l"
+#line 544 "lexer.l"
{ yylval.line = line_no; return PARAM_TYPE; }
YY_BREAK
-case 93:
+case 101:
YY_RULE_SETUP
-#line 507 "lexer.l"
+#line 545 "lexer.l"
{ yylval.line = line_no; return BOXED_TYPE; }
YY_BREAK
-case 94:
+case 102:
YY_RULE_SETUP
-#line 508 "lexer.l"
+#line 546 "lexer.l"
{ yylval.line = line_no; return OBJECT_TYPE; }
YY_BREAK
-case 95:
+case 103:
YY_RULE_SETUP
-#line 509 "lexer.l"
+#line 547 "lexer.l"
{
yylval.line = line_no;
property_paren_depth = 1;
return '(';
}
YY_BREAK
-case 96:
+case 104:
YY_RULE_SETUP
-#line 515 "lexer.l"
+#line 553 "lexer.l"
{
yylval.line = line_no;
property_paren_depth++;
return '(';
}
YY_BREAK
-case 97:
+case 105:
YY_RULE_SETUP
-#line 520 "lexer.l"
+#line 558 "lexer.l"
{
yylval.line = line_no;
property_paren_depth--;
return ')';
}
YY_BREAK
-case 98:
+case 106:
YY_RULE_SETUP
-#line 529 "lexer.l"
+#line 567 "lexer.l"
{
yylval.id = g_strdup(yytext);
return NUMBER;
}
YY_BREAK
-case 99:
+case 107:
YY_RULE_SETUP
-#line 533 "lexer.l"
+#line 571 "lexer.l"
+{
+ /* This is cpp kind of token thingie */
+ if (for_cpp) {
+ yylval.id = g_strdup(yytext);
+ return TOKEN;
+ } else {
+ REJECT;
+ }
+ }
+ YY_BREAK
+case 108:
+YY_RULE_SETUP
+#line 580 "lexer.l"
{
/* this one is for a classname with a namespace */
yylval.id = g_strdup(yytext);
return TYPETOKEN;
}
YY_BREAK
-case 100:
+case 109:
YY_RULE_SETUP
-#line 538 "lexer.l"
+#line 585 "lexer.l"
{
/* this is for a classname with an empty namespace */
yylval.id = g_strdup(yytext);
return TYPETOKEN;
}
YY_BREAK
-case 101:
+case 110:
YY_RULE_SETUP
-#line 543 "lexer.l"
+#line 590 "lexer.l"
{
yylval.id = g_strdup(yytext);
return TOKEN;
}
YY_BREAK
-case 102:
+case 111:
YY_RULE_SETUP
-#line 547 "lexer.l"
+#line 594 "lexer.l"
{
yylval.id = g_strdup(yytext);
return SINGLE_CHAR;
}
YY_BREAK
-case 103:
+case 112:
YY_RULE_SETUP
-#line 552 "lexer.l"
+#line 599 "lexer.l"
{
yylval.id = g_strdup(yytext);
return ARRAY_DIM;
}
YY_BREAK
-case 104:
+case 113:
YY_RULE_SETUP
-#line 557 "lexer.l"
+#line 603 "lexer.l"
+{
+ /* cheat for bitfield */
+ yylval.id = g_strdup(yytext);
+ return ARRAY_DIM;
+ }
+ YY_BREAK
+case 114:
+YY_RULE_SETUP
+#line 608 "lexer.l"
{
BEGIN(CLASS_CODE_I);
return '{';
}
YY_BREAK
-case 105:
+case 115:
YY_RULE_SETUP
-#line 561 "lexer.l"
+#line 612 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth=1;
return '{';
}
YY_BREAK
-case 106:
+case 116:
YY_RULE_SETUP
-#line 570 "lexer.l"
+#line 621 "lexer.l"
{
BEGIN(INITIAL);
return '}';
}
YY_BREAK
-case 107:
+case 117:
YY_RULE_SETUP
-#line 575 "lexer.l"
+#line 626 "lexer.l"
; /*ignore*/
YY_BREAK
-case 108:
+case 118:
YY_RULE_SETUP
-#line 577 "lexer.l"
+#line 628 "lexer.l"
{
yylval.line = line_no;
return yytext[0];
}
YY_BREAK
-case 109:
+case 119:
+/* rule 119 can match eol */
YY_RULE_SETUP
-#line 582 "lexer.l"
+#line 633 "lexer.l"
; /*ignore*/
YY_BREAK
-case 110:
+case 120:
+*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
+(yy_c_buf_p) = yy_cp -= 1;
+YY_DO_BEFORE_ACTION; /* set up yytext again */
+YY_RULE_SETUP
+#line 635 "lexer.l"
+{
+ char *p;
+ int t;
+ p = strchr (yytext,'p');
+ g_assert (p); /* we MUST have found it */
+ sscanf (p, "prealloc %d", &t);
+ prealloc=t;
+ }
+ YY_BREAK
+case 121:
YY_RULE_SETUP
-#line 584 "lexer.l"
+#line 644 "lexer.l"
ECHO;
YY_BREAK
-#line 2166 "lex.yy.c"
+#line 2474 "lexer.c"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(C_CODE):
case YY_STATE_EOF(CODE_STRING):
case YY_STATE_EOF(CLASS_CODE):
+ case YY_STATE_EOF(CLASS_STRING):
case YY_STATE_EOF(CLASS_CODE_I):
case YY_STATE_EOF(PROPERTY_CODE):
case YY_STATE_EOF(PROPERTY_CODE_I):
case YY_END_OF_BUFFER:
{
/* Amount of text matched not including the EOB char. */
- int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
+ int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
/* Undo the effects of YY_DO_BEFORE_ACTION. */
- *yy_cp = yy_hold_char;
+ *yy_cp = (yy_hold_char);
YY_RESTORE_YY_MORE_OFFSET
- if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
+ 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
* yylex(). If so, then we have to assure
- * consistency between yy_current_buffer and our
+ * 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.
*/
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yy_current_buffer->yy_input_file = yyin;
- yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
+ (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
* end-of-buffer state). Contrast this with the test
* in input().
*/
- if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
+ if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
{ /* This was really a NUL. */
yy_state_type yy_next_state;
- yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
+ (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
- yy_current_state = yy_get_previous_state();
+ yy_current_state = yy_get_previous_state( );
/* Okay, we're now positioned to make the NUL
* transition. We couldn't have
yy_next_state = yy_try_NUL_trans( yy_current_state );
- yy_bp = yytext_ptr + YY_MORE_ADJ;
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
if ( yy_next_state )
{
/* Consume the NUL. */
- yy_cp = ++yy_c_buf_p;
+ yy_cp = ++(yy_c_buf_p);
yy_current_state = yy_next_state;
goto yy_match;
}
else
{
- yy_cp = yy_c_buf_p;
+ yy_cp = (yy_c_buf_p);
goto yy_find_action;
}
}
- else switch ( yy_get_next_buffer() )
+ else switch ( yy_get_next_buffer( ) )
{
case EOB_ACT_END_OF_FILE:
{
- yy_did_buffer_switch_on_eof = 0;
+ (yy_did_buffer_switch_on_eof) = 0;
- if ( yywrap() )
+ if ( yywrap( ) )
{
/* Note: because we've taken care in
* yy_get_next_buffer() to have set up
* YY_NULL, it'll still work - another
* YY_NULL will get returned.
*/
- yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
+ (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
yy_act = YY_STATE_EOF(YY_START);
goto do_action;
else
{
- if ( ! yy_did_buffer_switch_on_eof )
+ if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE;
}
break;
}
case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p =
- yytext_ptr + yy_amount_of_matched_text;
+ (yy_c_buf_p) =
+ (yytext_ptr) + yy_amount_of_matched_text;
- yy_current_state = yy_get_previous_state();
+ yy_current_state = yy_get_previous_state( );
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
goto yy_match;
case EOB_ACT_LAST_MATCH:
- yy_c_buf_p =
- &yy_current_buffer->yy_ch_buf[yy_n_chars];
+ (yy_c_buf_p) =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
- yy_current_state = yy_get_previous_state();
+ yy_current_state = yy_get_previous_state( );
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
+ yy_cp = (yy_c_buf_p);
+ yy_bp = (yytext_ptr) + YY_MORE_ADJ;
goto yy_find_action;
}
break;
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
- } /* end of yylex */
-
+} /* end of yylex */
/* yy_get_next_buffer - try to read in a new buffer
*
* EOB_ACT_CONTINUE_SCAN - continue scanning from current position
* EOB_ACT_END_OF_FILE - end of file
*/
-
-static int yy_get_next_buffer()
- {
- register char *dest = yy_current_buffer->yy_ch_buf;
- register char *source = yytext_ptr;
+static int yy_get_next_buffer (void)
+{
+ register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ register char *source = (yytext_ptr);
register int number_to_move, i;
int ret_val;
- if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
+ if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
YY_FATAL_ERROR(
"fatal flex scanner internal error--end of buffer missed" );
- if ( yy_current_buffer->yy_fill_buffer == 0 )
+ if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
{ /* Don't try to fill the buffer, so this is an EOF. */
- if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
+ if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
{
/* We matched a single character, the EOB, so
* treat this as a final EOF.
/* Try to read more data. */
/* First move last chars to start of buffer. */
- number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
+ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
- if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
+ 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->yy_n_chars = yy_n_chars = 0;
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
else
{
- int num_to_read =
- yy_current_buffer->yy_buf_size - number_to_move - 1;
+ int num_to_read =
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
-#ifdef YY_USES_REJECT
+
YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
-#else
-
- /* just a shorter name for the current buffer */
- YY_BUFFER_STATE b = yy_current_buffer;
-
- int yy_c_buf_p_offset =
- (int) (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. */
- yy_flex_realloc( (void *) b->yy_ch_buf,
- b->yy_buf_size + 2 );
- }
- 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" );
-
- yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
- num_to_read = yy_current_buffer->yy_buf_size -
- number_to_move - 1;
-#endif
}
if ( num_to_read > YY_READ_BUF_SIZE )
num_to_read = YY_READ_BUF_SIZE;
/* Read in more data. */
- YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
- yy_n_chars, num_to_read );
+ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
+ (yy_n_chars), (size_t) num_to_read );
- yy_current_buffer->yy_n_chars = yy_n_chars;
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
- if ( yy_n_chars == 0 )
+ if ( (yy_n_chars) == 0 )
{
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
- yyrestart( yyin );
+ yyrestart(yyin );
}
else
{
ret_val = EOB_ACT_LAST_MATCH;
- yy_current_buffer->yy_buffer_status =
+ YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
YY_BUFFER_EOF_PENDING;
}
}
else
ret_val = EOB_ACT_CONTINUE_SCAN;
- yy_n_chars += number_to_move;
- yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
- yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
+ if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+ /* Extend the array by 50%, plus the number we really need. */
+ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
+ if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+ YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
+ }
- yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
+ (yy_n_chars) += number_to_move;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
- return ret_val;
- }
+ (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()
- {
+ static yy_state_type yy_get_previous_state (void)
+{
register yy_state_type yy_current_state;
register char *yy_cp;
-
- yy_current_state = yy_start;
+
+ yy_current_state = (yy_start);
yy_current_state += YY_AT_BOL();
- yy_state_ptr = yy_state_buf;
- *yy_state_ptr++ = yy_current_state;
- for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
+ (yy_state_ptr) = (yy_state_buf);
+ *(yy_state_ptr)++ = yy_current_state;
+
+ for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
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 >= 508 )
+ if ( yy_current_state >= 561 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- *yy_state_ptr++ = yy_current_state;
+ *(yy_state_ptr)++ = yy_current_state;
}
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 );
*/
-
-#ifdef YY_USE_PROTOS
-static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
-#else
-static yy_state_type yy_try_NUL_trans( yy_current_state )
-yy_state_type yy_current_state;
-#endif
- {
+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
+{
register int yy_is_jam;
-
+
register YY_CHAR yy_c = 1;
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 >= 508 )
+ if ( yy_current_state >= 561 )
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 == 507);
+ yy_is_jam = (yy_current_state == 560);
if ( ! yy_is_jam )
- *yy_state_ptr++ = yy_current_state;
+ *(yy_state_ptr)++ = yy_current_state;
return yy_is_jam ? 0 : yy_current_state;
- }
-
+}
-#ifndef YY_NO_UNPUT
-#ifdef YY_USE_PROTOS
-static void yyunput( int c, register char *yy_bp )
-#else
-static void yyunput( c, yy_bp )
-int c;
-register char *yy_bp;
-#endif
- {
- register char *yy_cp = yy_c_buf_p;
+ static void yyunput (int c, register char * yy_bp )
+{
+ register char *yy_cp;
+
+ yy_cp = (yy_c_buf_p);
/* undo effects of setting up yytext */
- *yy_cp = yy_hold_char;
+ *yy_cp = (yy_hold_char);
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
{ /* need to shift things up to make room */
/* +2 for EOB chars. */
- register int number_to_move = yy_n_chars + 2;
- register char *dest = &yy_current_buffer->yy_ch_buf[
- yy_current_buffer->yy_buf_size + 2];
+ register int number_to_move = (yy_n_chars) + 2;
+ register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
register char *source =
- &yy_current_buffer->yy_ch_buf[number_to_move];
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
- while ( source > yy_current_buffer->yy_ch_buf )
+ while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
*--dest = *--source;
yy_cp += (int) (dest - source);
yy_bp += (int) (dest - source);
- yy_current_buffer->yy_n_chars =
- yy_n_chars = yy_current_buffer->yy_buf_size;
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
YY_FATAL_ERROR( "flex scanner push-back overflow" );
}
*--yy_cp = (char) c;
+ (yytext_ptr) = yy_bp;
+ (yy_hold_char) = *yy_cp;
+ (yy_c_buf_p) = yy_cp;
+}
- yytext_ptr = yy_bp;
- yy_hold_char = *yy_cp;
- yy_c_buf_p = yy_cp;
- }
-#endif /* ifndef YY_NO_UNPUT */
-
-
+#ifndef YY_NO_INPUT
#ifdef __cplusplus
-static int yyinput()
+ static int yyinput (void)
#else
-static int input()
+ static int input (void)
#endif
- {
- int c;
- *yy_c_buf_p = yy_hold_char;
+{
+ int c;
+
+ *(yy_c_buf_p) = (yy_hold_char);
- if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
+ if ( *(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 ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
+ if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
/* This was really a NUL. */
- *yy_c_buf_p = '\0';
+ *(yy_c_buf_p) = '\0';
else
{ /* need more input */
- int offset = yy_c_buf_p - yytext_ptr;
- ++yy_c_buf_p;
+ int offset = (yy_c_buf_p) - (yytext_ptr);
+ ++(yy_c_buf_p);
- switch ( yy_get_next_buffer() )
+ switch ( yy_get_next_buffer( ) )
{
case EOB_ACT_LAST_MATCH:
/* This happens because yy_g_n_b()
*/
/* Reset buffer status. */
- yyrestart( yyin );
+ yyrestart(yyin );
- /* fall through */
+ /*FALLTHROUGH*/
case EOB_ACT_END_OF_FILE:
{
- if ( yywrap() )
+ if ( yywrap( ) )
return EOF;
- if ( ! yy_did_buffer_switch_on_eof )
+ if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE;
#ifdef __cplusplus
return yyinput();
}
case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p = yytext_ptr + offset;
+ (yy_c_buf_p) = (yytext_ptr) + offset;
break;
}
}
}
- c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
- *yy_c_buf_p = '\0'; /* preserve yytext */
- yy_hold_char = *++yy_c_buf_p;
+ c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
+ *(yy_c_buf_p) = '\0'; /* preserve yytext */
+ (yy_hold_char) = *++(yy_c_buf_p);
- yy_current_buffer->yy_at_bol = (c == '\n');
+ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
return c;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yyrestart( FILE *input_file )
-#else
-void yyrestart( input_file )
-FILE *input_file;
-#endif
- {
- if ( ! yy_current_buffer )
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
+}
+#endif /* ifndef YY_NO_INPUT */
- yy_init_buffer( yy_current_buffer, input_file );
- yy_load_buffer_state();
+/** Immediately switch to a different input stream.
+ * @param input_file A readable stream.
+ *
+ * @note This function does not reset the start condition to @c INITIAL .
+ */
+ void yyrestart (FILE * input_file )
+{
+
+ if ( ! YY_CURRENT_BUFFER ){
+ yyensure_buffer_stack ();
+ YY_CURRENT_BUFFER_LVALUE =
+ yy_create_buffer(yyin,YY_BUF_SIZE );
}
+ yy_init_buffer(YY_CURRENT_BUFFER,input_file );
+ yy_load_buffer_state( );
+}
-#ifdef YY_USE_PROTOS
-void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
-#else
-void yy_switch_to_buffer( new_buffer )
-YY_BUFFER_STATE new_buffer;
-#endif
- {
- if ( yy_current_buffer == new_buffer )
+/** Switch to a different input buffer.
+ * @param new_buffer The new input buffer.
+ *
+ */
+ void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
+{
+
+ /* TODO. We should be able to replace this entire function body
+ * with
+ * yypop_buffer_state();
+ * yypush_buffer_state(new_buffer);
+ */
+ yyensure_buffer_stack ();
+ if ( YY_CURRENT_BUFFER == new_buffer )
return;
- if ( yy_current_buffer )
+ if ( YY_CURRENT_BUFFER )
{
/* Flush out information for old buffer. */
- *yy_c_buf_p = yy_hold_char;
- yy_current_buffer->yy_buf_pos = yy_c_buf_p;
- yy_current_buffer->yy_n_chars = yy_n_chars;
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
- yy_current_buffer = new_buffer;
- yy_load_buffer_state();
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+ yy_load_buffer_state( );
/* We don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
* is looked at is after yywrap() is called, so it's safe
* to go ahead and always set it.
*/
- yy_did_buffer_switch_on_eof = 1;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_load_buffer_state( void )
-#else
-void yy_load_buffer_state()
-#endif
- {
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
- yyin = yy_current_buffer->yy_input_file;
- yy_hold_char = *yy_c_buf_p;
- }
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+static void yy_load_buffer_state (void)
+{
+ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
+ (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
+ yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
+ (yy_hold_char) = *(yy_c_buf_p);
+}
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
-#else
-YY_BUFFER_STATE yy_create_buffer( file, size )
-FILE *file;
-int size;
-#endif
- {
+/** 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.
+ *
+ * @return the allocated buffer state.
+ */
+ YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
+{
YY_BUFFER_STATE b;
-
- b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
+
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
/* 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 *) yy_flex_alloc( b->yy_buf_size + 2 );
+ b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
- yy_init_buffer( b, file );
+ yy_init_buffer(b,file );
return b;
- }
-
+}
-#ifdef YY_USE_PROTOS
-void yy_delete_buffer( YY_BUFFER_STATE b )
-#else
-void yy_delete_buffer( b )
-YY_BUFFER_STATE b;
-#endif
- {
+/** Destroy the buffer.
+ * @param b a buffer created with yy_create_buffer()
+ *
+ */
+ void yy_delete_buffer (YY_BUFFER_STATE b )
+{
+
if ( ! b )
return;
- if ( b == yy_current_buffer )
- yy_current_buffer = (YY_BUFFER_STATE) 0;
+ 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 )
- yy_flex_free( (void *) b->yy_ch_buf );
-
- yy_flex_free( (void *) b );
- }
+ yyfree((void *) b->yy_ch_buf );
+ yyfree((void *) b );
+}
+#ifndef __cplusplus
+extern int isatty (int );
+#endif /* __cplusplus */
+
+/* Initializes or reinitializes a buffer.
+ * This function is sometimes called more than once on the same buffer,
+ * such as during a yyrestart() or at EOF.
+ */
+ static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
-#ifdef YY_USE_PROTOS
-void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
-#else
-void yy_init_buffer( b, file )
-YY_BUFFER_STATE b;
-FILE *file;
-#endif
-
-
- {
- yy_flush_buffer( b );
+{
+ int oerrno = errno;
+
+ yy_flush_buffer(b );
b->yy_input_file = file;
b->yy_fill_buffer = 1;
-#if YY_ALWAYS_INTERACTIVE
- b->yy_is_interactive = 1;
-#else
-#if YY_NEVER_INTERACTIVE
- b->yy_is_interactive = 0;
-#else
- b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
-#endif
-#endif
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_flush_buffer( YY_BUFFER_STATE b )
-#else
-void yy_flush_buffer( b )
-YY_BUFFER_STATE b;
-#endif
+ /* If b is the current buffer, then yy_init_buffer was _probably_
+ * called from yyrestart() 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 = file ? (isatty( fileno(file) ) > 0) : 0;
+
+ errno = oerrno;
+}
- {
- if ( ! b )
+/** 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.
+ *
+ */
+ void yy_flush_buffer (YY_BUFFER_STATE b )
+{
+ if ( ! b )
return;
b->yy_n_chars = 0;
b->yy_at_bol = 1;
b->yy_buffer_status = YY_BUFFER_NEW;
- if ( b == yy_current_buffer )
- yy_load_buffer_state();
+ if ( b == YY_CURRENT_BUFFER )
+ yy_load_buffer_state( );
+}
+
+/** 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.
+ *
+ */
+void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
+{
+ if (new_buffer == NULL)
+ return;
+
+ yyensure_buffer_stack();
+
+ /* This block is copied from yy_switch_to_buffer. */
+ if ( YY_CURRENT_BUFFER )
+ {
+ /* Flush out information for old buffer. */
+ *(yy_c_buf_p) = (yy_hold_char);
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
+ YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
+ }
+
+ /* Only push if top exists. Otherwise, replace top. */
+ if (YY_CURRENT_BUFFER)
+ (yy_buffer_stack_top)++;
+ YY_CURRENT_BUFFER_LVALUE = new_buffer;
+
+ /* copied from yy_switch_to_buffer. */
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+}
+
+/** Removes and deletes the top of the stack, if present.
+ * The next element becomes the new top.
+ *
+ */
+void yypop_buffer_state (void)
+{
+ if (!YY_CURRENT_BUFFER)
+ return;
+
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ if ((yy_buffer_stack_top) > 0)
+ --(yy_buffer_stack_top);
+
+ if (YY_CURRENT_BUFFER) {
+ yy_load_buffer_state( );
+ (yy_did_buffer_switch_on_eof) = 1;
+ }
+}
+
+/* Allocates the stack if it does not exist.
+ * Guarantees space for at least one push.
+ */
+static void yyensure_buffer_stack (void)
+{
+ int num_to_alloc;
+
+ if (!(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;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
+ (num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+
+ memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
+
+ (yy_buffer_stack_max) = num_to_alloc;
+ (yy_buffer_stack_top) = 0;
+ return;
}
+ if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
-#ifndef YY_NO_SCAN_BUFFER
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
-#else
-YY_BUFFER_STATE yy_scan_buffer( base, size )
-char *base;
-yy_size_t size;
-#endif
- {
- YY_BUFFER_STATE b;
+ /* Increase the buffer to prepare for a possible push. */
+ int grow_size = 8 /* arbitrary grow size */;
+
+ num_to_alloc = (yy_buffer_stack_max) + grow_size;
+ (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
+ ((yy_buffer_stack),
+ num_to_alloc * sizeof(struct yy_buffer_state*)
+ );
+ if ( ! (yy_buffer_stack) )
+ YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
+ /* zero only the new slots.*/
+ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
+ (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
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
+{
+ 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) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
+ b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
b->yy_fill_buffer = 0;
b->yy_buffer_status = YY_BUFFER_NEW;
- yy_switch_to_buffer( b );
+ yy_switch_to_buffer(b );
return b;
- }
-#endif
-
-
-#ifndef YY_NO_SCAN_STRING
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
-#else
-YY_BUFFER_STATE yy_scan_string( yy_str )
-yyconst char *yy_str;
-#endif
- {
- int len;
- for ( len = 0; yy_str[len]; ++len )
- ;
-
- return yy_scan_bytes( yy_str, len );
- }
-#endif
+}
+/** Setup the input buffer state to scan a string. The next call to yylex() will
+ * scan from a @e copy of @a str.
+ * @param yystr a NUL-terminated string to scan
+ *
+ * @return the newly allocated buffer state object.
+ * @note If you want to scan bytes that may contain NUL values, then use
+ * yy_scan_bytes() instead.
+ */
+YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
+{
+
+ return yy_scan_bytes(yystr,strlen(yystr) );
+}
-#ifndef YY_NO_SCAN_BYTES
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
-#else
-YY_BUFFER_STATE yy_scan_bytes( bytes, len )
-yyconst char *bytes;
-int len;
-#endif
- {
+/** Setup the input buffer state to scan the given bytes. The next call to yylex() 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.
+ *
+ * @return the newly allocated buffer state object.
+ */
+YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
+{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
int i;
-
+
/* Get memory for full buffer, including space for trailing EOB's. */
- n = len + 2;
- buf = (char *) yy_flex_alloc( n );
+ n = _yybytes_len + 2;
+ buf = (char *) yyalloc(n );
if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
- for ( i = 0; i < len; ++i )
- buf[i] = bytes[i];
+ for ( i = 0; i < _yybytes_len; ++i )
+ buf[i] = yybytes[i];
- buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
+ buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
- b = yy_scan_buffer( buf, n );
+ b = yy_scan_buffer(buf,n );
if ( ! b )
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
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 )
+{
+ (void) fprintf( stderr, "%s\n", msg );
+ exit( YY_EXIT_FAILURE );
+}
-#ifndef YY_NO_PUSH_STATE
-#ifdef YY_USE_PROTOS
-static void yy_push_state( int new_state )
-#else
-static void yy_push_state( new_state )
-int new_state;
-#endif
- {
- if ( yy_start_stack_ptr >= yy_start_stack_depth )
- {
- yy_size_t new_size;
+/* Redefine yyless() so it works in section 3 code. */
- yy_start_stack_depth += YY_START_STACK_INCR;
- new_size = yy_start_stack_depth * sizeof( int );
+#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] = (yy_hold_char); \
+ (yy_c_buf_p) = yytext + yyless_macro_arg; \
+ (yy_hold_char) = *(yy_c_buf_p); \
+ *(yy_c_buf_p) = '\0'; \
+ yyleng = yyless_macro_arg; \
+ } \
+ while ( 0 )
- if ( ! yy_start_stack )
- yy_start_stack = (int *) yy_flex_alloc( new_size );
+/* Accessor methods (get/set functions) to struct members. */
- else
- yy_start_stack = (int *) yy_flex_realloc(
- (void *) yy_start_stack, new_size );
+/** Get the current line number.
+ *
+ */
+int yyget_lineno (void)
+{
+
+ return yylineno;
+}
- if ( ! yy_start_stack )
- YY_FATAL_ERROR(
- "out of memory expanding start-condition stack" );
- }
+/** Get the input stream.
+ *
+ */
+FILE *yyget_in (void)
+{
+ return yyin;
+}
- yy_start_stack[yy_start_stack_ptr++] = YY_START;
+/** Get the output stream.
+ *
+ */
+FILE *yyget_out (void)
+{
+ return yyout;
+}
- BEGIN(new_state);
- }
-#endif
+/** Get the length of the current token.
+ *
+ */
+int yyget_leng (void)
+{
+ return yyleng;
+}
+/** Get the current token.
+ *
+ */
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state()
- {
- if ( --yy_start_stack_ptr < 0 )
- YY_FATAL_ERROR( "start-condition stack underflow" );
+char *yyget_text (void)
+{
+ return yytext;
+}
- BEGIN(yy_start_stack[yy_start_stack_ptr]);
- }
-#endif
+/** Set the current line number.
+ * @param line_number
+ *
+ */
+void yyset_lineno (int line_number )
+{
+
+ yylineno = line_number;
+}
+/** Set the input stream. This does not discard the current
+ * input buffer.
+ * @param in_str A readable stream.
+ *
+ * @see yy_switch_to_buffer
+ */
+void yyset_in (FILE * in_str )
+{
+ yyin = in_str ;
+}
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state()
- {
- return yy_start_stack[yy_start_stack_ptr - 1];
- }
-#endif
+void yyset_out (FILE * out_str )
+{
+ yyout = out_str ;
+}
-#ifndef YY_EXIT_FAILURE
-#define YY_EXIT_FAILURE 2
-#endif
+int yyget_debug (void)
+{
+ return yy_flex_debug;
+}
-#ifdef YY_USE_PROTOS
-static void yy_fatal_error( yyconst char msg[] )
+void yyset_debug (int bdebug )
+{
+ yy_flex_debug = bdebug ;
+}
+
+static int yy_init_globals (void)
+{
+ /* Initialization is the same as for the non-reentrant scanner.
+ * This function is called from yylex_destroy(), so don't allocate here.
+ */
+
+ (yy_buffer_stack) = 0;
+ (yy_buffer_stack_top) = 0;
+ (yy_buffer_stack_max) = 0;
+ (yy_c_buf_p) = (char *) 0;
+ (yy_init) = 0;
+ (yy_start) = 0;
+
+ (yy_state_buf) = 0;
+ (yy_state_ptr) = 0;
+ (yy_full_match) = 0;
+ (yy_lp) = 0;
+
+/* Defined in main.c */
+#ifdef YY_STDINIT
+ yyin = stdin;
+ yyout = stdout;
#else
-static void yy_fatal_error( msg )
-char msg[];
+ yyin = (FILE *) 0;
+ yyout = (FILE *) 0;
#endif
- {
- (void) fprintf( stderr, "%s\n", msg );
- exit( YY_EXIT_FAILURE );
- }
+ /* For future reference: Set errno on error, since we are called by
+ * yylex_init()
+ */
+ return 0;
+}
+/* yylex_destroy is for both reentrant and non-reentrant scanners. */
+int yylex_destroy (void)
+{
+
+ /* Pop the buffer stack, destroying each element. */
+ while(YY_CURRENT_BUFFER){
+ yy_delete_buffer(YY_CURRENT_BUFFER );
+ YY_CURRENT_BUFFER_LVALUE = NULL;
+ yypop_buffer_state();
+ }
-/* Redefine yyless() so it works in section 3 code. */
+ /* Destroy the stack itself. */
+ yyfree((yy_buffer_stack) );
+ (yy_buffer_stack) = NULL;
-#undef yyless
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yytext. */ \
- yytext[yyleng] = yy_hold_char; \
- yy_c_buf_p = yytext + n; \
- yy_hold_char = *yy_c_buf_p; \
- *yy_c_buf_p = '\0'; \
- yyleng = n; \
- } \
- while ( 0 )
+ yyfree ( (yy_state_buf) );
+ (yy_state_buf) = NULL;
+
+ /* Reset the globals. This is important in a non-reentrant scanner so the next time
+ * yylex() is called, initialization will occur. */
+ yy_init_globals( );
+ return 0;
+}
-/* Internal utility routines. */
+/*
+ * Internal utility routines.
+ */
#ifndef yytext_ptr
-#ifdef YY_USE_PROTOS
-static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
-#else
-static void yy_flex_strncpy( s1, s2, n )
-char *s1;
-yyconst char *s2;
-int n;
-#endif
- {
+static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+{
register int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
- }
+}
#endif
#ifdef YY_NEED_STRLEN
-#ifdef YY_USE_PROTOS
-static int yy_flex_strlen( yyconst char *s )
-#else
-static int yy_flex_strlen( s )
-yyconst char *s;
-#endif
- {
+static int yy_flex_strlen (yyconst char * s )
+{
register int n;
for ( n = 0; s[n]; ++n )
;
return n;
- }
+}
#endif
-
-#ifdef YY_USE_PROTOS
-static void *yy_flex_alloc( yy_size_t size )
-#else
-static void *yy_flex_alloc( size )
-yy_size_t size;
-#endif
- {
+void *yyalloc (yy_size_t size )
+{
return (void *) malloc( size );
- }
+}
-#ifdef YY_USE_PROTOS
-static void *yy_flex_realloc( void *ptr, yy_size_t size )
-#else
-static void *yy_flex_realloc( ptr, size )
-void *ptr;
-yy_size_t size;
-#endif
- {
+void *yyrealloc (void * ptr, yy_size_t size )
+{
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
* as though doing an assignment.
*/
return (void *) realloc( (char *) ptr, size );
- }
+}
-#ifdef YY_USE_PROTOS
-static void yy_flex_free( void *ptr )
-#else
-static void yy_flex_free( ptr )
-void *ptr;
-#endif
- {
- free( ptr );
- }
+void yyfree (void * ptr )
+{
+ free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
+}
-#if YY_MAIN
-int main()
- {
- yylex();
- return 0;
- }
-#endif
-#line 584 "lexer.l"
+#define YYTABLES_NAME "yytables"
+
+#line 644 "lexer.l"
-/* Ugly warning avoiding */
-#ifdef FLEX_SCANNER
-static void warning_avoider(void) G_GNUC_UNUSED;
-static void warning_avoider(void) {
- yy_flex_realloc(NULL, 0);
- yyunput(0, NULL);
- warning_avoider();
-}
-#endif