4400 lines
153 KiB
C
4400 lines
153 KiB
C
#include <config.h>
|
|
#define yy_create_buffer sudoers_create_buffer
|
|
#define yy_delete_buffer sudoers_delete_buffer
|
|
#define yy_scan_buffer sudoers_scan_buffer
|
|
#define yy_scan_string sudoers_scan_string
|
|
#define yy_scan_bytes sudoers_scan_bytes
|
|
#define yy_flex_debug sudoers_flex_debug
|
|
#define yy_init_buffer sudoers_init_buffer
|
|
#define yy_flush_buffer sudoers_flush_buffer
|
|
#define yy_load_buffer_state sudoers_load_buffer_state
|
|
#define yy_switch_to_buffer sudoers_switch_to_buffer
|
|
#define yyin sudoersin
|
|
#define yyleng sudoersleng
|
|
#define yylex sudoerslex
|
|
#define yyout sudoersout
|
|
#define yyrestart sudoersrestart
|
|
#define yytext sudoerstext
|
|
|
|
/* $OpenBSD: flex.skl,v 1.12 2013/11/04 17:03:32 millert Exp $ */
|
|
|
|
/* A lexical scanner generated by flex */
|
|
|
|
/* Scanner skeleton version:
|
|
* $Header: /cvs/src/usr.bin/lex/flex.skl,v 1.12 2013/11/04 17:03:32 millert Exp $
|
|
*/
|
|
|
|
#define FLEX_SCANNER
|
|
#define YY_FLEX_MAJOR_VERSION 2
|
|
#define YY_FLEX_MINOR_VERSION 5
|
|
|
|
#include <stdio.h>
|
|
#include <errno.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_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 yywrap() 1
|
|
#define YY_SKIP_YYWRAP
|
|
typedef unsigned char YY_CHAR;
|
|
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
|
|
typedef int yy_state_type;
|
|
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 = '\0'; \
|
|
yy_c_buf_p = yy_cp;
|
|
|
|
#define YY_NUM_RULES 69
|
|
#define YY_END_OF_BUFFER 70
|
|
static yyconst short int yy_accept[834] =
|
|
{ 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 70, 57, 65, 64, 63, 56,
|
|
67, 36, 58, 59, 36, 60, 57, 57, 57, 57,
|
|
62, 61, 68, 48, 48, 48, 48, 48, 48, 48,
|
|
48, 48, 48, 48, 68, 57, 57, 65, 67, 48,
|
|
48, 48, 48, 48, 2, 68, 1, 57, 48, 48,
|
|
57, 17, 16, 17, 16, 16, 68, 67, 68, 3,
|
|
9, 8, 9, 4, 9, 5, 68, 13, 13, 13,
|
|
11, 12, 68, 19, 19, 18, 18, 18, 19, 18,
|
|
18, 18, 19, 19, 19, 19, 19, 19, 18, 19,
|
|
|
|
19, 57, 0, 65, 63, 67, 67, 0, 57, 38,
|
|
0, 36, 0, 37, 0, 55, 55, 0, 57, 57,
|
|
0, 57, 57, 57, 57, 0, 41, 48, 48, 48,
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
57, 66, 57, 57, 65, 0, 0, 0, 0, 0,
|
|
67, 57, 57, 57, 57, 57, 2, 1, 0, 1,
|
|
49, 49, 0, 57, 17, 17, 15, 14, 15, 0,
|
|
0, 3, 9, 0, 6, 7, 9, 9, 13, 0,
|
|
13, 13, 0, 10, 38, 0, 0, 37, 19, 19,
|
|
0, 19, 0, 0, 18, 18, 18, 18, 18, 18,
|
|
|
|
19, 19, 48, 19, 19, 19, 19, 19, 19, 19,
|
|
19, 67, 67, 0, 38, 57, 57, 57, 57, 57,
|
|
0, 0, 41, 41, 48, 43, 48, 48, 48, 48,
|
|
48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
57, 57, 0, 0, 0, 0, 0, 67, 57, 57,
|
|
57, 57, 57, 0, 57, 10, 0, 0, 0, 18,
|
|
18, 18, 19, 19, 19, 19, 19, 19, 19, 19,
|
|
19, 19, 19, 19, 19, 67, 57, 57, 57, 57,
|
|
57, 57, 0, 42, 42, 42, 0, 0, 41, 41,
|
|
41, 41, 41, 41, 41, 48, 48, 48, 48, 48,
|
|
|
|
48, 48, 48, 48, 48, 48, 48, 44, 48, 45,
|
|
57, 57, 57, 57, 0, 0, 0, 0, 0, 67,
|
|
57, 57, 57, 57, 0, 0, 0, 0, 0, 18,
|
|
18, 19, 48, 19, 19, 19, 19, 19, 19, 19,
|
|
19, 19, 19, 19, 19, 57, 57, 57, 0, 0,
|
|
42, 42, 42, 0, 41, 41, 0, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 0, 27,
|
|
48, 48, 48, 0, 34, 48, 48, 48, 48, 48,
|
|
48, 46, 48, 57, 57, 57, 57, 57, 0, 0,
|
|
0, 67, 57, 57, 57, 0, 0, 0, 18, 18,
|
|
|
|
48, 48, 19, 19, 19, 19, 19, 19, 19, 19,
|
|
19, 19, 19, 19, 57, 57, 57, 57, 57, 0,
|
|
42, 0, 41, 41, 41, 0, 0, 0, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 48, 48, 48, 48, 48, 48, 48, 48, 48,
|
|
48, 50, 51, 52, 53, 57, 0, 0, 67, 57,
|
|
57, 57, 0, 0, 0, 0, 0, 48, 48, 19,
|
|
48, 19, 19, 19, 19, 19, 19, 19, 19, 19,
|
|
19, 39, 39, 39, 0, 0, 41, 41, 41, 41,
|
|
41, 41, 41, 0, 0, 0, 0, 0, 41, 41,
|
|
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 48, 48, 48, 0, 26, 48, 48, 0,
|
|
35, 48, 48, 0, 25, 0, 28, 57, 0, 0,
|
|
67, 57, 57, 57, 39, 39, 39, 48, 48, 48,
|
|
48, 19, 19, 19, 57, 39, 39, 39, 39, 0,
|
|
41, 0, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 0, 0, 0, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 48,
|
|
48, 48, 48, 48, 48, 48, 54, 0, 0, 67,
|
|
57, 22, 49, 0, 39, 39, 39, 39, 48, 48,
|
|
|
|
48, 48, 19, 19, 19, 40, 40, 40, 40, 41,
|
|
0, 0, 0, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 0, 0, 0, 0,
|
|
0, 41, 41, 41, 41, 41, 41, 41, 41, 48,
|
|
48, 48, 48, 48, 0, 24, 0, 29, 0, 22,
|
|
67, 67, 57, 0, 57, 40, 40, 40, 40, 48,
|
|
48, 48, 48, 57, 57, 40, 40, 40, 40, 0,
|
|
0, 0, 0, 0, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 47, 0, 32, 48, 48, 48,
|
|
|
|
0, 67, 67, 20, 67, 23, 22, 0, 0, 0,
|
|
0, 0, 22, 0, 0, 0, 40, 40, 40, 40,
|
|
48, 48, 48, 57, 57, 57, 0, 0, 0, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
|
41, 41, 41, 41, 41, 41, 41, 0, 30, 48,
|
|
48, 23, 67, 0, 22, 0, 0, 0, 48, 48,
|
|
57, 57, 57, 57, 57, 0, 0, 0, 0, 0,
|
|
41, 41, 41, 41, 41, 41, 41, 41, 0, 33,
|
|
48, 67, 0, 0, 0, 0, 0, 48, 57, 57,
|
|
57, 41, 41, 41, 41, 41, 41, 0, 31, 67,
|
|
|
|
67, 21, 0, 0, 0, 57, 57, 57, 57, 57,
|
|
41, 41, 41, 41, 41, 0, 0, 0, 0, 0,
|
|
39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
|
|
39, 39, 0
|
|
} ;
|
|
|
|
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, 5, 6, 1, 7, 1, 1, 8,
|
|
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
|
19, 20, 21, 22, 23, 24, 25, 26, 1, 1,
|
|
27, 28, 10, 29, 30, 31, 32, 33, 34, 31,
|
|
35, 36, 37, 38, 38, 39, 40, 41, 42, 43,
|
|
38, 44, 45, 46, 47, 48, 49, 50, 51, 38,
|
|
10, 52, 10, 1, 53, 1, 54, 55, 56, 57,
|
|
|
|
58, 59, 60, 61, 62, 60, 60, 63, 64, 65,
|
|
66, 60, 60, 67, 68, 69, 70, 60, 60, 60,
|
|
60, 60, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 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[71] =
|
|
{ 0,
|
|
1, 2, 3, 4, 5, 6, 1, 7, 7, 1,
|
|
8, 9, 10, 11, 12, 13, 13, 13, 13, 13,
|
|
13, 13, 13, 13, 13, 14, 15, 7, 1, 16,
|
|
16, 16, 16, 16, 17, 17, 17, 17, 17, 17,
|
|
17, 17, 17, 17, 17, 17, 17, 17, 17, 17,
|
|
17, 18, 19, 20, 20, 20, 20, 20, 20, 21,
|
|
21, 21, 21, 21, 21, 21, 21, 21, 21, 21
|
|
} ;
|
|
|
|
static yyconst short int yy_base[951] =
|
|
{ 0,
|
|
0, 69, 71, 79, 94, 124, 175, 244, 153, 197,
|
|
85, 130, 314, 0, 4617, 4563, 4604, 5604, 4601, 5604,
|
|
382, 86, 5604, 5604, 4548, 5604, 140, 394, 195, 153,
|
|
4571, 5604, 5604, 453, 4555, 43, 508, 37, 4563, 4543,
|
|
65, 4542, 4545, 4526, 566, 581, 91, 151, 604, 39,
|
|
41, 4510, 34, 4507, 117, 4561, 4571, 428, 4530, 4534,
|
|
136, 0, 5604, 4554, 5604, 0, 606, 664, 105, 0,
|
|
4504, 5604, 115, 5604, 133, 5604, 138, 4502, 152, 171,
|
|
5604, 188, 383, 641, 694, 737, 235, 245, 794, 843,
|
|
4514, 157, 898, 4510, 4521, 4480, 4491, 4482, 944, 0,
|
|
|
|
206, 4462, 266, 4511, 4508, 4508, 5604, 263, 532, 585,
|
|
4497, 608, 707, 4457, 829, 648, 4370, 968, 981, 1018,
|
|
4395, 4406, 563, 708, 422, 4393, 371, 1062, 1106, 4379,
|
|
4383, 4376, 4380, 4377, 596, 4368, 4375, 4372, 4364, 4366,
|
|
644, 5604, 237, 137, 946, 4344, 4349, 4340, 4335, 4336,
|
|
121, 225, 530, 377, 369, 335, 445, 4401, 720, 4400,
|
|
931, 4349, 1018, 169, 0, 4396, 160, 5604, 5604, 991,
|
|
388, 0, 4347, 638, 5604, 5604, 4346, 661, 4345, 4380,
|
|
392, 221, 420, 4382, 653, 665, 1139, 4331, 1145, 0,
|
|
1173, 1201, 1210, 1037, 1239, 4368, 1081, 1170, 826, 1288,
|
|
|
|
1343, 4342, 0, 4346, 4344, 4341, 904, 4332, 4330, 4321,
|
|
4317, 4370, 4369, 1222, 1258, 1389, 1362, 968, 1428, 4357,
|
|
4344, 1472, 520, 1517, 1561, 1605, 4337, 4331, 4314, 4327,
|
|
4315, 4322, 4333, 4332, 4327, 4315, 4300, 4313, 4312, 4311,
|
|
654, 493, 4279, 4284, 4274, 4276, 4282, 534, 617, 4285,
|
|
491, 407, 506, 1413, 579, 4336, 4323, 4322, 1651, 1661,
|
|
4321, 1705, 0, 4302, 4280, 4272, 4260, 4267, 4278, 4277,
|
|
4272, 4220, 4219, 811, 4175, 4226, 1749, 378, 0, 0,
|
|
1041, 243, 4191, 4179, 1786, 805, 4167, 4155, 623, 1410,
|
|
1799, 1447, 1091, 1844, 1890, 4143, 429, 4111, 655, 688,
|
|
|
|
4111, 4098, 4088, 4079, 4077, 4073, 4076, 0, 4079, 0,
|
|
1124, 967, 544, 561, 4062, 4064, 4048, 4047, 4033, 746,
|
|
524, 1063, 413, 875, 1491, 4085, 4084, 4073, 1270, 1900,
|
|
1944, 763, 904, 764, 4045, 4043, 4040, 4031, 4029, 4025,
|
|
4032, 818, 4048, 4054, 3997, 1990, 2002, 2014, 4028, 4027,
|
|
2024, 4016, 4003, 3991, 3979, 919, 1536, 1003, 1580, 1142,
|
|
2037, 0, 1626, 2083, 1680, 1372, 2128, 2174, 869, 5604,
|
|
3927, 3915, 3908, 924, 5604, 3922, 3885, 3898, 3891, 3901,
|
|
3885, 0, 3869, 658, 698, 820, 1117, 1097, 3863, 3845,
|
|
3846, 922, 995, 969, 1161, 3899, 3887, 2186, 2196, 3874,
|
|
|
|
3853, 3846, 3860, 3827, 3833, 3820, 3814, 3814, 3798, 3811,
|
|
3807, 3808, 3808, 3738, 2240, 1017, 2279, 2291, 1637, 3720,
|
|
3712, 3705, 3688, 2301, 1158, 3699, 3698, 2347, 1181, 1205,
|
|
1209, 1724, 1761, 2359, 0, 1763, 2405, 1774, 1457, 2450,
|
|
2496, 2521, 618, 1024, 1223, 1190, 1224, 1372, 1109, 1392,
|
|
1394, 3636, 3622, 3620, 3604, 919, 3625, 3591, 1245, 1391,
|
|
1152, 1118, 1818, 3622, 3615, 3598, 1503, 3568, 3564, 949,
|
|
1380, 1065, 3549, 3540, 1088, 1290, 0, 0, 0, 0,
|
|
3511, 2577, 1863, 1546, 3539, 3526, 3514, 1919, 2616, 1963,
|
|
1590, 2660, 2706, 2056, 3487, 3467, 3444, 1692, 1879, 1979,
|
|
|
|
2096, 2104, 2147, 2106, 2718, 0, 2217, 2764, 2250, 1734,
|
|
2809, 2855, 2880, 2086, 1807, 1369, 5604, 421, 2087, 1453,
|
|
5604, 1812, 2088, 1454, 5604, 1455, 5604, 1248, 3394, 3373,
|
|
1282, 2127, 1165, 1449, 3418, 3348, 2936, 3303, 3299, 3300,
|
|
3282, 2951, 1218, 3257, 3006, 1119, 3044, 0, 1709, 3299,
|
|
3269, 2260, 58, 2320, 1774, 3083, 0, 2380, 3129, 2424,
|
|
1929, 3173, 3219, 3270, 3265, 3231, 2336, 2462, 2464, 2471,
|
|
3257, 2477, 3243, 0, 2589, 3289, 2600, 2066, 3335, 3360,
|
|
1324, 1376, 1803, 1498, 1586, 1845, 3219, 3184, 3166, 1870,
|
|
1516, 2382, 3174, 2635, 3210, 3203, 3186, 2435, 3135, 3118,
|
|
|
|
3115, 3111, 3429, 1543, 0, 3486, 2679, 2737, 1632, 3103,
|
|
3098, 3097, 3525, 3063, 2003, 2280, 2783, 2381, 3537, 0,
|
|
2830, 3583, 3016, 2157, 3627, 3673, 3026, 3067, 2989, 2966,
|
|
2228, 2472, 2474, 2695, 1485, 1575, 3685, 0, 2647, 1844,
|
|
2064, 1642, 1566, 1847, 1826, 5604, 1926, 5604, 2925, 1967,
|
|
1630, 2177, 1921, 2761, 2810, 2950, 2949, 3731, 2272, 1927,
|
|
2155, 2386, 2766, 3741, 2074, 3780, 0, 2200, 2075, 3054,
|
|
2847, 2844, 2824, 3066, 2809, 2745, 2485, 2600, 3102, 2617,
|
|
3819, 0, 3150, 3865, 3192, 3036, 3909, 3955, 2749, 2732,
|
|
3966, 2844, 2698, 1742, 2596, 2129, 5604, 2499, 1924, 1738,
|
|
|
|
2481, 2491, 1824, 5604, 1923, 2406, 3126, 3218, 3276, 3281,
|
|
2419, 2880, 2357, 3360, 3496, 2391, 2277, 2273, 3074, 2142,
|
|
2326, 2643, 2744, 3978, 3990, 4002, 2121, 1983, 4014, 1925,
|
|
1865, 2831, 2951, 3506, 3084, 4026, 0, 3558, 4072, 3602,
|
|
3272, 0, 1833, 1743, 1699, 3319, 1692, 2327, 5604, 2500,
|
|
2300, 5604, 1894, 3646, 3704, 1652, 1511, 4118, 2328, 2791,
|
|
4130, 2335, 4142, 4154, 3659, 3751, 1423, 1390, 1287, 3418,
|
|
1239, 1226, 3130, 1189, 1169, 4166, 0, 3569, 2685, 5604,
|
|
2834, 1989, 3761, 1099, 1057, 1014, 3614, 2686, 4178, 4190,
|
|
4202, 3790, 3800, 3838, 916, 0, 704, 2743, 5604, 612,
|
|
|
|
2062, 5604, 522, 382, 4214, 4226, 2443, 4238, 4250, 3850,
|
|
5604, 3887, 3928, 3516, 5604, 4045, 374, 208, 117, 3716,
|
|
4260, 4297, 4334, 4091, 4270, 4280, 59, 4371, 3941, 5604,
|
|
4307, 3771, 5604, 4423, 4444, 4465, 4486, 4507, 4528, 4549,
|
|
4570, 4591, 4600, 2337, 4620, 4641, 2383, 4662, 4683, 4704,
|
|
4725, 4746, 4767, 4788, 4809, 2483, 4830, 4839, 4847, 4856,
|
|
4876, 4897, 4918, 2592, 4939, 4960, 4981, 5002, 5011, 5030,
|
|
5039, 5048, 2516, 2694, 5056, 5064, 5072, 5081, 5089, 5096,
|
|
5104, 5112, 5121, 5131, 2695, 2841, 5139, 5147, 5155, 2842,
|
|
2872, 5164, 5174, 5194, 2873, 5203, 5211, 3122, 5220, 5230,
|
|
|
|
5250, 2116, 2228, 5259, 5271, 5280, 5290, 3123, 3161, 5299,
|
|
5309, 5318, 5338, 2511, 5347, 5359, 3162, 3166, 5368, 5378,
|
|
3169, 5387, 5397, 5417, 5438, 5459, 3189, 3208, 5479, 3283,
|
|
5486, 5496, 2615, 2798, 5505, 2520, 5525, 3304, 3305, 5534,
|
|
5544, 3311, 3319, 3430, 5552, 5562, 5582, 3814, 3553, 3569
|
|
} ;
|
|
|
|
static yyconst short int yy_def[951] =
|
|
{ 0,
|
|
833, 1, 1, 1, 834, 834, 835, 835, 836, 836,
|
|
837, 837, 833, 13, 833, 838, 833, 833, 833, 833,
|
|
839, 840, 833, 833, 841, 833, 842, 838, 28, 28,
|
|
843, 833, 833, 833, 34, 34, 34, 37, 37, 37,
|
|
37, 37, 37, 37, 838, 28, 838, 833, 839, 34,
|
|
34, 37, 37, 37, 833, 844, 833, 845, 37, 37,
|
|
838, 846, 833, 846, 833, 846, 833, 839, 833, 847,
|
|
848, 833, 848, 833, 848, 833, 849, 850, 850, 850,
|
|
833, 833, 851, 852, 853, 833, 86, 86, 86, 833,
|
|
90, 90, 90, 93, 93, 93, 93, 93, 86, 89,
|
|
|
|
89, 838, 838, 833, 833, 854, 833, 855, 833, 840,
|
|
856, 851, 840, 841, 841, 842, 857, 838, 838, 28,
|
|
858, 120, 120, 120, 120, 859, 860, 37, 128, 129,
|
|
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
838, 833, 838, 838, 833, 833, 833, 833, 833, 833,
|
|
854, 838, 120, 838, 838, 838, 833, 833, 833, 833,
|
|
861, 862, 838, 838, 863, 863, 833, 833, 833, 855,
|
|
833, 864, 865, 865, 833, 833, 865, 865, 850, 833,
|
|
850, 850, 833, 833, 851, 851, 851, 866, 867, 89,
|
|
866, 868, 833, 833, 86, 195, 195, 195, 195, 833,
|
|
|
|
200, 201, 869, 201, 201, 201, 201, 201, 201, 89,
|
|
89, 854, 870, 833, 833, 838, 216, 216, 120, 219,
|
|
871, 833, 872, 833, 129, 225, 226, 226, 226, 226,
|
|
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
|
|
838, 838, 833, 833, 833, 833, 833, 854, 838, 219,
|
|
838, 838, 838, 833, 838, 833, 873, 874, 833, 89,
|
|
260, 200, 201, 201, 201, 201, 201, 201, 201, 201,
|
|
201, 201, 201, 89, 89, 870, 838, 838, 216, 216,
|
|
216, 838, 875, 876, 876, 285, 877, 876, 878, 224,
|
|
833, 291, 291, 833, 291, 226, 226, 226, 226, 226,
|
|
|
|
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
|
|
838, 838, 838, 838, 833, 833, 833, 833, 833, 854,
|
|
838, 838, 838, 838, 833, 833, 873, 873, 833, 260,
|
|
200, 201, 879, 201, 201, 201, 201, 201, 201, 201,
|
|
201, 89, 89, 89, 89, 216, 216, 216, 833, 880,
|
|
880, 351, 880, 881, 882, 883, 833, 884, 294, 884,
|
|
833, 361, 884, 833, 364, 364, 833, 364, 833, 833,
|
|
226, 226, 226, 833, 833, 226, 226, 226, 226, 226,
|
|
226, 226, 226, 838, 838, 838, 838, 838, 833, 833,
|
|
833, 854, 838, 838, 838, 885, 886, 833, 89, 331,
|
|
|
|
879, 879, 201, 201, 201, 201, 201, 201, 201, 89,
|
|
89, 89, 89, 89, 838, 838, 216, 216, 838, 887,
|
|
887, 888, 889, 833, 833, 890, 891, 833, 892, 892,
|
|
893, 367, 893, 833, 434, 893, 833, 437, 437, 833,
|
|
437, 833, 442, 442, 442, 442, 442, 442, 442, 442,
|
|
442, 838, 838, 838, 838, 838, 833, 833, 894, 838,
|
|
838, 838, 833, 833, 895, 895, 833, 879, 879, 201,
|
|
879, 201, 201, 201, 201, 201, 89, 89, 89, 89,
|
|
89, 838, 482, 482, 833, 896, 897, 424, 833, 489,
|
|
489, 833, 489, 833, 833, 898, 898, 833, 833, 899,
|
|
|
|
899, 900, 440, 900, 833, 505, 900, 833, 508, 508,
|
|
833, 508, 833, 513, 513, 833, 833, 513, 513, 833,
|
|
833, 513, 513, 833, 833, 833, 833, 838, 833, 833,
|
|
901, 838, 838, 838, 902, 903, 833, 904, 904, 904,
|
|
904, 833, 542, 905, 838, 838, 838, 547, 547, 833,
|
|
906, 833, 907, 492, 907, 833, 556, 907, 833, 559,
|
|
559, 833, 559, 908, 909, 833, 833, 910, 910, 911,
|
|
912, 911, 833, 573, 911, 833, 576, 576, 576, 833,
|
|
580, 580, 580, 580, 580, 580, 838, 833, 833, 913,
|
|
838, 838, 838, 833, 833, 914, 914, 833, 915, 915,
|
|
|
|
915, 915, 833, 603, 916, 838, 606, 606, 606, 833,
|
|
917, 918, 833, 919, 919, 920, 562, 920, 833, 619,
|
|
920, 833, 622, 622, 833, 622, 833, 833, 921, 921,
|
|
833, 833, 922, 922, 923, 923, 833, 637, 923, 580,
|
|
580, 580, 580, 580, 833, 833, 833, 833, 833, 833,
|
|
924, 913, 838, 925, 926, 927, 928, 833, 927, 929,
|
|
929, 929, 929, 838, 838, 838, 666, 666, 838, 833,
|
|
833, 930, 930, 833, 833, 931, 931, 932, 625, 932,
|
|
833, 681, 932, 833, 684, 684, 833, 684, 933, 934,
|
|
833, 833, 935, 935, 580, 833, 833, 580, 580, 580,
|
|
|
|
833, 924, 924, 833, 913, 838, 925, 925, 925, 925,
|
|
936, 925, 937, 937, 833, 833, 927, 927, 833, 833,
|
|
929, 929, 929, 666, 666, 666, 938, 939, 833, 833,
|
|
940, 940, 941, 687, 941, 833, 736, 941, 833, 739,
|
|
739, 942, 833, 933, 933, 833, 833, 833, 833, 580,
|
|
580, 833, 913, 833, 833, 943, 944, 833, 929, 929,
|
|
666, 838, 666, 666, 838, 833, 833, 938, 938, 833,
|
|
833, 945, 945, 946, 946, 946, 776, 946, 833, 833,
|
|
580, 947, 833, 833, 943, 943, 833, 929, 666, 666,
|
|
666, 833, 833, 833, 833, 948, 948, 833, 833, 947,
|
|
|
|
947, 833, 949, 950, 833, 666, 838, 666, 666, 838,
|
|
833, 833, 833, 833, 833, 833, 833, 949, 949, 833,
|
|
838, 838, 838, 833, 833, 833, 838, 838, 838, 833,
|
|
833, 833, 0, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833
|
|
} ;
|
|
|
|
static yyconst short int yy_nxt[5675] =
|
|
{ 0,
|
|
16, 17, 18, 19, 20, 21, 22, 23, 24, 16,
|
|
25, 26, 16, 16, 27, 28, 29, 30, 28, 28,
|
|
28, 28, 28, 28, 28, 31, 32, 33, 16, 34,
|
|
35, 35, 35, 36, 37, 37, 37, 37, 38, 39,
|
|
40, 37, 41, 42, 43, 44, 37, 37, 37, 37,
|
|
37, 45, 16, 46, 46, 46, 46, 46, 46, 16,
|
|
16, 16, 16, 16, 16, 16, 16, 47, 16, 16,
|
|
48, 552, 55, 132, 49, 138, 56, 129, 133, 129,
|
|
55, 129, 57, 554, 56, 58, 79, 18, 80, 81,
|
|
57, 111, 131, 58, 136, 17, 63, 64, 153, 65,
|
|
|
|
50, 51, 152, 155, 52, 65, 171, 142, 137, 59,
|
|
103, 112, 53, 60, 37, 54, 37, 59, 157, 65,
|
|
66, 60, 37, 107, 37, 17, 63, 64, 158, 65,
|
|
816, 79, 18, 80, 81, 65, 82, 113, 61, 178,
|
|
142, 175, 103, 117, 117, 67, 61, 117, 117, 65,
|
|
66, 143, 145, 181, 17, 18, 19, 72, 68, 176,
|
|
144, 171, 142, 73, 74, 75, 174, 117, 124, 124,
|
|
124, 124, 124, 125, 182, 67, 17, 18, 19, 76,
|
|
68, 82, 146, 147, 174, 248, 148, 103, 103, 183,
|
|
184, 118, 179, 242, 149, 201, 143, 150, 17, 18,
|
|
|
|
19, 72, 68, 180, 77, 164, 204, 73, 74, 75,
|
|
123, 123, 123, 123, 123, 123, 123, 123, 123, 123,
|
|
103, 816, 180, 76, 182, 255, 69, 70, 70, 70,
|
|
70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
|
|
70, 70, 70, 70, 70, 17, 18, 19, 77, 68,
|
|
197, 197, 197, 197, 197, 197, 197, 197, 197, 197,
|
|
198, 198, 198, 198, 198, 199, 210, 102, 121, 102,
|
|
102, 102, 180, 102, 102, 211, 103, 102, 109, 109,
|
|
109, 109, 109, 109, 109, 109, 109, 109, 103, 249,
|
|
241, 102, 102, 102, 103, 69, 70, 70, 70, 70,
|
|
|
|
70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
|
|
70, 70, 70, 70, 33, 17, 18, 19, 33, 33,
|
|
83, 23, 24, 33, 84, 26, 33, 33, 85, 86,
|
|
87, 88, 86, 86, 86, 86, 86, 86, 86, 31,
|
|
89, 33, 33, 90, 91, 91, 91, 92, 93, 93,
|
|
93, 93, 94, 95, 96, 93, 97, 93, 98, 93,
|
|
93, 93, 93, 93, 93, 69, 33, 99, 99, 99,
|
|
99, 99, 99, 100, 100, 100, 100, 100, 100, 100,
|
|
100, 101, 100, 100, 107, 222, 103, 816, 111, 171,
|
|
142, 277, 253, 181, 108, 816, 224, 109, 109, 109,
|
|
|
|
109, 109, 109, 109, 109, 109, 109, 119, 186, 120,
|
|
120, 120, 120, 120, 120, 120, 120, 120, 120, 121,
|
|
103, 183, 184, 122, 122, 122, 122, 122, 103, 103,
|
|
369, 162, 162, 252, 187, 162, 162, 220, 220, 220,
|
|
220, 220, 220, 180, 251, 103, 157, 122, 122, 122,
|
|
122, 122, 122, 102, 370, 162, 158, 129, 103, 102,
|
|
323, 583, 102, 102, 103, 102, 102, 102, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128, 121, 163,
|
|
321, 102, 128, 128, 128, 128, 128, 129, 129, 129,
|
|
129, 130, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
|
|
129, 129, 129, 129, 103, 129, 122, 122, 122, 122,
|
|
122, 122, 102, 102, 102, 102, 102, 102, 102, 102,
|
|
102, 102, 102, 129, 129, 129, 129, 129, 129, 129,
|
|
129, 129, 129, 833, 222, 816, 107, 129, 129, 129,
|
|
129, 129, 103, 102, 103, 290, 129, 109, 109, 109,
|
|
109, 109, 109, 109, 109, 109, 109, 103, 314, 321,
|
|
387, 102, 102, 102, 102, 102, 102, 141, 142, 102,
|
|
102, 102, 321, 102, 102, 103, 393, 102, 220, 220,
|
|
220, 220, 220, 220, 220, 220, 220, 220, 250, 320,
|
|
833, 102, 102, 102, 102, 103, 122, 122, 122, 122,
|
|
|
|
122, 122, 122, 122, 122, 122, 107, 167, 142, 168,
|
|
833, 169, 103, 111, 802, 168, 108, 169, 388, 109,
|
|
109, 109, 109, 109, 109, 109, 109, 109, 109, 231,
|
|
103, 169, 169, 833, 232, 233, 113, 222, 234, 173,
|
|
235, 188, 173, 173, 324, 171, 142, 188, 290, 173,
|
|
188, 117, 117, 188, 188, 117, 117, 169, 833, 187,
|
|
514, 129, 171, 142, 173, 151, 107, 190, 103, 188,
|
|
111, 311, 312, 321, 313, 117, 170, 452, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 374,
|
|
833, 372, 191, 188, 117, 103, 373, 117, 117, 118,
|
|
|
|
117, 117, 117, 117, 187, 103, 117, 117, 110, 103,
|
|
110, 110, 174, 375, 110, 110, 187, 552, 110, 453,
|
|
190, 117, 117, 220, 220, 220, 220, 220, 220, 220,
|
|
220, 220, 220, 110, 110, 109, 109, 109, 109, 109,
|
|
109, 109, 109, 109, 109, 193, 117, 190, 107, 103,
|
|
194, 190, 195, 195, 195, 195, 195, 195, 195, 195,
|
|
195, 195, 121, 190, 369, 374, 196, 196, 196, 196,
|
|
196, 190, 190, 190, 190, 190, 190, 190, 190, 190,
|
|
190, 190, 190, 190, 190, 190, 190, 190, 370, 375,
|
|
196, 196, 196, 196, 196, 196, 190, 190, 190, 190,
|
|
|
|
190, 190, 190, 190, 190, 190, 190, 833, 392, 190,
|
|
190, 190, 190, 190, 190, 190, 190, 190, 190, 833,
|
|
353, 353, 353, 190, 190, 190, 190, 190, 342, 343,
|
|
114, 344, 114, 114, 114, 410, 114, 114, 411, 454,
|
|
114, 261, 261, 261, 261, 261, 261, 190, 190, 190,
|
|
190, 190, 190, 190, 114, 114, 114, 190, 200, 200,
|
|
200, 200, 200, 200, 200, 200, 200, 200, 121, 190,
|
|
369, 103, 200, 200, 200, 200, 200, 201, 201, 201,
|
|
201, 202, 201, 201, 201, 201, 201, 201, 201, 201,
|
|
201, 201, 201, 201, 370, 203, 196, 196, 196, 196,
|
|
|
|
196, 196, 190, 190, 190, 190, 190, 190, 190, 190,
|
|
190, 190, 190, 201, 201, 201, 201, 201, 201, 201,
|
|
201, 201, 201, 833, 107, 374, 103, 201, 201, 201,
|
|
201, 201, 395, 222, 162, 162, 201, 267, 162, 162,
|
|
401, 734, 268, 269, 290, 402, 270, 145, 271, 375,
|
|
516, 190, 190, 190, 190, 190, 190, 833, 162, 196,
|
|
196, 196, 196, 196, 196, 196, 196, 196, 196, 116,
|
|
103, 102, 102, 116, 517, 102, 102, 146, 147, 116,
|
|
528, 148, 163, 280, 280, 280, 280, 280, 281, 149,
|
|
386, 459, 150, 116, 116, 102, 216, 217, 218, 216,
|
|
|
|
216, 216, 216, 216, 216, 216, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 357, 222, 103, 161,
|
|
103, 102, 102, 161, 460, 102, 102, 783, 359, 161,
|
|
415, 461, 103, 219, 219, 219, 219, 219, 219, 219,
|
|
219, 219, 219, 161, 161, 102, 103, 219, 219, 219,
|
|
219, 219, 257, 258, 259, 257, 257, 257, 257, 257,
|
|
257, 257, 102, 102, 102, 102, 520, 129, 103, 515,
|
|
783, 219, 219, 219, 219, 219, 219, 225, 225, 225,
|
|
225, 225, 225, 225, 225, 225, 225, 121, 121, 524,
|
|
521, 225, 225, 225, 225, 225, 261, 261, 261, 261,
|
|
|
|
261, 261, 261, 261, 261, 261, 362, 362, 362, 362,
|
|
362, 363, 783, 525, 103, 219, 219, 219, 219, 219,
|
|
219, 129, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
129, 833, 394, 545, 455, 129, 129, 129, 129, 129,
|
|
185, 384, 185, 185, 385, 188, 185, 185, 103, 523,
|
|
185, 188, 129, 456, 188, 833, 222, 188, 188, 102,
|
|
102, 102, 102, 102, 102, 185, 185, 359, 103, 103,
|
|
103, 190, 222, 188, 188, 103, 188, 188, 188, 534,
|
|
188, 188, 833, 290, 188, 261, 261, 261, 261, 261,
|
|
261, 261, 261, 261, 261, 222, 191, 188, 188, 188,
|
|
|
|
188, 117, 552, 103, 117, 117, 359, 117, 117, 117,
|
|
117, 117, 103, 117, 117, 117, 103, 462, 357, 222,
|
|
533, 117, 357, 222, 516, 520, 518, 190, 117, 117,
|
|
359, 519, 592, 129, 432, 117, 117, 215, 215, 215,
|
|
215, 215, 215, 215, 215, 215, 215, 107, 517, 521,
|
|
201, 734, 193, 117, 260, 260, 260, 260, 260, 260,
|
|
260, 260, 260, 260, 679, 604, 129, 129, 260, 260,
|
|
260, 260, 260, 215, 215, 215, 215, 215, 215, 215,
|
|
215, 215, 215, 325, 107, 326, 326, 326, 326, 326,
|
|
326, 526, 260, 260, 260, 260, 260, 260, 190, 103,
|
|
|
|
766, 531, 190, 262, 262, 262, 262, 262, 262, 262,
|
|
262, 262, 262, 121, 190, 527, 587, 262, 262, 262,
|
|
262, 262, 201, 201, 201, 201, 201, 201, 201, 201,
|
|
201, 201, 201, 201, 201, 201, 201, 201, 201, 590,
|
|
203, 260, 260, 260, 260, 260, 260, 190, 190, 190,
|
|
190, 190, 190, 190, 190, 190, 190, 190, 201, 201,
|
|
201, 201, 201, 201, 201, 201, 201, 201, 833, 641,
|
|
516, 129, 201, 201, 201, 201, 201, 279, 279, 279,
|
|
279, 279, 279, 279, 279, 279, 279, 435, 435, 435,
|
|
435, 435, 436, 524, 517, 526, 190, 190, 190, 190,
|
|
|
|
190, 190, 277, 766, 278, 278, 278, 278, 278, 278,
|
|
278, 278, 278, 278, 162, 129, 540, 525, 162, 527,
|
|
522, 541, 642, 129, 162, 295, 295, 295, 295, 295,
|
|
295, 295, 295, 295, 295, 129, 766, 129, 162, 162,
|
|
103, 102, 103, 282, 282, 282, 282, 282, 282, 282,
|
|
282, 282, 282, 532, 520, 524, 526, 282, 282, 282,
|
|
282, 282, 361, 361, 361, 361, 361, 361, 361, 361,
|
|
361, 361, 506, 506, 506, 506, 506, 507, 521, 525,
|
|
527, 282, 282, 282, 282, 282, 282, 284, 285, 286,
|
|
286, 286, 286, 286, 286, 286, 286, 287, 357, 222,
|
|
|
|
103, 288, 288, 288, 288, 288, 396, 397, 398, 396,
|
|
396, 396, 396, 396, 396, 396, 463, 593, 464, 464,
|
|
464, 464, 464, 464, 783, 288, 288, 288, 288, 288,
|
|
288, 222, 291, 292, 293, 291, 291, 291, 291, 291,
|
|
291, 291, 294, 644, 647, 129, 295, 295, 295, 295,
|
|
295, 426, 427, 428, 426, 426, 426, 426, 426, 426,
|
|
426, 548, 548, 548, 548, 548, 549, 103, 648, 653,
|
|
295, 295, 295, 295, 295, 295, 296, 296, 296, 296,
|
|
296, 296, 296, 296, 296, 296, 121, 645, 833, 222,
|
|
296, 296, 296, 296, 296, 368, 368, 368, 368, 368,
|
|
|
|
368, 368, 368, 368, 368, 557, 557, 557, 557, 557,
|
|
558, 646, 699, 129, 282, 282, 282, 282, 282, 282,
|
|
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
833, 703, 704, 129, 129, 129, 129, 129, 129, 357,
|
|
222, 430, 430, 430, 430, 430, 430, 669, 669, 669,
|
|
415, 359, 416, 416, 416, 416, 416, 416, 102, 102,
|
|
102, 102, 102, 102, 325, 783, 328, 328, 328, 328,
|
|
328, 329, 326, 326, 326, 326, 330, 330, 330, 330,
|
|
330, 330, 330, 330, 330, 330, 121, 698, 103, 129,
|
|
330, 330, 330, 330, 330, 434, 434, 434, 434, 434,
|
|
|
|
434, 434, 434, 434, 434, 494, 222, 495, 495, 495,
|
|
495, 495, 495, 222, 330, 330, 330, 330, 330, 330,
|
|
331, 331, 331, 331, 331, 331, 331, 331, 331, 331,
|
|
102, 102, 102, 102, 331, 331, 331, 331, 331, 441,
|
|
441, 441, 441, 441, 441, 441, 441, 441, 441, 574,
|
|
574, 574, 574, 574, 575, 357, 222, 222, 330, 330,
|
|
330, 330, 330, 330, 346, 347, 348, 346, 346, 346,
|
|
346, 346, 346, 346, 833, 222, 357, 222, 501, 501,
|
|
501, 501, 501, 501, 751, 129, 432, 833, 432, 505,
|
|
505, 505, 505, 505, 505, 505, 505, 505, 505, 554,
|
|
|
|
103, 351, 351, 352, 353, 353, 353, 353, 353, 353,
|
|
353, 287, 357, 222, 358, 358, 358, 358, 358, 358,
|
|
358, 358, 358, 358, 359, 703, 704, 645, 360, 360,
|
|
360, 360, 360, 535, 536, 537, 535, 535, 535, 535,
|
|
535, 535, 535, 129, 585, 643, 647, 222, 129, 582,
|
|
129, 646, 360, 360, 360, 360, 360, 360, 222, 364,
|
|
365, 366, 364, 364, 364, 364, 364, 364, 364, 367,
|
|
648, 651, 107, 368, 368, 368, 368, 368, 547, 547,
|
|
547, 547, 547, 547, 547, 547, 547, 547, 695, 700,
|
|
679, 129, 129, 222, 129, 782, 107, 368, 368, 368,
|
|
|
|
368, 368, 368, 833, 359, 360, 360, 360, 360, 360,
|
|
360, 360, 360, 360, 360, 399, 399, 399, 399, 399,
|
|
399, 399, 399, 399, 399, 107, 652, 647, 696, 399,
|
|
399, 399, 399, 399, 493, 493, 493, 493, 493, 493,
|
|
493, 493, 493, 493, 620, 620, 620, 620, 620, 621,
|
|
617, 648, 697, 399, 399, 399, 399, 399, 399, 400,
|
|
400, 400, 400, 400, 400, 400, 400, 400, 400, 750,
|
|
654, 129, 103, 400, 400, 400, 400, 400, 556, 556,
|
|
556, 556, 556, 556, 556, 556, 556, 556, 706, 753,
|
|
801, 802, 654, 222, 654, 654, 766, 399, 399, 399,
|
|
|
|
399, 399, 399, 415, 432, 416, 416, 416, 416, 416,
|
|
416, 416, 416, 416, 416, 415, 552, 417, 417, 417,
|
|
417, 417, 417, 417, 417, 417, 417, 415, 554, 418,
|
|
418, 418, 418, 418, 419, 416, 416, 416, 416, 421,
|
|
421, 421, 421, 421, 421, 421, 421, 421, 421, 287,
|
|
357, 222, 430, 430, 430, 430, 430, 430, 430, 430,
|
|
430, 430, 359, 801, 802, 696, 429, 429, 429, 429,
|
|
429, 564, 565, 566, 564, 564, 564, 564, 564, 564,
|
|
564, 638, 638, 638, 638, 638, 639, 664, 664, 697,
|
|
429, 429, 429, 429, 429, 429, 357, 222, 431, 431,
|
|
|
|
431, 431, 431, 431, 431, 431, 431, 431, 432, 357,
|
|
222, 129, 433, 433, 433, 433, 433, 357, 222, 833,
|
|
222, 432, 129, 129, 129, 103, 103, 595, 595, 503,
|
|
696, 503, 581, 584, 766, 586, 433, 433, 433, 433,
|
|
433, 433, 222, 437, 438, 439, 437, 437, 437, 437,
|
|
437, 437, 437, 440, 697, 715, 833, 441, 441, 441,
|
|
441, 441, 512, 512, 512, 512, 512, 512, 512, 512,
|
|
512, 512, 682, 682, 682, 682, 682, 683, 103, 107,
|
|
833, 441, 441, 441, 441, 441, 441, 833, 591, 433,
|
|
433, 433, 433, 433, 433, 433, 433, 433, 433, 463,
|
|
|
|
721, 466, 466, 466, 466, 466, 467, 464, 464, 464,
|
|
464, 399, 399, 399, 399, 399, 399, 399, 399, 399,
|
|
399, 102, 102, 102, 102, 399, 399, 399, 399, 399,
|
|
357, 222, 569, 569, 569, 569, 569, 569, 705, 596,
|
|
596, 627, 503, 628, 628, 628, 628, 628, 628, 399,
|
|
399, 399, 399, 399, 399, 482, 483, 484, 482, 482,
|
|
482, 482, 482, 482, 482, 573, 573, 573, 573, 573,
|
|
573, 573, 573, 573, 573, 611, 612, 613, 611, 611,
|
|
611, 611, 611, 611, 611, 715, 715, 720, 720, 720,
|
|
715, 103, 415, 552, 416, 416, 416, 416, 416, 416,
|
|
|
|
416, 416, 416, 416, 415, 617, 416, 416, 416, 416,
|
|
416, 416, 416, 416, 416, 416, 489, 490, 491, 489,
|
|
489, 489, 489, 489, 489, 489, 492, 748, 748, 779,
|
|
493, 493, 493, 493, 493, 563, 563, 563, 563, 563,
|
|
563, 563, 563, 563, 563, 781, 109, 129, 761, 109,
|
|
222, 749, 749, 780, 493, 493, 493, 493, 493, 493,
|
|
494, 432, 497, 497, 497, 497, 497, 498, 495, 495,
|
|
495, 495, 357, 222, 501, 501, 501, 501, 501, 501,
|
|
501, 501, 501, 501, 432, 654, 103, 833, 500, 500,
|
|
500, 500, 500, 552, 833, 615, 615, 615, 615, 615,
|
|
|
|
615, 172, 172, 172, 715, 554, 617, 654, 714, 654,
|
|
655, 833, 500, 500, 500, 500, 500, 500, 357, 222,
|
|
502, 502, 502, 502, 502, 502, 502, 502, 502, 502,
|
|
503, 754, 722, 103, 504, 504, 504, 504, 504, 619,
|
|
619, 619, 619, 619, 619, 619, 619, 619, 619, 594,
|
|
595, 595, 595, 595, 595, 595, 806, 103, 504, 504,
|
|
504, 504, 504, 504, 222, 508, 509, 510, 508, 508,
|
|
508, 508, 508, 508, 508, 511, 222, 357, 222, 512,
|
|
512, 512, 512, 512, 357, 222, 222, 503, 222, 503,
|
|
833, 222, 215, 704, 103, 215, 571, 503, 552, 571,
|
|
|
|
748, 779, 571, 512, 512, 512, 512, 512, 512, 833,
|
|
617, 504, 504, 504, 504, 504, 504, 504, 504, 504,
|
|
504, 102, 595, 595, 749, 780, 326, 102, 326, 755,
|
|
102, 102, 755, 102, 102, 102, 129, 129, 129, 129,
|
|
129, 129, 129, 129, 129, 129, 129, 129, 752, 102,
|
|
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
129, 129, 129, 129, 513, 129, 129, 129, 129, 129,
|
|
129, 129, 103, 129, 102, 102, 102, 102, 102, 102,
|
|
102, 102, 102, 102, 102, 102, 102, 102, 102, 102,
|
|
102, 545, 546, 546, 546, 546, 546, 546, 546, 546,
|
|
|
|
546, 546, 357, 222, 634, 634, 634, 634, 634, 634,
|
|
172, 172, 172, 552, 571, 637, 637, 637, 637, 637,
|
|
637, 637, 637, 637, 637, 679, 743, 743, 103, 552,
|
|
833, 553, 553, 553, 553, 553, 553, 553, 553, 553,
|
|
553, 554, 679, 129, 833, 555, 555, 555, 555, 555,
|
|
656, 657, 658, 659, 656, 656, 656, 656, 656, 656,
|
|
357, 222, 694, 694, 694, 694, 694, 694, 833, 555,
|
|
555, 555, 555, 555, 555, 559, 560, 561, 559, 559,
|
|
559, 559, 559, 559, 559, 562, 779, 798, 759, 563,
|
|
563, 563, 563, 563, 666, 666, 666, 666, 666, 666,
|
|
|
|
666, 666, 666, 666, 327, 464, 327, 464, 357, 222,
|
|
780, 799, 222, 563, 563, 563, 563, 563, 563, 833,
|
|
571, 555, 555, 555, 555, 555, 555, 555, 555, 555,
|
|
555, 357, 222, 569, 569, 569, 569, 569, 569, 569,
|
|
569, 569, 569, 503, 798, 833, 222, 568, 568, 568,
|
|
568, 568, 667, 667, 667, 667, 667, 668, 669, 669,
|
|
669, 669, 708, 222, 709, 710, 711, 833, 799, 833,
|
|
617, 568, 568, 568, 568, 568, 568, 357, 222, 570,
|
|
570, 570, 570, 570, 570, 570, 570, 570, 570, 571,
|
|
760, 833, 833, 572, 572, 572, 572, 572, 626, 626,
|
|
|
|
626, 626, 626, 626, 626, 626, 626, 626, 723, 744,
|
|
744, 708, 712, 709, 710, 711, 833, 572, 572, 572,
|
|
572, 572, 572, 222, 576, 577, 578, 576, 576, 576,
|
|
576, 576, 576, 576, 554, 798, 788, 670, 579, 579,
|
|
579, 579, 579, 552, 552, 677, 677, 677, 677, 677,
|
|
677, 465, 495, 465, 495, 617, 679, 670, 222, 799,
|
|
670, 714, 579, 579, 579, 579, 579, 579, 833, 571,
|
|
572, 572, 572, 572, 572, 572, 572, 572, 572, 572,
|
|
102, 129, 496, 464, 496, 464, 102, 707, 707, 102,
|
|
102, 707, 102, 102, 102, 129, 129, 129, 129, 129,
|
|
|
|
129, 129, 129, 129, 129, 707, 707, 707, 102, 129,
|
|
129, 129, 129, 129, 129, 129, 580, 129, 129, 129,
|
|
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
129, 103, 129, 102, 102, 102, 102, 102, 102, 102,
|
|
102, 102, 102, 102, 102, 102, 102, 102, 102, 102,
|
|
594, 597, 597, 597, 597, 597, 598, 595, 595, 595,
|
|
595, 190, 715, 715, 552, 190, 201, 201, 201, 201,
|
|
201, 201, 201, 201, 201, 201, 734, 190, 701, 627,
|
|
201, 201, 201, 603, 201, 201, 201, 201, 201, 201,
|
|
201, 201, 201, 201, 201, 201, 201, 201, 201, 201,
|
|
|
|
201, 201, 627, 203, 190, 190, 190, 190, 190, 190,
|
|
190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
|
|
190, 606, 607, 608, 609, 606, 606, 606, 606, 606,
|
|
606, 681, 681, 681, 681, 681, 681, 681, 681, 681,
|
|
681, 689, 690, 691, 689, 689, 689, 689, 689, 689,
|
|
689, 737, 737, 737, 737, 737, 738, 103, 545, 546,
|
|
546, 546, 546, 546, 546, 546, 546, 546, 546, 727,
|
|
728, 729, 727, 727, 727, 727, 727, 727, 727, 670,
|
|
627, 671, 671, 671, 671, 671, 671, 715, 554, 716,
|
|
716, 716, 716, 716, 716, 103, 552, 833, 615, 615,
|
|
|
|
615, 615, 615, 615, 615, 615, 615, 615, 554, 734,
|
|
670, 670, 614, 614, 614, 614, 614, 688, 688, 688,
|
|
688, 688, 688, 688, 688, 688, 688, 833, 488, 833,
|
|
833, 833, 495, 628, 495, 628, 614, 614, 614, 614,
|
|
614, 614, 552, 552, 616, 616, 616, 616, 616, 616,
|
|
616, 616, 616, 616, 617, 734, 663, 662, 618, 618,
|
|
618, 618, 618, 552, 661, 732, 732, 732, 732, 732,
|
|
732, 629, 671, 629, 671, 679, 672, 712, 672, 628,
|
|
660, 628, 618, 618, 618, 618, 618, 618, 622, 623,
|
|
624, 622, 622, 622, 622, 622, 622, 622, 625, 716,
|
|
|
|
594, 716, 626, 626, 626, 626, 626, 736, 736, 736,
|
|
736, 736, 736, 736, 736, 736, 736, 594, 717, 708,
|
|
717, 709, 710, 711, 594, 103, 626, 626, 626, 626,
|
|
626, 626, 833, 650, 618, 618, 618, 618, 618, 618,
|
|
618, 618, 618, 618, 627, 649, 630, 630, 630, 630,
|
|
630, 631, 628, 628, 628, 628, 357, 222, 634, 634,
|
|
634, 634, 634, 634, 634, 634, 634, 634, 571, 712,
|
|
103, 222, 633, 633, 633, 633, 633, 833, 627, 709,
|
|
710, 711, 833, 627, 833, 833, 711, 777, 777, 777,
|
|
777, 777, 778, 671, 488, 671, 633, 633, 633, 633,
|
|
|
|
633, 633, 357, 222, 635, 635, 635, 635, 635, 635,
|
|
635, 635, 635, 635, 767, 768, 767, 768, 636, 636,
|
|
636, 636, 636, 775, 355, 605, 775, 712, 602, 784,
|
|
775, 784, 712, 222, 743, 743, 743, 743, 743, 743,
|
|
601, 600, 636, 636, 636, 636, 636, 636, 833, 599,
|
|
636, 636, 636, 636, 636, 636, 636, 636, 636, 636,
|
|
102, 713, 594, 713, 713, 713, 102, 713, 713, 102,
|
|
102, 713, 102, 102, 102, 129, 129, 129, 129, 129,
|
|
129, 129, 129, 129, 129, 713, 713, 713, 102, 129,
|
|
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
|
|
129, 129, 129, 129, 129, 129, 129, 640, 129, 129,
|
|
129, 103, 129, 102, 102, 102, 102, 102, 102, 102,
|
|
102, 102, 102, 102, 102, 102, 102, 102, 102, 102,
|
|
645, 766, 594, 767, 767, 767, 767, 767, 767, 190,
|
|
785, 589, 785, 190, 201, 201, 201, 201, 201, 201,
|
|
201, 201, 201, 201, 646, 190, 588, 494, 201, 201,
|
|
201, 201, 201, 201, 201, 201, 201, 201, 201, 201,
|
|
201, 201, 201, 201, 201, 201, 201, 201, 201, 201,
|
|
494, 203, 190, 190, 190, 190, 190, 190, 190, 190,
|
|
190, 190, 190, 190, 190, 190, 190, 190, 190, 664,
|
|
|
|
494, 665, 665, 665, 665, 665, 665, 665, 665, 665,
|
|
665, 756, 757, 758, 756, 756, 756, 756, 756, 756,
|
|
756, 742, 742, 742, 742, 742, 742, 742, 742, 742,
|
|
742, 811, 811, 811, 811, 811, 811, 103, 670, 488,
|
|
673, 673, 673, 673, 673, 674, 671, 671, 671, 671,
|
|
552, 355, 677, 677, 677, 677, 677, 677, 677, 677,
|
|
677, 677, 617, 817, 287, 817, 676, 676, 676, 676,
|
|
676, 552, 544, 773, 773, 773, 773, 773, 773, 818,
|
|
543, 818, 552, 734, 797, 797, 797, 797, 797, 797,
|
|
676, 676, 676, 676, 676, 676, 552, 542, 678, 678,
|
|
|
|
678, 678, 678, 678, 678, 678, 678, 678, 679, 539,
|
|
538, 463, 680, 680, 680, 680, 680, 776, 776, 776,
|
|
776, 776, 776, 776, 776, 776, 776, 783, 463, 784,
|
|
784, 784, 784, 784, 784, 463, 680, 680, 680, 680,
|
|
680, 680, 684, 685, 686, 684, 684, 684, 684, 684,
|
|
684, 684, 687, 530, 529, 103, 688, 688, 688, 688,
|
|
688, 755, 755, 755, 755, 755, 755, 755, 755, 755,
|
|
755, 103, 761, 103, 762, 762, 762, 762, 762, 762,
|
|
688, 688, 688, 688, 688, 688, 833, 103, 680, 680,
|
|
680, 680, 680, 680, 680, 680, 680, 680, 357, 222,
|
|
|
|
694, 694, 694, 694, 694, 694, 694, 694, 694, 694,
|
|
103, 494, 494, 488, 693, 693, 693, 693, 693, 755,
|
|
755, 755, 755, 755, 755, 755, 755, 755, 755, 816,
|
|
355, 817, 817, 817, 817, 817, 817, 287, 693, 693,
|
|
693, 693, 693, 693, 715, 287, 718, 718, 718, 718,
|
|
718, 719, 720, 720, 720, 720, 724, 725, 726, 724,
|
|
724, 724, 724, 724, 724, 724, 792, 793, 794, 792,
|
|
792, 792, 792, 792, 792, 792, 803, 804, 805, 803,
|
|
803, 803, 803, 803, 803, 803, 830, 830, 830, 830,
|
|
830, 830, 103, 664, 481, 665, 665, 665, 665, 665,
|
|
|
|
665, 665, 665, 665, 665, 811, 811, 811, 811, 811,
|
|
811, 811, 811, 811, 811, 812, 812, 812, 812, 812,
|
|
812, 812, 812, 812, 812, 480, 815, 479, 478, 815,
|
|
477, 103, 552, 815, 732, 732, 732, 732, 732, 732,
|
|
732, 732, 732, 732, 679, 476, 475, 474, 731, 731,
|
|
731, 731, 731, 813, 813, 813, 813, 813, 814, 811,
|
|
811, 811, 811, 806, 473, 807, 807, 807, 807, 807,
|
|
807, 472, 731, 731, 731, 731, 731, 731, 552, 471,
|
|
733, 733, 733, 733, 733, 733, 733, 733, 733, 733,
|
|
734, 470, 469, 468, 735, 735, 735, 735, 735, 833,
|
|
|
|
463, 103, 811, 811, 811, 811, 811, 811, 811, 811,
|
|
811, 811, 463, 389, 458, 457, 451, 450, 735, 735,
|
|
735, 735, 735, 735, 739, 740, 741, 739, 739, 739,
|
|
739, 739, 739, 739, 449, 448, 447, 446, 742, 742,
|
|
742, 742, 742, 811, 811, 811, 811, 811, 811, 811,
|
|
811, 811, 811, 445, 444, 443, 827, 827, 827, 827,
|
|
827, 827, 742, 742, 742, 742, 742, 742, 833, 442,
|
|
735, 735, 735, 735, 735, 735, 735, 735, 735, 735,
|
|
222, 745, 745, 745, 745, 745, 746, 743, 743, 743,
|
|
743, 761, 103, 762, 762, 762, 762, 762, 762, 762,
|
|
|
|
762, 762, 762, 761, 424, 763, 763, 763, 763, 763,
|
|
763, 763, 763, 763, 763, 761, 355, 764, 764, 764,
|
|
764, 764, 765, 762, 762, 762, 762, 766, 287, 769,
|
|
769, 769, 769, 769, 770, 767, 767, 767, 767, 552,
|
|
420, 773, 773, 773, 773, 773, 773, 773, 773, 773,
|
|
773, 734, 287, 127, 414, 772, 772, 772, 772, 772,
|
|
824, 825, 826, 824, 824, 824, 824, 824, 824, 824,
|
|
413, 412, 409, 408, 407, 406, 405, 404, 403, 772,
|
|
772, 772, 772, 772, 772, 552, 325, 774, 774, 774,
|
|
774, 774, 774, 774, 774, 774, 774, 325, 325, 389,
|
|
|
|
391, 775, 775, 775, 775, 775, 830, 830, 830, 830,
|
|
830, 830, 830, 830, 830, 830, 389, 390, 389, 383,
|
|
382, 381, 380, 379, 378, 775, 775, 775, 775, 775,
|
|
775, 783, 377, 786, 786, 786, 786, 786, 787, 784,
|
|
784, 784, 784, 102, 376, 789, 790, 791, 789, 789,
|
|
789, 789, 789, 789, 789, 761, 371, 762, 762, 762,
|
|
762, 762, 762, 762, 762, 762, 762, 761, 121, 762,
|
|
762, 762, 762, 762, 762, 762, 762, 762, 762, 552,
|
|
287, 797, 797, 797, 797, 797, 797, 797, 797, 797,
|
|
797, 806, 355, 807, 807, 807, 807, 807, 807, 807,
|
|
|
|
807, 807, 807, 806, 287, 808, 808, 808, 808, 808,
|
|
808, 808, 808, 808, 808, 806, 127, 809, 809, 809,
|
|
809, 809, 810, 807, 807, 807, 807, 816, 107, 819,
|
|
819, 819, 819, 819, 820, 817, 817, 817, 817, 102,
|
|
345, 821, 822, 823, 821, 821, 821, 821, 821, 821,
|
|
821, 806, 341, 807, 807, 807, 807, 807, 807, 807,
|
|
807, 807, 807, 806, 340, 807, 807, 807, 807, 807,
|
|
807, 807, 807, 807, 807, 827, 827, 827, 827, 827,
|
|
827, 827, 827, 827, 827, 824, 824, 824, 824, 824,
|
|
824, 824, 824, 824, 824, 831, 831, 831, 831, 831,
|
|
|
|
832, 830, 830, 830, 830, 339, 338, 337, 336, 335,
|
|
334, 103, 821, 821, 821, 821, 821, 821, 821, 821,
|
|
821, 821, 830, 830, 830, 830, 830, 830, 830, 830,
|
|
830, 830, 333, 332, 194, 325, 325, 256, 322, 319,
|
|
318, 317, 316, 315, 310, 309, 308, 307, 103, 828,
|
|
828, 828, 828, 828, 829, 827, 827, 827, 827, 306,
|
|
305, 304, 303, 302, 301, 300, 299, 298, 297, 127,
|
|
119, 107, 107, 275, 274, 273, 272, 266, 265, 264,
|
|
263, 833, 191, 256, 179, 103, 827, 827, 827, 827,
|
|
827, 827, 827, 827, 827, 827, 180, 174, 174, 166,
|
|
|
|
254, 160, 160, 247, 246, 245, 244, 243, 240, 239,
|
|
238, 237, 236, 230, 229, 228, 227, 226, 127, 102,
|
|
127, 193, 103, 62, 62, 62, 62, 62, 62, 62,
|
|
62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
|
|
62, 62, 62, 62, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
|
|
33, 33, 33, 33, 33, 71, 71, 71, 71, 71,
|
|
71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
|
|
71, 71, 71, 71, 71, 71, 78, 78, 78, 78,
|
|
78, 78, 78, 78, 78, 78, 78, 78, 78, 78,
|
|
|
|
78, 78, 78, 78, 78, 78, 78, 102, 115, 214,
|
|
107, 105, 104, 103, 102, 209, 102, 102, 102, 102,
|
|
208, 207, 102, 102, 102, 102, 102, 102, 106, 106,
|
|
106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
|
|
106, 106, 106, 106, 106, 106, 106, 106, 106, 110,
|
|
206, 205, 201, 180, 110, 174, 110, 166, 110, 110,
|
|
110, 110, 110, 136, 110, 110, 110, 110, 110, 110,
|
|
114, 133, 160, 159, 156, 154, 140, 114, 139, 114,
|
|
114, 114, 114, 138, 135, 114, 114, 114, 114, 114,
|
|
114, 116, 134, 129, 116, 116, 127, 116, 116, 115,
|
|
|
|
116, 116, 116, 116, 105, 104, 116, 116, 116, 116,
|
|
116, 116, 126, 126, 103, 126, 833, 833, 833, 126,
|
|
161, 833, 833, 161, 161, 833, 161, 161, 833, 161,
|
|
161, 161, 161, 833, 833, 161, 161, 161, 161, 161,
|
|
161, 165, 833, 833, 165, 165, 833, 165, 165, 833,
|
|
165, 165, 165, 165, 833, 165, 165, 165, 833, 165,
|
|
165, 165, 173, 833, 833, 173, 833, 833, 173, 173,
|
|
833, 173, 173, 173, 173, 173, 833, 173, 173, 173,
|
|
173, 173, 173, 177, 177, 177, 177, 177, 177, 177,
|
|
177, 177, 177, 177, 177, 177, 177, 177, 177, 177,
|
|
|
|
177, 177, 177, 177, 179, 179, 833, 179, 833, 179,
|
|
179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
179, 179, 179, 179, 179, 185, 833, 833, 833, 833,
|
|
185, 833, 185, 833, 185, 185, 185, 185, 185, 833,
|
|
185, 185, 185, 185, 185, 185, 189, 833, 833, 833,
|
|
833, 833, 833, 189, 833, 189, 189, 189, 189, 833,
|
|
189, 189, 189, 189, 189, 189, 189, 192, 833, 833,
|
|
192, 192, 833, 192, 192, 833, 192, 192, 192, 192,
|
|
833, 192, 192, 192, 192, 192, 192, 192, 212, 212,
|
|
212, 212, 212, 212, 212, 212, 212, 212, 212, 212,
|
|
|
|
212, 212, 212, 212, 212, 212, 212, 212, 212, 213,
|
|
213, 833, 213, 213, 213, 213, 213, 213, 213, 213,
|
|
213, 213, 213, 213, 213, 213, 213, 213, 213, 213,
|
|
117, 833, 833, 117, 117, 833, 117, 117, 833, 117,
|
|
117, 117, 117, 833, 833, 117, 117, 117, 117, 117,
|
|
117, 126, 126, 833, 126, 833, 833, 833, 126, 221,
|
|
221, 833, 221, 833, 833, 833, 221, 223, 223, 223,
|
|
833, 223, 833, 833, 833, 223, 161, 833, 833, 161,
|
|
161, 833, 161, 161, 833, 161, 161, 161, 161, 833,
|
|
833, 161, 161, 161, 161, 161, 161, 162, 833, 833,
|
|
|
|
162, 162, 833, 162, 162, 833, 162, 162, 162, 162,
|
|
833, 833, 162, 162, 162, 162, 162, 162, 165, 833,
|
|
833, 165, 165, 833, 165, 165, 833, 165, 165, 165,
|
|
165, 833, 165, 165, 165, 833, 165, 165, 165, 173,
|
|
833, 833, 173, 833, 833, 173, 173, 833, 173, 173,
|
|
173, 173, 173, 833, 173, 173, 173, 173, 173, 173,
|
|
188, 833, 833, 833, 833, 833, 833, 188, 833, 188,
|
|
188, 188, 188, 833, 833, 188, 188, 188, 188, 188,
|
|
188, 189, 833, 833, 833, 833, 833, 833, 189, 833,
|
|
189, 189, 189, 189, 833, 189, 189, 189, 189, 189,
|
|
|
|
189, 189, 192, 833, 833, 192, 192, 833, 192, 192,
|
|
833, 192, 192, 192, 192, 833, 192, 192, 192, 192,
|
|
192, 192, 192, 203, 833, 833, 203, 203, 833, 203,
|
|
276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
|
|
276, 276, 276, 276, 276, 276, 276, 276, 276, 276,
|
|
276, 283, 283, 833, 283, 833, 833, 833, 283, 289,
|
|
289, 289, 833, 289, 833, 833, 833, 289, 349, 349,
|
|
833, 349, 833, 833, 833, 349, 350, 350, 833, 350,
|
|
833, 833, 833, 350, 354, 354, 833, 354, 833, 833,
|
|
833, 354, 356, 356, 356, 833, 356, 833, 833, 833,
|
|
|
|
356, 203, 833, 833, 203, 203, 833, 203, 420, 420,
|
|
833, 420, 833, 833, 833, 420, 422, 422, 833, 422,
|
|
833, 833, 833, 422, 423, 423, 833, 423, 833, 833,
|
|
833, 423, 425, 425, 425, 833, 425, 833, 833, 833,
|
|
425, 429, 429, 429, 429, 833, 429, 833, 833, 833,
|
|
429, 485, 485, 833, 485, 833, 833, 833, 485, 486,
|
|
486, 833, 486, 833, 833, 833, 486, 487, 487, 833,
|
|
487, 833, 833, 833, 487, 499, 499, 499, 833, 499,
|
|
833, 833, 833, 499, 500, 500, 500, 500, 833, 500,
|
|
833, 833, 833, 500, 212, 212, 212, 212, 212, 212,
|
|
|
|
212, 212, 212, 212, 212, 212, 212, 212, 212, 212,
|
|
212, 212, 212, 212, 212, 550, 550, 833, 550, 833,
|
|
833, 833, 550, 551, 551, 833, 551, 833, 833, 833,
|
|
551, 567, 567, 567, 833, 567, 833, 833, 833, 567,
|
|
568, 568, 568, 568, 833, 568, 833, 833, 833, 568,
|
|
212, 212, 212, 212, 212, 212, 212, 212, 212, 212,
|
|
212, 212, 212, 212, 212, 212, 212, 212, 212, 212,
|
|
212, 203, 833, 833, 203, 203, 833, 203, 190, 833,
|
|
833, 833, 190, 190, 833, 190, 190, 190, 833, 833,
|
|
190, 190, 610, 610, 833, 610, 833, 833, 833, 610,
|
|
|
|
614, 833, 614, 614, 833, 614, 833, 833, 833, 614,
|
|
632, 632, 632, 833, 632, 833, 833, 833, 632, 633,
|
|
633, 633, 633, 833, 633, 833, 833, 833, 633, 579,
|
|
579, 833, 833, 579, 833, 833, 833, 579, 212, 212,
|
|
212, 212, 212, 212, 212, 212, 212, 212, 212, 212,
|
|
212, 212, 212, 212, 212, 212, 212, 212, 212, 203,
|
|
833, 833, 203, 203, 833, 203, 190, 833, 833, 833,
|
|
190, 190, 833, 190, 190, 190, 833, 833, 190, 190,
|
|
675, 675, 833, 675, 833, 833, 833, 675, 676, 833,
|
|
676, 676, 833, 676, 833, 833, 833, 676, 692, 692,
|
|
|
|
692, 833, 692, 833, 833, 833, 692, 693, 693, 693,
|
|
833, 833, 693, 833, 833, 833, 693, 702, 702, 702,
|
|
702, 702, 702, 702, 702, 702, 702, 702, 702, 702,
|
|
702, 702, 702, 702, 702, 702, 702, 702, 707, 707,
|
|
833, 707, 707, 707, 833, 707, 833, 707, 707, 707,
|
|
707, 833, 833, 707, 707, 707, 707, 707, 707, 713,
|
|
713, 833, 713, 713, 713, 833, 713, 833, 713, 713,
|
|
713, 713, 833, 833, 713, 713, 713, 713, 713, 713,
|
|
203, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 203, 203, 833, 203, 203, 833, 203, 730, 730,
|
|
|
|
833, 730, 833, 833, 833, 730, 731, 833, 731, 731,
|
|
833, 731, 833, 833, 833, 731, 747, 747, 833, 833,
|
|
747, 833, 833, 833, 747, 713, 833, 833, 833, 833,
|
|
833, 833, 713, 833, 713, 713, 713, 713, 833, 833,
|
|
713, 713, 713, 713, 713, 713, 771, 771, 833, 771,
|
|
833, 833, 833, 771, 772, 833, 772, 772, 833, 772,
|
|
833, 833, 833, 772, 795, 795, 833, 795, 833, 833,
|
|
833, 795, 796, 833, 796, 833, 833, 796, 833, 833,
|
|
833, 796, 800, 800, 800, 800, 800, 800, 800, 800,
|
|
800, 800, 800, 800, 800, 800, 800, 800, 800, 800,
|
|
|
|
800, 800, 800, 15, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833
|
|
} ;
|
|
|
|
static yyconst short int yy_chk[5675] =
|
|
{ 0,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
2, 553, 3, 38, 2, 53, 3, 50, 38, 51,
|
|
4, 36, 3, 553, 4, 3, 11, 11, 11, 11,
|
|
4, 22, 36, 4, 41, 5, 5, 5, 51, 5,
|
|
|
|
2, 2, 50, 53, 2, 5, 69, 69, 41, 3,
|
|
827, 22, 2, 3, 3, 2, 3, 4, 55, 5,
|
|
5, 4, 4, 151, 4, 6, 6, 6, 55, 6,
|
|
819, 12, 12, 12, 12, 6, 11, 22, 3, 77,
|
|
77, 73, 47, 27, 27, 5, 4, 27, 27, 6,
|
|
6, 47, 48, 79, 9, 9, 9, 9, 9, 75,
|
|
47, 167, 167, 9, 9, 9, 73, 27, 30, 30,
|
|
30, 30, 30, 30, 80, 6, 7, 7, 7, 9,
|
|
7, 12, 48, 48, 75, 151, 48, 61, 144, 82,
|
|
82, 27, 82, 144, 48, 92, 61, 48, 10, 10,
|
|
|
|
10, 10, 10, 79, 9, 61, 92, 10, 10, 10,
|
|
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
|
|
164, 818, 80, 10, 182, 164, 7, 7, 7, 7,
|
|
7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
|
|
7, 7, 7, 7, 7, 8, 8, 8, 10, 8,
|
|
87, 87, 87, 87, 87, 87, 87, 87, 87, 87,
|
|
88, 88, 88, 88, 88, 88, 101, 103, 282, 103,
|
|
103, 103, 182, 103, 103, 101, 152, 103, 108, 108,
|
|
108, 108, 108, 108, 108, 108, 108, 108, 143, 152,
|
|
143, 103, 103, 103, 282, 8, 8, 8, 8, 8,
|
|
|
|
8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
|
|
8, 8, 8, 8, 13, 13, 13, 13, 13, 13,
|
|
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
|
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
|
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
|
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
|
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
|
13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
|
|
13, 13, 13, 13, 21, 127, 156, 817, 83, 171,
|
|
171, 278, 156, 181, 21, 804, 127, 21, 21, 21,
|
|
|
|
21, 21, 21, 21, 21, 21, 21, 28, 83, 28,
|
|
28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
|
|
155, 183, 183, 28, 28, 28, 28, 28, 154, 278,
|
|
297, 58, 58, 155, 83, 58, 58, 125, 125, 125,
|
|
125, 125, 125, 181, 154, 28, 157, 28, 28, 28,
|
|
28, 28, 28, 34, 297, 58, 157, 518, 252, 34,
|
|
252, 518, 34, 34, 323, 34, 34, 34, 34, 34,
|
|
34, 34, 34, 34, 34, 34, 34, 34, 34, 58,
|
|
323, 34, 34, 34, 34, 34, 34, 34, 34, 34,
|
|
34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
|
|
|
|
34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
|
|
34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
|
|
34, 34, 34, 37, 37, 37, 37, 37, 37, 37,
|
|
37, 37, 37, 37, 223, 803, 248, 37, 37, 37,
|
|
37, 37, 251, 153, 242, 223, 37, 109, 109, 109,
|
|
109, 109, 109, 109, 109, 109, 109, 253, 242, 251,
|
|
313, 37, 37, 37, 37, 37, 37, 45, 45, 45,
|
|
45, 45, 253, 45, 45, 321, 321, 45, 123, 123,
|
|
123, 123, 123, 123, 123, 123, 123, 123, 153, 248,
|
|
110, 45, 45, 45, 46, 313, 46, 46, 46, 46,
|
|
|
|
46, 46, 46, 46, 46, 46, 49, 67, 67, 67,
|
|
110, 67, 314, 112, 800, 67, 49, 67, 314, 49,
|
|
49, 49, 49, 49, 49, 49, 49, 49, 49, 135,
|
|
255, 67, 67, 112, 135, 135, 110, 289, 135, 174,
|
|
135, 84, 174, 174, 255, 141, 141, 84, 289, 174,
|
|
84, 116, 116, 84, 84, 116, 116, 67, 185, 112,
|
|
443, 443, 178, 178, 174, 49, 68, 84, 249, 84,
|
|
186, 241, 241, 249, 241, 116, 68, 384, 185, 68,
|
|
68, 68, 68, 68, 68, 68, 68, 68, 68, 300,
|
|
186, 299, 84, 84, 85, 141, 299, 85, 85, 116,
|
|
|
|
85, 85, 85, 85, 185, 241, 85, 85, 113, 384,
|
|
113, 113, 178, 300, 113, 113, 186, 797, 113, 385,
|
|
85, 85, 85, 124, 124, 124, 124, 124, 124, 124,
|
|
124, 124, 124, 113, 113, 159, 159, 159, 159, 159,
|
|
159, 159, 159, 159, 159, 85, 85, 86, 320, 385,
|
|
86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
|
|
86, 86, 86, 86, 332, 334, 86, 86, 86, 86,
|
|
86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
|
|
86, 86, 86, 86, 86, 86, 86, 86, 332, 334,
|
|
86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
|
|
|
|
86, 86, 86, 86, 86, 86, 86, 89, 320, 89,
|
|
89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
|
|
286, 286, 286, 89, 89, 89, 89, 89, 274, 274,
|
|
115, 274, 115, 115, 115, 342, 115, 115, 342, 386,
|
|
115, 199, 199, 199, 199, 199, 199, 89, 89, 89,
|
|
89, 89, 89, 90, 115, 115, 115, 90, 90, 90,
|
|
90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
|
|
369, 386, 90, 90, 90, 90, 90, 90, 90, 90,
|
|
90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
|
|
90, 90, 90, 90, 369, 90, 90, 90, 90, 90,
|
|
|
|
90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
|
|
90, 90, 90, 93, 93, 93, 93, 93, 93, 93,
|
|
93, 93, 93, 93, 392, 374, 324, 93, 93, 93,
|
|
93, 93, 324, 356, 161, 161, 93, 207, 161, 161,
|
|
333, 795, 207, 207, 356, 333, 207, 145, 207, 374,
|
|
470, 93, 93, 93, 93, 93, 93, 99, 161, 99,
|
|
99, 99, 99, 99, 99, 99, 99, 99, 99, 118,
|
|
456, 118, 118, 118, 470, 118, 118, 145, 145, 118,
|
|
456, 145, 161, 218, 218, 218, 218, 218, 218, 145,
|
|
312, 392, 145, 118, 118, 118, 119, 119, 119, 119,
|
|
|
|
119, 119, 119, 119, 119, 119, 170, 170, 170, 170,
|
|
170, 170, 170, 170, 170, 170, 358, 358, 312, 163,
|
|
394, 163, 163, 163, 393, 163, 163, 786, 358, 163,
|
|
416, 394, 119, 120, 120, 120, 120, 120, 120, 120,
|
|
120, 120, 120, 163, 163, 163, 393, 120, 120, 120,
|
|
120, 120, 194, 194, 194, 194, 194, 194, 194, 194,
|
|
194, 194, 281, 281, 281, 281, 472, 444, 416, 444,
|
|
785, 120, 120, 120, 120, 120, 120, 128, 128, 128,
|
|
128, 128, 128, 128, 128, 128, 128, 128, 322, 475,
|
|
472, 128, 128, 128, 128, 128, 197, 197, 197, 197,
|
|
|
|
197, 197, 197, 197, 197, 197, 293, 293, 293, 293,
|
|
293, 293, 784, 475, 322, 128, 128, 128, 128, 128,
|
|
128, 129, 129, 129, 129, 129, 129, 129, 129, 129,
|
|
129, 129, 322, 546, 387, 129, 129, 129, 129, 129,
|
|
187, 311, 187, 187, 311, 189, 187, 187, 388, 449,
|
|
187, 189, 449, 388, 189, 360, 360, 189, 189, 129,
|
|
129, 129, 129, 129, 129, 187, 187, 360, 387, 462,
|
|
546, 189, 425, 189, 191, 311, 191, 191, 191, 462,
|
|
191, 191, 775, 425, 191, 198, 198, 198, 198, 198,
|
|
198, 198, 198, 198, 198, 429, 189, 189, 191, 191,
|
|
|
|
191, 192, 774, 461, 192, 192, 429, 192, 192, 192,
|
|
192, 193, 395, 192, 192, 193, 533, 395, 430, 430,
|
|
461, 193, 431, 431, 445, 447, 446, 192, 192, 192,
|
|
430, 446, 533, 446, 431, 193, 193, 214, 214, 214,
|
|
214, 214, 214, 214, 214, 214, 214, 459, 445, 447,
|
|
543, 772, 192, 192, 195, 195, 195, 195, 195, 195,
|
|
195, 195, 195, 195, 771, 543, 445, 447, 195, 195,
|
|
195, 195, 195, 215, 215, 215, 215, 215, 215, 215,
|
|
215, 215, 215, 329, 531, 329, 329, 329, 329, 329,
|
|
329, 476, 195, 195, 195, 195, 195, 195, 200, 528,
|
|
|
|
769, 459, 200, 200, 200, 200, 200, 200, 200, 200,
|
|
200, 200, 200, 200, 200, 476, 528, 200, 200, 200,
|
|
200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
|
200, 200, 200, 200, 200, 200, 200, 200, 200, 531,
|
|
200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
|
200, 200, 200, 200, 200, 200, 200, 200, 201, 201,
|
|
201, 201, 201, 201, 201, 201, 201, 201, 201, 581,
|
|
516, 581, 201, 201, 201, 201, 201, 217, 217, 217,
|
|
217, 217, 217, 217, 217, 217, 217, 366, 366, 366,
|
|
366, 366, 366, 450, 516, 451, 201, 201, 201, 201,
|
|
|
|
201, 201, 216, 768, 216, 216, 216, 216, 216, 216,
|
|
216, 216, 216, 216, 254, 448, 471, 450, 254, 451,
|
|
448, 471, 582, 582, 254, 290, 290, 290, 290, 290,
|
|
290, 290, 290, 290, 290, 450, 767, 451, 254, 254,
|
|
216, 219, 460, 219, 219, 219, 219, 219, 219, 219,
|
|
219, 219, 219, 460, 520, 524, 526, 219, 219, 219,
|
|
219, 219, 292, 292, 292, 292, 292, 292, 292, 292,
|
|
292, 292, 439, 439, 439, 439, 439, 439, 520, 524,
|
|
526, 219, 219, 219, 219, 219, 219, 222, 222, 222,
|
|
222, 222, 222, 222, 222, 222, 222, 222, 635, 635,
|
|
|
|
534, 222, 222, 222, 222, 222, 325, 325, 325, 325,
|
|
325, 325, 325, 325, 325, 325, 467, 534, 467, 467,
|
|
467, 467, 467, 467, 757, 222, 222, 222, 222, 222,
|
|
222, 224, 224, 224, 224, 224, 224, 224, 224, 224,
|
|
224, 224, 224, 584, 604, 584, 224, 224, 224, 224,
|
|
224, 357, 357, 357, 357, 357, 357, 357, 357, 357,
|
|
357, 484, 484, 484, 484, 484, 484, 591, 604, 591,
|
|
224, 224, 224, 224, 224, 224, 225, 225, 225, 225,
|
|
225, 225, 225, 225, 225, 225, 225, 585, 636, 636,
|
|
225, 225, 225, 225, 225, 359, 359, 359, 359, 359,
|
|
|
|
359, 359, 359, 359, 359, 491, 491, 491, 491, 491,
|
|
491, 585, 643, 643, 225, 225, 225, 225, 225, 225,
|
|
226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
|
|
226, 651, 651, 585, 226, 226, 226, 226, 226, 363,
|
|
363, 363, 363, 363, 363, 363, 363, 609, 609, 609,
|
|
419, 363, 419, 419, 419, 419, 419, 419, 226, 226,
|
|
226, 226, 226, 226, 259, 756, 259, 259, 259, 259,
|
|
259, 259, 259, 259, 259, 259, 260, 260, 260, 260,
|
|
260, 260, 260, 260, 260, 260, 260, 642, 419, 642,
|
|
260, 260, 260, 260, 260, 365, 365, 365, 365, 365,
|
|
|
|
365, 365, 365, 365, 365, 498, 747, 498, 498, 498,
|
|
498, 498, 498, 745, 260, 260, 260, 260, 260, 260,
|
|
262, 262, 262, 262, 262, 262, 262, 262, 262, 262,
|
|
549, 549, 549, 549, 262, 262, 262, 262, 262, 432,
|
|
432, 432, 432, 432, 432, 432, 432, 432, 432, 510,
|
|
510, 510, 510, 510, 510, 694, 694, 744, 262, 262,
|
|
262, 262, 262, 262, 277, 277, 277, 277, 277, 277,
|
|
277, 277, 277, 277, 433, 433, 436, 436, 436, 436,
|
|
436, 436, 436, 436, 700, 700, 433, 555, 436, 438,
|
|
438, 438, 438, 438, 438, 438, 438, 438, 438, 555,
|
|
|
|
277, 285, 285, 285, 285, 285, 285, 285, 285, 285,
|
|
285, 285, 291, 291, 291, 291, 291, 291, 291, 291,
|
|
291, 291, 291, 291, 291, 703, 703, 645, 291, 291,
|
|
291, 291, 291, 463, 463, 463, 463, 463, 463, 463,
|
|
463, 463, 463, 515, 522, 583, 586, 743, 522, 515,
|
|
583, 645, 291, 291, 291, 291, 291, 291, 294, 294,
|
|
294, 294, 294, 294, 294, 294, 294, 294, 294, 294,
|
|
586, 590, 590, 294, 294, 294, 294, 294, 483, 483,
|
|
483, 483, 483, 483, 483, 483, 483, 483, 640, 644,
|
|
731, 640, 586, 499, 644, 753, 753, 294, 294, 294,
|
|
|
|
294, 294, 294, 295, 499, 295, 295, 295, 295, 295,
|
|
295, 295, 295, 295, 295, 330, 330, 330, 330, 330,
|
|
330, 330, 330, 330, 330, 705, 590, 647, 660, 330,
|
|
330, 330, 330, 330, 488, 488, 488, 488, 488, 488,
|
|
488, 488, 488, 488, 561, 561, 561, 561, 561, 561,
|
|
730, 647, 660, 330, 330, 330, 330, 330, 330, 331,
|
|
331, 331, 331, 331, 331, 331, 331, 331, 331, 699,
|
|
650, 699, 653, 331, 331, 331, 331, 331, 490, 490,
|
|
490, 490, 490, 490, 490, 490, 490, 490, 653, 705,
|
|
782, 782, 650, 500, 650, 650, 728, 331, 331, 331,
|
|
|
|
331, 331, 331, 346, 500, 346, 346, 346, 346, 346,
|
|
346, 346, 346, 346, 346, 347, 615, 347, 347, 347,
|
|
347, 347, 347, 347, 347, 347, 347, 348, 615, 348,
|
|
348, 348, 348, 348, 348, 348, 348, 348, 348, 351,
|
|
351, 351, 351, 351, 351, 351, 351, 351, 351, 351,
|
|
361, 361, 361, 361, 361, 361, 361, 361, 361, 361,
|
|
361, 361, 361, 801, 801, 641, 361, 361, 361, 361,
|
|
361, 494, 494, 494, 494, 494, 494, 494, 494, 494,
|
|
494, 578, 578, 578, 578, 578, 578, 665, 669, 641,
|
|
361, 361, 361, 361, 361, 361, 364, 364, 364, 364,
|
|
|
|
364, 364, 364, 364, 364, 364, 364, 364, 364, 501,
|
|
501, 641, 364, 364, 364, 364, 364, 502, 502, 504,
|
|
504, 501, 514, 519, 523, 665, 669, 902, 902, 502,
|
|
696, 504, 514, 519, 727, 523, 364, 364, 364, 364,
|
|
364, 364, 367, 367, 367, 367, 367, 367, 367, 367,
|
|
367, 367, 367, 367, 696, 720, 661, 367, 367, 367,
|
|
367, 367, 503, 503, 503, 503, 503, 503, 503, 503,
|
|
503, 503, 624, 624, 624, 624, 624, 624, 532, 652,
|
|
661, 367, 367, 367, 367, 367, 367, 368, 532, 368,
|
|
368, 368, 368, 368, 368, 368, 368, 368, 368, 398,
|
|
|
|
661, 398, 398, 398, 398, 398, 398, 398, 398, 398,
|
|
398, 399, 399, 399, 399, 399, 399, 399, 399, 399,
|
|
399, 668, 668, 668, 668, 399, 399, 399, 399, 399,
|
|
507, 507, 507, 507, 507, 507, 507, 507, 652, 903,
|
|
903, 631, 507, 631, 631, 631, 631, 631, 631, 399,
|
|
399, 399, 399, 399, 399, 415, 415, 415, 415, 415,
|
|
415, 415, 415, 415, 415, 509, 509, 509, 509, 509,
|
|
509, 509, 509, 509, 509, 552, 552, 552, 552, 552,
|
|
552, 552, 552, 552, 552, 659, 718, 659, 659, 659,
|
|
717, 415, 417, 616, 417, 417, 417, 417, 417, 417,
|
|
|
|
417, 417, 417, 417, 418, 616, 418, 418, 418, 418,
|
|
418, 418, 418, 418, 418, 418, 424, 424, 424, 424,
|
|
424, 424, 424, 424, 424, 424, 424, 721, 748, 759,
|
|
424, 424, 424, 424, 424, 554, 554, 554, 554, 554,
|
|
554, 554, 554, 554, 554, 751, 844, 751, 762, 844,
|
|
567, 721, 748, 759, 424, 424, 424, 424, 424, 424,
|
|
428, 567, 428, 428, 428, 428, 428, 428, 428, 428,
|
|
428, 428, 434, 434, 434, 434, 434, 434, 434, 434,
|
|
434, 434, 434, 434, 434, 592, 762, 662, 434, 434,
|
|
434, 434, 434, 558, 618, 558, 558, 558, 558, 558,
|
|
|
|
558, 847, 847, 847, 716, 558, 618, 592, 713, 592,
|
|
592, 662, 434, 434, 434, 434, 434, 434, 437, 437,
|
|
437, 437, 437, 437, 437, 437, 437, 437, 437, 437,
|
|
437, 711, 662, 592, 437, 437, 437, 437, 437, 560,
|
|
560, 560, 560, 560, 560, 560, 560, 560, 560, 598,
|
|
598, 598, 598, 598, 598, 598, 807, 706, 437, 437,
|
|
437, 437, 437, 437, 440, 440, 440, 440, 440, 440,
|
|
440, 440, 440, 440, 440, 440, 568, 569, 569, 440,
|
|
440, 440, 440, 440, 570, 570, 632, 568, 633, 569,
|
|
572, 572, 856, 702, 807, 856, 570, 632, 677, 633,
|
|
|
|
698, 750, 572, 440, 440, 440, 440, 440, 440, 441,
|
|
677, 441, 441, 441, 441, 441, 441, 441, 441, 441,
|
|
441, 442, 914, 914, 698, 750, 873, 442, 873, 936,
|
|
442, 442, 936, 442, 442, 442, 442, 442, 442, 442,
|
|
442, 442, 442, 442, 442, 442, 698, 750, 701, 442,
|
|
442, 442, 442, 442, 442, 442, 442, 442, 442, 442,
|
|
442, 442, 442, 442, 442, 442, 442, 442, 442, 442,
|
|
442, 442, 442, 442, 442, 442, 442, 442, 442, 442,
|
|
442, 442, 442, 442, 442, 442, 442, 442, 442, 442,
|
|
442, 482, 482, 482, 482, 482, 482, 482, 482, 482,
|
|
|
|
482, 482, 575, 575, 575, 575, 575, 575, 575, 575,
|
|
864, 864, 864, 678, 575, 577, 577, 577, 577, 577,
|
|
577, 577, 577, 577, 577, 678, 933, 933, 482, 489,
|
|
680, 489, 489, 489, 489, 489, 489, 489, 489, 489,
|
|
489, 489, 680, 695, 722, 489, 489, 489, 489, 489,
|
|
594, 594, 594, 594, 594, 594, 594, 594, 594, 594,
|
|
639, 639, 639, 639, 639, 639, 639, 639, 722, 489,
|
|
489, 489, 489, 489, 489, 492, 492, 492, 492, 492,
|
|
492, 492, 492, 492, 492, 492, 779, 788, 722, 492,
|
|
492, 492, 492, 492, 607, 607, 607, 607, 607, 607,
|
|
|
|
607, 607, 607, 607, 874, 885, 874, 885, 634, 634,
|
|
779, 788, 693, 492, 492, 492, 492, 492, 492, 493,
|
|
634, 493, 493, 493, 493, 493, 493, 493, 493, 493,
|
|
493, 505, 505, 505, 505, 505, 505, 505, 505, 505,
|
|
505, 505, 505, 505, 798, 723, 690, 505, 505, 505,
|
|
505, 505, 608, 608, 608, 608, 608, 608, 608, 608,
|
|
608, 608, 654, 689, 654, 654, 654, 663, 798, 723,
|
|
676, 505, 505, 505, 505, 505, 505, 508, 508, 508,
|
|
508, 508, 508, 508, 508, 508, 508, 508, 508, 508,
|
|
723, 663, 760, 508, 508, 508, 508, 508, 617, 617,
|
|
|
|
617, 617, 617, 617, 617, 617, 617, 617, 663, 934,
|
|
934, 655, 654, 655, 655, 655, 760, 508, 508, 508,
|
|
508, 508, 508, 511, 511, 511, 511, 511, 511, 511,
|
|
511, 511, 511, 511, 675, 781, 760, 673, 511, 511,
|
|
511, 511, 511, 621, 732, 621, 621, 621, 621, 621,
|
|
621, 886, 890, 886, 890, 621, 732, 672, 692, 781,
|
|
671, 655, 511, 511, 511, 511, 511, 511, 512, 692,
|
|
512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
|
513, 781, 891, 895, 891, 895, 513, 712, 712, 513,
|
|
513, 712, 513, 513, 513, 513, 513, 513, 513, 513,
|
|
|
|
513, 513, 513, 513, 513, 712, 712, 712, 513, 513,
|
|
513, 513, 513, 513, 513, 513, 513, 513, 513, 513,
|
|
513, 513, 513, 513, 513, 513, 513, 513, 513, 513,
|
|
513, 513, 513, 513, 513, 513, 513, 513, 513, 513,
|
|
513, 513, 513, 513, 513, 513, 513, 513, 513, 513,
|
|
537, 537, 537, 537, 537, 537, 537, 537, 537, 537,
|
|
537, 542, 657, 656, 733, 542, 542, 542, 542, 542,
|
|
542, 542, 542, 542, 542, 542, 733, 542, 649, 630,
|
|
542, 542, 542, 542, 542, 542, 542, 542, 542, 542,
|
|
542, 542, 542, 542, 542, 542, 542, 542, 542, 542,
|
|
|
|
542, 542, 629, 542, 542, 542, 542, 542, 542, 542,
|
|
542, 542, 542, 542, 542, 542, 542, 542, 542, 542,
|
|
542, 545, 545, 545, 545, 545, 545, 545, 545, 545,
|
|
545, 623, 623, 623, 623, 623, 623, 623, 623, 623,
|
|
623, 627, 627, 627, 627, 627, 627, 627, 627, 627,
|
|
627, 686, 686, 686, 686, 686, 686, 545, 547, 547,
|
|
547, 547, 547, 547, 547, 547, 547, 547, 547, 670,
|
|
670, 670, 670, 670, 670, 670, 670, 670, 670, 674,
|
|
628, 674, 674, 674, 674, 674, 674, 719, 614, 719,
|
|
719, 719, 719, 719, 719, 547, 556, 735, 556, 556,
|
|
|
|
556, 556, 556, 556, 556, 556, 556, 556, 556, 735,
|
|
612, 611, 556, 556, 556, 556, 556, 679, 679, 679,
|
|
679, 679, 679, 679, 679, 679, 679, 707, 610, 707,
|
|
707, 707, 898, 908, 898, 908, 556, 556, 556, 556,
|
|
556, 556, 559, 773, 559, 559, 559, 559, 559, 559,
|
|
559, 559, 559, 559, 559, 773, 602, 601, 559, 559,
|
|
559, 559, 559, 683, 600, 683, 683, 683, 683, 683,
|
|
683, 909, 917, 909, 917, 683, 918, 707, 918, 921,
|
|
599, 921, 559, 559, 559, 559, 559, 559, 562, 562,
|
|
562, 562, 562, 562, 562, 562, 562, 562, 562, 927,
|
|
|
|
597, 927, 562, 562, 562, 562, 562, 685, 685, 685,
|
|
685, 685, 685, 685, 685, 685, 685, 596, 928, 708,
|
|
928, 708, 708, 708, 595, 593, 562, 562, 562, 562,
|
|
562, 562, 563, 589, 563, 563, 563, 563, 563, 563,
|
|
563, 563, 563, 563, 566, 588, 566, 566, 566, 566,
|
|
566, 566, 566, 566, 566, 566, 573, 573, 573, 573,
|
|
573, 573, 573, 573, 573, 573, 573, 573, 573, 708,
|
|
587, 571, 573, 573, 573, 573, 573, 709, 565, 709,
|
|
709, 709, 710, 564, 710, 710, 710, 741, 741, 741,
|
|
741, 741, 741, 930, 551, 930, 573, 573, 573, 573,
|
|
|
|
573, 573, 576, 576, 576, 576, 576, 576, 576, 576,
|
|
576, 576, 576, 576, 938, 939, 938, 939, 576, 576,
|
|
576, 576, 576, 942, 550, 544, 942, 709, 541, 943,
|
|
942, 943, 710, 746, 746, 746, 746, 746, 746, 746,
|
|
540, 539, 576, 576, 576, 576, 576, 576, 579, 538,
|
|
579, 579, 579, 579, 579, 579, 579, 579, 579, 579,
|
|
580, 714, 536, 714, 714, 714, 580, 714, 714, 580,
|
|
580, 714, 580, 580, 580, 580, 580, 580, 580, 580,
|
|
580, 580, 580, 580, 580, 714, 714, 714, 580, 580,
|
|
580, 580, 580, 580, 580, 580, 580, 580, 580, 580,
|
|
|
|
580, 580, 580, 580, 580, 580, 580, 580, 580, 580,
|
|
580, 580, 580, 580, 580, 580, 580, 580, 580, 580,
|
|
580, 580, 580, 580, 580, 580, 580, 580, 580, 580,
|
|
603, 770, 535, 770, 770, 770, 770, 770, 770, 603,
|
|
944, 530, 944, 603, 603, 603, 603, 603, 603, 603,
|
|
603, 603, 603, 603, 603, 603, 529, 497, 603, 603,
|
|
603, 603, 603, 603, 603, 603, 603, 603, 603, 603,
|
|
603, 603, 603, 603, 603, 603, 603, 603, 603, 603,
|
|
496, 603, 603, 603, 603, 603, 603, 603, 603, 603,
|
|
603, 603, 603, 603, 603, 603, 603, 603, 603, 606,
|
|
|
|
495, 606, 606, 606, 606, 606, 606, 606, 606, 606,
|
|
606, 715, 715, 715, 715, 715, 715, 715, 715, 715,
|
|
715, 734, 734, 734, 734, 734, 734, 734, 734, 734,
|
|
734, 814, 814, 814, 814, 814, 814, 606, 613, 487,
|
|
613, 613, 613, 613, 613, 613, 613, 613, 613, 613,
|
|
619, 486, 619, 619, 619, 619, 619, 619, 619, 619,
|
|
619, 619, 619, 949, 485, 949, 619, 619, 619, 619,
|
|
619, 738, 481, 738, 738, 738, 738, 738, 738, 950,
|
|
474, 950, 778, 738, 778, 778, 778, 778, 778, 778,
|
|
619, 619, 619, 619, 619, 619, 622, 473, 622, 622,
|
|
|
|
622, 622, 622, 622, 622, 622, 622, 622, 622, 469,
|
|
468, 466, 622, 622, 622, 622, 622, 740, 740, 740,
|
|
740, 740, 740, 740, 740, 740, 740, 787, 465, 787,
|
|
787, 787, 787, 787, 787, 464, 622, 622, 622, 622,
|
|
622, 622, 625, 625, 625, 625, 625, 625, 625, 625,
|
|
625, 625, 625, 458, 457, 455, 625, 625, 625, 625,
|
|
625, 754, 754, 754, 754, 754, 754, 754, 754, 754,
|
|
754, 454, 765, 453, 765, 765, 765, 765, 765, 765,
|
|
625, 625, 625, 625, 625, 625, 626, 452, 626, 626,
|
|
626, 626, 626, 626, 626, 626, 626, 626, 637, 637,
|
|
|
|
637, 637, 637, 637, 637, 637, 637, 637, 637, 637,
|
|
765, 427, 426, 423, 637, 637, 637, 637, 637, 755,
|
|
755, 755, 755, 755, 755, 755, 755, 755, 755, 820,
|
|
422, 820, 820, 820, 820, 820, 820, 421, 637, 637,
|
|
637, 637, 637, 637, 658, 420, 658, 658, 658, 658,
|
|
658, 658, 658, 658, 658, 658, 664, 664, 664, 664,
|
|
664, 664, 664, 664, 664, 664, 766, 766, 766, 766,
|
|
766, 766, 766, 766, 766, 766, 783, 783, 783, 783,
|
|
783, 783, 783, 783, 783, 783, 832, 832, 832, 832,
|
|
832, 832, 664, 666, 414, 666, 666, 666, 666, 666,
|
|
|
|
666, 666, 666, 666, 666, 792, 792, 792, 792, 792,
|
|
792, 792, 792, 792, 792, 793, 793, 793, 793, 793,
|
|
793, 793, 793, 793, 793, 413, 948, 412, 411, 948,
|
|
410, 666, 681, 948, 681, 681, 681, 681, 681, 681,
|
|
681, 681, 681, 681, 681, 409, 408, 407, 681, 681,
|
|
681, 681, 681, 794, 794, 794, 794, 794, 794, 794,
|
|
794, 794, 794, 810, 406, 810, 810, 810, 810, 810,
|
|
810, 405, 681, 681, 681, 681, 681, 681, 684, 404,
|
|
684, 684, 684, 684, 684, 684, 684, 684, 684, 684,
|
|
684, 403, 402, 401, 684, 684, 684, 684, 684, 400,
|
|
|
|
397, 810, 812, 812, 812, 812, 812, 812, 812, 812,
|
|
812, 812, 396, 391, 390, 389, 383, 381, 684, 684,
|
|
684, 684, 684, 684, 687, 687, 687, 687, 687, 687,
|
|
687, 687, 687, 687, 380, 379, 378, 377, 687, 687,
|
|
687, 687, 687, 813, 813, 813, 813, 813, 813, 813,
|
|
813, 813, 813, 376, 373, 372, 829, 829, 829, 829,
|
|
829, 829, 687, 687, 687, 687, 687, 687, 688, 371,
|
|
688, 688, 688, 688, 688, 688, 688, 688, 688, 688,
|
|
691, 691, 691, 691, 691, 691, 691, 691, 691, 691,
|
|
691, 724, 829, 724, 724, 724, 724, 724, 724, 724,
|
|
|
|
724, 724, 724, 725, 355, 725, 725, 725, 725, 725,
|
|
725, 725, 725, 725, 725, 726, 354, 726, 726, 726,
|
|
726, 726, 726, 726, 726, 726, 726, 729, 353, 729,
|
|
729, 729, 729, 729, 729, 729, 729, 729, 729, 736,
|
|
352, 736, 736, 736, 736, 736, 736, 736, 736, 736,
|
|
736, 736, 350, 349, 345, 736, 736, 736, 736, 736,
|
|
816, 816, 816, 816, 816, 816, 816, 816, 816, 816,
|
|
344, 343, 341, 340, 339, 338, 337, 336, 335, 736,
|
|
736, 736, 736, 736, 736, 739, 328, 739, 739, 739,
|
|
739, 739, 739, 739, 739, 739, 739, 327, 326, 319,
|
|
|
|
318, 739, 739, 739, 739, 739, 824, 824, 824, 824,
|
|
824, 824, 824, 824, 824, 824, 317, 316, 315, 309,
|
|
307, 306, 305, 304, 303, 739, 739, 739, 739, 739,
|
|
739, 758, 302, 758, 758, 758, 758, 758, 758, 758,
|
|
758, 758, 758, 761, 301, 761, 761, 761, 761, 761,
|
|
761, 761, 761, 761, 761, 763, 298, 763, 763, 763,
|
|
763, 763, 763, 763, 763, 763, 763, 764, 296, 764,
|
|
764, 764, 764, 764, 764, 764, 764, 764, 764, 776,
|
|
288, 776, 776, 776, 776, 776, 776, 776, 776, 776,
|
|
776, 789, 287, 789, 789, 789, 789, 789, 789, 789,
|
|
|
|
789, 789, 789, 790, 284, 790, 790, 790, 790, 790,
|
|
790, 790, 790, 790, 790, 791, 283, 791, 791, 791,
|
|
791, 791, 791, 791, 791, 791, 791, 805, 276, 805,
|
|
805, 805, 805, 805, 805, 805, 805, 805, 805, 806,
|
|
275, 806, 806, 806, 806, 806, 806, 806, 806, 806,
|
|
806, 808, 273, 808, 808, 808, 808, 808, 808, 808,
|
|
808, 808, 808, 809, 272, 809, 809, 809, 809, 809,
|
|
809, 809, 809, 809, 809, 821, 821, 821, 821, 821,
|
|
821, 821, 821, 821, 821, 825, 825, 825, 825, 825,
|
|
825, 825, 825, 825, 825, 826, 826, 826, 826, 826,
|
|
|
|
826, 826, 826, 826, 826, 271, 270, 269, 268, 267,
|
|
266, 821, 822, 822, 822, 822, 822, 822, 822, 822,
|
|
822, 822, 831, 831, 831, 831, 831, 831, 831, 831,
|
|
831, 831, 265, 264, 261, 258, 257, 256, 250, 247,
|
|
246, 245, 244, 243, 240, 239, 238, 237, 822, 823,
|
|
823, 823, 823, 823, 823, 823, 823, 823, 823, 236,
|
|
235, 234, 233, 232, 231, 230, 229, 228, 227, 221,
|
|
220, 213, 212, 211, 210, 209, 208, 206, 205, 204,
|
|
202, 196, 188, 184, 180, 823, 828, 828, 828, 828,
|
|
828, 828, 828, 828, 828, 828, 179, 177, 173, 166,
|
|
|
|
162, 160, 158, 150, 149, 148, 147, 146, 140, 139,
|
|
138, 137, 136, 134, 133, 132, 131, 130, 126, 122,
|
|
121, 117, 828, 834, 834, 834, 834, 834, 834, 834,
|
|
834, 834, 834, 834, 834, 834, 834, 834, 834, 834,
|
|
834, 834, 834, 834, 835, 835, 835, 835, 835, 835,
|
|
835, 835, 835, 835, 835, 835, 835, 835, 835, 835,
|
|
835, 835, 835, 835, 835, 836, 836, 836, 836, 836,
|
|
836, 836, 836, 836, 836, 836, 836, 836, 836, 836,
|
|
836, 836, 836, 836, 836, 836, 837, 837, 837, 837,
|
|
837, 837, 837, 837, 837, 837, 837, 837, 837, 837,
|
|
|
|
837, 837, 837, 837, 837, 837, 837, 838, 114, 111,
|
|
106, 105, 104, 102, 838, 98, 838, 838, 838, 838,
|
|
97, 96, 838, 838, 838, 838, 838, 838, 839, 839,
|
|
839, 839, 839, 839, 839, 839, 839, 839, 839, 839,
|
|
839, 839, 839, 839, 839, 839, 839, 839, 839, 840,
|
|
95, 94, 91, 78, 840, 71, 840, 64, 840, 840,
|
|
840, 840, 840, 60, 840, 840, 840, 840, 840, 840,
|
|
841, 59, 57, 56, 54, 52, 44, 841, 43, 841,
|
|
841, 841, 841, 42, 40, 841, 841, 841, 841, 841,
|
|
841, 842, 39, 35, 842, 842, 31, 842, 842, 25,
|
|
|
|
842, 842, 842, 842, 19, 17, 842, 842, 842, 842,
|
|
842, 842, 843, 843, 16, 843, 15, 0, 0, 843,
|
|
845, 0, 0, 845, 845, 0, 845, 845, 0, 845,
|
|
845, 845, 845, 0, 0, 845, 845, 845, 845, 845,
|
|
845, 846, 0, 0, 846, 846, 0, 846, 846, 0,
|
|
846, 846, 846, 846, 0, 846, 846, 846, 0, 846,
|
|
846, 846, 848, 0, 0, 848, 0, 0, 848, 848,
|
|
0, 848, 848, 848, 848, 848, 0, 848, 848, 848,
|
|
848, 848, 848, 849, 849, 849, 849, 849, 849, 849,
|
|
849, 849, 849, 849, 849, 849, 849, 849, 849, 849,
|
|
|
|
849, 849, 849, 849, 850, 850, 0, 850, 0, 850,
|
|
850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
|
|
850, 850, 850, 850, 850, 851, 0, 0, 0, 0,
|
|
851, 0, 851, 0, 851, 851, 851, 851, 851, 0,
|
|
851, 851, 851, 851, 851, 851, 852, 0, 0, 0,
|
|
0, 0, 0, 852, 0, 852, 852, 852, 852, 0,
|
|
852, 852, 852, 852, 852, 852, 852, 853, 0, 0,
|
|
853, 853, 0, 853, 853, 0, 853, 853, 853, 853,
|
|
0, 853, 853, 853, 853, 853, 853, 853, 854, 854,
|
|
854, 854, 854, 854, 854, 854, 854, 854, 854, 854,
|
|
|
|
854, 854, 854, 854, 854, 854, 854, 854, 854, 855,
|
|
855, 0, 855, 855, 855, 855, 855, 855, 855, 855,
|
|
855, 855, 855, 855, 855, 855, 855, 855, 855, 855,
|
|
857, 0, 0, 857, 857, 0, 857, 857, 0, 857,
|
|
857, 857, 857, 0, 0, 857, 857, 857, 857, 857,
|
|
857, 858, 858, 0, 858, 0, 0, 0, 858, 859,
|
|
859, 0, 859, 0, 0, 0, 859, 860, 860, 860,
|
|
0, 860, 0, 0, 0, 860, 861, 0, 0, 861,
|
|
861, 0, 861, 861, 0, 861, 861, 861, 861, 0,
|
|
0, 861, 861, 861, 861, 861, 861, 862, 0, 0,
|
|
|
|
862, 862, 0, 862, 862, 0, 862, 862, 862, 862,
|
|
0, 0, 862, 862, 862, 862, 862, 862, 863, 0,
|
|
0, 863, 863, 0, 863, 863, 0, 863, 863, 863,
|
|
863, 0, 863, 863, 863, 0, 863, 863, 863, 865,
|
|
0, 0, 865, 0, 0, 865, 865, 0, 865, 865,
|
|
865, 865, 865, 0, 865, 865, 865, 865, 865, 865,
|
|
866, 0, 0, 0, 0, 0, 0, 866, 0, 866,
|
|
866, 866, 866, 0, 0, 866, 866, 866, 866, 866,
|
|
866, 867, 0, 0, 0, 0, 0, 0, 867, 0,
|
|
867, 867, 867, 867, 0, 867, 867, 867, 867, 867,
|
|
|
|
867, 867, 868, 0, 0, 868, 868, 0, 868, 868,
|
|
0, 868, 868, 868, 868, 0, 868, 868, 868, 868,
|
|
868, 868, 868, 869, 0, 0, 869, 869, 0, 869,
|
|
870, 870, 870, 870, 870, 870, 870, 870, 870, 870,
|
|
870, 870, 870, 870, 870, 870, 870, 870, 870, 870,
|
|
870, 871, 871, 0, 871, 0, 0, 0, 871, 872,
|
|
872, 872, 0, 872, 0, 0, 0, 872, 875, 875,
|
|
0, 875, 0, 0, 0, 875, 876, 876, 0, 876,
|
|
0, 0, 0, 876, 877, 877, 0, 877, 0, 0,
|
|
0, 877, 878, 878, 878, 0, 878, 0, 0, 0,
|
|
|
|
878, 879, 0, 0, 879, 879, 0, 879, 880, 880,
|
|
0, 880, 0, 0, 0, 880, 881, 881, 0, 881,
|
|
0, 0, 0, 881, 882, 882, 0, 882, 0, 0,
|
|
0, 882, 883, 883, 883, 0, 883, 0, 0, 0,
|
|
883, 884, 884, 884, 884, 0, 884, 0, 0, 0,
|
|
884, 887, 887, 0, 887, 0, 0, 0, 887, 888,
|
|
888, 0, 888, 0, 0, 0, 888, 889, 889, 0,
|
|
889, 0, 0, 0, 889, 892, 892, 892, 0, 892,
|
|
0, 0, 0, 892, 893, 893, 893, 893, 0, 893,
|
|
0, 0, 0, 893, 894, 894, 894, 894, 894, 894,
|
|
|
|
894, 894, 894, 894, 894, 894, 894, 894, 894, 894,
|
|
894, 894, 894, 894, 894, 896, 896, 0, 896, 0,
|
|
0, 0, 896, 897, 897, 0, 897, 0, 0, 0,
|
|
897, 899, 899, 899, 0, 899, 0, 0, 0, 899,
|
|
900, 900, 900, 900, 0, 900, 0, 0, 0, 900,
|
|
901, 901, 901, 901, 901, 901, 901, 901, 901, 901,
|
|
901, 901, 901, 901, 901, 901, 901, 901, 901, 901,
|
|
901, 904, 0, 0, 904, 904, 0, 904, 905, 0,
|
|
0, 0, 905, 905, 0, 905, 905, 905, 0, 0,
|
|
905, 905, 906, 906, 0, 906, 0, 0, 0, 906,
|
|
|
|
907, 0, 907, 907, 0, 907, 0, 0, 0, 907,
|
|
910, 910, 910, 0, 910, 0, 0, 0, 910, 911,
|
|
911, 911, 911, 0, 911, 0, 0, 0, 911, 912,
|
|
912, 0, 0, 912, 0, 0, 0, 912, 913, 913,
|
|
913, 913, 913, 913, 913, 913, 913, 913, 913, 913,
|
|
913, 913, 913, 913, 913, 913, 913, 913, 913, 915,
|
|
0, 0, 915, 915, 0, 915, 916, 0, 0, 0,
|
|
916, 916, 0, 916, 916, 916, 0, 0, 916, 916,
|
|
919, 919, 0, 919, 0, 0, 0, 919, 920, 0,
|
|
920, 920, 0, 920, 0, 0, 0, 920, 922, 922,
|
|
|
|
922, 0, 922, 0, 0, 0, 922, 923, 923, 923,
|
|
0, 0, 923, 0, 0, 0, 923, 924, 924, 924,
|
|
924, 924, 924, 924, 924, 924, 924, 924, 924, 924,
|
|
924, 924, 924, 924, 924, 924, 924, 924, 925, 925,
|
|
0, 925, 925, 925, 0, 925, 0, 925, 925, 925,
|
|
925, 0, 0, 925, 925, 925, 925, 925, 925, 926,
|
|
926, 0, 926, 926, 926, 0, 926, 0, 926, 926,
|
|
926, 926, 0, 0, 926, 926, 926, 926, 926, 926,
|
|
929, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 929, 929, 0, 929, 929, 0, 929, 931, 931,
|
|
|
|
0, 931, 0, 0, 0, 931, 932, 0, 932, 932,
|
|
0, 932, 0, 0, 0, 932, 935, 935, 0, 0,
|
|
935, 0, 0, 0, 935, 937, 0, 0, 0, 0,
|
|
0, 0, 937, 0, 937, 937, 937, 937, 0, 0,
|
|
937, 937, 937, 937, 937, 937, 940, 940, 0, 940,
|
|
0, 0, 0, 940, 941, 0, 941, 941, 0, 941,
|
|
0, 0, 0, 941, 945, 945, 0, 945, 0, 0,
|
|
0, 945, 946, 0, 946, 0, 0, 946, 0, 0,
|
|
0, 946, 947, 947, 947, 947, 947, 947, 947, 947,
|
|
947, 947, 947, 947, 947, 947, 947, 947, 947, 947,
|
|
|
|
947, 947, 947, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833, 833, 833, 833, 833, 833, 833,
|
|
833, 833, 833, 833
|
|
} ;
|
|
|
|
static yy_state_type yy_last_accepting_state;
|
|
static char *yy_last_accepting_cpos;
|
|
|
|
/* The intent behind this definition is that it'll catch
|
|
* any uses of REJECT which flex missed.
|
|
*/
|
|
#define REJECT reject_used_but_not_detected
|
|
#define yymore() yymore_used_but_not_detected
|
|
#define YY_MORE_ADJ 0
|
|
#define YY_RESTORE_YY_MORE_OFFSET
|
|
char *yytext;
|
|
#line 1 "toke.l"
|
|
#define INITIAL 0
|
|
#line 2 "toke.l"
|
|
/*
|
|
* Copyright (c) 1996, 1998-2005, 2007-2015
|
|
* Todd C. Miller <Todd.Miller@courtesan.com>
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
* 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.
|
|
*
|
|
* Sponsored in part by the Defense Advanced Research Projects
|
|
* Agency (DARPA) and Air Force Research Laboratory, Air Force
|
|
* Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#ifdef HAVE_STRING_H
|
|
# include <string.h>
|
|
#endif /* HAVE_STRING_H */
|
|
#ifdef HAVE_STRINGS_H
|
|
# include <strings.h>
|
|
#endif /* HAVE_STRINGS_H */
|
|
#if defined(HAVE_STDINT_H)
|
|
# include <stdint.h>
|
|
#elif defined(HAVE_INTTYPES_H)
|
|
# include <inttypes.h>
|
|
#endif
|
|
#include <unistd.h>
|
|
#include <dirent.h>
|
|
#include <errno.h>
|
|
#include <ctype.h>
|
|
#include "sudoers.h"
|
|
#include "parse.h"
|
|
#include "toke.h"
|
|
#include <gram.h>
|
|
#include "sudo_lbuf.h"
|
|
|
|
#ifdef HAVE_SHA224UPDATE
|
|
# include <sha2.h>
|
|
#else
|
|
# include "compat/sha2.h"
|
|
#endif
|
|
|
|
#if defined(HAVE_STRUCT_DIRENT_D_NAMLEN) && HAVE_STRUCT_DIRENT_D_NAMLEN
|
|
# define NAMLEN(dirent) (dirent)->d_namlen
|
|
#else
|
|
# define NAMLEN(dirent) strlen((dirent)->d_name)
|
|
#endif
|
|
|
|
int sudolineno; /* current sudoers line number. */
|
|
int last_token; /* last token that was parsed. */
|
|
char *sudoers; /* sudoers file being parsed. */
|
|
|
|
/* Default sudoers path, mode and owner (may be set via sudo.conf) */
|
|
const char *sudoers_file = _PATH_SUDOERS;
|
|
mode_t sudoers_mode = SUDOERS_MODE;
|
|
uid_t sudoers_uid = SUDOERS_UID;
|
|
gid_t sudoers_gid = SUDOERS_GID;
|
|
|
|
static bool continued, sawspace;
|
|
static int prev_state;
|
|
static int digest_len;
|
|
|
|
static bool push_include_int(char *, bool);
|
|
static bool pop_include(void);
|
|
static char *parse_include(char *);
|
|
|
|
int (*trace_print)(const char *msg) = sudoers_trace_print;
|
|
|
|
#define LEXRETURN(n) do { \
|
|
last_token = (n); \
|
|
return (n); \
|
|
} while (0)
|
|
|
|
#define ECHO ignore_result(fwrite(sudoerstext, sudoersleng, 1, sudoersout))
|
|
|
|
#define push_include(_p) (push_include_int((_p), false))
|
|
#define push_includedir(_p) (push_include_int((_p), true))
|
|
#define YY_NO_INPUT 1
|
|
#define YY_NO_UNPUT 1
|
|
#define GOTDEFS 1
|
|
|
|
#define GOTCMND 2
|
|
|
|
#define STARTDEFS 3
|
|
|
|
#define INDEFS 4
|
|
|
|
#define INSTR 5
|
|
|
|
#define WANTDIGEST 6
|
|
|
|
#line 2042 "lex.sudoers.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 defined(YY_STACK_USED) && 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 \
|
|
if ( yyleng > 0 ) \
|
|
yy_current_buffer->yy_at_bol = \
|
|
(yytext[yyleng - 1] == '\n'); \
|
|
YY_USER_ACTION
|
|
|
|
YY_DECL
|
|
{
|
|
register yy_state_type yy_current_state;
|
|
register char *yy_cp, *yy_bp;
|
|
register int yy_act;
|
|
|
|
#line 120 "toke.l"
|
|
|
|
#line 2198 "lex.sudoers.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_current_state += YY_AT_BOL();
|
|
yy_match:
|
|
do
|
|
{
|
|
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
|
|
if ( yy_accept[yy_current_state] )
|
|
{
|
|
yy_last_accepting_state = yy_current_state;
|
|
yy_last_accepting_cpos = yy_cp;
|
|
}
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
{
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
|
if ( yy_current_state >= 834 )
|
|
yy_c = yy_meta[(unsigned int) yy_c];
|
|
}
|
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
|
++yy_cp;
|
|
}
|
|
while ( yy_base[yy_current_state] != 5604 );
|
|
|
|
yy_find_action:
|
|
yy_act = yy_accept[yy_current_state];
|
|
if ( yy_act == 0 )
|
|
{ /* have to back up */
|
|
yy_cp = yy_last_accepting_cpos;
|
|
yy_current_state = yy_last_accepting_state;
|
|
yy_act = yy_accept[yy_current_state];
|
|
}
|
|
|
|
YY_DO_BEFORE_ACTION;
|
|
|
|
|
|
do_action: /* This label is used only to access EOF actions. */
|
|
|
|
|
|
switch ( yy_act )
|
|
{ /* beginning of action switch */
|
|
case 0: /* must back up */
|
|
/* undo the effects of YY_DO_BEFORE_ACTION */
|
|
*yy_cp = yy_hold_char;
|
|
yy_cp = yy_last_accepting_cpos;
|
|
yy_current_state = yy_last_accepting_state;
|
|
goto yy_find_action;
|
|
|
|
case 1:
|
|
YY_RULE_SETUP
|
|
#line 121 "toke.l"
|
|
{
|
|
LEXTRACE(", ");
|
|
LEXRETURN(',');
|
|
} /* return ',' */
|
|
YY_BREAK
|
|
case 2:
|
|
YY_RULE_SETUP
|
|
#line 126 "toke.l"
|
|
BEGIN STARTDEFS;
|
|
YY_BREAK
|
|
case 3:
|
|
YY_RULE_SETUP
|
|
#line 128 "toke.l"
|
|
{
|
|
BEGIN INDEFS;
|
|
LEXTRACE("DEFVAR ");
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXRETURN(DEFVAR);
|
|
}
|
|
YY_BREAK
|
|
|
|
case 4:
|
|
YY_RULE_SETUP
|
|
#line 137 "toke.l"
|
|
{
|
|
BEGIN STARTDEFS;
|
|
LEXTRACE(", ");
|
|
LEXRETURN(',');
|
|
} /* return ',' */
|
|
YY_BREAK
|
|
case 5:
|
|
YY_RULE_SETUP
|
|
#line 143 "toke.l"
|
|
{
|
|
LEXTRACE("= ");
|
|
LEXRETURN('=');
|
|
} /* return '=' */
|
|
YY_BREAK
|
|
case 6:
|
|
YY_RULE_SETUP
|
|
#line 148 "toke.l"
|
|
{
|
|
LEXTRACE("+= ");
|
|
LEXRETURN('+');
|
|
} /* return '+' */
|
|
YY_BREAK
|
|
case 7:
|
|
YY_RULE_SETUP
|
|
#line 153 "toke.l"
|
|
{
|
|
LEXTRACE("-= ");
|
|
LEXRETURN('-');
|
|
} /* return '-' */
|
|
YY_BREAK
|
|
case 8:
|
|
YY_RULE_SETUP
|
|
#line 158 "toke.l"
|
|
{
|
|
LEXTRACE("BEGINSTR ");
|
|
sudoerslval.string = NULL;
|
|
prev_state = YY_START;
|
|
BEGIN INSTR;
|
|
}
|
|
YY_BREAK
|
|
case 9:
|
|
YY_RULE_SETUP
|
|
#line 165 "toke.l"
|
|
{
|
|
LEXTRACE("WORD(2) ");
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXRETURN(WORD);
|
|
}
|
|
YY_BREAK
|
|
|
|
|
|
case 10:
|
|
YY_RULE_SETUP
|
|
#line 174 "toke.l"
|
|
{
|
|
/* Line continuation char followed by newline. */
|
|
sudolineno++;
|
|
continued = true;
|
|
}
|
|
YY_BREAK
|
|
case 11:
|
|
YY_RULE_SETUP
|
|
#line 180 "toke.l"
|
|
{
|
|
LEXTRACE("ENDSTR ");
|
|
BEGIN prev_state;
|
|
|
|
if (sudoerslval.string == NULL) {
|
|
LEXTRACE("ERROR "); /* empty string */
|
|
LEXRETURN(ERROR);
|
|
}
|
|
if (prev_state == INITIAL) {
|
|
switch (sudoerslval.string[0]) {
|
|
case '%':
|
|
if (sudoerslval.string[1] == '\0' ||
|
|
(sudoerslval.string[1] == ':' &&
|
|
sudoerslval.string[2] == '\0')) {
|
|
LEXTRACE("ERROR "); /* empty group */
|
|
LEXRETURN(ERROR);
|
|
}
|
|
LEXTRACE("USERGROUP ");
|
|
LEXRETURN(USERGROUP);
|
|
case '+':
|
|
if (sudoerslval.string[1] == '\0') {
|
|
LEXTRACE("ERROR "); /* empty netgroup */
|
|
LEXRETURN(ERROR);
|
|
}
|
|
LEXTRACE("NETGROUP ");
|
|
LEXRETURN(NETGROUP);
|
|
}
|
|
}
|
|
LEXTRACE("WORD(4) ");
|
|
LEXRETURN(WORD);
|
|
}
|
|
YY_BREAK
|
|
case 12:
|
|
YY_RULE_SETUP
|
|
#line 212 "toke.l"
|
|
{
|
|
LEXTRACE("BACKSLASH ");
|
|
if (!append(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
}
|
|
YY_BREAK
|
|
case 13:
|
|
YY_RULE_SETUP
|
|
#line 218 "toke.l"
|
|
{
|
|
LEXTRACE("STRBODY ");
|
|
if (!append(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
}
|
|
YY_BREAK
|
|
|
|
|
|
case 14:
|
|
YY_RULE_SETUP
|
|
#line 226 "toke.l"
|
|
{
|
|
/* quoted fnmatch glob char, pass verbatim */
|
|
LEXTRACE("QUOTEDCHAR ");
|
|
if (!fill_args(sudoerstext, 2, sawspace))
|
|
yyterminate();
|
|
sawspace = false;
|
|
}
|
|
YY_BREAK
|
|
case 15:
|
|
YY_RULE_SETUP
|
|
#line 234 "toke.l"
|
|
{
|
|
/* quoted sudoers special char, strip backslash */
|
|
LEXTRACE("QUOTEDCHAR ");
|
|
if (!fill_args(sudoerstext + 1, 1, sawspace))
|
|
yyterminate();
|
|
sawspace = false;
|
|
}
|
|
YY_BREAK
|
|
case 16:
|
|
YY_RULE_SETUP
|
|
#line 242 "toke.l"
|
|
{
|
|
BEGIN INITIAL;
|
|
yyless(0);
|
|
LEXRETURN(COMMAND);
|
|
} /* end of command line args */
|
|
YY_BREAK
|
|
case 17:
|
|
YY_RULE_SETUP
|
|
#line 248 "toke.l"
|
|
{
|
|
LEXTRACE("ARG ");
|
|
if (!fill_args(sudoerstext, sudoersleng, sawspace))
|
|
yyterminate();
|
|
sawspace = false;
|
|
} /* a command line arg */
|
|
YY_BREAK
|
|
|
|
case 18:
|
|
YY_RULE_SETUP
|
|
#line 256 "toke.l"
|
|
{
|
|
/* Only return DIGEST if the length is correct. */
|
|
if (sudoersleng == digest_len * 2) {
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
BEGIN INITIAL;
|
|
LEXTRACE("DIGEST ");
|
|
LEXRETURN(DIGEST);
|
|
}
|
|
BEGIN INITIAL;
|
|
yyless(sudoersleng);
|
|
} /* hex digest */
|
|
YY_BREAK
|
|
case 19:
|
|
YY_RULE_SETUP
|
|
#line 269 "toke.l"
|
|
{
|
|
/* Only return DIGEST if the length is correct. */
|
|
int len;
|
|
if (sudoerstext[sudoersleng - 1] == '=') {
|
|
/* use padding */
|
|
len = 4 * ((digest_len + 2) / 3);
|
|
} else {
|
|
/* no padding */
|
|
len = (4 * digest_len + 2) / 3;
|
|
}
|
|
if (sudoersleng == len) {
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
BEGIN INITIAL;
|
|
LEXTRACE("DIGEST ");
|
|
LEXRETURN(DIGEST);
|
|
}
|
|
BEGIN INITIAL;
|
|
yyless(sudoersleng);
|
|
} /* base64 digest */
|
|
YY_BREAK
|
|
case 20:
|
|
YY_RULE_SETUP
|
|
#line 290 "toke.l"
|
|
{
|
|
char *path;
|
|
|
|
if (continued) {
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
|
|
if ((path = parse_include(sudoerstext)) == NULL)
|
|
yyterminate();
|
|
|
|
LEXTRACE("INCLUDE\n");
|
|
|
|
/* Push current buffer and switch to include file */
|
|
if (!push_include(path))
|
|
yyterminate();
|
|
}
|
|
YY_BREAK
|
|
case 21:
|
|
YY_RULE_SETUP
|
|
#line 308 "toke.l"
|
|
{
|
|
char *path;
|
|
|
|
if (continued) {
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
|
|
if ((path = parse_include(sudoerstext)) == NULL)
|
|
yyterminate();
|
|
|
|
LEXTRACE("INCLUDEDIR\n");
|
|
|
|
/*
|
|
* Push current buffer and switch to include file.
|
|
* We simply ignore empty directories.
|
|
*/
|
|
if (!push_includedir(path))
|
|
yyterminate();
|
|
}
|
|
YY_BREAK
|
|
case 22:
|
|
YY_RULE_SETUP
|
|
#line 329 "toke.l"
|
|
{
|
|
char deftype;
|
|
int n;
|
|
|
|
if (continued) {
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
|
|
for (n = 0; isblank((unsigned char)sudoerstext[n]); n++)
|
|
continue;
|
|
n += sizeof("Defaults") - 1;
|
|
if ((deftype = sudoerstext[n++]) != '\0') {
|
|
while (isblank((unsigned char)sudoerstext[n]))
|
|
n++;
|
|
}
|
|
BEGIN GOTDEFS;
|
|
switch (deftype) {
|
|
case ':':
|
|
yyless(n);
|
|
LEXTRACE("DEFAULTS_USER ");
|
|
LEXRETURN(DEFAULTS_USER);
|
|
case '>':
|
|
yyless(n);
|
|
LEXTRACE("DEFAULTS_RUNAS ");
|
|
LEXRETURN(DEFAULTS_RUNAS);
|
|
case '@':
|
|
yyless(n);
|
|
LEXTRACE("DEFAULTS_HOST ");
|
|
LEXRETURN(DEFAULTS_HOST);
|
|
case '!':
|
|
yyless(n);
|
|
LEXTRACE("DEFAULTS_CMND ");
|
|
LEXRETURN(DEFAULTS_CMND);
|
|
default:
|
|
LEXTRACE("DEFAULTS ");
|
|
LEXRETURN(DEFAULTS);
|
|
}
|
|
}
|
|
YY_BREAK
|
|
case 23:
|
|
YY_RULE_SETUP
|
|
#line 369 "toke.l"
|
|
{
|
|
int n;
|
|
|
|
if (continued) {
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
|
|
for (n = 0; isblank((unsigned char)sudoerstext[n]); n++)
|
|
continue;
|
|
switch (sudoerstext[n]) {
|
|
case 'H':
|
|
LEXTRACE("HOSTALIAS ");
|
|
LEXRETURN(HOSTALIAS);
|
|
case 'C':
|
|
LEXTRACE("CMNDALIAS ");
|
|
LEXRETURN(CMNDALIAS);
|
|
case 'U':
|
|
LEXTRACE("USERALIAS ");
|
|
LEXRETURN(USERALIAS);
|
|
case 'R':
|
|
LEXTRACE("RUNASALIAS ");
|
|
LEXRETURN(RUNASALIAS);
|
|
}
|
|
}
|
|
YY_BREAK
|
|
case 24:
|
|
YY_RULE_SETUP
|
|
#line 395 "toke.l"
|
|
{
|
|
/* cmnd does not require passwd for this user */
|
|
LEXTRACE("NOPASSWD ");
|
|
LEXRETURN(NOPASSWD);
|
|
}
|
|
YY_BREAK
|
|
case 25:
|
|
YY_RULE_SETUP
|
|
#line 401 "toke.l"
|
|
{
|
|
/* cmnd requires passwd for this user */
|
|
LEXTRACE("PASSWD ");
|
|
LEXRETURN(PASSWD);
|
|
}
|
|
YY_BREAK
|
|
case 26:
|
|
YY_RULE_SETUP
|
|
#line 407 "toke.l"
|
|
{
|
|
LEXTRACE("NOEXEC ");
|
|
LEXRETURN(NOEXEC);
|
|
}
|
|
YY_BREAK
|
|
case 27:
|
|
YY_RULE_SETUP
|
|
#line 412 "toke.l"
|
|
{
|
|
LEXTRACE("EXEC ");
|
|
LEXRETURN(EXEC);
|
|
}
|
|
YY_BREAK
|
|
case 28:
|
|
YY_RULE_SETUP
|
|
#line 417 "toke.l"
|
|
{
|
|
LEXTRACE("SETENV ");
|
|
LEXRETURN(SETENV);
|
|
}
|
|
YY_BREAK
|
|
case 29:
|
|
YY_RULE_SETUP
|
|
#line 422 "toke.l"
|
|
{
|
|
LEXTRACE("NOSETENV ");
|
|
LEXRETURN(NOSETENV);
|
|
}
|
|
YY_BREAK
|
|
case 30:
|
|
YY_RULE_SETUP
|
|
#line 427 "toke.l"
|
|
{
|
|
LEXTRACE("LOG_OUTPUT ");
|
|
LEXRETURN(LOG_OUTPUT);
|
|
}
|
|
YY_BREAK
|
|
case 31:
|
|
YY_RULE_SETUP
|
|
#line 432 "toke.l"
|
|
{
|
|
LEXTRACE("NOLOG_OUTPUT ");
|
|
LEXRETURN(NOLOG_OUTPUT);
|
|
}
|
|
YY_BREAK
|
|
case 32:
|
|
YY_RULE_SETUP
|
|
#line 437 "toke.l"
|
|
{
|
|
LEXTRACE("LOG_INPUT ");
|
|
LEXRETURN(LOG_INPUT);
|
|
}
|
|
YY_BREAK
|
|
case 33:
|
|
YY_RULE_SETUP
|
|
#line 442 "toke.l"
|
|
{
|
|
LEXTRACE("NOLOG_INPUT ");
|
|
LEXRETURN(NOLOG_INPUT);
|
|
}
|
|
YY_BREAK
|
|
case 34:
|
|
YY_RULE_SETUP
|
|
#line 447 "toke.l"
|
|
{
|
|
LEXTRACE("MAIL ");
|
|
LEXRETURN(MAIL);
|
|
}
|
|
YY_BREAK
|
|
case 35:
|
|
YY_RULE_SETUP
|
|
#line 452 "toke.l"
|
|
{
|
|
LEXTRACE("NOMAIL ");
|
|
LEXRETURN(NOMAIL);
|
|
}
|
|
YY_BREAK
|
|
case 36:
|
|
YY_RULE_SETUP
|
|
#line 457 "toke.l"
|
|
{
|
|
/* empty group or netgroup */
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
YY_BREAK
|
|
case 37:
|
|
YY_RULE_SETUP
|
|
#line 463 "toke.l"
|
|
{
|
|
/* netgroup */
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("NETGROUP ");
|
|
LEXRETURN(NETGROUP);
|
|
}
|
|
YY_BREAK
|
|
case 38:
|
|
YY_RULE_SETUP
|
|
#line 471 "toke.l"
|
|
{
|
|
/* group */
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("USERGROUP ");
|
|
LEXRETURN(USERGROUP);
|
|
}
|
|
YY_BREAK
|
|
case 39:
|
|
YY_RULE_SETUP
|
|
#line 479 "toke.l"
|
|
{
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("NTWKADDR ");
|
|
LEXRETURN(NTWKADDR);
|
|
}
|
|
YY_BREAK
|
|
case 40:
|
|
YY_RULE_SETUP
|
|
#line 486 "toke.l"
|
|
{
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("NTWKADDR ");
|
|
LEXRETURN(NTWKADDR);
|
|
}
|
|
YY_BREAK
|
|
case 41:
|
|
YY_RULE_SETUP
|
|
#line 493 "toke.l"
|
|
{
|
|
if (!ipv6_valid(sudoerstext)) {
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("NTWKADDR ");
|
|
LEXRETURN(NTWKADDR);
|
|
}
|
|
YY_BREAK
|
|
case 42:
|
|
YY_RULE_SETUP
|
|
#line 504 "toke.l"
|
|
{
|
|
if (!ipv6_valid(sudoerstext)) {
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("NTWKADDR ");
|
|
LEXRETURN(NTWKADDR);
|
|
}
|
|
YY_BREAK
|
|
case 43:
|
|
YY_RULE_SETUP
|
|
#line 515 "toke.l"
|
|
{
|
|
LEXTRACE("ALL ");
|
|
LEXRETURN(ALL);
|
|
|
|
}
|
|
YY_BREAK
|
|
case 44:
|
|
YY_RULE_SETUP
|
|
#line 521 "toke.l"
|
|
{
|
|
#ifdef HAVE_SELINUX
|
|
LEXTRACE("ROLE ");
|
|
LEXRETURN(ROLE);
|
|
#else
|
|
goto got_alias;
|
|
#endif
|
|
}
|
|
YY_BREAK
|
|
case 45:
|
|
YY_RULE_SETUP
|
|
#line 530 "toke.l"
|
|
{
|
|
#ifdef HAVE_SELINUX
|
|
LEXTRACE("TYPE ");
|
|
LEXRETURN(TYPE);
|
|
#else
|
|
goto got_alias;
|
|
#endif
|
|
}
|
|
YY_BREAK
|
|
case 46:
|
|
YY_RULE_SETUP
|
|
#line 538 "toke.l"
|
|
{
|
|
#ifdef HAVE_PRIV_SET
|
|
LEXTRACE("PRIVS ");
|
|
LEXRETURN(PRIVS);
|
|
#else
|
|
goto got_alias;
|
|
#endif
|
|
}
|
|
YY_BREAK
|
|
case 47:
|
|
YY_RULE_SETUP
|
|
#line 547 "toke.l"
|
|
{
|
|
#ifdef HAVE_PRIV_SET
|
|
LEXTRACE("LIMITPRIVS ");
|
|
LEXRETURN(LIMITPRIVS);
|
|
#else
|
|
goto got_alias;
|
|
#endif
|
|
}
|
|
YY_BREAK
|
|
case 48:
|
|
YY_RULE_SETUP
|
|
#line 556 "toke.l"
|
|
{
|
|
got_alias:
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("ALIAS ");
|
|
LEXRETURN(ALIAS);
|
|
}
|
|
YY_BREAK
|
|
case 49:
|
|
YY_RULE_SETUP
|
|
#line 564 "toke.l"
|
|
{
|
|
/* XXX - no way to specify digest for command */
|
|
/* no command args allowed for Defaults!/path */
|
|
if (!fill_cmnd(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("COMMAND ");
|
|
LEXRETURN(COMMAND);
|
|
}
|
|
YY_BREAK
|
|
case 50:
|
|
YY_RULE_SETUP
|
|
#line 573 "toke.l"
|
|
{
|
|
digest_len = SHA224_DIGEST_LENGTH;
|
|
BEGIN WANTDIGEST;
|
|
LEXTRACE("SHA224_TOK ");
|
|
LEXRETURN(SHA224_TOK);
|
|
}
|
|
YY_BREAK
|
|
case 51:
|
|
YY_RULE_SETUP
|
|
#line 580 "toke.l"
|
|
{
|
|
digest_len = SHA256_DIGEST_LENGTH;
|
|
BEGIN WANTDIGEST;
|
|
LEXTRACE("SHA256_TOK ");
|
|
LEXRETURN(SHA256_TOK);
|
|
}
|
|
YY_BREAK
|
|
case 52:
|
|
YY_RULE_SETUP
|
|
#line 587 "toke.l"
|
|
{
|
|
digest_len = SHA384_DIGEST_LENGTH;
|
|
BEGIN WANTDIGEST;
|
|
LEXTRACE("SHA384_TOK ");
|
|
LEXRETURN(SHA384_TOK);
|
|
}
|
|
YY_BREAK
|
|
case 53:
|
|
YY_RULE_SETUP
|
|
#line 594 "toke.l"
|
|
{
|
|
digest_len = SHA512_DIGEST_LENGTH;
|
|
BEGIN WANTDIGEST;
|
|
LEXTRACE("SHA512_TOK ");
|
|
LEXRETURN(SHA512_TOK);
|
|
}
|
|
YY_BREAK
|
|
case 54:
|
|
YY_RULE_SETUP
|
|
#line 601 "toke.l"
|
|
{
|
|
BEGIN GOTCMND;
|
|
LEXTRACE("COMMAND ");
|
|
if (!fill_cmnd(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
} /* sudo -e */
|
|
YY_BREAK
|
|
case 55:
|
|
YY_RULE_SETUP
|
|
#line 608 "toke.l"
|
|
{
|
|
/* directories can't have args... */
|
|
if (sudoerstext[sudoersleng - 1] == '/') {
|
|
LEXTRACE("COMMAND ");
|
|
if (!fill_cmnd(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXRETURN(COMMAND);
|
|
} else {
|
|
BEGIN GOTCMND;
|
|
LEXTRACE("COMMAND ");
|
|
if (!fill_cmnd(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
}
|
|
} /* a pathname */
|
|
YY_BREAK
|
|
case 56:
|
|
YY_RULE_SETUP
|
|
#line 623 "toke.l"
|
|
{
|
|
LEXTRACE("BEGINSTR ");
|
|
sudoerslval.string = NULL;
|
|
prev_state = YY_START;
|
|
BEGIN INSTR;
|
|
}
|
|
YY_BREAK
|
|
case 57:
|
|
YY_RULE_SETUP
|
|
#line 630 "toke.l"
|
|
{
|
|
/* a word */
|
|
if (!fill(sudoerstext, sudoersleng))
|
|
yyterminate();
|
|
LEXTRACE("WORD(5) ");
|
|
LEXRETURN(WORD);
|
|
}
|
|
YY_BREAK
|
|
case 58:
|
|
YY_RULE_SETUP
|
|
#line 638 "toke.l"
|
|
{
|
|
LEXTRACE("( ");
|
|
LEXRETURN('(');
|
|
}
|
|
YY_BREAK
|
|
case 59:
|
|
YY_RULE_SETUP
|
|
#line 643 "toke.l"
|
|
{
|
|
LEXTRACE(") ");
|
|
LEXRETURN(')');
|
|
}
|
|
YY_BREAK
|
|
case 60:
|
|
YY_RULE_SETUP
|
|
#line 648 "toke.l"
|
|
{
|
|
LEXTRACE(", ");
|
|
LEXRETURN(',');
|
|
} /* return ',' */
|
|
YY_BREAK
|
|
case 61:
|
|
YY_RULE_SETUP
|
|
#line 653 "toke.l"
|
|
{
|
|
LEXTRACE("= ");
|
|
LEXRETURN('=');
|
|
} /* return '=' */
|
|
YY_BREAK
|
|
case 62:
|
|
YY_RULE_SETUP
|
|
#line 658 "toke.l"
|
|
{
|
|
LEXTRACE(": ");
|
|
LEXRETURN(':');
|
|
} /* return ':' */
|
|
YY_BREAK
|
|
case 63:
|
|
YY_RULE_SETUP
|
|
#line 663 "toke.l"
|
|
{
|
|
if (sudoersleng & 1) {
|
|
LEXTRACE("!");
|
|
LEXRETURN('!'); /* return '!' */
|
|
}
|
|
}
|
|
YY_BREAK
|
|
case 64:
|
|
YY_RULE_SETUP
|
|
#line 670 "toke.l"
|
|
{
|
|
if (YY_START == INSTR) {
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR); /* line break in string */
|
|
}
|
|
BEGIN INITIAL;
|
|
sudolineno++;
|
|
continued = false;
|
|
LEXTRACE("\n");
|
|
LEXRETURN(COMMENT);
|
|
} /* return newline */
|
|
YY_BREAK
|
|
case 65:
|
|
YY_RULE_SETUP
|
|
#line 682 "toke.l"
|
|
{ /* throw away space/tabs */
|
|
sawspace = true; /* but remember for fill_args */
|
|
}
|
|
YY_BREAK
|
|
case 66:
|
|
YY_RULE_SETUP
|
|
#line 686 "toke.l"
|
|
{
|
|
sawspace = true; /* remember for fill_args */
|
|
sudolineno++;
|
|
continued = true;
|
|
} /* throw away EOL after \ */
|
|
YY_BREAK
|
|
case 67:
|
|
YY_RULE_SETUP
|
|
#line 692 "toke.l"
|
|
{
|
|
if (sudoerstext[sudoersleng - 1] == '\n') {
|
|
/* comment ending in a newline */
|
|
BEGIN INITIAL;
|
|
sudolineno++;
|
|
continued = false;
|
|
} else if (!feof(yyin)) {
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
LEXTRACE("#\n");
|
|
LEXRETURN(COMMENT);
|
|
} /* comment, not uid/gid */
|
|
YY_BREAK
|
|
case 68:
|
|
YY_RULE_SETUP
|
|
#line 706 "toke.l"
|
|
{
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
} /* parse error */
|
|
YY_BREAK
|
|
case YY_STATE_EOF(INITIAL):
|
|
case YY_STATE_EOF(GOTDEFS):
|
|
case YY_STATE_EOF(GOTCMND):
|
|
case YY_STATE_EOF(STARTDEFS):
|
|
case YY_STATE_EOF(INDEFS):
|
|
case YY_STATE_EOF(INSTR):
|
|
case YY_STATE_EOF(WANTDIGEST):
|
|
#line 711 "toke.l"
|
|
{
|
|
if (YY_START != INITIAL) {
|
|
BEGIN INITIAL;
|
|
LEXTRACE("ERROR ");
|
|
LEXRETURN(ERROR);
|
|
}
|
|
if (!pop_include())
|
|
yyterminate();
|
|
}
|
|
YY_BREAK
|
|
case 69:
|
|
YY_RULE_SETUP
|
|
#line 721 "toke.l"
|
|
ECHO;
|
|
YY_BREAK
|
|
#line 3100 "lex.sudoers.c"
|
|
|
|
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 YY_PROTO(( void ))
|
|
{
|
|
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 YY_PROTO(( void ))
|
|
{
|
|
register yy_state_type yy_current_state;
|
|
register char *yy_cp;
|
|
|
|
yy_current_state = yy_start;
|
|
yy_current_state += YY_AT_BOL();
|
|
|
|
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);
|
|
if ( yy_accept[yy_current_state] )
|
|
{
|
|
yy_last_accepting_state = yy_current_state;
|
|
yy_last_accepting_cpos = yy_cp;
|
|
}
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
{
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
|
if ( yy_current_state >= 834 )
|
|
yy_c = yy_meta[(unsigned int) yy_c];
|
|
}
|
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
|
|
}
|
|
|
|
return yy_current_state;
|
|
}
|
|
|
|
|
|
/* yy_try_NUL_trans - try to make a transition on the NUL character
|
|
*
|
|
* synopsis
|
|
* next_state = yy_try_NUL_trans( current_state );
|
|
*/
|
|
|
|
#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 char *yy_cp = yy_c_buf_p;
|
|
|
|
register YY_CHAR yy_c = 1;
|
|
if ( yy_accept[yy_current_state] )
|
|
{
|
|
yy_last_accepting_state = yy_current_state;
|
|
yy_last_accepting_cpos = yy_cp;
|
|
}
|
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
|
{
|
|
yy_current_state = (int) yy_def[yy_current_state];
|
|
if ( yy_current_state >= 834 )
|
|
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 == 833);
|
|
|
|
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;
|
|
|
|
|
|
yytext_ptr = yy_bp;
|
|
yy_hold_char = *yy_cp;
|
|
yy_c_buf_p = yy_cp;
|
|
}
|
|
#endif /* ifndef YY_NO_UNPUT */
|
|
|
|
|
|
#ifndef YY_NO_INPUT
|
|
#ifdef __cplusplus
|
|
static int yyinput YY_PROTO(( void ))
|
|
#else
|
|
static int input YY_PROTO(( void ))
|
|
#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 = '\0';
|
|
|
|
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 = '\0'; /* preserve yytext */
|
|
yy_hold_char = *++yy_c_buf_p;
|
|
|
|
yy_current_buffer->yy_at_bol = (c == '\n');
|
|
|
|
return c;
|
|
}
|
|
#endif /* ifndef YY_NO_INPUT */
|
|
|
|
|
|
#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
|
|
#include <unistd.h>
|
|
#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
|
|
|
|
|
|
{
|
|
int oerrno = errno;
|
|
|
|
yy_flush_buffer( b );
|
|
|
|
b->yy_input_file = file;
|
|
b->yy_fill_buffer = 1;
|
|
|
|
#if defined(YY_ALWAYS_INTERACTIVE) && YY_ALWAYS_INTERACTIVE
|
|
b->yy_is_interactive = 1;
|
|
#else
|
|
#if defined(YY_NEVER_INTERACTIVE) && YY_NEVER_INTERACTIVE
|
|
b->yy_is_interactive = 0;
|
|
#else
|
|
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
|
|
#endif
|
|
#endif
|
|
errno = oerrno;
|
|
}
|
|
|
|
|
|
#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 YY_PROTO(( void ))
|
|
{
|
|
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 YY_PROTO(( void ))
|
|
{
|
|
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, "%s\n", msg );
|
|
exit( YY_EXIT_FAILURE );
|
|
}
|
|
|
|
|
|
|
|
/* Redefine yyless() so it works in section 3 code. */
|
|
|
|
#undef yyless
|
|
#define yyless(n) \
|
|
do \
|
|
{ \
|
|
/* Undo effects of setting up yytext. */ \
|
|
yytext[yyleng] = yy_hold_char; \
|
|
yy_c_buf_p = yytext + n; \
|
|
yy_hold_char = *yy_c_buf_p; \
|
|
*yy_c_buf_p = '\0'; \
|
|
yyleng = n; \
|
|
} \
|
|
while ( 0 )
|
|
|
|
|
|
/* 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 defined(YY_MAIN) && YY_MAIN
|
|
int main()
|
|
{
|
|
yylex();
|
|
return 0;
|
|
}
|
|
#endif
|
|
#line 721 "toke.l"
|
|
|
|
struct path_list {
|
|
SLIST_ENTRY(path_list) entries;
|
|
char *path;
|
|
};
|
|
|
|
SLIST_HEAD(path_list_head, path_list);
|
|
|
|
struct include_stack {
|
|
YY_BUFFER_STATE bs;
|
|
char *path;
|
|
struct path_list_head more; /* more files in case of includedir */
|
|
int lineno;
|
|
bool keepopen;
|
|
};
|
|
|
|
/*
|
|
* Compare two struct path_list structs in reverse order.
|
|
*/
|
|
static int
|
|
pl_compare(const void *v1, const void *v2)
|
|
{
|
|
const struct path_list * const *p1 = v1;
|
|
const struct path_list * const *p2 = v2;
|
|
|
|
return strcmp((*p2)->path, (*p1)->path);
|
|
}
|
|
|
|
/*
|
|
* Open dirpath and fill in pathsp with an array of regular files
|
|
* that do not end in '~' or contain a '.'.
|
|
* Returns the number of files or -1 on error.
|
|
* If zero files are found, NULL is stored in pathsp.
|
|
*/
|
|
static int
|
|
read_dir_files(const char *dirpath, struct path_list ***pathsp)
|
|
{
|
|
DIR *dir;
|
|
int i, count = 0;
|
|
int max_paths = 32;
|
|
struct dirent *dent;
|
|
struct path_list **paths = NULL;
|
|
debug_decl(read_dir_files, SUDOERS_DEBUG_PARSER)
|
|
|
|
dir = opendir(dirpath);
|
|
if (dir == NULL) {
|
|
if (errno != ENOENT) {
|
|
sudo_warn("%s", dirpath);
|
|
sudoerserror(NULL);
|
|
}
|
|
goto bad;
|
|
}
|
|
paths = malloc(sizeof(*paths) * max_paths);
|
|
if (paths == NULL)
|
|
goto bad;
|
|
while ((dent = readdir(dir)) != NULL) {
|
|
struct path_list *pl;
|
|
struct stat sb;
|
|
char *path;
|
|
|
|
/* Ignore files that end in '~' or have a '.' in them. */
|
|
if (dent->d_name[0] == '\0' || dent->d_name[NAMLEN(dent) - 1] == '~'
|
|
|| strchr(dent->d_name, '.') != NULL) {
|
|
continue;
|
|
}
|
|
if (asprintf(&path, "%s/%s", dirpath, dent->d_name) == -1)
|
|
goto bad;
|
|
if (stat(path, &sb) != 0 || !S_ISREG(sb.st_mode)) {
|
|
free(path);
|
|
continue;
|
|
}
|
|
pl = malloc(sizeof(*pl));
|
|
if (pl == NULL) {
|
|
free(path);
|
|
goto bad;
|
|
}
|
|
pl->path = path;
|
|
if (count >= max_paths) {
|
|
struct path_list **tmp;
|
|
max_paths <<= 1;
|
|
tmp = reallocarray(paths, max_paths, sizeof(*paths));
|
|
if (tmp == NULL) {
|
|
free(path);
|
|
free(pl);
|
|
goto bad;
|
|
}
|
|
paths = tmp;
|
|
}
|
|
paths[count++] = pl;
|
|
}
|
|
closedir(dir);
|
|
if (count == 0) {
|
|
free(paths);
|
|
paths = NULL;
|
|
}
|
|
*pathsp = paths;
|
|
debug_return_int(count);
|
|
bad:
|
|
if (dir != NULL)
|
|
closedir(dir);
|
|
for (i = 0; i < count; i++) {
|
|
free(paths[i]->path);
|
|
free(paths[i]);
|
|
}
|
|
free(paths);
|
|
debug_return_int(-1);
|
|
}
|
|
|
|
/*
|
|
* Push a list of all files in dirpath onto stack.
|
|
* Returns the number of files or -1 on error.
|
|
*/
|
|
static int
|
|
switch_dir(struct include_stack *stack, char *dirpath)
|
|
{
|
|
struct path_list **paths = NULL;
|
|
int count, i;
|
|
debug_decl(switch_dir, SUDOERS_DEBUG_PARSER)
|
|
|
|
count = read_dir_files(dirpath, &paths);
|
|
if (count > 0) {
|
|
/* Sort the list as an array in reverse order. */
|
|
qsort(paths, count, sizeof(*paths), pl_compare);
|
|
|
|
/* Build up the list in sorted order. */
|
|
for (i = 0; i < count; i++) {
|
|
SLIST_INSERT_HEAD(&stack->more, paths[i], entries);
|
|
}
|
|
free(paths);
|
|
}
|
|
|
|
debug_return_int(count);
|
|
}
|
|
|
|
#define MAX_SUDOERS_DEPTH 128
|
|
#define SUDOERS_STACK_INCREMENT 16
|
|
|
|
static size_t istacksize, idepth;
|
|
static struct include_stack *istack;
|
|
static bool keepopen;
|
|
|
|
void
|
|
init_lexer(void)
|
|
{
|
|
struct path_list *pl;
|
|
debug_decl(init_lexer, SUDOERS_DEBUG_PARSER)
|
|
|
|
while (idepth) {
|
|
idepth--;
|
|
while ((pl = SLIST_FIRST(&istack[idepth].more)) != NULL) {
|
|
SLIST_REMOVE_HEAD(&istack[idepth].more, entries);
|
|
free(pl->path);
|
|
free(pl);
|
|
}
|
|
free(istack[idepth].path);
|
|
if (idepth && !istack[idepth].keepopen)
|
|
fclose(istack[idepth].bs->yy_input_file);
|
|
sudoers_delete_buffer(istack[idepth].bs);
|
|
}
|
|
free(istack);
|
|
istack = NULL;
|
|
istacksize = idepth = 0;
|
|
sudolineno = 1;
|
|
keepopen = false;
|
|
sawspace = false;
|
|
continued = false;
|
|
prev_state = INITIAL;
|
|
|
|
debug_return;
|
|
}
|
|
|
|
static bool
|
|
push_include_int(char *path, bool isdir)
|
|
{
|
|
struct path_list *pl;
|
|
FILE *fp;
|
|
debug_decl(push_include_int, SUDOERS_DEBUG_PARSER)
|
|
|
|
/* push current state onto stack */
|
|
if (idepth >= istacksize) {
|
|
struct include_stack *new_istack;
|
|
|
|
if (idepth > MAX_SUDOERS_DEPTH) {
|
|
sudoerserror(N_("too many levels of includes"));
|
|
debug_return_bool(false);
|
|
}
|
|
istacksize += SUDOERS_STACK_INCREMENT;
|
|
new_istack = reallocarray(istack, istacksize, sizeof(*istack));
|
|
if (new_istack == NULL) {
|
|
sudo_warn(NULL);
|
|
sudoerserror(NULL);
|
|
debug_return_bool(false);
|
|
}
|
|
istack = new_istack;
|
|
}
|
|
SLIST_INIT(&istack[idepth].more);
|
|
if (isdir) {
|
|
struct stat sb;
|
|
int count;
|
|
switch (sudo_secure_dir(path, sudoers_uid, sudoers_gid, &sb)) {
|
|
case SUDO_PATH_SECURE:
|
|
break;
|
|
case SUDO_PATH_MISSING:
|
|
debug_return_bool(false);
|
|
case SUDO_PATH_BAD_TYPE:
|
|
errno = ENOTDIR;
|
|
if (sudoers_warnings) {
|
|
sudo_warn("%s", path);
|
|
}
|
|
debug_return_bool(false);
|
|
case SUDO_PATH_WRONG_OWNER:
|
|
if (sudoers_warnings) {
|
|
sudo_warnx(U_("%s is owned by uid %u, should be %u"),
|
|
path, (unsigned int) sb.st_uid,
|
|
(unsigned int) sudoers_uid);
|
|
}
|
|
debug_return_bool(false);
|
|
case SUDO_PATH_WORLD_WRITABLE:
|
|
if (sudoers_warnings) {
|
|
sudo_warnx(U_("%s is world writable"), path);
|
|
}
|
|
debug_return_bool(false);
|
|
case SUDO_PATH_GROUP_WRITABLE:
|
|
if (sudoers_warnings) {
|
|
sudo_warnx(U_("%s is owned by gid %u, should be %u"),
|
|
path, (unsigned int) sb.st_gid,
|
|
(unsigned int) sudoers_gid);
|
|
}
|
|
debug_return_bool(false);
|
|
default:
|
|
/* NOTREACHED */
|
|
debug_return_bool(false);
|
|
}
|
|
count = switch_dir(&istack[idepth], path);
|
|
if (count <= 0) {
|
|
/* switch_dir() called sudoerserror() for us */
|
|
free(path);
|
|
debug_return_bool(count ? false : true);
|
|
}
|
|
|
|
/* Parse the first dir entry we can open, leave the rest for later. */
|
|
do {
|
|
free(path);
|
|
if ((pl = SLIST_FIRST(&istack[idepth].more)) == NULL) {
|
|
/* Unable to open any files in include dir, not an error. */
|
|
debug_return_bool(true);
|
|
}
|
|
SLIST_REMOVE_HEAD(&istack[idepth].more, entries);
|
|
path = pl->path;
|
|
free(pl);
|
|
} while ((fp = open_sudoers(path, false, &keepopen)) == NULL);
|
|
} else {
|
|
if ((fp = open_sudoers(path, true, &keepopen)) == NULL) {
|
|
/* The error was already printed by open_sudoers() */
|
|
sudoerserror(NULL);
|
|
debug_return_bool(false);
|
|
}
|
|
}
|
|
/* Push the old (current) file and open the new one. */
|
|
istack[idepth].path = sudoers; /* push old path */
|
|
istack[idepth].bs = YY_CURRENT_BUFFER;
|
|
istack[idepth].lineno = sudolineno;
|
|
istack[idepth].keepopen = keepopen;
|
|
idepth++;
|
|
sudolineno = 1;
|
|
sudoers = path;
|
|
sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE));
|
|
|
|
debug_return_bool(true);
|
|
}
|
|
|
|
static bool
|
|
pop_include(void)
|
|
{
|
|
struct path_list *pl;
|
|
FILE *fp;
|
|
debug_decl(pop_include, SUDOERS_DEBUG_PARSER)
|
|
|
|
if (idepth == 0)
|
|
debug_return_bool(false);
|
|
|
|
if (!keepopen)
|
|
fclose(YY_CURRENT_BUFFER->yy_input_file);
|
|
sudoers_delete_buffer(YY_CURRENT_BUFFER);
|
|
/* If we are in an include dir, move to the next file. */
|
|
while ((pl = SLIST_FIRST(&istack[idepth - 1].more)) != NULL) {
|
|
SLIST_REMOVE_HEAD(&istack[idepth - 1].more, entries);
|
|
fp = open_sudoers(pl->path, false, &keepopen);
|
|
if (fp != NULL) {
|
|
free(sudoers);
|
|
sudoers = pl->path;
|
|
sudolineno = 1;
|
|
sudoers_switch_to_buffer(sudoers_create_buffer(fp, YY_BUF_SIZE));
|
|
free(pl);
|
|
break;
|
|
}
|
|
/* Unable to open path in include dir, go to next one. */
|
|
free(pl->path);
|
|
free(pl);
|
|
}
|
|
/* If no path list, just pop the last dir on the stack. */
|
|
if (pl == NULL) {
|
|
idepth--;
|
|
sudoers_switch_to_buffer(istack[idepth].bs);
|
|
free(sudoers);
|
|
sudoers = istack[idepth].path;
|
|
sudolineno = istack[idepth].lineno;
|
|
keepopen = istack[idepth].keepopen;
|
|
}
|
|
debug_return_bool(true);
|
|
}
|
|
|
|
static char *
|
|
parse_include(char *base)
|
|
{
|
|
char *cp, *ep, *path, *pp;
|
|
int dirlen = 0, len = 0, subst = 0;
|
|
size_t shost_len = 0;
|
|
debug_decl(parse_include, SUDOERS_DEBUG_PARSER)
|
|
|
|
/* Pull out path from #include line. */
|
|
cp = base + sizeof("#include");
|
|
if (*cp == 'i')
|
|
cp += 3; /* includedir */
|
|
while (isblank((unsigned char) *cp))
|
|
cp++;
|
|
ep = cp;
|
|
while (*ep != '\0' && !isspace((unsigned char) *ep)) {
|
|
if (ep[0] == '%' && ep[1] == 'h') {
|
|
shost_len = strlen(user_shost);
|
|
len += shost_len - 2;
|
|
subst = 1;
|
|
}
|
|
ep++;
|
|
}
|
|
|
|
/* Relative paths are located in the same dir as the sudoers file. */
|
|
if (*cp != '/') {
|
|
char *dirend = strrchr(sudoers, '/');
|
|
if (dirend != NULL)
|
|
dirlen = (int)(dirend - sudoers) + 1;
|
|
}
|
|
|
|
/* Make a copy of the fully-qualified path and return it. */
|
|
len += (int)(ep - cp);
|
|
path = pp = malloc(len + dirlen + 1);
|
|
if (path == NULL) {
|
|
sudo_warn(NULL);
|
|
sudoerserror(NULL);
|
|
debug_return_str(NULL);
|
|
}
|
|
if (dirlen) {
|
|
memcpy(path, sudoers, dirlen);
|
|
pp += dirlen;
|
|
}
|
|
if (subst) {
|
|
/* substitute for %h */
|
|
while (cp < ep) {
|
|
if (cp[0] == '%' && cp[1] == 'h') {
|
|
memcpy(pp, user_shost, shost_len);
|
|
pp += shost_len;
|
|
cp += 2;
|
|
continue;
|
|
}
|
|
*pp++ = *cp++;
|
|
}
|
|
*pp = '\0';
|
|
} else {
|
|
memcpy(pp, cp, len);
|
|
pp[len] = '\0';
|
|
}
|
|
|
|
/* Push any excess characters (e.g. comment, newline) back to the lexer */
|
|
if (*ep != '\0')
|
|
yyless((int)(ep - base));
|
|
|
|
debug_return_str(path);
|
|
}
|
|
|
|
#ifdef TRACELEXER
|
|
int
|
|
sudoers_trace_print(const char *msg)
|
|
{
|
|
return fputs(msg, stderr);
|
|
}
|
|
#else
|
|
int
|
|
sudoers_trace_print(const char *msg)
|
|
{
|
|
static bool initialized;
|
|
static struct sudo_lbuf lbuf;
|
|
|
|
if (!initialized) {
|
|
initialized = true;
|
|
sudo_lbuf_init(&lbuf, NULL, 0, NULL, 0);
|
|
}
|
|
|
|
sudo_lbuf_append(&lbuf, "%s", msg);
|
|
/* XXX - assumes a final newline */
|
|
if (strchr(msg, '\n') != NULL)
|
|
{
|
|
sudo_debug_printf2(NULL, NULL, 0, SUDOERS_DEBUG_PARSER|SUDO_DEBUG_DEBUG,
|
|
"%s:%d %s", sudoers, sudolineno, lbuf.buf);
|
|
lbuf.len = 0;
|
|
}
|
|
return 0;
|
|
}
|
|
#endif /* TRACELEXER */
|