config_scan.c
上传用户:zm130024
上传日期:2007-01-04
资源大小:432k
文件大小:90k
- #define yy_create_buffer socks_yy_create_buffer
- #define yy_delete_buffer socks_yy_delete_buffer
- #define yy_scan_buffer socks_yy_scan_buffer
- #define yy_scan_string socks_yy_scan_string
- #define yy_scan_bytes socks_yy_scan_bytes
- #define yy_flex_debug socks_yy_flex_debug
- #define yy_init_buffer socks_yy_init_buffer
- #define yy_flush_buffer socks_yy_flush_buffer
- #define yy_load_buffer_state socks_yy_load_buffer_state
- #define yy_switch_to_buffer socks_yy_switch_to_buffer
- #define yyin socks_yyin
- #define yyleng socks_yyleng
- #define yylex socks_yylex
- #define yyout socks_yyout
- #define yyrestart socks_yyrestart
- #define yytext socks_yytext
- #define yylineno socks_yylineno
- #line 20 "lex.yy.c"
- /* $OpenBSD: flex.skl,v 1.5 1997/07/25 21:05:28 mickey Exp $ */
- /* A lexical scanner generated by flex */
- /* Scanner skeleton version:
- * $Header: /cvs/src/usr.bin/lex/flex.skl,v 1.5 1997/07/25 21:05:28 mickey Exp $
- */
- #define FLEX_SCANNER
- #define YY_FLEX_MAJOR_VERSION 2
- #define YY_FLEX_MINOR_VERSION 5
- #include <stdio.h>
- /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
- #ifdef c_plusplus
- #ifndef __cplusplus
- #define __cplusplus
- #endif
- #endif
- #ifdef __cplusplus
- #include <stdlib.h>
- #include <unistd.h>
- /* Use prototypes in function declarations. */
- #define YY_USE_PROTOS
- /* The "const" storage-class-modifier is valid. */
- #define YY_USE_CONST
- #else /* ! __cplusplus */
- #ifdef __STDC__
- #define YY_USE_PROTOS
- #define YY_USE_CONST
- #endif /* __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
- /* Promotes a possibly negative, possibly signed char to an unsigned
- * integer for use as an array index. If the signed char is negative,
- * we want to instead treat it as an 8-bit unsigned char, hence the
- * double cast.
- */
- #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
- /* Enter a start condition. This macro really ought to take a parameter,
- * but we do it the disgusting crufty way forced on us by the ()-less
- * definition of BEGIN.
- */
- #define BEGIN 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 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_END_OF_BUFFER_CHAR 0
- /* Size of default input buffer. */
- #define YY_BUF_SIZE 16384
- typedef struct yy_buffer_state *YY_BUFFER_STATE;
- 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 yyless(n)
- do
- {
- /* Undo effects of setting up yytext. */
- *yy_cp = yy_hold_char;
- YY_RESTORE_YY_MORE_OFFSET
- yy_c_buf_p = yy_cp = yy_bp + n - 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;
- struct yy_buffer_state
- {
- FILE *yy_input_file;
- char *yy_ch_buf; /* input buffer */
- char *yy_buf_pos; /* current position in input buffer */
- /* Size of input buffer in bytes, not including room for EOB
- * characters.
- */
- yy_size_t yy_buf_size;
- /* Number of characters read into yy_ch_buf, not including EOB
- * characters.
- */
- int yy_n_chars;
- /* Whether we "own" the buffer - i.e., we know we created it,
- * and can realloc() it to grow it, and should free() it to
- * delete it.
- */
- int yy_is_our_buffer;
- /* Whether this is an "interactive" input source; if so, and
- * if we're using stdio for input, then we want to use getc()
- * instead of fread(), to make sure we stop fetching input after
- * each newline.
- */
- int yy_is_interactive;
- /* Whether we're considered to be at the beginning of a line.
- * If so, '^' rules will be active on the next match, otherwise
- * not.
- */
- int yy_at_bol;
- /* Whether to try to fill the input buffer when we reach the
- * end of it.
- */
- int yy_fill_buffer;
- int yy_buffer_status;
- #define YY_BUFFER_NEW 0
- #define YY_BUFFER_NORMAL 1
- /* When an EOF's been seen but there's still some text to process
- * then we mark the buffer as YY_EOF_PENDING, to indicate that we
- * shouldn't try reading from the input source any more. We might
- * still have a bunch of tokens to match, though, because of
- * possible backing-up.
- *
- * When we actually see the EOF, we change the status to "new"
- * (via yyrestart()), so that the user can continue scanning by
- * just pointing yyin at a new input file.
- */
- #define YY_BUFFER_EOF_PENDING 2
- };
- static YY_BUFFER_STATE yy_current_buffer = 0;
- /* 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".
- */
- #define YY_CURRENT_BUFFER yy_current_buffer
- /* 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_start = 0; /* start state number */
- /* Flag which is used to allow yywrap()'s to do buffer switches
- * instead of setting up a fresh yyin. A bit of a hack ...
- */
- static int yy_did_buffer_switch_on_eof;
- void yyrestart YY_PROTO(( FILE *input_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 )
- 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 ));
- 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 * ));
- #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;
- }
- #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;
- }
- #define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
- #define YY_USES_REJECT
- #define yywrap() 1
- #define YY_SKIP_YYWRAP
- 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[] ));
- /* 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;
- *yy_cp = ' ';
- yy_c_buf_p = yy_cp;
- #define YY_NUM_RULES 71
- #define YY_END_OF_BUFFER 72
- static yyconst short int yy_acclist[629] =
- { 0,
- 23, 23, 72, 70, 71, 66, 70, 71, 68, 71,
- 67, 70, 71, 65, 70, 71, 70, 71, 70, 71,
- 70, 71, 70, 71, 70, 71, 70, 71, 70, 71,
- 70, 71, 70, 71, 70, 71, 70, 71, 70, 71,
- 70, 71, 70, 71, 70, 71, 70, 71, 70, 71,
- 19, 70, 71, 19, 70, 71, 19, 70, 71, 19,
- 70, 71, 19, 70, 71, 19, 70, 71, 19, 70,
- 71, 19, 70, 71, 19, 70, 71, 19, 70, 71,
- 19, 70, 71, 19, 70, 71, 19, 70, 71, 19,
- 70, 71, 19, 70, 71, 19, 70, 71, 19, 70,
- 71, 70, 71, 22, 70, 71, 70, 71, 70, 71,
- 70, 71, 23, 70, 71, 23, 66, 70, 71, 23,
- 67, 70, 71, 23, 65, 70, 71, 23, 70, 71,
- 70, 71, 70, 71, 70, 71, 70, 71, 20, 70,
- 71, 20, 67, 70, 71, 20, 65, 70, 71, 20,
- 70, 71, 70, 71, 70, 71, 21, 70, 71, 21,
- 67, 70, 71, 21, 65, 70, 71, 21, 70, 71,
- 70, 71, 18, 65, 70, 71, 11, 70, 71, 11,
- 70, 71, 11, 70, 71, 17, 70, 71, 17, 70,
- 71, 17, 70, 71, 17, 70, 71, 17, 70, 71,
- 70, 71, 70, 71, 70, 71, 70, 71, 66, 67,
- 67, 65, 69, 38, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 38,
- 19, 19, 23, 23, 66, 23, 67, 23, 67, 23,
- 23, 65, 20, 20, 67, 20, 20, 65, 21, 21,
- 67, 21, 21, 65, 11, 18, 65, 17, 17, 11,
- 17, 17, 65, 61, 39, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 61, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 39, 23, 23, 65, 20, 20, 65,
- 21, 21, 65, 18, 65, 26, 27, 65, 52, 37,
- 55, 60, 42, 19, 52, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 37, 19, 19, 19, 19, 19,
- 19, 19, 19, 55, 19, 60, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 42, 10, 4, 23, 23,
- 23, 65, 13, 20, 20, 20, 65, 21, 21, 21,
- 65, 18, 65, 28, 59, 29, 30, 19, 59, 19,
- 19, 19, 19, 19, 29, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 30, 19, 19, 19, 19, 23, 23, 15, 20,
- 20, 21, 21, 18, 65, 53, 56, 54, 58, 19,
- 53, 19, 19, 19, 9, 19, 19, 19, 19, 56,
- 19, 19, 19, 19, 19, 19, 54, 19, 19, 19,
- 19, 19, 58, 19, 19, 19, 19, 19, 19, 23,
- 23, 20, 20, 21, 21, 64, 36, 62, 32, 19,
- 36, 19, 19, 19, 19, 19, 19, 19, 62, 19,
- 19, 19, 19, 19, 19, 19, 19, 32, 19, 19,
- 19, 19, 5, 23, 64, 23, 12, 20, 64, 20,
- 21, 64, 21, 64, 41, 40, 35, 49, 57, 19,
- 19, 19, 19, 41, 19, 40, 19, 19, 19, 19,
- 35, 19, 19, 19, 19, 49, 19, 19, 19, 19,
- 57, 8, 23, 64, 20, 64, 1, 2, 21, 64,
- 64, 51, 46, 34, 48, 19, 19, 19, 51, 19,
- 46, 19, 19, 34, 19, 19, 19, 48, 19, 19,
- 19, 7, 23, 64, 20, 64, 21, 64, 25, 19,
- 19, 19, 19, 19, 19, 19, 19, 14, 3, 24,
- 19, 19, 19, 19, 19, 19, 19, 19, 16, 63,
- 45, 19, 19, 19, 19, 19, 63, 19, 19, 19,
- 45, 19, 19, 6, 47, 63, 63, 33, 19, 47,
- 19, 19, 63, 19, 63, 19, 33, 19, 19, 19,
- 50, 19, 50, 19, 19, 19, 31, 43, 19, 31,
- 19, 19, 43, 19, 19, 44, 19, 44
- } ;
- static yyconst short int yy_accept[741] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 2, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 4, 6, 9, 11, 14, 17, 19, 21, 23,
- 25, 27, 29, 31, 33, 35, 37, 39, 41, 43,
- 45, 47, 49, 51, 54, 57, 60, 63, 66, 69,
- 72, 75, 78, 81, 84, 87, 90, 93, 96, 99,
- 102, 104, 107, 109, 111, 113, 116, 120, 124, 128,
- 131, 133, 135, 137, 139, 142, 146, 150, 153, 155,
- 157, 160, 164, 168, 171, 173, 177, 180, 183, 186,
- 189, 192, 195, 198, 201, 203, 205, 207, 209, 210,
- 211, 212, 212, 213, 214, 214, 214, 214, 214, 214,
- 214, 214, 214, 214, 214, 214, 214, 214, 214, 214,
- 214, 214, 214, 214, 214, 214, 215, 215, 215, 216,
- 217, 218, 219, 220, 221, 222, 223, 224, 225, 226,
- 227, 228, 229, 230, 231, 232, 233, 234, 235, 236,
- 237, 238, 239, 241, 242, 243, 243, 243, 243, 243,
- 244, 246, 248, 250, 251, 253, 253, 253, 253, 253,
- 253, 254, 256, 257, 259, 259, 259, 260, 262, 263,
- 265, 266, 268, 269, 270, 272, 273, 273, 273, 273,
- 273, 273, 274, 274, 274, 274, 274, 274, 274, 274,
- 274, 274, 274, 274, 274, 274, 275, 275, 275, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 276, 277,
- 278, 279, 280, 281, 282, 283, 284, 285, 286, 287,
- 288, 289, 290, 292, 293, 294, 295, 296, 297, 298,
- 299, 300, 301, 302, 303, 305, 305, 305, 305, 305,
- 306, 308, 308, 308, 308, 308, 308, 309, 311, 311,
- 311, 312, 314, 316, 316, 316, 316, 317, 318, 318,
- 318, 319, 320, 320, 320, 320, 320, 320, 320, 320,
- 321, 321, 321, 321, 321, 321, 321, 321, 322, 323,
- 323, 323, 323, 323, 323, 323, 323, 323, 324, 326,
- 327, 328, 329, 330, 331, 332, 333, 334, 336, 337,
- 338, 339, 340, 341, 342, 343, 345, 347, 348, 349,
- 350, 351, 352, 353, 354, 355, 357, 358, 359, 359,
- 359, 359, 360, 361, 363, 363, 364, 364, 364, 364,
- 365, 366, 368, 368, 368, 369, 370, 372, 374, 374,
- 374, 375, 375, 375, 376, 376, 376, 376, 376, 377,
- 377, 377, 377, 377, 377, 377, 377, 377, 377, 377,
- 377, 377, 377, 377, 378, 378, 378, 378, 378, 380,
- 381, 382, 383, 384, 386, 387, 388, 389, 390, 391,
- 392, 393, 394, 395, 396, 397, 398, 399, 400, 401,
- 403, 404, 405, 406, 407, 407, 407, 407, 407, 408,
- 409, 409, 409, 410, 410, 411, 412, 412, 412, 413,
- 414, 416, 416, 416, 416, 416, 417, 417, 417, 417,
- 417, 417, 418, 418, 418, 418, 418, 418, 419, 419,
- 419, 419, 419, 420, 420, 420, 420, 420, 420, 420,
- 422, 423, 424, 425, 427, 428, 429, 431, 432, 433,
- 434, 435, 436, 438, 439, 440, 441, 442, 444, 445,
- 446, 447, 448, 449, 450, 450, 450, 450, 450, 451,
- 452, 452, 452, 452, 453, 454, 454, 454, 455, 456,
- 456, 456, 457, 457, 458, 458, 458, 458, 458, 458,
- 458, 459, 459, 459, 459, 459, 459, 459, 459, 460,
- 460, 460, 460, 460, 462, 463, 464, 465, 466, 467,
- 468, 470, 471, 472, 473, 474, 475, 476, 477, 479,
- 480, 481, 482, 483, 483, 484, 484, 484, 486, 487,
- 488, 488, 488, 490, 491, 491, 491, 493, 494, 494,
- 494, 495, 495, 495, 495, 496, 497, 497, 497, 497,
- 498, 498, 498, 498, 499, 499, 499, 499, 500, 501,
- 502, 503, 505, 507, 508, 509, 510, 512, 513, 514,
- 515, 517, 518, 519, 520, 522, 522, 522, 523, 525,
- 525, 525, 527, 527, 528, 529, 531, 531, 531, 532,
- 532, 532, 533, 534, 534, 535, 535, 535, 536, 536,
- 536, 536, 537, 538, 540, 542, 543, 545, 546, 547,
- 549, 550, 551, 552, 553, 553, 555, 555, 555, 557,
- 557, 559, 559, 560, 560, 560, 560, 560, 560, 560,
- 560, 560, 561, 562, 563, 564, 565, 566, 567, 568,
- 568, 569, 569, 570, 571, 571, 571, 571, 571, 571,
- 571, 571, 571, 572, 573, 574, 575, 576, 577, 578,
- 579, 579, 580, 580, 580, 580, 581, 581, 581, 582,
- 582, 582, 583, 584, 585, 586, 588, 589, 590, 592,
- 593, 594, 595, 596, 596, 597, 598, 599, 599, 599,
- 599, 601, 602, 604, 606, 608, 609, 610, 611, 612,
- 612, 612, 612, 614, 615, 616, 617, 618, 618, 619,
- 621, 622, 624, 624, 625, 625, 626, 627, 629, 629
- } ;
- static yyconst int yy_ec[256] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 2, 4, 1, 5, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 6, 7, 8, 9, 10,
- 11, 12, 13, 8, 8, 8, 14, 15, 1, 16,
- 17, 18, 1, 1, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 1, 20, 1, 1, 21, 1, 22, 23, 24, 25,
- 26, 27, 28, 29, 30, 19, 31, 32, 33, 34,
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
- 45, 19, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1
- } ;
- static yyconst int yy_meta[46] =
- { 0,
- 1, 2, 3, 1, 1, 4, 5, 6, 6, 6,
- 6, 6, 6, 6, 7, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1
- } ;
- static yyconst short int yy_base[774] =
- { 0,
- 0, 0, 45, 0, 1798, 1797, 76, 0, 96, 98,
- 1817, 1816, 138, 157, 108, 148, 177, 196, 1815, 1814,
- 92, 142, 215, 234, 254, 0, 90, 111, 115, 285,
- 1828, 1835, 90, 1835, 0, 1821, 1823, 64, 129, 1799,
- 1780, 1785, 1783, 63, 165, 1795, 1785, 106, 167, 174,
- 1784, 1779, 1787, 326, 347, 271, 189, 208, 97, 202,
- 275, 281, 288, 287, 344, 343, 358, 351, 355, 201,
- 286, 1835, 1786, 1780, 1789, 0, 248, 0, 391, 1810,
- 1777, 154, 1773, 1775, 0, 300, 400, 1806, 1769, 1772,
- 0, 330, 409, 1803, 1788, 1798, 1786, 1835, 1785, 423,
- 444, 358, 433, 177, 1766, 1778, 1775, 1773, 348, 0,
- 0, 0, 1791, 1835, 1762, 1760, 1764, 120, 1770, 1752,
- 1756, 1751, 1749, 1748, 1764, 365, 1746, 1751, 1745, 1748,
- 427, 1758, 1740, 1747, 1755, 1835, 1752, 1755, 0, 437,
- 442, 445, 452, 453, 465, 460, 459, 470, 464, 474,
- 477, 478, 488, 481, 492, 493, 498, 497, 507, 510,
- 511, 522, 515, 523, 526, 1738, 1741, 1740, 1737, 0,
- 555, 0, 0, 553, 562, 1738, 1731, 1731, 1731, 1733,
- 0, 423, 569, 578, 1731, 1742, 0, 583, 591, 600,
- 1835, 1759, 0, 1727, 1726, 0, 430, 1731, 1725, 1724,
- 1753, 1752, 1732, 1732, 1729, 560, 1720, 1712, 1726, 1718,
- 1728, 1723, 1718, 1704, 1724, 1710, 1715, 1717, 1703, 386,
- 1706, 1701, 1725, 1698, 1711, 1707, 1697, 1835, 590, 593,
- 598, 599, 604, 586, 607, 614, 615, 619, 624, 565,
- 623, 630, 629, 638, 639, 642, 643, 647, 646, 666,
- 654, 663, 670, 671, 589, 1694, 1708, 1698, 369, 704,
- 713, 1697, 1708, 1705, 1693, 1691, 722, 731, 1688, 1694,
- 740, 749, 1718, 1693, 1688, 1695, 1835, 1835, 0, 1714,
- 1713, 1835, 1687, 1683, 1694, 1693, 1688, 1685, 408, 1835,
- 1676, 1673, 1677, 1671, 1676, 1666, 1671, 1835, 1835, 1670,
- 1659, 1671, 1676, 1690, 1674, 1663, 1663, 445, 658, 674,
- 734, 743, 747, 744, 750, 757, 754, 753, 761, 764,
- 768, 773, 774, 777, 778, 782, 785, 789, 790, 793,
- 800, 1686, 801, 804, 807, 822, 1835, 1658, 1669, 1655,
- 1667, 849, 858, 865, 1666, 1835, 1656, 1652, 1663, 872,
- 881, 888, 1653, 1648, 895, 904, 911, 0, 1647, 1654,
- 1835, 1678, 1677, 1835, 1642, 1647, 1640, 1655, 1835, 1639,
- 1643, 1646, 1641, 1648, 1651, 1647, 1631, 1645, 1645, 1632,
- 1625, 1644, 1656, 1835, 1629, 1624, 809, 1640, 814, 896,
- 817, 897, 908, 818, 901, 912, 913, 823, 916, 923,
- 930, 929, 926, 938, 941, 942, 937, 953, 1652, 950,
- 954, 958, 962, 969, 1634, 1635, 1619, 1621, 996, 1650,
- 1631, 1620, 1835, 1615, 1005, 1646, 1607, 1629, 1014, 1643,
- 1642, 1614, 1612, 0, 1639, 1835, 1619, 1613, 1602, 1611,
- 1618, 1835, 1617, 1603, 1601, 1601, 1599, 1835, 1599, 1595,
- 1602, 1596, 1835, 1576, 1567, 1573, 1565, 1559, 1561, 963,
- 1004, 1000, 1001, 1005, 1008, 1017, 1012, 1021, 1020, 1024,
- 1027, 1031, 1016, 1034, 1038, 1045, 1048, 0, 1049, 1042,
- 1053, 1054, 1058, 1061, 1555, 1548, 1550, 1551, 1089, 1098,
- 1542, 1545, 1551, 1105, 1114, 1527, 1527, 1121, 1130, 1544,
- 1529, 0, 1557, 1835, 1537, 1514, 1513, 1515, 1509, 1494,
- 1835, 1501, 1487, 1489, 1479, 1477, 1485, 1464, 1835, 1456,
- 1436, 1399, 1391, 1115, 1123, 1118, 1119, 1127, 1130, 1131,
- 1134, 1135, 1139, 1143, 1144, 1151, 1152, 1156, 1159, 1162,
- 1163, 1167, 1172, 1332, 1835, 1334, 1303, 1197, 1341, 1835,
- 1290, 1261, 1204, 1271, 1252, 316, 1211, 1263, 1219, 1205,
- 0, 1215, 1214, 1167, 1835, 1835, 1160, 1168, 1138, 1835,
- 1130, 1118, 1114, 1835, 1094, 1085, 1063, 1835, 1196, 1197,
- 1200, 1201, 1205, 1206, 1217, 1210, 1211, 1221, 1222, 1225,
- 1226, 1232, 1235, 1236, 1240, 1050, 1062, 1835, 1271, 1041,
- 1028, 1278, 1003, 1835, 1835, 1285, 997, 978, 1835, 971,
- 967, 1835, 1835, 957, 1835, 946, 941, 1835, 919, 901,
- 905, 1244, 1270, 1274, 1275, 1278, 1279, 1282, 1283, 1289,
- 1290, 1293, 1294, 1835, 912, 0, 890, 876, 0, 878,
- 0, 836, 1835, 808, 773, 761, 766, 732, 749, 737,
- 724, 1297, 1304, 1303, 1308, 1309, 1320, 1313, 1314, 707,
- 1835, 704, 1835, 1835, 689, 676, 693, 662, 657, 655,
- 621, 632, 1321, 1324, 1361, 1325, 1377, 1378, 1381, 1389,
- 631, 1835, 598, 601, 611, 554, 527, 526, 1835, 505,
- 506, 1386, 1392, 592, 0, 705, 1395, 1396, 1400, 1404,
- 1407, 1835, 1835, 479, 500, 478, 1835, 443, 415, 390,
- 1408, 1411, 814, 962, 1412, 1415, 1416, 1423, 1835, 360,
- 346, 346, 1422, 1426, 1431, 1434, 1835, 321, 1835, 1430,
- 1437, 1438, 297, 1445, 279, 1448, 1835, 1442, 1835, 1480,
- 1487, 1494, 1501, 1505, 1511, 1518, 1525, 1532, 1538, 1545,
- 1551, 1555, 1561, 245, 1564, 1570, 1574, 1580, 1583, 1586,
- 1589, 216, 1592, 207, 1595, 177, 1598, 130, 87, 1604,
- 1611, 1618, 1625
- } ;
- static yyconst short int yy_def[774] =
- { 0,
- 739, 1, 739, 3, 1, 1, 1, 7, 7, 7,
- 7, 7, 740, 740, 7, 7, 741, 741, 7, 7,
- 7, 7, 742, 742, 739, 25, 7, 7, 7, 7,
- 739, 739, 739, 739, 743, 744, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 745, 745, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 739, 739, 739, 739, 739, 746, 746, 747, 746, 746,
- 739, 739, 739, 739, 748, 749, 748, 748, 739, 739,
- 750, 751, 750, 750, 739, 752, 739, 739, 739, 753,
- 753, 101, 101, 101, 739, 739, 739, 739, 739, 743,
- 743, 754, 755, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 756, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 739, 739, 739, 739, 746,
- 746, 747, 747, 746, 746, 739, 739, 739, 739, 739,
- 748, 749, 748, 748, 739, 739, 750, 751, 750, 750,
- 739, 757, 758, 101, 101, 101, 739, 739, 739, 739,
- 759, 760, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 739, 739, 739, 739, 746,
- 746, 739, 739, 739, 739, 739, 748, 748, 739, 739,
- 750, 750, 761, 739, 739, 739, 739, 739, 762, 763,
- 760, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 756, 55, 55, 55, 55, 739, 739, 739, 739,
- 739, 746, 746, 746, 739, 739, 739, 739, 739, 748,
- 748, 748, 739, 739, 750, 750, 750, 764, 739, 739,
- 739, 765, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 756, 55,
- 55, 55, 55, 55, 739, 739, 739, 739, 746, 746,
- 739, 739, 739, 739, 748, 748, 739, 739, 750, 750,
- 760, 739, 739, 766, 767, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 756, 55, 55,
- 55, 55, 55, 55, 739, 739, 739, 739, 746, 746,
- 739, 739, 739, 748, 748, 739, 739, 750, 750, 739,
- 739, 768, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 739, 739, 739, 739, 746, 746, 739,
- 739, 739, 748, 748, 739, 739, 750, 750, 739, 739,
- 769, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 739, 739, 739, 746, 739,
- 739, 748, 739, 739, 739, 750, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 739, 739, 746, 739, 739, 748, 739,
- 750, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 55, 55, 55, 55, 55, 55, 55, 55, 739,
- 739, 739, 739, 739, 739, 739, 770, 739, 739, 739,
- 739, 739, 55, 55, 739, 55, 55, 55, 55, 55,
- 739, 739, 739, 739, 770, 771, 739, 739, 739, 739,
- 739, 55, 55, 772, 675, 773, 55, 55, 55, 55,
- 55, 739, 739, 739, 771, 771, 739, 739, 739, 739,
- 55, 55, 773, 773, 55, 55, 55, 55, 739, 739,
- 739, 739, 55, 55, 55, 55, 739, 739, 739, 55,
- 55, 55, 739, 55, 739, 55, 739, 55, 0, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739
- } ;
- static yyconst short int yy_nxt[1881] =
- { 0,
- 32, 33, 34, 32, 35, 32, 32, 36, 36, 36,
- 36, 36, 36, 36, 32, 32, 32, 32, 32, 37,
- 32, 32, 38, 39, 40, 41, 42, 43, 32, 44,
- 32, 45, 46, 47, 32, 48, 32, 49, 50, 51,
- 52, 53, 32, 32, 32, 32, 33, 34, 32, 35,
- 54, 32, 36, 36, 36, 36, 36, 36, 36, 32,
- 32, 32, 32, 54, 37, 32, 54, 55, 56, 57,
- 58, 59, 60, 54, 61, 54, 62, 63, 64, 54,
- 65, 54, 66, 67, 68, 69, 70, 54, 54, 54,
- 72, 109, 609, 115, 110, 116, 123, 124, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 73, 74,
- 73, 74, 32, 105, 89, 32, 140, 129, 140, 32,
- 90, 81, 82, 83, 148, 561, 75, 84, 75, 77,
- 34, 106, 78, 130, 105, 79, 79, 79, 79, 79,
- 79, 79, 206, 207, 107, 108, 32, 80, 77, 34,
- 117, 78, 32, 118, 79, 79, 79, 79, 79, 79,
- 79, 81, 82, 83, 89, 177, 80, 84, 33, 34,
- 90, 86, 502, 178, 87, 87, 87, 87, 87, 87,
- 87, 32, 131, 132, 125, 134, 88, 33, 34, 126,
- 86, 133, 196, 87, 87, 87, 87, 87, 87, 87,
- 32, 135, 431, 194, 145, 88, 33, 34, 146, 92,
- 140, 362, 93, 93, 93, 93, 93, 93, 93, 32,
- 165, 140, 140, 140, 94, 33, 34, 140, 92, 140,
- 149, 93, 93, 93, 93, 93, 93, 93, 32, 171,
- 201, 147, 172, 94, 32, 33, 34, 95, 35, 32,
- 32, 96, 96, 96, 96, 96, 96, 96, 32, 97,
- 98, 99, 100, 37, 32, 100, 100, 100, 100, 101,
- 100, 102, 100, 100, 100, 103, 100, 104, 100, 100,
- 100, 100, 100, 100, 100, 100, 100, 100, 100, 32,
- 140, 111, 143, 737, 140, 144, 140, 129, 150, 151,
- 152, 106, 140, 154, 111, 153, 140, 140, 140, 140,
- 166, 155, 735, 130, 107, 108, 139, 604, 605, 139,
- 139, 111, 139, 139, 139, 139, 139, 139, 139, 139,
- 139, 139, 139, 139, 111, 139, 139, 139, 733, 109,
- 139, 139, 110, 139, 139, 139, 139, 139, 139, 139,
- 139, 139, 139, 139, 139, 156, 139, 139, 158, 159,
- 729, 728, 140, 140, 140, 140, 141, 160, 142, 161,
- 140, 157, 140, 195, 140, 163, 140, 140, 215, 140,
- 340, 727, 216, 164, 194, 162, 174, 195, 175, 175,
- 175, 175, 175, 175, 175, 183, 341, 184, 184, 184,
- 184, 184, 184, 184, 189, 722, 190, 190, 190, 190,
- 190, 190, 190, 193, 111, 300, 193, 193, 193, 301,
- 193, 193, 193, 193, 193, 193, 193, 111, 193, 193,
- 193, 370, 193, 193, 193, 371, 721, 193, 193, 193,
- 387, 193, 193, 193, 193, 193, 193, 193, 195, 193,
- 193, 193, 274, 193, 193, 221, 140, 222, 140, 194,
- 275, 140, 195, 140, 140, 229, 140, 720, 388, 230,
- 195, 231, 140, 140, 140, 232, 233, 234, 140, 140,
- 140, 140, 706, 140, 140, 140, 140, 235, 236, 140,
- 241, 140, 238, 140, 237, 140, 140, 140, 140, 140,
- 140, 242, 140, 239, 706, 243, 240, 140, 719, 140,
- 244, 140, 140, 140, 140, 245, 140, 140, 140, 140,
- 250, 246, 247, 710, 709, 248, 140, 249, 140, 140,
- 140, 140, 140, 252, 140, 253, 140, 255, 254, 708,
- 251, 140, 140, 140, 140, 140, 171, 140, 707, 172,
- 260, 260, 260, 260, 260, 260, 260, 174, 706, 261,
- 261, 261, 261, 261, 261, 261, 267, 267, 267, 267,
- 267, 267, 267, 183, 111, 268, 268, 268, 268, 268,
- 268, 268, 285, 685, 321, 286, 140, 111, 271, 271,
- 271, 271, 271, 271, 271, 189, 696, 272, 272, 272,
- 272, 272, 272, 272, 309, 140, 310, 140, 140, 140,
- 140, 140, 140, 311, 140, 686, 315, 140, 140, 140,
- 140, 312, 316, 140, 313, 140, 140, 314, 140, 317,
- 319, 704, 703, 140, 140, 140, 140, 318, 140, 320,
- 140, 323, 140, 140, 140, 140, 702, 691, 140, 140,
- 140, 140, 690, 324, 326, 322, 325, 140, 140, 140,
- 140, 140, 140, 140, 140, 140, 140, 140, 140, 332,
- 327, 330, 328, 140, 331, 140, 329, 140, 334, 140,
- 689, 688, 140, 333, 140, 140, 687, 140, 335, 140,
- 140, 140, 140, 140, 389, 140, 705, 686, 336, 342,
- 684, 343, 343, 343, 343, 343, 343, 343, 174, 714,
- 344, 344, 344, 344, 344, 344, 344, 350, 683, 351,
- 351, 351, 351, 351, 351, 351, 183, 682, 352, 352,
- 352, 352, 352, 352, 352, 355, 681, 356, 356, 356,
- 356, 356, 356, 356, 189, 672, 357, 357, 357, 357,
- 357, 357, 357, 140, 391, 140, 671, 390, 392, 393,
- 670, 669, 140, 140, 140, 140, 140, 394, 140, 140,
- 395, 140, 140, 140, 140, 140, 140, 396, 140, 668,
- 140, 397, 140, 140, 667, 140, 398, 140, 666, 140,
- 400, 399, 140, 140, 140, 402, 140, 140, 140, 140,
- 401, 140, 404, 140, 140, 705, 140, 403, 140, 140,
- 140, 140, 140, 405, 407, 408, 410, 413, 714, 140,
- 140, 140, 140, 140, 406, 140, 140, 665, 140, 411,
- 456, 412, 457, 140, 458, 140, 140, 140, 140, 140,
- 461, 140, 467, 140, 140, 414, 419, 419, 419, 419,
- 419, 419, 419, 342, 664, 420, 420, 420, 420, 420,
- 420, 420, 344, 344, 344, 344, 344, 344, 344, 425,
- 425, 425, 425, 425, 425, 425, 350, 663, 426, 426,
- 426, 426, 426, 426, 426, 352, 352, 352, 352, 352,
- 352, 352, 429, 429, 429, 429, 429, 429, 429, 355,
- 662, 430, 430, 430, 430, 430, 430, 430, 357, 357,
- 357, 357, 357, 357, 357, 140, 140, 140, 140, 661,
- 140, 463, 140, 660, 651, 460, 462, 140, 650, 140,
- 464, 140, 140, 140, 140, 140, 466, 140, 469, 468,
- 465, 470, 140, 471, 140, 140, 649, 140, 140, 140,
- 140, 140, 473, 705, 474, 472, 140, 140, 140, 140,
- 140, 140, 140, 140, 477, 648, 714, 475, 476, 140,
- 647, 140, 140, 140, 140, 140, 646, 140, 479, 140,
- 484, 140, 140, 481, 140, 482, 480, 483, 140, 645,
- 140, 489, 644, 490, 490, 490, 490, 490, 490, 490,
- 494, 643, 495, 495, 495, 495, 495, 495, 495, 498,
- 642, 499, 499, 499, 499, 499, 499, 499, 524, 525,
- 140, 140, 140, 140, 140, 140, 140, 527, 528, 140,
- 526, 140, 529, 140, 640, 140, 140, 140, 140, 140,
- 140, 140, 140, 140, 530, 140, 140, 638, 140, 531,
- 140, 532, 140, 140, 637, 140, 533, 140, 534, 140,
- 536, 140, 537, 140, 140, 535, 140, 140, 140, 140,
- 140, 539, 540, 140, 140, 140, 538, 140, 541, 140,
- 140, 635, 140, 543, 634, 542, 548, 548, 548, 548,
- 548, 548, 548, 489, 621, 549, 549, 549, 549, 549,
- 549, 549, 553, 553, 553, 553, 553, 553, 553, 494,
- 620, 554, 554, 554, 554, 554, 554, 554, 557, 557,
- 557, 557, 557, 557, 557, 498, 619, 558, 558, 558,
- 558, 558, 558, 558, 140, 579, 140, 140, 140, 140,
- 140, 618, 140, 581, 140, 617, 140, 580, 582, 140,
- 140, 583, 140, 140, 140, 140, 140, 585, 140, 616,
- 140, 584, 140, 140, 587, 140, 590, 615, 588, 586,
- 140, 140, 140, 140, 592, 140, 589, 140, 140, 614,
- 140, 140, 140, 140, 140, 591, 594, 595, 140, 613,
- 612, 140, 593, 140, 599, 599, 599, 599, 599, 599,
- 599, 602, 602, 602, 602, 602, 602, 602, 606, 606,
- 606, 606, 606, 606, 606, 622, 623, 140, 140, 140,
- 140, 140, 140, 624, 140, 140, 140, 140, 626, 140,
- 140, 140, 140, 611, 610, 625, 140, 608, 140, 627,
- 140, 140, 140, 140, 140, 140, 140, 140, 607, 629,
- 628, 140, 630, 140, 140, 140, 140, 140, 498, 140,
- 632, 140, 603, 140, 631, 652, 494, 633, 636, 636,
- 636, 636, 636, 636, 636, 639, 639, 639, 639, 639,
- 639, 639, 641, 641, 641, 641, 641, 641, 641, 140,
- 601, 140, 653, 140, 140, 140, 140, 654, 140, 140,
- 140, 140, 140, 140, 140, 600, 655, 656, 140, 140,
- 140, 140, 140, 659, 140, 140, 673, 657, 140, 674,
- 658, 676, 140, 140, 140, 140, 675, 140, 140, 140,
- 140, 678, 679, 140, 140, 680, 489, 598, 677, 140,
- 140, 140, 140, 140, 140, 140, 140, 597, 693, 697,
- 692, 694, 685, 596, 694, 694, 695, 694, 694, 694,
- 694, 694, 694, 694, 694, 696, 694, 694, 694, 695,
- 694, 694, 695, 695, 695, 695, 695, 695, 695, 695,
- 695, 695, 695, 695, 695, 695, 695, 695, 695, 695,
- 695, 695, 695, 695, 695, 695, 140, 140, 140, 140,
- 140, 698, 140, 699, 701, 140, 578, 140, 140, 716,
- 140, 140, 700, 140, 140, 140, 715, 140, 577, 140,
- 711, 140, 712, 717, 718, 140, 140, 140, 140, 140,
- 140, 140, 140, 140, 140, 140, 140, 725, 726, 724,
- 723, 140, 140, 140, 140, 140, 731, 730, 732, 140,
- 140, 140, 140, 140, 734, 140, 140, 140, 140, 140,
- 736, 140, 738, 140, 140, 576, 140, 140, 575, 140,
- 76, 76, 76, 76, 76, 76, 76, 85, 85, 85,
- 85, 85, 85, 85, 91, 91, 91, 91, 91, 91,
- 91, 111, 111, 574, 111, 111, 111, 111, 113, 573,
- 113, 140, 572, 571, 140, 140, 140, 140, 170, 170,
- 570, 170, 170, 170, 170, 173, 173, 569, 173, 173,
- 173, 173, 181, 568, 567, 181, 181, 181, 182, 182,
- 566, 182, 182, 182, 182, 187, 565, 564, 187, 187,
- 187, 188, 188, 563, 188, 188, 188, 188, 192, 562,
- 192, 194, 434, 560, 194, 559, 194, 202, 556, 202,
- 139, 555, 552, 139, 139, 139, 139, 273, 551, 273,
- 193, 550, 547, 193, 546, 193, 280, 545, 280, 281,
- 544, 281, 358, 523, 358, 363, 522, 363, 435, 521,
- 435, 503, 520, 503, 685, 685, 519, 685, 685, 685,
- 685, 705, 705, 518, 705, 705, 705, 705, 694, 694,
- 517, 694, 694, 694, 694, 713, 713, 516, 713, 713,
- 713, 713, 515, 514, 513, 512, 511, 510, 509, 508,
- 507, 506, 505, 504, 434, 501, 500, 739, 355, 497,
- 496, 350, 493, 492, 491, 342, 488, 487, 486, 485,
- 478, 459, 455, 454, 453, 452, 451, 450, 449, 448,
- 447, 446, 445, 444, 443, 442, 441, 440, 439, 438,
- 437, 436, 279, 434, 433, 432, 428, 427, 424, 423,
- 422, 421, 418, 417, 416, 415, 409, 386, 385, 384,
- 383, 382, 381, 380, 379, 378, 377, 376, 375, 374,
- 373, 372, 369, 368, 367, 366, 365, 364, 739, 279,
- 361, 360, 359, 112, 354, 353, 349, 348, 347, 346,
- 345, 339, 338, 337, 308, 307, 306, 305, 304, 303,
- 302, 299, 298, 297, 296, 295, 294, 293, 292, 291,
- 290, 289, 288, 287, 284, 283, 282, 112, 279, 278,
- 277, 276, 194, 194, 112, 270, 269, 266, 265, 264,
- 263, 262, 259, 258, 257, 256, 228, 227, 226, 225,
- 224, 223, 220, 219, 218, 217, 214, 213, 212, 211,
- 210, 209, 208, 205, 204, 203, 112, 200, 199, 198,
- 197, 191, 191, 112, 191, 114, 186, 185, 114, 180,
- 179, 176, 114, 169, 168, 167, 138, 137, 136, 128,
- 127, 122, 121, 120, 119, 114, 112, 739, 32, 32,
- 32, 32, 71, 71, 31, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739
- } ;
- static yyconst short int yy_chk[1881] =
- { 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, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 7, 33, 769, 38, 33, 38, 44, 44, 7, 7,
- 7, 7, 7, 7, 27, 7, 21, 7, 7, 7,
- 9, 7, 10, 7, 7, 7, 7, 7, 9, 9,
- 10, 10, 15, 27, 21, 28, 59, 48, 59, 29,
- 21, 15, 15, 15, 59, 768, 9, 15, 10, 13,
- 13, 29, 13, 48, 28, 13, 13, 13, 13, 13,
- 13, 13, 118, 118, 29, 29, 22, 13, 14, 14,
- 39, 14, 16, 39, 14, 14, 14, 14, 14, 14,
- 14, 16, 16, 16, 22, 82, 14, 16, 17, 17,
- 22, 17, 766, 82, 17, 17, 17, 17, 17, 17,
- 17, 17, 49, 49, 45, 50, 17, 18, 18, 45,
- 18, 49, 104, 18, 18, 18, 18, 18, 18, 18,
- 18, 50, 764, 104, 57, 18, 23, 23, 57, 23,
- 57, 762, 23, 23, 23, 23, 23, 23, 23, 23,
- 70, 60, 70, 60, 23, 24, 24, 58, 24, 58,
- 60, 24, 24, 24, 24, 24, 24, 24, 24, 77,
- 754, 58, 77, 24, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 25, 25, 25, 25, 25, 30,
- 56, 86, 56, 735, 61, 56, 61, 71, 61, 61,
- 62, 30, 62, 63, 86, 62, 64, 63, 64, 63,
- 71, 64, 733, 71, 30, 30, 54, 556, 556, 54,
- 54, 92, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 92, 54, 54, 55, 728, 109,
- 55, 55, 109, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 65, 55, 55, 66, 66,
- 722, 721, 66, 65, 66, 65, 55, 66, 55, 67,
- 68, 65, 68, 102, 69, 68, 69, 67, 126, 67,
- 259, 720, 126, 69, 102, 67, 79, 102, 79, 79,
- 79, 79, 79, 79, 79, 87, 259, 87, 87, 87,
- 87, 87, 87, 87, 93, 710, 93, 93, 93, 93,
- 93, 93, 93, 100, 182, 220, 100, 100, 100, 220,
- 100, 100, 100, 100, 100, 100, 100, 182, 100, 100,
- 100, 289, 100, 100, 101, 289, 709, 101, 101, 101,
- 308, 101, 101, 101, 101, 101, 101, 101, 103, 101,
- 101, 101, 197, 101, 101, 131, 140, 131, 140, 103,
- 197, 141, 103, 141, 142, 141, 142, 708, 308, 142,
- 101, 143, 144, 143, 144, 144, 144, 145, 147, 146,
- 147, 146, 706, 149, 145, 149, 145, 146, 147, 148,
- 152, 148, 149, 150, 148, 150, 151, 152, 151, 152,
- 154, 153, 154, 150, 705, 153, 151, 153, 704, 153,
- 154, 155, 156, 155, 156, 155, 158, 157, 158, 157,
- 159, 156, 157, 691, 690, 158, 159, 158, 159, 160,
- 161, 160, 161, 161, 163, 162, 163, 165, 164, 688,
- 160, 162, 164, 162, 164, 165, 171, 165, 687, 171,
- 174, 174, 174, 174, 174, 174, 174, 175, 686, 175,
- 175, 175, 175, 175, 175, 175, 183, 183, 183, 183,
- 183, 183, 183, 184, 188, 184, 184, 184, 184, 184,
- 184, 184, 206, 694, 240, 206, 240, 188, 189, 189,
- 189, 189, 189, 189, 189, 190, 694, 190, 190, 190,
- 190, 190, 190, 190, 229, 234, 230, 234, 255, 229,
- 255, 229, 230, 231, 230, 685, 234, 231, 232, 231,
- 232, 232, 235, 233, 232, 233, 235, 233, 235, 236,
- 238, 684, 683, 236, 237, 236, 237, 237, 238, 239,
- 238, 242, 241, 239, 241, 239, 681, 672, 243, 242,
- 243, 242, 671, 243, 245, 241, 244, 244, 245, 244,
- 245, 246, 247, 246, 247, 249, 248, 249, 248, 250,
- 246, 248, 247, 251, 249, 251, 247, 309, 252, 309,
- 670, 669, 252, 251, 252, 250, 668, 250, 253, 253,
- 254, 253, 254, 310, 310, 310, 696, 667, 254, 260,
- 666, 260, 260, 260, 260, 260, 260, 260, 261, 696,
- 261, 261, 261, 261, 261, 261, 261, 267, 665, 267,
- 267, 267, 267, 267, 267, 267, 268, 662, 268, 268,
- 268, 268, 268, 268, 268, 271, 660, 271, 271, 271,
- 271, 271, 271, 271, 272, 651, 272, 272, 272, 272,
- 272, 272, 272, 311, 312, 311, 650, 311, 313, 314,
- 649, 648, 312, 314, 312, 314, 313, 315, 313, 315,
- 316, 315, 318, 317, 318, 317, 316, 317, 316, 647,
- 319, 317, 319, 320, 646, 320, 319, 321, 645, 321,
- 321, 320, 322, 323, 322, 323, 324, 325, 324, 325,
- 322, 326, 325, 326, 327, 713, 327, 324, 328, 329,
- 328, 329, 330, 328, 330, 331, 333, 336, 713, 331,
- 333, 331, 333, 334, 329, 334, 335, 644, 335, 334,
- 387, 335, 387, 389, 387, 389, 391, 394, 391, 394,
- 391, 336, 398, 336, 398, 336, 342, 342, 342, 342,
- 342, 342, 342, 343, 642, 343, 343, 343, 343, 343,
- 343, 343, 344, 344, 344, 344, 344, 344, 344, 350,
- 350, 350, 350, 350, 350, 350, 351, 640, 351, 351,
- 351, 351, 351, 351, 351, 352, 352, 352, 352, 352,
- 352, 352, 355, 355, 355, 355, 355, 355, 355, 356,
- 638, 356, 356, 356, 356, 356, 356, 356, 357, 357,
- 357, 357, 357, 357, 357, 390, 392, 390, 392, 637,
- 395, 393, 395, 635, 621, 390, 392, 393, 620, 393,
- 395, 396, 397, 396, 397, 399, 397, 399, 400, 399,
- 396, 401, 400, 402, 400, 403, 619, 403, 402, 401,
- 402, 401, 404, 714, 405, 403, 407, 404, 407, 404,
- 405, 406, 405, 406, 408, 617, 714, 406, 407, 410,
- 616, 410, 408, 411, 408, 411, 614, 412, 411, 412,
- 414, 413, 460, 413, 460, 413, 412, 413, 414, 611,
- 414, 419, 610, 419, 419, 419, 419, 419, 419, 419,
- 425, 608, 425, 425, 425, 425, 425, 425, 425, 429,
- 607, 429, 429, 429, 429, 429, 429, 429, 461, 462,
- 463, 462, 463, 461, 464, 461, 464, 465, 466, 465,
- 463, 467, 468, 467, 603, 473, 466, 473, 466, 469,
- 468, 469, 468, 470, 469, 470, 471, 601, 471, 470,
- 472, 471, 472, 474, 600, 474, 472, 475, 474, 475,
- 476, 480, 477, 480, 476, 475, 476, 477, 479, 477,
- 479, 480, 481, 482, 481, 482, 479, 483, 482, 483,
- 484, 597, 484, 484, 596, 483, 489, 489, 489, 489,
- 489, 489, 489, 490, 577, 490, 490, 490, 490, 490,
- 490, 490, 494, 494, 494, 494, 494, 494, 494, 495,
- 576, 495, 495, 495, 495, 495, 495, 495, 498, 498,
- 498, 498, 498, 498, 498, 499, 575, 499, 499, 499,
- 499, 499, 499, 499, 524, 525, 524, 526, 527, 526,
- 527, 573, 525, 527, 525, 572, 528, 526, 528, 529,
- 530, 529, 530, 531, 532, 531, 532, 532, 533, 571,
- 533, 530, 534, 535, 534, 535, 537, 569, 535, 533,
- 536, 537, 536, 537, 540, 538, 536, 538, 539, 568,
- 539, 540, 541, 540, 541, 538, 542, 543, 542, 567,
- 564, 543, 541, 543, 548, 548, 548, 548, 548, 548,
- 548, 553, 553, 553, 553, 553, 553, 553, 557, 557,
- 557, 557, 557, 557, 557, 579, 580, 579, 580, 581,
- 582, 581, 582, 581, 583, 584, 583, 584, 585, 586,
- 587, 586, 587, 563, 562, 584, 585, 560, 585, 586,
- 588, 589, 588, 589, 590, 591, 590, 591, 559, 589,
- 588, 592, 590, 592, 593, 594, 593, 594, 558, 595,
- 593, 595, 555, 622, 592, 622, 554, 594, 599, 599,
- 599, 599, 599, 599, 599, 602, 602, 602, 602, 602,
- 602, 602, 606, 606, 606, 606, 606, 606, 606, 623,
- 552, 623, 623, 624, 625, 624, 625, 626, 627, 626,
- 627, 628, 629, 628, 629, 551, 628, 629, 630, 631,
- 630, 631, 632, 633, 632, 633, 652, 631, 652, 653,
- 632, 655, 654, 653, 654, 653, 654, 655, 656, 655,
- 656, 657, 658, 659, 658, 659, 549, 547, 656, 657,
- 673, 657, 673, 674, 676, 674, 676, 546, 674, 676,
- 673, 675, 675, 544, 675, 675, 675, 675, 675, 675,
- 675, 675, 675, 675, 675, 675, 675, 675, 675, 675,
- 675, 675, 675, 675, 675, 675, 675, 675, 675, 675,
- 675, 675, 675, 675, 675, 675, 675, 675, 675, 675,
- 675, 675, 675, 675, 675, 675, 677, 678, 677, 678,
- 679, 677, 679, 678, 680, 692, 523, 692, 680, 698,
- 680, 693, 679, 693, 697, 698, 697, 698, 522, 699,
- 692, 699, 693, 700, 701, 700, 701, 711, 701, 711,
- 712, 715, 712, 715, 716, 717, 716, 717, 718, 716,
- 712, 723, 718, 723, 718, 724, 725, 724, 726, 730,
- 725, 730, 725, 726, 731, 726, 731, 732, 731, 732,
- 734, 738, 736, 738, 734, 521, 734, 736, 520, 736,
- 740, 740, 740, 740, 740, 740, 740, 741, 741, 741,
- 741, 741, 741, 741, 742, 742, 742, 742, 742, 742,
- 742, 743, 743, 518, 743, 743, 743, 743, 744, 517,
- 744, 745, 516, 515, 745, 745, 745, 745, 746, 746,
- 514, 746, 746, 746, 746, 747, 747, 513, 747, 747,
- 747, 747, 748, 512, 510, 748, 748, 748, 749, 749,
- 509, 749, 749, 749, 749, 750, 508, 507, 750, 750,
- 750, 751, 751, 506, 751, 751, 751, 751, 752, 505,
- 752, 753, 503, 501, 753, 500, 753, 755, 497, 755,
- 756, 496, 493, 756, 756, 756, 756, 757, 492, 757,
- 758, 491, 488, 758, 487, 758, 759, 486, 759, 760,
- 485, 760, 761, 459, 761, 763, 458, 763, 765, 457,
- 765, 767, 456, 767, 770, 770, 455, 770, 770, 770,
- 770, 771, 771, 454, 771, 771, 771, 771, 772, 772,
- 452, 772, 772, 772, 772, 773, 773, 451, 773, 773,
- 773, 773, 450, 449, 447, 446, 445, 444, 443, 441,
- 440, 439, 438, 437, 435, 433, 432, 431, 430, 428,
- 427, 426, 424, 422, 421, 420, 418, 417, 416, 415,
- 409, 388, 386, 385, 383, 382, 381, 380, 379, 378,
- 377, 376, 375, 374, 373, 372, 371, 370, 368, 367,
- 366, 365, 363, 362, 360, 359, 354, 353, 349, 348,
- 347, 345, 341, 340, 339, 338, 332, 307, 306, 305,
- 304, 303, 302, 301, 300, 297, 296, 295, 294, 293,
- 292, 291, 288, 287, 286, 285, 284, 283, 281, 280,
- 276, 275, 274, 273, 270, 269, 266, 265, 264, 263,
- 262, 258, 257, 256, 227, 226, 225, 224, 223, 222,
- 221, 219, 218, 217, 216, 215, 214, 213, 212, 211,
- 210, 209, 208, 207, 205, 204, 203, 202, 201, 200,
- 199, 198, 195, 194, 192, 186, 185, 180, 179, 178,
- 177, 176, 169, 168, 167, 166, 138, 137, 135, 134,
- 133, 132, 130, 129, 128, 127, 125, 124, 123, 122,
- 121, 120, 119, 117, 116, 115, 113, 108, 107, 106,
- 105, 99, 97, 96, 95, 94, 90, 89, 88, 84,
- 83, 81, 80, 75, 74, 73, 53, 52, 51, 47,
- 46, 43, 42, 41, 40, 37, 36, 31, 20, 19,
- 12, 11, 6, 5, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739,
- 739, 739, 739, 739, 739, 739, 739, 739, 739, 739
- } ;
- static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
- 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;
- 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 "config_scan.l"
- #define INITIAL 0
- /*
- * Copyright (c) 1997, 1998, 1999
- * Inferno Nettverk A/S, Norway. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. The above copyright notice, this list of conditions and the following
- * disclaimer must appear in all copies of the software, derivative works
- * or modified versions, and any portions thereof, aswell as in all
- * supporting documentation.
- * 2. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by
- * Inferno Nettverk A/S, Norway.
- * 3. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * Inferno Nettverk A/S requests users of this software to return to
- *
- * Software Distribution Coordinator or sdc@inet.no
- * Inferno Nettverk A/S
- * Oslo Research Park
- * Gaustadal閑n 21
- * N-0349 Oslo
- * Norway
- *
- * any improvements or extensions that they make and grant Inferno Nettverk A/S
- * the rights to redistribute these changes.
- *
- */
- #line 45 "config_scan.l"
- #include "common.h"
- #include "yacconfig.h"
- #include "config_parse.h"
- extern int parseinit;
- extern const int configtype;
- static const char rcsid[] =
- "$Id: config_scan.l,v 1.51 1999/12/22 09:29:24 karls Exp $";
- /*%option debug */
- /* non-exclusive startconditions. */
- #define start_address 1
- #define start_port 2
- /* exclusive startconditions */
- #define lineprefix 3
- #define start_command 4
- #define start_compatibility 5
- #define start_line 6
- #define start_log 7
- #define start_logoutput 8
- #define start_option 9
- #define start_proxyprotocol 10
- #define start_username 11
- #define start_service 12
- #define start_srchost 13
- #define start_protocol 14
- #line 1215 "lex.yy.c"
- /* 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 ));
- #else
- extern int yywrap YY_PROTO(( void ));
- #endif
- #endif
- #ifndef YY_NO_UNPUT
- static void yyunput YY_PROTO(( int c, char *buf_ptr ));
- #endif
- #ifndef yytext_ptr
- static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
- #endif
- #ifdef YY_NEED_STRLEN
- static int yy_flex_strlen YY_PROTO(( 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
- #else
- #define YY_NO_PUSH_STATE 1
- #define YY_NO_POP_STATE 1
- #define YY_NO_TOP_STATE 1
- #endif
- #ifdef YY_MALLOC_DECL
- YY_MALLOC_DECL
- #else
- #ifdef __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
- #define YY_READ_BUF_SIZE 8192
- #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 )
- #endif
- /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
- * is returned in "result".
- */
- #ifndef YY_INPUT
- #define YY_INPUT(buf,result,max_size)
- if ( yy_current_buffer->yy_is_interactive )
- {
- int c = '*', n;
- for ( n = 0; n < max_size &&
- (c = getc( yyin )) != EOF && c != 'n'; ++n )
- buf[n] = (char) c;
- if ( c == 'n' )
- buf[n++] = (char) c;
- if ( c == EOF && ferror( yyin ) )
- YY_FATAL_ERROR( "input in flex scanner failed" );
- result = n;
- }
- else if ( ((result = fread( buf, 1, max_size, yyin )) == 0)
- && ferror( yyin ) )
- YY_FATAL_ERROR( "input in flex scanner failed" );
- #endif
- /* No semi-colon after return; correct usage is to write "yyterminate();" -
- * we don't want an extra ';' after the "return" because that will cause
- * some compilers to complain about unreachable statements.
- */
- #ifndef yyterminate
- #define yyterminate() return YY_NULL
- #endif
- /* Number of entries by which start-condition stack grows. */
- #ifndef YY_START_STACK_INCR
- #define YY_START_STACK_INCR 25
- #endif
- /* Report a fatal error. */
- #ifndef YY_FATAL_ERROR
- #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
- #endif
- /* 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
- /* Code executed at the beginning of each rule, after yytext and yyleng
- * have been set up.
- */
- #ifndef YY_USER_ACTION
- #define YY_USER_ACTION
- #endif
- /* Code executed at the end of each rule. */
- #ifndef YY_BREAK
- #define YY_BREAK break;
- #endif
- #define YY_RULE_SETUP
- YY_USER_ACTION
- YY_DECL
- {
- register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
- register int yy_act;
- #line 81 "config_scan.l"
- /*
- * we can operate in more than one mode, find out which it is and
- * let the parser know.
- */
- if (!parseinit) {
- parseinit = 1;
- switch (configtype) {
- case CONFIGTYPE_SERVER:
- return SERVERCONFIG;
- case CONFIGTYPE_CLIENT:
- return CLIENTCONFIG;
- default:
- SERRX(configtype);
- }
- }
- /* start-condition dependent stuff. */
- #line 1396 "lex.yy.c"
- if ( yy_init )
- {
- yy_init = 0;
- #ifdef YY_USER_INIT
- YY_USER_INIT;
- #endif
- 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 );
- yy_load_buffer_state();
- }
- while ( 1 ) /* loops until end-of-file is reached */
- {
- yy_cp = yy_c_buf_p;
- /* Support of yytext. */
- *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_state_ptr = yy_state_buf;
- *yy_state_ptr++ = yy_current_state;
- yy_match:
- do
- {
- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 740 )
- 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_cp;
- }
- while ( yy_base[yy_current_state] != 1835 );
- yy_find_action:
- 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] )
- {
- yy_act = yy_acclist[yy_lp];
- {
- yy_full_match = yy_cp;
- break;
- }
- }
- --yy_cp;
- yy_current_state = *--yy_state_ptr;
- yy_lp = yy_accept[yy_current_state];
- }
- YY_DO_BEFORE_ACTION;
- if ( yy_act != YY_END_OF_BUFFER )
- {
- int yyl;
- for ( yyl = 0; yyl < yyleng; ++yyl )
- if ( yytext[yyl] == 'n' )
- ++yylineno;
- }
- do_action: /* This label is used only to access EOF actions. */
- switch ( yy_act )
- { /* beginning of action switch */
- case 1:
- YY_RULE_SETUP
- #line 110 "config_scan.l"
- {
- yylval.string = yytext;
- return PROXYPROTOCOL_SOCKS_V4;
- }
- YY_BREAK
- case 2:
- YY_RULE_SETUP
- #line 115 "config_scan.l"
- {
- yylval.string = yytext;
- return PROXYPROTOCOL_SOCKS_V5;
- }
- YY_BREAK
- case 3:
- YY_RULE_SETUP
- #line 120 "config_scan.l"
- {
- yylval.string = yytext;
- return PROXYPROTOCOL_MSPROXY_V2;
- }
- YY_BREAK
- case 4:
- YY_RULE_SETUP
- #line 125 "config_scan.l"
- {
- yylval.string = yytext;
- return COMMAND_BIND;
- }
- YY_BREAK
- case 5:
- YY_RULE_SETUP
- #line 130 "config_scan.l"
- {
- yylval.string = yytext;
- return COMMAND_CONNECT;
- }
- YY_BREAK
- case 6:
- YY_RULE_SETUP
- #line 135 "config_scan.l"
- {
- yylval.string = yytext;
- return COMMAND_UDPASSOCIATE;
- }
- YY_BREAK
- case 7:
- YY_RULE_SETUP
- #line 140 "config_scan.l"
- {
- yylval.string = yytext;
- return COMMAND_BINDREPLY;
- }
- YY_BREAK
- case 8:
- YY_RULE_SETUP
- #line 145 "config_scan.l"
- {
- yylval.string = yytext;
- return COMMAND_UDPREPLY;
- }
- YY_BREAK
- case 9:
- YY_RULE_SETUP
- #line 151 "config_scan.l"
- {
- yylval.string = yytext;
- return DIRECT;
- }
- YY_BREAK
- case 10:
- YY_RULE_SETUP
- #line 157 "config_scan.l"
- {
- BEGIN(start_service);
- yylval.string = yytext;
- return PORT;
- }
- YY_BREAK
- /* compare */
- case 11:
- YY_RULE_SETUP
- #line 165 "config_scan.l"
- {
- yylval.string = yytext;
- return OPERATOR;
- }
- YY_BREAK
- case 12:
- YY_RULE_SETUP
- #line 171 "config_scan.l"
- {
- yylval.string = yytext;
- return LOG_CONNECT;
- }
- YY_BREAK
- case 13:
- YY_RULE_SETUP
- #line 176 "config_scan.l"
- {
- yylval.string = yytext;
- return LOG_DATA;
- }
- YY_BREAK
- case 14:
- YY_RULE_SETUP
- #line 181 "config_scan.l"
- {
- yylval.string = yytext;
- return LOG_DISCONNECT;
- }
- YY_BREAK
- case 15:
- YY_RULE_SETUP
- #line 186 "config_scan.l"
- {
- yylval.string = yytext;
- return LOG_ERROR;
- }
- YY_BREAK
- case 16:
- YY_RULE_SETUP
- #line 191 "config_scan.l"
- {
- yylval.string = yytext;
- return LOG_IOOPERATION;
- }
- YY_BREAK
- case 17:
- YY_RULE_SETUP
- #line 196 "config_scan.l"
- {
- BEGIN(INITIAL);
- yylval.string = yytext;
- return SERVICENAME;
- }
- YY_BREAK
- case 18:
- YY_RULE_SETUP
- #line 203 "config_scan.l"
- {
- BEGIN(INITIAL);
- yylval.string = yytext;
- return PORTNUMBER;
- }
- YY_BREAK
- case 19:
- YY_RULE_SETUP
- #line 210 "config_scan.l"
- {
- BEGIN(start_port);
- yylval.string = yytext;
- return DOMAIN;
- }
- YY_BREAK
- case 20:
- YY_RULE_SETUP
- #line 217 "config_scan.l"
- {
- yylval.string = yytext;
- return LOGFILE;
- }
- YY_BREAK
- case 21:
- YY_RULE_SETUP
- #line 222 "config_scan.l"
- {
- yylval.string = yytext;
- return USERNAME;
- }
- YY_BREAK
- case 22:
- YY_RULE_SETUP
- #line 227 "config_scan.l"
- {
- BEGIN(start_line);
- yylval.string = yytext;
- return *yytext;
- }
- YY_BREAK
- case 23:
- YY_RULE_SETUP
- #line 234 "config_scan.l"
- {
- BEGIN(INITIAL);
- yylval.string = yytext;
- return LINE;
- }
- YY_BREAK
- case 24:
- YY_RULE_SETUP
- #line 241 "config_scan.l"
- {
- yylval.string = yytext;
- return NOMISMATCH;
- }
- YY_BREAK
- case 25:
- YY_RULE_SETUP
- #line 246 "config_scan.l"
- {
- yylval.string = yytext;
- return NOUNKNOWN;
- }
- YY_BREAK
- case 26:
- YY_RULE_SETUP
- #line 251 "config_scan.l"
- {
- yylval.string = yytext;
- return PROTOCOL_TCP;
- }
- YY_BREAK
- case 27:
- YY_RULE_SETUP
- #line 256 "config_scan.l"
- {
- yylval.string = yytext;
- return PROTOCOL_UDP;
- }
- YY_BREAK
- case 28:
- YY_RULE_SETUP
- #line 261 "config_scan.l"
- {
- yylval.string = yytext;
- return PROTOCOL_FAKE;
- }
- YY_BREAK
- /* non-startcondition dependents. */
- case 29:
- YY_RULE_SETUP
- #line 269 "config_scan.l"
- {
- yylval.string = yytext;
- return DEBUGING;
- }
- YY_BREAK
- case 30:
- YY_RULE_SETUP
- #line 274 "config_scan.l"
- {
- yylval.string = yytext;
- return ROUTE;
- }
- YY_BREAK
- case 31:
- YY_RULE_SETUP
- #line 279 "config_scan.l"
- {
- BEGIN(start_protocol);
- yylval.string = yytext;
- return RESOLVEPROTOCOL;
- }
- YY_BREAK
- case 32:
- YY_RULE_SETUP
- #line 286 "config_scan.l"
- {
- BEGIN(start_srchost);
- yylval.string = yytext;
- return SRCHOST;
- }
- YY_BREAK
- case 33:
- YY_RULE_SETUP
- #line 293 "config_scan.l"
- {
- BEGIN(start_proxyprotocol);
- yylval.string = yytext;
- return PROXYPROTOCOL;
- }
- YY_BREAK
- case 34:
- YY_RULE_SETUP
- #line 300 "config_scan.l"
- {
- BEGIN(start_logoutput);
- yylval.string = yytext;
- return LOGOUTPUT;
- }
- YY_BREAK
- case 35:
- YY_RULE_SETUP
- #line 307 "config_scan.l"
- {
- BEGIN(start_protocol);
- yylval.string = yytext;
- return PROTOCOL;
- }
- YY_BREAK
- case 36:
- YY_RULE_SETUP
- #line 314 "config_scan.l"
- {
- BEGIN(start_command);
- yylval.string = yytext;
- return COMMAND;
- }
- YY_BREAK
- case 37:
- YY_RULE_SETUP
- #line 322 "config_scan.l"
- {
- BEGIN(start_address);
- yylval.string = yytext;
- return FROM;
- }
- YY_BREAK
- case 38:
- YY_RULE_SETUP
- #line 329 "config_scan.l"
- {
- BEGIN(start_address);
- yylval.string = yytext;
- return TO;
- }
- YY_BREAK
- case 39:
- YY_RULE_SETUP
- #line 336 "config_scan.l"
- {
- BEGIN(start_address);
- yylval.string = yytext;
- return VIA;
- }
- YY_BREAK
- /* server configstuff */
- case 40:
- YY_RULE_SETUP
- #line 344 "config_scan.l"
- {
- BEGIN(start_address);
- yylval.string = yytext;
- return INTERNAL;
- }
- YY_BREAK
- case 41:
- YY_RULE_SETUP
- #line 351 "config_scan.l"
- {
- BEGIN(start_address);
- yylval.string = yytext;
- return EXTERNAL;
- }
- YY_BREAK
- case 42:
- YY_RULE_SETUP
- #line 358 "config_scan.l"
- {
- BEGIN(start_username);
- return USER;
- }
- YY_BREAK
- case 43:
- YY_RULE_SETUP
- #line 363 "config_scan.l"
- {
- BEGIN(start_username);
- yylval.string = yytext;
- return USER_PRIVILEGED;
- }
- YY_BREAK
- case 44:
- YY_RULE_SETUP
- #line 370 "config_scan.l"
- {
- BEGIN(start_username);
- yylval.string = yytext;
- return USER_UNPRIVILEGED;
- }
- YY_BREAK
- case 45:
- YY_RULE_SETUP
- #line 377 "config_scan.l"
- {
- BEGIN(start_username);
- yylval.string = yytext;
- return USER_LIBWRAP;
- }
- YY_BREAK
- case 46:
- YY_RULE_SETUP
- #line 384 "config_scan.l"
- {
- yylval.string = yytext;
- return IOTIMEOUT;
- }
- YY_BREAK
- case 47:
- YY_RULE_SETUP
- #line 389 "config_scan.l"
- {
- yylval.string = yytext;
- return COMPATIBILITY;
- }
- YY_BREAK
- case 48:
- YY_RULE_SETUP
- #line 394 "config_scan.l"
- {
- yylval.string = yytext;
- return REUSEADDR;
- }
- YY_BREAK
- case 49:
- YY_RULE_SETUP
- #line 399 "config_scan.l"
- {
- yylval.string = yytext;
- return SAMEPORT;
- }
- YY_BREAK
- case 50:
- YY_RULE_SETUP
- #line 405 "config_scan.l"
- {
- yylval.string = yytext;
- return CONNECTTIMEOUT;
- }
- YY_BREAK
- case 51:
- YY_RULE_SETUP
- #line 410 "config_scan.l"
- {
- yylval.string = yytext;
- return EXTENSION;
- }
- YY_BREAK
- case 52:
- YY_RULE_SETUP
- #line 415 "config_scan.l"
- {
- yylval.string = yytext;
- return BIND;
- }
- YY_BREAK
- case 53:
- YY_RULE_SETUP
- #line 422 "config_scan.l"
- {
- yylval.string = yytext;
- return CLIENTRULE;
- }
- YY_BREAK
- case 54:
- YY_RULE_SETUP
- #line 428 "config_scan.l"
- {
- yylval.string = yytext;
- return METHOD;
- }
- YY_BREAK
- case 55:
- YY_RULE_SETUP
- #line 433 "config_scan.l"
- {
- yylval.string = yytext;
- return NONE;
- }
- YY_BREAK
- case 56:
- YY_RULE_SETUP
- #line 438 "config_scan.l"
- {
- yylval.string = yytext;
- return GSSAPI;
- }
- YY_BREAK
- case 57:
- YY_RULE_SETUP
- #line 443 "config_scan.l"
- {
- yylval.string = yytext;
- return UNAME;
- }
- YY_BREAK
- case 58:
- YY_RULE_SETUP
- #line 448 "config_scan.l"
- {
- yylval.string = yytext;
- return RFC931;
- }
- YY_BREAK
- /* filterrules */
- /*
- * verdicts
- */
- case 59:
- YY_RULE_SETUP
- #line 459 "config_scan.l"
- {
- yylval.string = yytext;
- return VERDICT_BLOCK;
- }
- YY_BREAK
- case 60:
- YY_RULE_SETUP
- #line 464 "config_scan.l"
- {
- yylval.string = yytext;
- return VERDICT_PASS;
- }
- YY_BREAK
- /*
- * logging
- */
- case 61:
- YY_RULE_SETUP
- #line 475 "config_scan.l"
- {
- BEGIN(start_log);
- yylval.string = yytext;
- return LOG;
- }
- YY_BREAK
- case 62:
- YY_RULE_SETUP
- #line 483 "config_scan.l"
- {
- BEGIN(lineprefix);
- yylval.string = yytext;
- return LIBWRAPSTART;
- }
- YY_BREAK
- /*
- * Old keywords that are no longer used.
- */
- case 63:
- YY_RULE_SETUP
- #line 494 "config_scan.l"
- {
- yylval.string = yytext;
- return DEPRECATED;
- }
- YY_BREAK
- /* misc generic stuff. */
- case 64:
- YY_RULE_SETUP
- #line 503 "config_scan.l"
- {
- BEGIN(start_port);
- yylval.string = yytext;
- return IPADDRESS;
- }
- YY_BREAK
- case 65:
- YY_RULE_SETUP
- #line 511 "config_scan.l"
- {
- yylval.string = yytext;
- return NUMBER;
- }
- YY_BREAK
- /* ignored */
- case 66:
- YY_RULE_SETUP
- #line 518 "config_scan.l"
- {
- ;
- }
- YY_BREAK
- /* shell style comment */
- case 67:
- YY_RULE_SETUP
- #line 523 "config_scan.l"
- {
- ;
- }
- YY_BREAK
- /* state always ends at eol. */
- case 68:
- YY_RULE_SETUP
- #line 528 "config_scan.l"
- {
- BEGIN(INITIAL);
- }
- YY_BREAK
- /* unless it's escaped. */
- case 69:
- YY_RULE_SETUP
- #line 533 "config_scan.l"
- {
- ;
- }
- YY_BREAK
- case 70:
- YY_RULE_SETUP
- #line 537 "config_scan.l"
- {
- return *yytext;
- }
- YY_BREAK
- case 71:
- YY_RULE_SETUP
- #line 540 "config_scan.l"
- ECHO;
- YY_BREAK
- #line 2111 "lex.yy.c"
- case YY_STATE_EOF(INITIAL):
- case YY_STATE_EOF(start_address):
- case YY_STATE_EOF(start_port):
- case YY_STATE_EOF(lineprefix):
- case YY_STATE_EOF(start_command):
- case YY_STATE_EOF(start_compatibility):
- case YY_STATE_EOF(start_line):
- case YY_STATE_EOF(start_log):
- case YY_STATE_EOF(start_logoutput):
- case YY_STATE_EOF(start_option):
- case YY_STATE_EOF(start_proxyprotocol):
- case YY_STATE_EOF(start_username):
- case YY_STATE_EOF(start_service):
- case YY_STATE_EOF(start_srchost):
- case YY_STATE_EOF(start_protocol):
- yyterminate();
- 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;
- /* Undo the effects of YY_DO_BEFORE_ACTION. */
- *yy_cp = yy_hold_char;
- YY_RESTORE_YY_MORE_OFFSET
- if ( yy_current_buffer->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
- * 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;
- }
- /* Note that here we test for yy_c_buf_p "<=" to the position
- * of the first EOB in the buffer, since yy_c_buf_p will
- * already have been incremented past the NUL character
- * (since all states make transitions on EOB to the
- * end-of-buffer state). Contrast this with the test
- * in input().
- */
- if ( yy_c_buf_p <= &yy_current_buffer->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_current_state = yy_get_previous_state();
- /* Okay, we're now positioned to make the NUL
- * transition. We couldn't have
- * yy_get_previous_state() go ahead and do it
- * for us because it doesn't know how to deal
- * with the possibility of jamming (and we don't
- * want to build jamming into it because then it
- * will run more slowly).
- */
- yy_next_state = yy_try_NUL_trans( yy_current_state );
- yy_bp = yytext_ptr + YY_MORE_ADJ;
- if ( yy_next_state )
- {
- /* Consume the NUL. */
- yy_cp = ++yy_c_buf_p;
- yy_current_state = yy_next_state;
- goto yy_match;
- }
- else
- {
- yy_cp = yy_c_buf_p;
- goto yy_find_action;
- }
- }
- else switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_END_OF_FILE:
- {
- yy_did_buffer_switch_on_eof = 0;
- if ( yywrap() )
- {
- /* Note: because we've taken care in
- * yy_get_next_buffer() to have set up
- * yytext, we can now set up
- * yy_c_buf_p so that if some total
- * hoser (like flex itself) wants to
- * call the scanner after we return the
- * YY_NULL, it'll still work - another
- * YY_NULL will get returned.
- */
- 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 )
- YY_NEW_FILE;
- }
- break;
- }
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p =
- yytext_ptr + yy_amount_of_matched_text;
- yy_current_state = yy_get_previous_state();
- 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_current_state = yy_get_previous_state();
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
- goto yy_find_action;
- }
- break;
- }
- default:
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--no action found" );
- } /* end of action switch */
- } /* end of scanning one token */
- } /* end of yylex */
- /* yy_get_next_buffer - try to read in a new buffer
- *
- * Returns a code representing an action:
- * EOB_ACT_LAST_MATCH -
- * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
- * EOB_ACT_END_OF_FILE - end of file
- */
- static int yy_get_next_buffer()
- {
- register char *dest = yy_current_buffer->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] )
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--end of buffer missed" );
- if ( yy_current_buffer->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 )
- {
- /* We matched a single character, the EOB, so
- * treat this as a final EOF.
- */
- return EOB_ACT_END_OF_FILE;
- }
- else
- {
- /* We matched some text prior to the EOB, first
- * process it.
- */
- return EOB_ACT_LAST_MATCH;
- }
- }
- /* Try to read more data. */
- /* First move last chars to start of buffer. */
- number_to_move = (int) (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 )
- /* 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;
- else
- {
- int num_to_read =
- yy_current_buffer->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_current_buffer->yy_n_chars = yy_n_chars;
- }
- if ( yy_n_chars == 0 )
- {
- if ( number_to_move == YY_MORE_ADJ )
- {
- ret_val = EOB_ACT_END_OF_FILE;
- yyrestart( yyin );
- }
- else
- {
- ret_val = EOB_ACT_LAST_MATCH;
- yy_current_buffer->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;
- yytext_ptr = &yy_current_buffer->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()
- {
- register yy_state_type yy_current_state;
- register char *yy_cp;
- yy_current_state = yy_start;
- 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 >= 740 )
- 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;
- }
- 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
- {
- 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 >= 740 )
- 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 == 739);
- if ( ! yy_is_jam )
- *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;
- /* undo effects of setting up yytext */
- *yy_cp = yy_hold_char;
- if ( yy_cp < yy_current_buffer->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 char *source =
- &yy_current_buffer->yy_ch_buf[number_to_move];
- while ( source > yy_current_buffer->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;
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- YY_FATAL_ERROR( "flex scanner push-back overflow" );
- }
- *--yy_cp = (char) c;
- if ( c == 'n' )
- --yylineno;
- yytext_ptr = yy_bp;
- yy_hold_char = *yy_cp;
- yy_c_buf_p = yy_cp;
- }
- #endif /* ifndef YY_NO_UNPUT */
- #ifdef __cplusplus
- static int yyinput()
- #else
- static int input()
- #endif
- {
- int c;
- *yy_c_buf_p = yy_hold_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] )
- /* This was really a NUL. */
- *yy_c_buf_p = ' ';
- else
- { /* need more input */
- int offset = yy_c_buf_p - yytext_ptr;
- ++yy_c_buf_p;
- switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_LAST_MATCH:
- /* This happens because yy_g_n_b()
- * sees that we've accumulated a
- * token and flags that we need to
- * try matching the token before
- * proceeding. But for input(),
- * there's no matching to consider.
- * So convert the EOB_ACT_LAST_MATCH
- * to EOB_ACT_END_OF_FILE.
- */
- /* Reset buffer status. */
- yyrestart( yyin );
- /* fall through */
- case EOB_ACT_END_OF_FILE:
- {
- if ( yywrap() )
- return EOF;
- if ( ! yy_did_buffer_switch_on_eof )
- YY_NEW_FILE;
- #ifdef __cplusplus
- return yyinput();
- #else
- return input();
- #endif
- }
- case EOB_ACT_CONTINUE_SCAN:
- 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 = ' '; /* preserve yytext */
- yy_hold_char = *++yy_c_buf_p;
- if ( c == 'n' )
- ++yylineno;
- 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 );
- 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 )
- return;
- 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_current_buffer = 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;
- }
- #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
- {
- YY_BUFFER_STATE b;
- b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
- b->yy_buf_size = size;
- /* yy_ch_buf has to be 2 characters longer than the size given because
- * we need to put in 2 end-of-buffer characters.
- */
- b->yy_ch_buf = (char *) yy_flex_alloc( 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 );
- 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
- {
- if ( ! b )
- return;
- if ( b == yy_current_buffer )
- yy_current_buffer = (YY_BUFFER_STATE) 0;
- if ( b->yy_is_our_buffer )
- yy_flex_free( (void *) b->yy_ch_buf );
- yy_flex_free( (void *) b );
- }
- #ifndef YY_ALWAYS_INTERACTIVE
- #ifndef YY_NEVER_INTERACTIVE
- extern int isatty YY_PROTO(( int ));
- #endif
- #endif
- #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 );
- 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 )
- return;
- b->yy_n_chars = 0;
- /* We always need two end-of-buffer characters. The first causes
- * a transition to the end-of-buffer state. The second causes
- * a jam in that state.
- */
- b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
- b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
- b->yy_buf_pos = &b->yy_ch_buf[0];
- b->yy_at_bol = 1;
- b->yy_buffer_status = YY_BUFFER_NEW;
- if ( b == yy_current_buffer )
- yy_load_buffer_state();
- }
- #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;
- 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 ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
- b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
- b->yy_buf_pos = b->yy_ch_buf = base;
- b->yy_is_our_buffer = 0;
- b->yy_input_file = 0;
- b->yy_n_chars = b->yy_buf_size;
- b->yy_is_interactive = 0;
- b->yy_at_bol = 1;
- b->yy_fill_buffer = 0;
- b->yy_buffer_status = YY_BUFFER_NEW;
- 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
- #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
- {
- 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 );
- if ( ! buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
- for ( i = 0; i < len; ++i )
- buf[i] = bytes[i];
- buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
- b = yy_scan_buffer( buf, n );
- if ( ! b )
- YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
- /* It's okay to grow etc. this buffer, and we should throw it
- * away when we're done.
- */
- b->yy_is_our_buffer = 1;
- return b;
- }
- #endif
- #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;
- yy_start_stack_depth += YY_START_STACK_INCR;
- new_size = yy_start_stack_depth * sizeof( int );
- if ( ! yy_start_stack )
- yy_start_stack = (int *) yy_flex_alloc( new_size );
- else
- yy_start_stack = (int *) yy_flex_realloc(
- (void *) yy_start_stack, new_size );
- if ( ! yy_start_stack )
- YY_FATAL_ERROR(
- "out of memory expanding start-condition stack" );
- }
- yy_start_stack[yy_start_stack_ptr++] = YY_START;
- BEGIN(new_state);
- }
- #endif
- #ifndef YY_NO_POP_STATE
- static void yy_pop_state()
- {
- if ( --yy_start_stack_ptr < 0 )
- YY_FATAL_ERROR( "start-condition stack underflow" );
- BEGIN(yy_start_stack[yy_start_stack_ptr]);
- }
- #endif
- #ifndef YY_NO_TOP_STATE
- static int yy_top_state()
- {
- return yy_start_stack[yy_start_stack_ptr - 1];
- }
- #endif
- #ifndef YY_EXIT_FAILURE
- #define YY_EXIT_FAILURE 2
- #endif
- #ifdef YY_USE_PROTOS
- static void yy_fatal_error( yyconst char msg[] )
- #else
- static void yy_fatal_error( msg )
- char msg[];
- #endif
- {
- (void) fprintf( stderr, "%sn", msg );
- exit( YY_EXIT_FAILURE );
- }
- /* Redefine yyless() so it works in section 3 code. */
- #undef yyless
- #define yyless(n)
- do
- {
- /* Undo effects of setting up yytext. */
- yytext[yyleng] = yy_hold_char;
- yy_c_buf_p = yytext + n;
- yy_hold_char = *yy_c_buf_p;
- *yy_c_buf_p = ' ';
- yyleng = n;
- }
- while ( 0 )
- /* 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
- {
- 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
- {
- 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
- {
- 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
- {
- /* The cast to (char *) in the following accommodates both
- * implementations that use char* generic pointers, and those
- * that use void* generic pointers. It works with the latter
- * because both ANSI C and C++ allow castless assignment from
- * any pointer type to void*, and deal with argument conversions
- * as though doing an assignment.
- */
- return (void *) realloc( (char *) ptr, size );
- }
- #ifdef YY_USE_PROTOS
- static void yy_flex_free( void *ptr )
- #else
- static void yy_flex_free( ptr )
- void *ptr;
- #endif
- {
- free( ptr );
- }
- #if YY_MAIN
- int main()
- {
- yylex();
- return 0;
- }
- #endif
- #line 540 "config_scan.l"