Changeset 472

Show
Ignore:
Timestamp:
04/04/06 17:04:56 (3 years ago)
Author:
common
Message:

shellcode-signatures
- the new yacc & flex files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/modules/shellcode-signatures/lex.yy.c

    r464 r472  
     1 
     2#line 3 "lex.yy.c" 
     3 
     4#define  YY_INT_ALIGNED short int 
     5 
    16/* A lexical scanner generated by flex */ 
    2  
    3 /* Scanner skeleton version: 
    4  * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ 
    5  */ 
    67 
    78#define FLEX_SCANNER 
    89#define YY_FLEX_MAJOR_VERSION 2 
    910#define YY_FLEX_MINOR_VERSION 5 
    10  
     11#define YY_FLEX_SUBMINOR_VERSION 31 
     12#if YY_FLEX_SUBMINOR_VERSION > 0 
     13#define FLEX_BETA 
     14#endif 
     15 
     16/* First, we deal with  platform-specific or compiler-specific issues. */ 
     17 
     18/* begin standard C headers. */ 
    1119#include <stdio.h> 
    12 #include <unistd.h> 
    13  
    14  
    15 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ 
    16 #ifdef c_plusplus 
    17 #ifndef __cplusplus 
    18 #define __cplusplus 
    19 #endif 
    20 #endif 
    21  
     20#include <string.h> 
     21#include <errno.h> 
     22#include <stdlib.h> 
     23 
     24/* end standard C headers. */ 
     25 
     26/* flex integer type definitions */ 
     27 
     28#ifndef FLEXINT_H 
     29#define FLEXINT_H 
     30 
     31/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ 
     32 
     33#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L 
     34#include <inttypes.h> 
     35typedef int8_t flex_int8_t; 
     36typedef uint8_t flex_uint8_t; 
     37typedef int16_t flex_int16_t; 
     38typedef uint16_t flex_uint16_t; 
     39typedef int32_t flex_int32_t; 
     40typedef uint32_t flex_uint32_t; 
     41#else 
     42typedef signed char flex_int8_t; 
     43typedef short int flex_int16_t; 
     44typedef int flex_int32_t; 
     45typedef unsigned char flex_uint8_t;  
     46typedef unsigned short int flex_uint16_t; 
     47typedef unsigned int flex_uint32_t; 
     48#endif /* ! C99 */ 
     49 
     50/* Limits of integral types. */ 
     51#ifndef INT8_MIN 
     52#define INT8_MIN               (-128) 
     53#endif 
     54#ifndef INT16_MIN 
     55#define INT16_MIN              (-32767-1) 
     56#endif 
     57#ifndef INT32_MIN 
     58#define INT32_MIN              (-2147483647-1) 
     59#endif 
     60#ifndef INT8_MAX 
     61#define INT8_MAX               (127) 
     62#endif 
     63#ifndef INT16_MAX 
     64#define INT16_MAX              (32767) 
     65#endif 
     66#ifndef INT32_MAX 
     67#define INT32_MAX              (2147483647) 
     68#endif 
     69#ifndef UINT8_MAX 
     70#define UINT8_MAX              (255U) 
     71#endif 
     72#ifndef UINT16_MAX 
     73#define UINT16_MAX             (65535U) 
     74#endif 
     75#ifndef UINT32_MAX 
     76#define UINT32_MAX             (4294967295U) 
     77#endif 
     78 
     79#endif /* ! FLEXINT_H */ 
    2280 
    2381#ifdef __cplusplus 
    24  
    25 #include <stdlib.h> 
    26  
    27 /* Use prototypes in function declarations. */ 
    28 #define YY_USE_PROTOS 
    2982 
    3083/* The "const" storage-class-modifier is valid. */ 
     
    3588#if __STDC__ 
    3689 
    37 #define YY_USE_PROTOS 
    3890#define YY_USE_CONST 
    3991 
    4092#endif  /* __STDC__ */ 
    4193#endif  /* ! __cplusplus */ 
    42  
    43 #ifdef __TURBOC__ 
    44  #pragma warn -rch 
    45  #pragma warn -use 
    46 #include <io.h> 
    47 #include <stdlib.h> 
    48 #define YY_USE_CONST 
    49 #define YY_USE_PROTOS 
    50 #endif 
    5194 
    5295#ifdef YY_USE_CONST 
     
    5699#endif 
    57100 
    58  
    59 #ifdef YY_USE_PROTOS 
    60 #define YY_PROTO(proto) proto 
    61 #else 
    62 #define YY_PROTO(proto) () 
    63 #endif 
    64  
    65101/* Returned upon end-of-file. */ 
    66102#define YY_NULL 0 
     
    77113 * definition of BEGIN. 
    78114 */ 
    79 #define BEGIN yy_start = 1 + 2 * 
     115#define BEGIN (yy_start) = 1 + 2 * 
    80116 
    81117/* Translate the current start state into a value that can be later handed 
     
    83119 * compatibility. 
    84120 */ 
    85 #define YY_START ((yy_start - 1) / 2) 
     121#define YY_START (((yy_start) - 1) / 2) 
    86122#define YYSTATE YY_START 
    87123 
     
    90126 
    91127/* Special action meaning "start processing a new file". */ 
    92 #define YY_NEW_FILE yyrestart( yyin
     128#define YY_NEW_FILE yyrestart(yyin
    93129 
    94130#define YY_END_OF_BUFFER_CHAR 0 
    95131 
    96132/* Size of default input buffer. */ 
     133#ifndef YY_BUF_SIZE 
    97134#define YY_BUF_SIZE 16384 
    98  
     135#endif 
     136 
     137#ifndef YY_TYPEDEF_YY_BUFFER_STATE 
     138#define YY_TYPEDEF_YY_BUFFER_STATE 
    99139typedef struct yy_buffer_state *YY_BUFFER_STATE; 
     140#endif 
    100141 
    101142extern int yyleng; 
     143 
    102144extern FILE *yyin, *yyout; 
    103145 
     
    106148#define EOB_ACT_LAST_MATCH 2 
    107149 
    108 /* The funky do-while in the following #define is used to turn the definition 
    109  * int a single C statement (which needs a semi-colon terminator).  This 
    110  * avoids problems with code like: 
    111  * 
    112  *      if ( condition_holds ) 
    113  *              yyless( 5 ); 
    114  *      else 
    115  *              do_something_else(); 
    116  * 
    117  * Prior to using the do-while the compiler would get upset at the 
    118  * "else" because it interpreted the "if" statement as being all 
    119  * done when it reached the ';' after the yyless() call. 
    120  */ 
    121  
    122 /* Return all but the first 'n' matched characters back to the input stream. */ 
    123  
     150    #define YY_LESS_LINENO(n) 
     151     
     152/* Return all but the first "n" matched characters back to the input stream. */ 
    124153#define yyless(n) \ 
    125154        do \ 
    126155                { \ 
    127156                /* Undo effects of setting up yytext. */ \ 
    128                 *yy_cp = yy_hold_char; \ 
     157        int yyless_macro_arg = (n); \ 
     158        YY_LESS_LINENO(yyless_macro_arg);\ 
     159                *yy_cp = (yy_hold_char); \ 
    129160                YY_RESTORE_YY_MORE_OFFSET \ 
    130                 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ 
     161                (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 
    131162                YY_DO_BEFORE_ACTION; /* set up yytext again */ \ 
    132163                } \ 
    133164        while ( 0 ) 
    134165 
    135 #define unput(c) yyunput( c, yytext_ptr
     166#define unput(c) yyunput( c, (yytext_ptr)
    136167 
    137168/* The following is because we cannot portably get our hands on size_t 
     
    139170 * flex-generated scanners to compile on their own). 
    140171 */ 
     172 
     173#ifndef YY_TYPEDEF_YY_SIZE_T 
     174#define YY_TYPEDEF_YY_SIZE_T 
    141175typedef unsigned int yy_size_t; 
    142  
    143  
     176#endif 
     177 
     178#ifndef YY_STRUCT_YY_BUFFER_STATE 
     179#define YY_STRUCT_YY_BUFFER_STATE 
    144180struct yy_buffer_state 
    145181        { 
     
    178214        int yy_at_bol; 
    179215 
     216    int yy_bs_lineno; /**< The line count. */ 
     217    int yy_bs_column; /**< The column count. */ 
     218     
    180219        /* Whether to try to fill the input buffer when we reach the 
    181220         * end of it. 
     
    184223 
    185224        int yy_buffer_status; 
     225 
    186226#define YY_BUFFER_NEW 0 
    187227#define YY_BUFFER_NORMAL 1 
     
    197237         */ 
    198238#define YY_BUFFER_EOF_PENDING 2 
     239 
    199240        }; 
    200  
    201 static YY_BUFFER_STATE yy_current_buffer = 0; 
     241#endif /* !YY_STRUCT_YY_BUFFER_STATE */ 
     242 
     243/* Stack of input buffers. */ 
     244static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ 
     245static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ 
     246static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ 
    202247 
    203248/* We provide macros for accessing buffer states in case in the 
    204249 * future we want to put the buffer states in a more general 
    205250 * "scanner state". 
    206  */ 
    207 #define YY_CURRENT_BUFFER yy_current_buffer 
    208  
     251 * 
     252 * Returns the top of the stack, or NULL. 
     253 */ 
     254#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ 
     255                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ 
     256                          : NULL) 
     257 
     258/* Same as previous macro, but useful when we know that the buffer stack is not 
     259 * NULL or when we need an lvalue. For internal use only. 
     260 */ 
     261#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 
    209262 
    210263/* yy_hold_char holds the character lost when yytext is formed. */ 
    211264static char yy_hold_char; 
    212  
    213265static int yy_n_chars;          /* number of characters read into yy_ch_buf */ 
    214  
    215  
    216266int yyleng; 
    217267 
     
    226276static int yy_did_buffer_switch_on_eof; 
    227277 
    228 void yyrestart YY_PROTO(( FILE *input_file )); 
    229  
    230 void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); 
    231 void yy_load_buffer_state YY_PROTO(( void )); 
    232 YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); 
    233 void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); 
    234 void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); 
    235 void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); 
    236 #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) 
    237  
    238 YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); 
    239 YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); 
    240 YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); 
    241  
    242 static void *yy_flex_alloc YY_PROTO(( yy_size_t )); 
    243 static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); 
    244 static void yy_flex_free YY_PROTO(( void * )); 
     278void yyrestart (FILE *input_file  ); 
     279void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer  ); 
     280YY_BUFFER_STATE yy_create_buffer (FILE *file,int size  ); 
     281void yy_delete_buffer (YY_BUFFER_STATE b  ); 
     282void yy_flush_buffer (YY_BUFFER_STATE b  ); 
     283void yypush_buffer_state (YY_BUFFER_STATE new_buffer  ); 
     284void yypop_buffer_state (void ); 
     285 
     286static void yyensure_buffer_stack (void ); 
     287static void yy_load_buffer_state (void ); 
     288static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file  ); 
     289 
     290#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) 
     291 
     292YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  ); 
     293YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  ); 
     294YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len  ); 
     295 
     296void *yyalloc (yy_size_t  ); 
     297void *yyrealloc (void *,yy_size_t  ); 
     298void yyfree (void *  ); 
    245299 
    246300#define yy_new_buffer yy_create_buffer 
     
    248302#define yy_set_interactive(is_interactive) \ 
    249303        { \ 
    250         if ( ! yy_current_buffer ) \ 
    251                 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ 
    252         yy_current_buffer->yy_is_interactive = is_interactive; \ 
     304        if ( ! YY_CURRENT_BUFFER ){ \ 
     305        yyensure_buffer_stack (); \ 
     306                YY_CURRENT_BUFFER_LVALUE =    \ 
     307            yy_create_buffer(yyin,YY_BUF_SIZE ); \ 
     308        } \ 
     309        YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 
    253310        } 
    254311 
    255312#define yy_set_bol(at_bol) \ 
    256313        { \ 
    257         if ( ! yy_current_buffer ) \ 
    258                 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ 
    259         yy_current_buffer->yy_at_bol = at_bol; \ 
     314        if ( ! YY_CURRENT_BUFFER ){\ 
     315        yyensure_buffer_stack (); \ 
     316                YY_CURRENT_BUFFER_LVALUE =    \ 
     317            yy_create_buffer(yyin,YY_BUF_SIZE ); \ 
     318        } \ 
     319        YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 
    260320        } 
    261321 
    262 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) 
     322#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 
     323 
     324/* Begin user sect3 */ 
    263325 
    264326typedef unsigned char YY_CHAR; 
     327 
    265328FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; 
     329 
    266330typedef int yy_state_type; 
     331 
     332extern int yylineno; 
     333 
     334int yylineno = 1; 
     335 
    267336extern char *yytext; 
    268337#define yytext_ptr yytext 
    269338 
    270 static yy_state_type yy_get_previous_state YY_PROTO(( void )); 
    271 static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); 
    272 static int yy_get_next_buffer YY_PROTO(( void )); 
    273 static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); 
     339static yy_state_type yy_get_previous_state (void ); 
     340static yy_state_type yy_try_NUL_trans (yy_state_type current_state  ); 
     341static int yy_get_next_buffer (void ); 
     342static void yy_fatal_error (yyconst char msg[]  ); 
    274343 
    275344/* Done after the current pattern has been matched and before the 
     
    277346 */ 
    278347#define YY_DO_BEFORE_ACTION \ 
    279         yytext_ptr = yy_bp; \ 
    280         yyleng = (int) (yy_cp - yy_bp); \ 
    281         yy_hold_char = *yy_cp; \ 
     348        (yytext_ptr) = yy_bp; \ 
     349        yyleng = (size_t) (yy_cp - yy_bp); \ 
     350        (yy_hold_char) = *yy_cp; \ 
    282351        *yy_cp = '\0'; \ 
    283         yy_c_buf_p = yy_cp; 
     352        (yy_c_buf_p) = yy_cp; 
    284353 
    285354#define YY_NUM_RULES 59 
    286355#define YY_END_OF_BUFFER 60 
    287 static yyconst short int yy_accept[219] = 
     356/* This struct is not used in this scanner, 
     357   but its presence is necessary. */ 
     358struct yy_trans_info 
     359        { 
     360        flex_int32_t yy_verify; 
     361        flex_int32_t yy_nxt; 
     362        }; 
     363static yyconst flex_int16_t yy_accept[222] = 
    288364    {   0, 
    289365       56,   56,   40,   40,   53,   53,   60,   58,   56,   57, 
     
    295371       38,   38,   38,   38,   38,   38,   38,   40,   42,   41, 
    296372       53,   49,   50,   51,   46,   47,   48,    0,   55,   38, 
    297        38,   38,   38,   38,   38,   38,   38,   28,   38,   38, 
     373       38,   38,   38,   38,   38,   38,   38,   38,   28,   38, 
    298374       38,   38,   38,   38,   38,   38,   38,   36,   38,   38, 
    299375 
    300376       38,   34,   22,   13,    0,   38,   38,   38,   38,   38, 
    301        38,   38,   31,   38,   38,   38,   38,   12,   38,   35
     377       38,   38,   38,   31,   38,   38,   38,   38,   12,   38
    302378       32,   37,   29,   38,    9,   52,   38,   38,   38,   38, 
    303        38,   38,   38,   11,   38,   38,   38,   38,   38,   38, 
    304        38,   38,   38,   24,   38,   38,   38,   38,   38,   38, 
    305        38,   38,   38,   38,   38,   38,   38,   38,   27,   38, 
    306        38,   33,   38,   38,   20,   25,   38,   38,   14,   10, 
    307         8,   26,   38,   38,   38,   38,   21,   38,   38,   38, 
    308        38,   17,   38,   38,   38,   38,   38,   38,   38,   38, 
    309        30,   38,   38,   15,   16,   38,   38,   38,   38,   38, 
    310  
    311        38,   38,   38,   38,   38,   38,   38,   23,   38,   18, 
    312        38,   38,   38,   38,   38,   38,   19,    0 
     379       38,   38,   38,   38,   11,   38,   38,   38,   38,   38, 
     380       38,   38,   38,   38,   24,   38,   38,   38,   38,   38, 
     381       38,   38,   38,   38,   38,   38,   38,   38,   38,   38, 
     382       27,   38,   38,   33,   38,   35,   38,   20,   25,   38, 
     383       38,   14,   10,    8,   26,   38,   38,   38,   38,   21, 
     384       38,   38,   38,   38,   17,   38,   38,   38,   38,   38, 
     385       38,   38,   38,   30,   38,   38,   15,   16,   38,   38, 
     386 
     387       38,   38,   38,   38,   38,   38,   38,   38,   38,   38, 
     388       23,   38,   18,   38,   38,   38,   38,   38,   38,   19, 
     389        0 
    313390    } ; 
    314391 
    315 static yyconst int yy_ec[256] = 
     392static yyconst flex_int32_t yy_ec[256] = 
    316393    {   0, 
    317394        1,    1,    1,    1,    1,    1,    1,    1,    2,    3, 
     
    345422    } ; 
    346423 
    347 static yyconst int yy_meta[48] = 
     424static yyconst flex_int32_t yy_meta[48] = 
    348425    {   0, 
    349426        1,    1,    2,    1,    1,    3,    1,    1,    4,    1, 
     
    354431    } ; 
    355432 
    356 static yyconst short int yy_base[227] = 
     433static yyconst flex_int16_t yy_base[230] = 
    357434    {   0, 
    358         0,    0,   45,   46,   44,   45,  263,  264,   54,  264
    359       264,  264,  264,  264,   51,  264,  264,    0,   31,  227
    360       226,  217,  227,  223,   31,   37,  235,  221,   46,   39, 
    361       211,  217,  218,  264,  264,    0,  264,   62,    0,  264
    362        66,   72,  264,    0,    0,  214,  217,   51,  208,  223
    363       226,  209,  202,  211,  214,  209,  206,  207,  201,  202
    364        50,  212,  192,  213,  199,   50,  197,    0,   80,  264
    365         0,  264,  264,  264,  264,  264,  264,    0,    0,  207
    366       207,  198,  196,  195,  204,  199,  187,    0,  187,  191
    367       192,  186,  195,  181,  193,  179,  178,    0,  190,  184
    368  
    369       188,    0,    0,    0,    0,  198,   63,  190,  185,  178
    370       169,  170,  176,  167,  182,  161,  173,    0,  176,    0
    371       170,    0,  170,  173,    0,  264,  184,  167,  167,  161
    372       170,  158,  153,    0,  165,  168,  167,  153,  153,  149
    373       159,  150,  139,    0,  150,  155,  155,  140,  156,  151
    374       132,  141,  150,  136,  144,  137,  126,  128,    0,  142
    375       135,    0,  143,  140,    0,    0,  119,  134,    0,    0, 
    376         0,    0,  136,  122,  128,  137,    0,  115,  114,  119
    377       118,    0,  130,  118,  117,  112,  128,  118,  111,  110
    378         0,  112,   66,    0,    0,  107,  114,  114,  115,  105, 
    379  
    380       106,  101,   99,   76,   70,   67,   70,    0,   62,    0
    381        76,   63,   58,   68,   68,   55,    0,  264,  109,  115
    382       117,  123,  129,  135,   70,   47 
     435        0,    0,   45,   46,   44,   45,  266,  267,   54,  267
     436      267,  267,  267,  267,   51,  267,  267,    0,   31,  230
     437      31,  221,  231,  227,   37,   41,  239,  225,   46,   39, 
     438      215,  221,  222,  267,  267,    0,  267,   64,    0,  267
     439       64,   83,  267,    0,    0,  218,  221,   44,  230,  211
     440      226,  229,  212,  205,  214,  217,  212,  209,  210,  204
     441       52,  216,  196,  217,  203,   50,  201,    0,   82,  267
     442        0,  267,  267,  267,  267,  267,  267,    0,    0,  211
     443      211,  202,  200,  198,  198,  207,  202,  190,    0,  190
     444      194,  195,  189,  198,  184,  183,  182,    0,  194,  188
     445 
     446      192,    0,    0,    0,    0,  202,   59,  194,  189,  189
     447      181,  172,  173,  179,  170,  185,  164,  176,    0,  179
     448      173,    0,  173,  176,    0,  267,  187,  170,  170,  164
     449      173,  170,  160,  155,    0,  167,  170,  169,  155,  155
     450      151,  161,  152,  141,    0,  152,  157,  157,  142,  143
     451      157,  152,  133,  142,  151,  137,  145,  138,  127,  129
     452        0,  143,  136,    0,  144,    0,  141,    0,    0,  120, 
     453      135,    0,    0,    0,    0,  137,  123,  129,  138,    0
     454      116,  115,  120,  119,    0,  131,  119,  118,  113,  129
     455      119,  112,  111,    0,  113,   67,    0,    0,  108,  115, 
     456 
     457      115,  116,  110,  115,  114,  109,   98,   88,   84,   74
     458        0,   67,    0,   80,   66,   61,   69,   69,   55,    0
     459      267,  107,  113,  115,  121,  127,  133,   69,   47 
    383460    } ; 
    384461 
    385 static yyconst short int yy_def[227] = 
     462static yyconst flex_int16_t yy_def[230] = 
    386463    {   0, 
    387       218,    1,  219,  219,  220,  220,  218,  218,  218,  218
    388       218,  218,  218,  218,  218,  218,  218,  221,  221,  221
    389       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    390       221,  221,  221,  218,  218,  222,  218,  218,  223,  218
    391       218,  218,  218,  224,  221,  221,  221,  221,  221,  221
    392       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    393       221,  221,  221,  221,  221,  221,  221,  222,  218,  218
    394       223,  218,  218,  218,  218,  218,  218,  225,  224,  221
    395       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    396       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    397  
    398       221,  221,  221,  221,  226,  221,  221,  221,  221,  221
    399       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    400       221,  221,  221,  221,  221,  218,  221,  221,  221,  221
    401       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    402       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    403       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    404       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    405       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    406       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    407       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    408  
    409       221,  221,  221,  221,  221,  221,  221,  221,  221,  221
    410       221,  221,  221,  221,  221,  221,  221,    0,  218,  218
    411       218,  218,  218,  218,  218,  218 
     464      221,    1,  222,  222,  223,  223,  221,  221,  221,  221
     465      221,  221,  221,  221,  221,  221,  221,  224,  224,  224
     466      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     467      224,  224,  224,  221,  221,  225,  221,  221,  226,  221
     468      221,  221,  221,  227,  224,  224,  224,  224,  224,  224
     469      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     470      224,  224,  224,  224,  224,  224,  224,  225,  221,  221
     471      226,  221,  221,  221,  221,  221,  221,  228,  227,  224
     472      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     473      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     474 
     475      224,  224,  224,  224,  229,  224,  224,  224,  224,  224
     476      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     477      224,  224,  224,  224,  224,  221,  224,  224,  224,  224
     478      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     479      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     480      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     481      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     482      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     483      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     484      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     485 
     486      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     487      224,  224,  224,  224,  224,  224,  224,  224,  224,  224
     488        0,  221,  221,  221,  221,  221,  221,  221,  221 
    412489    } ; 
    413490 
    414 static yyconst short int yy_nxt[312] = 
     491static yyconst flex_int16_t yy_nxt[315] = 
    415492    {   0, 
    416493        8,    9,   10,    9,    9,   11,   12,   13,    8,   14, 
     
    419496       25,   26,   27,   28,   18,   29,   18,   30,   31,   32, 
    420497       18,   18,   33,   18,   18,   34,   35,   37,   37,   40, 
    421        40,  126,   46,   38,   38,   42,   53,   42,   42,   43, 
    422        47,   44,   55,   41,   41,   54,   56,   59,   63,   60
    423        69,   72,   70,   42,  105,   42,   42,   73,   64,  102, 
    424        61,  103,   62,   82,   83,   74,   96,   97,   69,  128
    425        70,  217,  197,  216,  215,  214,  213,  212,  211,   75
    426  
    427       129,  210,   76,  198,   77,  209,  208,  207,   78,   36, 
    428        36,   36,   36,   36,   36,   39,   39,   39,   39,   39
    429        39,   45,   45,   68,  206,   68,  205,   68,   68,   71
    430        71,  204,   71,   71,   71,   79,  203,   79,   79,   79
    431       79,  202,  201,  200,  199,  196,  195,  194,  193,  192
    432       191,  190,  189,  188,  187,  186,  185,  184,  183,  182
    433       181,  180,  179,  178,  177,  176,  175,  174,  173,  172
    434       171,  170,  169,  168,  167,  166,  165,  164,  163,  162
    435       161,  160,  159,  158,  157,  156,  155,  154,  153,  152
    436       151,  150,  149,  148,  147,  146,  145,  144,  143,  142
    437  
    438       141,  140,  139,  138,  137,  136,  135,  134,  133,  132
    439       131,  130,  127,  125,  124,  123,  122,  121,  120,  119
    440       118,  117,  116,  115,  114,  113,  112,  111,  110,  109
    441       108,  107,  106,  104,  101,  100,   99,   98,   95,   94
    442        93,   92,   91,   90,   89,   88,   87,   86,   85,   84
    443        81,   80,   67,   66,   65,   58,   57,   52,   51,   50
    444        49,   48,  218,    7,  218,  218,  218,  218,  218,  218
    445       218,  218,  218,  218,  218,  218,  218,  218,  218,  218
    446       218,  218,  218,  218,  218,  218,  218,  218,  218,  218
    447       218,  218,  218,  218,  218,  218,  218,  218,  218,  218
    448  
    449       218,  218,  218,  218,  218,  218,  218,  218,  218,  218
    450       218 
     498       40,  126,   46,   38,   38,   42,   49,   42,   42,   43, 
     499       47,   44,   54,   41,   41,   50,   56,   60,   63,   72
     500       57,   55,   69,  105,   70,   73,   82,   83,   64,  102, 
     501       61,  103,   62,   74,   42,  128,   42,   42,   96,   97
     502       69,  220,   70,  200,  219,  218,  129,   75,  217,  216
     503 
     504      76,  215,   77,  214,  201,  213,   78,   36,   36,   36, 
     505       36,   36,   36,   39,   39,   39,   39,   39,   39,   45
     506       45,   68,  212,   68,  211,   68,   68,   71,   71,  210
     507       71,  71,   71,   79,  209,   79,   79,   79,   79,  208
     508      207,  206,  205,  204,  203,  202,  199,  198,  197,  196
     509      195,  194,  193,  192,  191,  190,  189,  188,  187,  186
     510      185,  184,  183,  182,  181,  180,  179,  178,  177,  176
     511      175,  174,  173,  172,  171,  170,  169,  168,  167,  166
     512      165,  164,  163,  162,  161,  160,  159,  158,  157,  156
     513      155,  154,  153,  152,  151,  150,  149,  148,  147,  146
     514 
     515      145,  144,  143,  142,  141,  140,  139,  138,  137,  136
     516      135,  134,  133,  132,  131,  130,  127,  125,  124,  123
     517      122,  121,  120,  119,  118,  117,  116,  115,  114,  113
     518      112,  111,  110,  109,  108,  107,  106,  104,  101,  100
     519       99,   98,   95,   94,   93,   92,   91,   90,   89,   88
     520       87,   86,   85,   84,   81,   80,   67,   66,   65,   59
     521       58,   53,   52,   51,   48,  221,    7,  221,  221,  221
     522      221,  221,  221,  221,  221,  221,  221,  221,  221,  221
     523      221,  221,  221,  221,  221,  221,  221,  221,  221,  221
     524      221,  221,  221,  221,  221,  221,  221,  221,  221,  221
     525 
     526      221,  221,  221,  221,  221,  221,  221,  221,  221,  221
     527      221,  221,  221,  221 
    451528    } ; 
    452529 
    453 static yyconst short int yy_chk[312] = 
     530static yyconst flex_int16_t yy_chk[315] = 
    454531    {   0, 
    455532        1,    1,    1,    1,    1,    1,    1,    1,    1,    1, 
     
    458535        1,    1,    1,    1,    1,    1,    1,    1,    1,    1, 
    459536        1,    1,    1,    1,    1,    1,    1,    3,    4,    5, 
    460         6,  226,   19,    3,    4,    9,   25,    9,    9,   15, 
    461        19,   15,   26,    5,    6,   25,   26,   29,   30,   29
    462        38,   41,   38,   42,  225,   42,   42,   41,   30,   66, 
    463        29,   66,   29,   48,   48,   41,   61,   61,   69,  107
    464        69,  216,  193,  215,  214,  213,  212,  211,  209,   41
    465  
    466       107,  207,   41,  193,   41,  206,  205,  204,   41,  219
    467       219,  219,  219,  219,  219,  220,  220,  220,  220,  220
    468       220,  221,  221,  222,  203,  222,  202,  222,  222,  223
    469       223,  201,  223,  223,  223,  224,  200,  224,  224,  224
    470       224,  199,  198,  197,  196,  192,  190,  189,  188,  187
    471       186,  185,  184,  183,  181,  180,  179,  178,  176,  175
    472       174,  173,  168,  167,  164,  163,  161,  160,  158,  157
    473       156,  155,  154,  153,  152,  151,  150,  149,  148,  147
    474       146,  145,  143,  142,  141,  140,  139,  138,  137,  136
    475       135,  133,  132,  131,  130,  129,  128,  127,  124,  123
    476  
    477       121,  119,  117,  116,  115,  114,  113,  112,  111,  110
    478       109,  108,  106,  101,  100,   99,   97,   96,   95,   94
    479        93,   92,   91,   90,   89,   87,   86,   85,   84,   83
    480        82,   81,   80,   67,   65,   64,   63,   62,   60,   59
    481        58,   57,   56,   55,   54,   53,   52,   51,   50,   49
    482        47,   46,   33,   32,   31,   28,   27,   24,   23,   22
    483        21,   20,    7,  218,  218,  218,  218,  218,  218,  218
    484       218,  218,  218,  218,  218,  218,  218,  218,  218,  218
    485       218,  218,  218,  218,  218,  218,  218,  218,  218,  218
    486       218,  218,  218,  218,  218,  218,  218,  218,  218,  218
    487  
    488       218,  218,  218,  218,  218,  218,  218,  218,  218,  218
    489       218 
     537        6,  229,   19,    3,    4,    9,   21,    9,    9,   15, 
     538       19,   15,   25,    5,    6,   21,   26,   29,   30,   41
     539       26,   25,   38,  228,   38,   41,   48,   48,   30,   66, 
     540       29,   66,   29,   41,   42,  107,   42,   42,   61,   61
     541       69,  219,   69,  196,  218,  217,  107,   41,  216,  215
     542 
     543      41,  214,   41,  212,  196,  210,   41,  222,  222,  222
     544      222,  222,  222,  223,  223,  223,  223,  223,  223,  224
     545      224,  225,  209,  225,  208,  225,  225,  226,  226,  207
     546      226,  226,  226,  227,  206,  227,  227,  227,  227,  205
     547      204,  203,  202,  201,  200,  199,  195,  193,  192,  191
     548      190,  189,  188,  187,  186,  184,  183,  182,  181,  179
     549      178,  177,  176,  171,  170,  167,  165,  163,  162,  160
     550      159,  158,  157,  156,  155,  154,  153,  152,  151,  150
     551      149,  148,  147,  146,  144,  143,  142,  141,  140,  139
     552      138,  137,  136,  134,  133,  132,  131,  130,  129,  128
     553 
     554      127,  124,  123,  121,  120,  118,  117,  116,  115,  114
     555      113,  112,  111,  110,  109,  108,  106,  101,  100,   99
     556       97,   96,   95,   94,   93,   92,   91,   90,   88,   87
     557       86,   85,   84,   83,   82,   81,   80,   67,   65,   64
     558       63,   62,   60,   59,   58,   57,   56,   55,   54,   53
     559       52,   51,   50,   49,   47,   46,   33,   32,   31,   28
     560       27,   24,   23,   22,   20,    7,  221,  221,  221,  221
     561      221,  221,  221,  221,  221,  221,  221,  221,  221,  221
     562      221,  221,  221,  221,  221,  221,  221,  221,  221,  221
     563      221,  221,  221,  221,  221,  221,  221,  221,  221,  221
     564 
     565      221,  221,  221,  221,  221,  221,  221,  221,  221,  221
     566      221,  221,  221,  221 
    490567    } ; 
    491568 
    492569static yy_state_type yy_last_accepting_state; 
    493570static char *yy_last_accepting_cpos; 
     571 
     572extern int yy_flex_debug; 
     573int yy_flex_debug = 0; 
    494574 
    495575/* The intent behind this definition is that it'll catch 
     
    502582char *yytext; 
    503583#line 1 "parser.l" 
    504 #define INITIAL 0 
    505584/* $Id$ */ 
    506585#line 3 "parser.l" 
     
    518597static int string_cap = 0; 
    519598 
     599 
     600#line 601 "lex.yy.c" 
     601 
     602#define INITIAL 0 
    520603#define comment 1 
    521604#define string 2 
    522605 
    523 #line 524 "lex.yy.c" 
     606#ifndef YY_NO_UNISTD_H 
     607/* Special case for "unistd.h", since it is non-ANSI. We include it way 
     608 * down here because we want the user's section 1 to have been scanned first. 
     609 * The user has a chance to override it with an option. 
     610 */ 
     611#include <unistd.h> 
     612#endif 
     613 
     614#ifndef YY_EXTRA_TYPE 
     615#define YY_EXTRA_TYPE void * 
     616#endif 
    524617 
    525618/* Macros after this point can all be overridden by user definitions in 
     
    529622#ifndef YY_SKIP_YYWRAP 
    530623#ifdef __cplusplus 
    531 extern "C" int yywrap YY_PROTO(( void )); 
     624extern "C" int yywrap (void ); 
    532625#else 
    533 extern int yywrap YY_PROTO(( void )); 
    534 #endif 
    535 #endif 
    536  
    537 #ifndef YY_NO_UNPUT 
    538 static void yyunput YY_PROTO(( int c, char *buf_ptr )); 
    539 #endif 
    540  
     626extern int yywrap (void ); 
     627#endif 
     628#endif 
     629 
     630    static void yyunput (int c,char *buf_ptr  ); 
     631     
    541632#ifndef yytext_ptr 
    542 static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); 
     633static void yy_flex_strncpy (char *,yyconst char *,int ); 
    543634#endif 
    544635 
    545636#ifdef YY_NEED_STRLEN 
    546 static int yy_flex_strlen YY_PROTO(( yyconst char * )); 
     637static int yy_flex_strlen (yyconst char * ); 
    547638#endif 
    548639 
    549640#ifndef YY_NO_INPUT 
     641 
    550642#ifdef __cplusplus 
    551 static int yyinput YY_PROTO(( void )); 
     643static int yyinput (void ); 
    552644#else 
    553 static int input YY_PROTO(( void )); 
    554 #endif 
    555 #endif 
    556  
    557 #if YY_STACK_USED 
    558 static int yy_start_stack_ptr = 0; 
    559 static int yy_start_stack_depth = 0; 
    560 static int *yy_start_stack = 0; 
    561 #ifndef YY_NO_PUSH_STATE 
    562 static void yy_push_state YY_PROTO(( int new_state )); 
    563 #endif 
    564 #ifndef YY_NO_POP_STATE 
    565 static void yy_pop_state YY_PROTO(( void )); 
    566 #endif 
    567 #ifndef YY_NO_TOP_STATE 
    568 static int yy_top_state YY_PROTO(( void )); 
    569 #endif 
    570  
    571 #else 
    572 #define YY_NO_PUSH_STATE 1 
    573 #define YY_NO_POP_STATE 1 
    574 #define YY_NO_TOP_STATE 1 
    575 #endif 
    576  
    577 #ifdef YY_MALLOC_DECL 
    578 YY_MALLOC_DECL 
    579 #else 
    580 #if __STDC__ 
    581 #ifndef __cplusplus 
    582 #include <stdlib.h> 
    583 #endif 
    584 #else 
    585 /* Just try to get by without declaring the routines.  This will fail 
    586  * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) 
    587  * or sizeof(void*) != sizeof(int). 
    588  */ 
    589 #endif 
     645static int input (void ); 
     646#endif 
     647 
    590648#endif 
    591649 
     
    596654 
    597655/* Copy whatever the last rule matched to the standard output. */ 
    598  
    599656#ifndef ECHO 
    600657/* This used to be an fputs(), but since the string might contain NUL's, 
     
    609666#ifndef YY_INPUT 
    610667#define YY_INPUT(buf,result,max_size) \ 
    611         if ( yy_current_buffer->yy_is_interactive ) \ 
     668        if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ 
    612669                { \ 
    613                 int c = '*', n; \ 
     670                int c = '*'; \ 
     671                size_t n; \ 
    614672                for ( n = 0; n < max_size && \ 
    615673                             (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ 
     
    621679                result = n; \ 
    622680                } \ 
    623         else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ 
    624                   && ferror( yyin ) ) \ 
    625                 YY_FATAL_ERROR( "input in flex scanner failed" ); 
     681        else \ 
     682                { \ 
     683                errno=0; \ 
     684                while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ 
     685                        { \ 
     686                        if( errno != EINTR) \ 
     687                                { \ 
     688                                YY_FATAL_ERROR( "input in flex scanner failed" ); \ 
     689                                break; \ 
     690                                } \ 
     691                        errno=0; \ 
     692                        clearerr(yyin); \ 
     693                        } \ 
     694                }\ 
     695
     696 
    626697#endif 
    627698 
     
    644715#endif 
    645716 
     717/* end tables serialization structures and prototypes */ 
     718 
    646719/* Default declaration of generated scanner - a define so the user can 
    647720 * easily add parameters. 
    648721 */ 
    649722#ifndef YY_DECL 
    650 #define YY_DECL int yylex YY_PROTO(( void )) 
    651 #endif 
     723#define YY_DECL_IS_OURS 1 
     724 
     725extern int yylex (void); 
     726 
     727#define YY_DECL int yylex (void) 
     728#endif /* !YY_DECL */ 
    652729 
    653730/* Code executed at the beginning of each rule, after yytext and yyleng 
     
    666743        YY_USER_ACTION 
    667744 
     745/** The main scanner function which does all the work. 
     746 */ 
    668747YY_DECL 
    669        
     748
    670749        register yy_state_type yy_current_state; 
    671         register char *yy_cp = NULL, *yy_bp = NULL
     750        register char *yy_cp, *yy_bp
    672751        register int yy_act; 
    673  
     752     
    674753#line 25 "parser.l" 
    675754 
    676755 
    677756 
    678 #line 679 "lex.yy.c" 
    679  
    680         if ( yy_init
     757#line 758 "lex.yy.c" 
     758 
     759        if ( (yy_init)
    681760                { 
    682                 yy_init = 0; 
     761                (yy_init) = 0; 
    683762 
    684763#ifdef YY_USER_INIT 
     
    686765#endif 
    687766 
    688                 if ( ! yy_start
    689                         yy_start = 1; /* first start state */ 
     767                if ( ! (yy_start)
     768                        (yy_start) = 1;       /* first start state */ 
    690769 
    691770                if ( ! yyin ) 
     
    695774                        yyout = stdout; 
    696775 
    697                 if ( ! yy_current_buffer ) 
    698                         yy_current_buffer = 
    699                                 yy_create_buffer( yyin, YY_BUF_SIZE ); 
    700  
    701                 yy_load_buffer_state(); 
     776                if ( ! YY_CURRENT_BUFFER ) { 
     777                        yyensure_buffer_stack (); 
     778                        YY_CURRENT_BUFFER_LVALUE = 
     779                                yy_create_buffer(yyin,YY_BUF_SIZE ); 
     780                } 
     781 
     782                yy_load_buffer_state( ); 
    702783                } 
    703784 
    704785        while ( 1 )             /* loops until end-of-file is reached */ 
    705786                {&nb