lex-asn1.c   [plain text]


/* A lexical scanner generated by flex */

/* Scanner skeleton version:
 * $Header: /cvs/Darwin/src/live/Security/SecuritySNACCRuntime/compiler/core/lex-asn1.c,v 1.1 2001/06/20 21:27:57 dmitch Exp $
 */

#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5

#include <stdio.h>


/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif


#ifdef __cplusplus

#include <stdlib.h>
#include <unistd.h>

/* Use prototypes in function declarations. */
#define YY_USE_PROTOS

/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST

#else	/* ! __cplusplus */

#if __STDC__

#define YY_USE_PROTOS
#define YY_USE_CONST

#endif	/* __STDC__ */
#endif	/* ! __cplusplus */

#ifdef __TURBOC__
 #pragma warn -rch
 #pragma warn -use
#include <io.h>
#include <stdlib.h>
#define YY_USE_CONST
#define YY_USE_PROTOS
#endif

#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif


#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
#endif

/* Returned upon end-of-file. */
#define YY_NULL 0

/* Promotes a possibly negative, possibly signed char to an unsigned
 * integer for use as an array index.  If the signed char is negative,
 * we want to instead treat it as an 8-bit unsigned char, hence the
 * double cast.
 */
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)

/* Enter a start condition.  This macro really ought to take a parameter,
 * but we do it the disgusting crufty way forced on us by the ()-less
 * definition of BEGIN.
 */
#define BEGIN yy_start = 1 + 2 *

/* Translate the current start state into a value that can be later handed
 * to BEGIN to return to the state.  The YYSTATE alias is for lex
 * compatibility.
 */
#define YY_START ((yy_start - 1) / 2)
#define YYSTATE YY_START

/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)

/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE yyrestart( yyin )

#define YY_END_OF_BUFFER_CHAR 0

/* Size of default input buffer. */
#define YY_BUF_SIZE 16384

typedef struct yy_buffer_state *YY_BUFFER_STATE;

extern int yyleng;
extern FILE *yyin, *yyout;

#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2

/* The funky do-while in the following #define is used to turn the definition
 * int a single C statement (which needs a semi-colon terminator).  This
 * avoids problems with code like:
 *
 * 	if ( condition_holds )
 *		yyless( 5 );
 *	else
 *		do_something_else();
 *
 * Prior to using the do-while the compiler would get upset at the
 * "else" because it interpreted the "if" statement as being all
 * done when it reached the ';' after the yyless() call.
 */

/* Return all but the first 'n' matched characters back to the input stream. */

#define yyless(n) \
	do \
		{ \
		/* Undo effects of setting up yytext. */ \
		*yy_cp = yy_hold_char; \
		YY_RESTORE_YY_MORE_OFFSET \
		yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
		YY_DO_BEFORE_ACTION; /* set up yytext again */ \
		} \
	while ( 0 )

#define unput(c) yyunput( c, yytext_ptr )

/* The following is because we cannot portably get our hands on size_t
 * (without autoconf's help, which isn't available because we want
 * flex-generated scanners to compile on their own).
 */
typedef unsigned int yy_size_t;


struct yy_buffer_state
	{
	FILE *yy_input_file;

	char *yy_ch_buf;		/* input buffer */
	char *yy_buf_pos;		/* current position in input buffer */

	/* Size of input buffer in bytes, not including room for EOB
	 * characters.
	 */
	yy_size_t yy_buf_size;

	/* Number of characters read into yy_ch_buf, not including EOB
	 * characters.
	 */
	int yy_n_chars;

	/* Whether we "own" the buffer - i.e., we know we created it,
	 * and can realloc() it to grow it, and should free() it to
	 * delete it.
	 */
	int yy_is_our_buffer;

	/* Whether this is an "interactive" input source; if so, and
	 * if we're using stdio for input, then we want to use getc()
	 * instead of fread(), to make sure we stop fetching input after
	 * each newline.
	 */
	int yy_is_interactive;

	/* Whether we're considered to be at the beginning of a line.
	 * If so, '^' rules will be active on the next match, otherwise
	 * not.
	 */
	int yy_at_bol;

	/* Whether to try to fill the input buffer when we reach the
	 * end of it.
	 */
	int yy_fill_buffer;

	int yy_buffer_status;
#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
	/* When an EOF's been seen but there's still some text to process
	 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
	 * shouldn't try reading from the input source any more.  We might
	 * still have a bunch of tokens to match, though, because of
	 * possible backing-up.
	 *
	 * When we actually see the EOF, we change the status to "new"
	 * (via yyrestart()), so that the user can continue scanning by
	 * just pointing yyin at a new input file.
	 */
#define YY_BUFFER_EOF_PENDING 2
	};

static YY_BUFFER_STATE yy_current_buffer = 0;

/* We provide macros for accessing buffer states in case in the
 * future we want to put the buffer states in a more general
 * "scanner state".
 */
#define YY_CURRENT_BUFFER yy_current_buffer


/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;

static int yy_n_chars;		/* number of characters read into yy_ch_buf */


int yyleng;

/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static int yy_init = 1;		/* whether we need to initialize */
static int yy_start = 0;	/* start state number */

/* Flag which is used to allow yywrap()'s to do buffer switches
 * instead of setting up a fresh yyin.  A bit of a hack ...
 */
static int yy_did_buffer_switch_on_eof;

void yyrestart YY_PROTO(( FILE *input_file ));

void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
void yy_load_buffer_state YY_PROTO(( void ));
YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )

YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));

static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
static void yy_flex_free YY_PROTO(( void * ));

#define yy_new_buffer yy_create_buffer

#define yy_set_interactive(is_interactive) \
	{ \
	if ( ! yy_current_buffer ) \
		yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
	yy_current_buffer->yy_is_interactive = is_interactive; \
	}

#define yy_set_bol(at_bol) \
	{ \
	if ( ! yy_current_buffer ) \
		yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
	yy_current_buffer->yy_at_bol = at_bol; \
	}

#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)

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 132
#define YY_END_OF_BUFFER 133
static yyconst short int yy_accept[698] =
    {   0,
        0,    0,    0,    0,    0,    0,  133,  132,    3,  132,
      132,    8,    9,    5,   13,    4,  129,  128,  132,   16,
       12,  126,  126,  126,  126,  126,  126,  126,  126,  126,
      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
       10,   11,  127,    6,   15,    7,   60,  122,    3,    0,
      125,    0,    0,    0,    0,  128,    0,    0,    0,  126,
      126,  126,  126,  126,  126,  126,  126,   97,  126,  126,
      126,  126,   57,  126,  126,  126,  126,  126,  126,  126,
      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
      126,   25,  126,  126,  126,  126,  126,  126,  126,  126,

      126,  126,  126,  126,  102,  126,  126,  126,  126,    0,
        0,    0,  127,  123,  124,    0,    0,  131,    0,    0,
       14,    0,  126,  126,  126,  126,   29,  126,  126,    0,
      126,  126,   20,  126,  126,  126,  126,  126,  126,  126,
      126,  126,   40,  126,  126,  126,  126,  126,   88,  126,
      126,  126,  126,  126,  126,  126,   49,   48,  126,  126,
      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
      126,  126,  126,  126,  126,  126,  126,   26,  126,  126,
      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
      126,  126,  126,    1,    2,    0,    0,  126,  126,  126,

      126,  126,  126,  126,  126,   69,  126,  126,  126,  126,
      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
      126,  126,  126,  126,   51,  126,  126,  126,  126,  126,
      126,  126,  126,   23,  126,  126,  126,  126,  126,  126,
      126,   94,  126,  126,  126,   46,  126,  126,  126,  126,
      126,  126,  126,  126,  126,   50,  126,  126,  126,  126,
      126,   17,  126,  126,   37,  126,  126,  126,   52,    0,
        0,  126,  126,  126,  126,  126,  126,  126,   39,    0,
      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
      126,  126,  126,   67,  126,  126,  126,   38,  126,  126,

      126,  120,  126,  126,  126,  126,  126,   22,  126,  126,
      126,  126,    0,   93,  126,  126,  126,  126,  126,  126,
      126,  126,  126,  126,  126,  126,  126,  126,  126,  126,
      126,  126,  106,  126,  126,  126,  126,    0,    0,   55,
      126,  116,  126,   61,  126,  126,  126,  126,   28,   85,
      126,  126,  126,  126,  126,  126,  121,  126,  126,  126,
      126,   65,  126,  126,  126,  126,  126,  126,  126,  126,
       66,    0,   92,  126,  126,  100,  126,  126,  126,  126,
      126,  126,  126,   96,   75,  126,   64,  126,  126,  126,
      111,  117,   21,  126,  126,  115,    0,  126,   71,  126,

      126,    0,   61,  126,  126,  126,  126,  126,   18,  126,
      126,  126,   32,   56,  126,  126,  126,  126,  126,  126,
       44,  126,  126,   45,  126,  126,   19,  126,    0,    0,
      126,  126,  126,  126,  126,   54,   36,  126,  126,  126,
      126,  126,  126,  126,  126,  126,  126,  126,    0,  126,
       99,    0,  130,    0,  126,  126,  126,   63,  126,  126,
      126,   87,  126,   90,  126,  126,  126,   42,  126,   27,
       47,  126,  126,    0,  126,  126,  126,   31,  126,  126,
      126,  126,  126,  126,  126,   24,  126,  126,  126,  126,
       91,  126,  126,    0,    0,  126,  126,  109,  126,  126,

       53,    0,  126,  126,  126,  110,  126,   86,   76,  126,
        0,  126,  126,   62,   68,  126,  113,   98,  119,   77,
        0,  112,  126,    0,  126,  126,  126,   34,    0,    0,
      126,  126,  126,  126,  126,  126,  126,   70,   33,    0,
      126,  126,  126,   43,    0,   84,  126,    0,  126,  126,
       80,  126,  126,   89,    0,  126,  107,  126,    0,    0,
      126,  126,  126,  126,  126,  126,   35,    0,  126,   41,
      118,  126,  126,    0,  114,  126,  126,  126,    0,  126,
      126,    0,    0,  126,  126,  126,  126,  126,  126,    0,
        0,  126,  126,  126,    0,  126,  126,  126,    0,  126,

       72,    0,    0,  101,  126,  126,  126,  126,  126,  126,
      126,    0,  126,  126,  126,    0,  126,   58,  126,    0,
      126,    0,    0,  104,  126,  126,  126,  126,  126,  126,
        0,  126,  126,   59,    0,  126,  126,    0,  126,    0,
        0,  126,  103,  126,  126,  126,  126,    0,   81,  126,
        0,  126,  126,    0,   82,    0,    0,  126,  126,   78,
      126,  126,   81,  126,    0,   30,  126,   82,    0,   78,
      126,  126,  126,  126,  126,   30,  108,    0,  105,   95,
      126,  126,  126,   95,   73,  126,   83,    0,  126,  126,
      126,  126,  126,  126,   79,   74,    0

    } ;

static yyconst int yy_ec[256] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
        1,    1,    2,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    2,    1,    4,    1,    1,    1,    1,    5,    6,
        7,    1,    1,    8,    9,   10,    1,   11,   12,   13,
       13,   13,   13,   13,   13,   13,   13,   14,   15,   16,
       17,    1,    1,    1,   18,   19,   20,   21,   22,   23,
       24,   25,   26,   27,   28,   29,   30,   31,   32,   33,
       34,   35,   36,   37,   38,   39,   40,   41,   42,   43,
       44,    1,   45,    1,    1,    1,   46,   47,   48,   47,

       47,   47,   49,   49,   49,   49,   49,   49,   49,   50,
       49,   49,   49,   49,   51,   49,   49,   49,   49,   49,
       49,   49,   52,   53,   54,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,

        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    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[55] =
    {   0,
        1,    1,    1,    1,    2,    1,    1,    1,    3,    1,
        4,    4,    4,    1,    1,    1,    1,    4,    4,    4,
        4,    4,    4,    3,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    1,    1,    4,    4,    4,    3,    3,
        3,    1,    1,    1
    } ;

static yyconst short int yy_base[706] =
    {   0,
        0,    0,    0,    0,    0,    0,  508, 3540,   53,  499,
       52, 3540, 3540, 3540,  491, 3540, 3540,   47,  482, 3540,
     3540,   63,   96,   98,  113,  115,  126,  127,  140,  141,
      158,  153,  179,  188,  155,  187,  200,  205,  212,  217,
       41, 3540,  484, 3540, 3540, 3540, 3540, 3540,   65,  478,
      472,   54,  131,  466,  237,   58,  452,  162,  248,  226,
      239,  243,  263,  274,  247,  279,  281,  290,  456,  296,
      302,  302,  304,  305,  339,  323,  331,  338,  333,  354,
      359,  361,  363,  379,  387,  395,  402,  411,  417,  428,
      433,  439,  441,  397,  442,  453,  455,  471,  479,  486,

      502,  495,  507,  522,  524,  530,  539,  541,  547,  415,
      412,  440,  436, 3540, 3540,  416,  151, 3540,  185,  282,
     3540,  420,  549,  547,  556,  573,  580,  582,  589,  407,
      588,  597,  599,  606,  611,  626,  631,  637,  640,  639,
      657,  664,  669,  666,  669,  678,  683,  686,  691,  727,
      705,  713,  718,  726,  727,  739,  740,  748,  762,  751,
      753,  770,  775,  784,  796,  789,  798,  801,  810,  819,
      828,  833,  836,  851,  861,  867,  869,  780,  878,  882,
      884,  891,  844,  899,  908,  915,  914,  921,  928,  933,
      935,  936,  947, 3540, 3540,  408,  384,  954,  962,  969,

      977,  988,  976, 1004, 1013, 1022,  995, 1009, 1013, 1014,
     1025, 1027, 1028, 1042, 1053, 1050, 1055, 1072, 1081, 1074,
     1079, 1093, 1098, 1100, 1115, 1112, 1117, 1124, 1129, 1141,
     1150, 1143, 1155, 1158, 1175, 1182, 1191, 1181, 1190, 1218,
     1226, 1228, 1212, 1221, 1219, 1220, 1233, 1244, 1251, 1252,
     1259, 1266, 1274, 1281, 1292, 1289, 1300, 1313, 1311, 1325,
     1330, 1337, 1339, 1342, 1351, 1354, 1365, 1369, 1375,  483,
      366, 1380, 1386, 1391, 1390, 1399, 1410, 1416, 1413,  378,
     1444, 1418, 1435, 1437, 1462, 1453, 1461, 1456, 1467, 1465,
     1478, 1482, 1493, 1498, 1504, 1510, 1516, 1521, 1536, 1538,

     1543, 1554, 1560, 1559, 1568, 1593, 1595, 1603, 1605, 1613,
     1615, 1608,  367, 1618, 1644, 1649, 1636, 1643, 1577, 1635,
     1638, 1659, 1661, 1662, 1674, 1685, 1687, 1688, 1699, 1706,
     1711, 1713, 1747, 1738, 1743, 1749, 1760,  508,  351, 1755,
     1767, 1772, 1778, 1783, 1789, 1794, 1800, 1809, 1811, 1818,
     1817, 1828, 1830, 1831, 1843, 1845, 1852, 1854, 1872, 1878,
     1884, 1889, 1884, 1892, 1897, 1899, 1910, 1911, 1918, 1932,
     1937,  349, 1959, 1944, 1955, 1956, 1958, 1970, 1977, 1984,
     1985, 1998, 2003, 2006, 2011, 2020, 2025, 2028, 1985, 2036,
     2052, 2057, 2059, 2064, 2067, 2069,  351, 2072, 2103, 2113,

     2081,  308, 3540, 2095, 2103, 2104, 2116, 2125, 2130, 2133,
     2144, 2151, 2152, 2159, 2166, 2173, 2174, 2181, 2188, 2195,
     2196, 2207, 2209, 2218, 2221, 2226, 2233, 2240,  360,  306,
     2267, 2251, 2252, 2263, 2267, 2279, 2284, 2284, 2287, 2301,
     2301, 2306, 2309, 2314, 2328, 2331, 2343, 2336,  318, 2374,
     2377,  400, 3540,  424, 2379, 2387, 2371, 2376, 2384, 2397,
     2418, 2392, 2409, 2410, 2411, 2424, 2432, 2433, 2441, 2454,
     2455, 2456, 2405,  317, 2463, 2468, 2477, 2480, 2485, 2492,
     2504, 2507, 2506, 2515, 2542, 2550, 2532, 2534, 2559, 2568,
     2579, 2581, 2584, 2576,  844, 2577, 2593, 2600, 2595, 2598,

     2612, 1669, 2619, 2621, 2633, 2634, 2636, 2668, 2670, 2659,
      296, 2663, 2674, 2683, 2689, 2694, 2701, 2709, 2716, 2718,
      288, 2741, 2743, 1945, 2745, 2754, 2756, 2758,  273,  261,
     2755, 2757, 2775, 2781, 2781, 2784, 2796, 2798, 2799,  264,
     2807, 2821, 2828, 2810,  266, 2842, 2853,  246, 2839, 2853,
     2854, 2856, 2871, 2878,  241, 2879, 2880, 2893,  245,  233,
     2901, 2902, 2904, 2854, 2919, 2928, 2947,  221, 2931, 2936,
     2938, 2949, 2950,  219, 2957, 2962, 2971, 2974,  216, 2983,
     2988,  218,  208, 2996, 3005, 3007, 3014, 3026, 3033,   42,
      209, 3032, 3061, 3064,  207, 3057, 3057, 3060,  196, 3078,

     3071,  198,  197, 3083, 3086, 3101, 3100, 3108, 3115, 3122,
     3127,  180, 3129, 3140, 3141,  184, 3148, 3155, 3162,  176,
     3163,  166,  155, 3170, 3177, 3185, 3194, 3196, 3199, 3207,
      171, 3218, 3221, 3226,  163, 3229, 3240,  164, 3243,  152,
      152, 3248, 3251, 3262, 3265, 3273, 3270,  115, 3291, 3299,
      112, 3301, 3306,   90, 3323,   89,   83, 3305, 3318, 3326,
     3329, 3331, 3540, 3340,   82, 3343, 3348, 3540,   77, 3540,
     3355, 3357, 3362, 3372, 3387, 3540, 3389,   71, 3394, 3396,
     3411, 3410, 3411, 3540, 3413, 3438, 3447,   58, 3455, 3437,
     3458, 3444, 3449, 3461, 3468, 3470, 3540, 3512, 3516, 3520,

     3523, 3525, 3529, 3531, 3535
    } ;

static yyconst short int yy_def[706] =
    {   0,
      697,    1,  698,  698,  699,  699,  697,  697,  697,  700,
      701,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,   22,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
      697,  697,  702,  697,  697,  697,  697,  697,  697,  700,
      697,  697,  701,  701,  703,  697,  697,  697,   23,   23,
       23,   33,   33,   33,   23,   33,   33,   33,  704,   33,
       33,   23,   23,   23,   59,   23,   33,   33,   33,   33,
       33,   33,   23,   33,   33,   33,   33,   33,   33,   33,
       33,   33,   23,   23,   23,   23,   23,   33,   33,   33,

       33,   33,   33,   33,   33,   33,   33,   33,   33,  697,
      697,  702,  702,  697,  697,  697,  703,  697,  703,  703,
      697,  697,   23,   23,   23,   33,   33,   33,   33,  704,
       23,   23,   23,   23,   23,   33,   33,   33,   23,   23,
       33,   33,   33,   59,   23,   23,   23,   23,   23,   59,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   33,   33,   33,   33,   33,   23,
       23,   23,   59,   33,   33,   33,   23,   23,   23,   23,
       23,   23,   23,  697,  697,  703,  697,   23,   23,   23,

       23,   23,   23,   59,   59,   59,   23,   33,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   33,   33,   33,   23,   23,   59,
       59,   59,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   33,   33,  703,
      697,   33,   33,   33,   23,   23,   33,   23,   23,   59,
       59,   23,   23,   23,   59,   33,   33,   23,   23,   23,
       23,   33,   33,   33,   33,   33,   33,   33,   33,   33,

       33,   33,   33,   23,   23,   59,   59,   59,   59,   59,
       59,   23,   59,   59,   59,   59,   33,   33,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   59,   33,   33,   33,   33,  703,  697,   33,
       33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
       23,   23,   23,   23,   23,   23,   23,   23,   33,   33,
       33,   33,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   59,   59,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   33,   33,
       33,   33,   33,   33,   23,   23,   59,   23,   59,   59,

       23,  705,  697,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,  697,   59,
       59,   23,   23,   23,   33,   33,   33,   23,   23,   33,
       23,   23,   23,   23,   23,   23,   23,   23,   59,   59,
       59,  705,  697,  705,   59,   59,   23,   23,   23,   23,
       59,   59,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   33,  697,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   59,   59,   23,   23,   59,   59,
       59,   59,   59,  697,   59,   33,   23,   23,   23,   23,

       23,  697,   23,   23,   23,   23,   23,   59,   59,   23,
      697,   33,   33,   33,   33,   33,   33,   33,   33,   33,
       59,   59,   59,  697,   59,   59,   59,   59,  697,  697,
       23,   23,   33,   33,   23,   23,   23,   23,   23,  697,
       23,   23,   23,   23,   59,   59,   59,  697,   23,   23,
       23,   23,   23,   23,  697,   23,   23,   23,  697,  697,
       23,   23,   23,   33,   33,   33,   59,  697,   23,   23,
       23,   23,   23,  697,   23,   23,   23,   23,  697,   23,
       23,  697,  697,   23,   23,   23,   23,   23,   23,   59,
      697,   59,   59,   59,  697,   33,   23,   23,  697,   23,

       23,  697,  697,   23,   23,   23,   23,   23,   23,   23,
       23,  697,   23,   23,   23,  697,   23,   23,   23,  697,
       23,  697,  697,   23,   23,   23,   23,   23,   23,   23,
      697,   23,   23,   23,  697,   23,   23,  697,   23,  697,
      697,   23,   23,   23,   23,   23,   23,  697,   23,   33,
      697,   33,   33,  697,   33,  697,  697,   23,   23,   23,
       23,   23,  697,   23,  697,   23,   23,  697,  697,  697,
       23,   23,   23,   33,   33,  697,   33,  697,   33,   33,
       33,   23,   23,  697,   23,   59,   59,   59,   59,   23,
       59,   23,   23,   23,   23,   23,    0,  697,  697,  697,

      697,  697,  697,  697,  697
    } ;

static yyconst short int yy_nxt[3595] =
    {   0,
        8,    9,    9,   10,   11,   12,   13,   14,   15,   16,
       17,   18,   18,   19,   20,   21,    8,   22,   23,   24,
       25,   26,   27,   28,   28,   29,   28,   28,   30,   31,
       32,   33,   34,   28,   35,   36,   37,   38,   39,   40,
       28,   28,   28,   41,   42,   43,   43,   43,   43,   43,
       43,   44,   45,   46,   49,   49,   52,   56,   56,   56,
      110,  610,   53,   53,   58,   58,   49,   49,   56,   56,
       56,   59,  114,   60,   60,   60,  111,  611,  115,  689,
       60,   61,   62,   60,   60,   60,   60,   60,   60,   60,
       60,   63,   64,   65,   60,   66,   60,   67,   68,   60,

       60,   60,   60,   60,   60,   60,  684,  678,   69,   69,
       69,   69,   69,   69,   60,   60,  676,   70,  670,   60,
      669,   71,   74,   60,   60,  668,   60,   72,   60,   75,
       60,   60,   76,  665,   77,   52,   60,   73,   60,   60,
       60,   53,   53,   81,   60,   78,   60,   60,   60,   79,
      663,   60,   60,  118,   60,   80,   60,   82,   60,  119,
       83,   60,   60,   58,   58,   60,   86,   60,   60,   84,
       85,   60,   60,  657,   60,   87,   98,  656,   60,   60,
       60,   60,   60,   88,   60,  654,   60,  118,  651,   60,
       89,  122,  648,  118,   60,  641,   60,   90,   91,   60,

       60,   92,  640,  638,   60,   94,  635,  631,   99,   60,
       60,   93,  100,   60,  623,  622,   95,  104,   60,   96,
       60,   60,   97,  101,  102,   60,   60,  620,  103,   60,
       60,  105,  616,   60,  106,  107,   60,  108,   60,  118,
      612,   60,  109,   60,  603,  119,   60,   60,   60,  697,
      697,   60,  602,   60,  599,  595,  697,   60,   60,  591,
       60,   60,  124,  583,   60,   60,  582,   60,   60,   60,
       60,  579,   60,   60,  123,   60,  574,   60,   60,   60,
       60,   60,   60,  572,  118,   60,  125,  120,  127,   60,
      119,  126,   60,   60,  568,   60,   60,   60,   60,   60,

       60,   60,  560,   60,  129,  559,   60,  553,   60,   60,
      453,  128,   60,   60,   60,   60,  454,  548,   60,  131,
       60,   60,   60,   60,   60,   60,   60,   60,   60,   60,
       60,  196,  132,  134,   60,   60,  135,  511,  133,  492,
       58,   58,  475,   60,   60,   60,   60,   59,  138,   60,
       60,   60,   60,  139,   60,   60,   60,  142,  143,  140,
       60,  429,  429,   60,   60,   60,  141,  145,  136,  137,
       60,  447,   60,   60,  428,  144,   60,   60,   60,   60,
       60,   60,  403,   60,   60,  474,  146,  148,   60,  122,
      147,   60,  378,   60,  150,  149,  126,   60,   60,  347,

      339,   60,  453,  271,   60,   60,  152,  153,  454,   60,
      118,  151,  154,   60,   60,  697,  119,   60,   60,   60,
       60,   60,  164,  155,   60,  156,  118,   60,   60,   60,
       60,  165,  453,   60,   60,   60,   60,  197,   60,   60,
      115,  158,  157,   60,  112,  159,   60,   60,  697,   60,
       60,   60,   60,  270,  160,   60,  195,   60,   60,  194,
       60,   60,  162,   60,  130,   60,   60,   60,  121,  161,
      116,   60,   60,   60,   60,   50,  168,  163,   60,  166,
      169,   51,   60,   60,   60,  118,  170,  167,  171,   60,
      172,  119,  112,  173,   60,   57,   60,   60,  176,   55,

      174,   60,   51,   60,   60,   60,  175,  697,   60,  179,
      118,   60,  177,  183,   60,  178,  119,   60,   60,  181,
       60,   60,  697,  697,   60,   60,   60,  184,  180,   60,
      338,  697,  697,  697,   60,  697,  182,  185,  697,   60,
       60,   60,   60,   60,   60,  186,   60,  188,   60,   60,
      697,  187,   60,  697,   60,  402,   60,  190,   60,   60,
       60,   60,   60,   60,  191,   60,   60,  189,  200,   60,
      198,   60,   60,   60,   60,  697,  192,   60,   60,   60,
       60,   60,  697,  193,  697,  199,  697,  201,   60,  697,
       60,   60,  202,  697,  697,   60,  697,   60,   60,   60,

       60,   60,   60,  697,   60,   60,  697,   60,   60,   60,
      203,   60,   60,  205,   60,  697,  697,  206,   60,   60,
       60,   60,   60,  697,   60,  697,  204,   60,   60,   60,
       60,   60,   60,  697,  207,  697,  208,   60,   60,  697,
       60,  697,   60,  126,   60,   60,  209,   60,   60,   60,
       60,  697,   60,   60,  697,   60,   60,  213,  210,   60,
       60,   60,  697,   60,  216,  214,  211,   58,   58,   60,
       60,   60,  697,  212,   59,   60,  217,  697,  215,   60,
       60,   60,   60,   60,  697,  697,   60,   60,   60,   60,
       60,   60,  697,  697,   60,  219,   60,  697,  218,   60,

      220,   60,  697,   60,  223,  697,  221,   60,   60,  222,
       60,   60,   60,  697,   60,  697,   60,   60,  697,   60,
      697,  224,   60,  697,   60,  697,   60,   60,   58,   58,
       60,  697,   60,  226,   60,   59,  227,  697,   60,  229,
      697,  228,  697,   60,   60,  697,   60,   60,  231,   60,
      697,   60,   60,  697,   60,  697,  225,   60,   60,   60,
       60,   60,  230,  697,   60,   60,  232,   60,   60,   60,
       60,   60,  235,   60,  236,  697,   60,  697,   60,   60,
       60,   60,   60,   60,   60,  233,  697,   60,  697,   60,
      234,   60,   60,   60,   60,   60,   60,  697,   60,   60,

      238,   60,   60,   60,  237,   60,   60,  697,  697,   60,
       60,   60,   60,  240,   60,   60,   60,   60,  239,   60,
       60,   60,   60,   60,  241,   60,   60,   60,  697,   60,
       60,   60,   60,  697,  242,   60,  243,   60,  697,   60,
       60,   60,   60,  697,   60,   58,   58,  697,  244,   60,
       60,   60,   59,   60,   60,  245,  246,  248,   60,   60,
       60,  249,  531,  697,   60,  532,  697,   60,  126,   60,
      247,  697,   60,  259,   60,  533,   60,   60,  697,   60,
       60,  534,  250,   60,  697,   60,   60,   60,   60,   60,
      697,   60,   60,  251,  697,  697,   60,   60,  252,   60,

       60,   60,  697,  256,  253,   60,  254,   60,  255,   60,
       60,  697,   60,   60,  697,   60,  258,   60,   60,  697,
      257,   60,   60,   60,  697,   60,   60,   60,  697,  697,
       60,  260,   60,   60,   60,  263,  697,   60,  697,   60,
       60,  697,   60,  697,  261,   60,   60,   60,  697,  265,
      262,  264,   60,   60,   60,   60,   60,   60,  266,   60,
       60,  268,   60,  697,   60,  697,   60,   60,   60,   60,
      697,  269,   60,  267,   60,   60,   60,   60,   60,   60,
      697,  697,  697,   60,  272,   60,  697,   60,   60,  697,
       60,  697,  697,   60,   60,   60,  273,   60,   60,  697,

       60,  277,   60,   60,  274,   58,   58,   60,   60,   60,
       60,  275,   59,   60,   58,   58,  281,   60,   60,   60,
       60,   59,  276,   58,   58,  697,   60,   60,  282,   60,
      280,   60,  697,  278,  283,   60,   60,  697,   60,   60,
      697,   60,   64,  279,   60,  284,   60,  697,   60,   60,
       60,   64,  286,   60,   60,   60,   60,  697,   60,   60,
      697,  697,  285,   60,  697,  287,   60,   60,   60,   60,
      289,   60,  288,   60,   60,   60,   60,  697,   60,  697,
       60,   60,  697,   60,   60,  697,   60,  697,  290,  291,
      697,   60,  697,   60,   60,   60,   60,   60,  126,   60,

       60,  697,  293,   60,  295,   60,   60,  697,  294,  697,
       60,  697,   60,  292,   60,   60,  697,  697,   60,   60,
       60,  298,   60,   60,   60,   60,  697,  296,  297,   60,
      697,   60,  126,   60,   60,  697,   60,  299,   60,   60,
       60,   60,   60,   60,  697,   60,   60,  697,   60,   60,
       60,  300,  697,   60,   60,   60,   60,  697,   60,  697,
       60,  301,   60,  697,  305,   60,  303,  697,   60,  302,
       60,   60,   60,  304,   60,   60,   60,  697,  697,   60,
       60,   60,   60,   60,   60,  697,   60,  697,  697,   60,
      306,   60,  697,   60,  307,  697,   60,   60,  697,   60,

       60,   60,   60,  697,   60,  697,   60,   60,  309,   60,
       60,  311,  310,   60,   60,   60,  697,  697,  308,   58,
       58,   60,   60,   60,  697,  697,   59,   58,   58,   58,
       58,   60,  697,  315,  313,  697,   59,   60,  316,  697,
      317,   60,   60,   60,   60,   60,   60,  312,  697,  697,
       60,   60,   60,   60,   60,   64,  697,   64,   60,  697,
       60,   60,   60,  314,   60,   60,  697,  318,  697,   60,
      697,  697,   60,   60,   60,   60,   60,   60,  319,  697,
       60,  320,   60,   60,   60,   60,  697,   60,  321,  697,
      322,   60,   60,   60,  323,   60,  697,   60,  697,   60,

       60,  697,  325,  697,  697,   60,   60,   60,  324,  326,
       60,  697,   60,  327,   60,   60,  697,   60,  697,  697,
       60,   60,   60,   60,  697,   60,  697,  697,  126,  697,
       60,   60,   60,   60,   60,  697,  330,  328,   60,  697,
      697,   60,   60,  329,   60,  697,   60,  332,  697,  697,
       60,   60,   60,  331,   60,   60,   60,  697,   60,  697,
       60,   60,   60,   60,   60,  697,   60,   60,   60,  333,
       60,   60,   60,   60,  697,   60,   60,  334,   60,   60,
       60,  697,   60,   60,  335,   60,  336,  337,   60,  697,
       60,   60,   60,   60,   60,   60,   60,   60,   60,   60,

      697,   60,   60,  341,   60,   60,   60,   60,   60,   60,
       60,   60,   60,   60,  697,  343,  340,  697,   60,  697,
       60,   60,  697,   60,   60,  697,  342,  697,   60,  345,
      344,   60,   60,  126,   60,  697,  697,  346,   60,  349,
       60,   60,   60,   60,   60,   58,   58,   60,  697,   60,
      697,  697,   59,  697,   60,  697,   60,   60,   60,   60,
       60,  348,   60,   58,   58,  350,   60,  351,   60,  697,
       59,   60,  353,   64,  697,   60,   60,  355,   60,   60,
       60,  356,  697,   60,  697,   60,  358,   60,   60,  354,
       60,  352,   60,   60,  697,  357,   60,   60,   60,   60,

       60,   60,  697,  359,   60,  697,   60,  697,   60,   60,
      697,   60,   60,  697,  360,   60,   60,   60,  697,   60,
       60,  697,   60,  363,  697,   60,   60,  361,   60,   60,
       60,  697,   60,  362,   60,   60,   60,  697,   60,   60,
       60,  697,   60,   60,  697,  697,  364,  697,   60,  697,
      697,  365,  697,   60,   60,  366,   60,   60,   60,  697,
       60,   60,   60,  368,  697,   60,  697,  697,   60,  697,
       60,  697,   60,   60,  367,   60,   60,  369,   60,   60,
      370,  697,   60,  697,   60,  697,   60,  697,  371,   60,
       60,  697,   60,   60,   58,   58,   58,   58,  383,   60,

       60,  372,   60,   59,   58,   58,   58,   58,   60,   60,
      697,   59,  697,   59,   58,   58,   58,   58,   60,   58,
       58,   59,   64,   59,   64,  126,   59,  697,  697,  377,
      697,  373,   64,   60,   64,  376,  697,  697,  697,   60,
      697,  374,   64,  375,   64,   58,   58,   64,  697,   60,
       58,   58,   59,  697,   60,  381,  384,   59,   60,  385,
       60,   60,   60,   60,  697,   60,   60,  697,   60,   60,
      502,  502,  697,   64,  379,   60,   60,  382,   64,   60,
       60,  697,   60,   60,   60,  380,   60,  388,  697,  386,
       60,  697,   60,   60,  540,   60,  697,  387,  122,   60,

       60,  697,   60,   60,  389,   60,   60,  391,   60,   60,
       60,  697,   60,   60,  697,   60,   60,  697,   60,   60,
       60,  390,  393,  392,   60,  697,   60,   60,   60,   60,
       60,   60,   60,  697,   60,  697,  395,   60,   60,  697,
       60,  394,   60,  697,   60,  697,  697,   60,   58,   58,
      697,  697,   60,  396,   60,  397,   60,   60,  697,  697,
      398,   60,   60,  399,  697,   60,  697,   60,   60,  697,
       60,   60,  697,   60,   60,   60,   64,   60,   60,   60,
      697,   60,   60,  400,  697,   60,  404,   60,  401,   60,
       60,   60,   60,  697,   60,  697,   60,   60,  697,   60,

       60,   60,   60,  697,   60,   60,  406,   60,   60,  697,
       60,   60,   60,   60,  405,   60,   60,  697,   60,   60,
      697,   60,   60,  697,  407,  697,   60,   60,   60,   60,
       60,   60,   60,   60,  408,  697,   60,   60,  410,  409,
       60,   60,   60,   60,  697,  126,  697,  412,   60,  411,
       60,   60,   60,   60,  697,   60,   60,  697,   60,   60,
      697,   60,   60,  414,   60,  697,   60,  413,   60,   60,
       60,   60,   60,   60,   60,   60,   60,   60,  697,   60,
      697,  415,  697,   60,   60,   60,   60,  697,  416,  697,
       60,   60,  697,   60,   60,   60,   60,   60,  697,  697,

       60,  419,   60,   60,  417,   60,   60,   60,   60,  420,
       60,   60,  697,   60,  418,   60,   60,   60,   60,  697,
       60,   60,  422,   60,  423,   60,  697,  421,   60,  697,
       60,   60,  425,   60,  697,   60,   60,  697,   60,   60,
       60,   60,   60,   60,  697,  424,  524,  524,  697,   60,
      697,   60,   60,   60,  426,  697,  697,   60,   60,   60,
      429,  429,   60,   60,  697,   60,  427,  430,   60,  432,
      555,  697,  433,   60,  122,   60,   60,   60,   60,   60,
       60,   60,  697,   60,  431,   60,   60,   60,   64,   60,
      697,   60,  697,  697,  434,   60,   60,   60,   60,   60,

      435,   60,   60,   60,  443,  437,   60,   60,   60,   60,
       60,   60,  697,  436,  697,   60,   60,   60,   60,   60,
      697,  438,  697,  439,   60,   60,   60,   60,   60,   60,
      697,   60,   60,  440,   60,  697,   60,   60,  697,   60,
      441,   60,   60,  697,   60,   60,   60,   60,  697,   60,
       60,   60,   60,   60,   60,   60,   60,  697,   60,   60,
      697,   60,  697,  697,  442,  697,   60,  697,   60,   60,
       60,   60,  697,  444,   60,   60,   60,   60,   60,   60,
      697,   60,   60,   60,   60,  697,   60,  697,  446,   60,
       60,   60,   60,  448,   60,  697,   60,   60,   60,  445,

       60,  697,  451,   60,   58,   58,   60,  697,   60,  697,
       60,  449,   60,   60,   58,   58,   60,  697,  697,  697,
       60,   59,   60,  697,   60,   60,   60,  456,   60,   60,
      697,  455,   64,  697,   60,   60,   60,   60,  697,  697,
      457,   60,   64,  697,   60,   60,   60,   60,  450,  697,
       60,   60,  458,  697,   60,   60,   60,   60,   60,  459,
      697,   60,  697,  460,   60,   60,   60,  697,  697,   60,
      697,   60,   60,   60,   60,   60,   60,   60,  461,  462,
       60,  697,   60,   60,   60,   60,  697,   60,  697,  697,
       60,  463,   60,   60,   60,   60,  697,   60,   60,   60,

       60,  697,  466,  697,   60,   60,   60,   60,  697,   60,
      465,  697,   60,   60,  464,   60,   60,   60,  697,   60,
       60,   60,   60,  697,  467,  697,   60,   60,   60,   60,
       60,  468,   60,  697,   60,  697,   60,   60,  469,   60,
       60,  697,   60,   60,  697,  470,   60,   60,   60,   60,
       60,   60,   60,  697,   60,  697,  471,  472,   60,   60,
      697,   60,   60,  697,   60,   60,  697,   60,   58,   58,
      473,   60,   60,   60,   60,   59,   60,   60,  697,  697,
      478,   60,  477,   60,  479,   60,   60,  476,   60,  480,
      697,  697,   60,   60,   60,  697,   64,   60,   60,   60,

      697,   60,   60,   60,   60,  481,   60,  697,   60,   60,
      697,   60,   60,  697,  697,   60,   60,  482,   60,   60,
      483,  697,  484,   60,  697,   60,   60,   60,   60,  697,
      486,   60,   60,   60,   60,   60,  697,   60,  697,   60,
       60,  697,   60,  697,  697,   60,  697,  485,  487,   60,
       60,  697,   60,  488,  697,   60,   60,   60,  697,   60,
      490,   60,   60,  697,   60,  489,  697,   60,   60,   60,
      491,  697,   60,  697,   60,   58,   58,   60,   58,   58,
      494,  494,   59,  697,   60,   59,  697,  495,   58,   58,
      697,  493,   60,   58,   58,   59,  499,   60,  697,  697,

       59,   60,   60,   64,  697,   60,   64,   60,   64,   60,
      496,  697,   60,  697,  497,  500,  498,   60,   60,  502,
      502,   64,   60,   60,   60,   60,   59,  510,   60,  697,
       60,   60,   60,  501,   60,   60,  505,   60,   60,  697,
      504,   60,   60,  503,  506,   60,  697,   64,  697,   60,
       60,   60,   60,  507,   60,   60,  697,   60,   60,  697,
      697,  697,   60,   60,   60,   60,   60,  697,  697,  697,
      697,  508,   60,   60,   60,   60,   60,   60,  697,   60,
       60,   60,   60,  697,   60,   60,   60,   60,   60,  513,
      509,  697,  697,   60,   60,   60,   60,   60,   60,   60,

      697,   60,   60,  697,  512,   60,   60,  514,   60,   60,
       60,   60,  697,   60,  697,  697,   60,  516,   60,  515,
      697,   60,  697,   60,  517,   60,   60,  519,   60,   60,
      518,   60,   60,   60,  697,   60,   60,   60,   60,  697,
       60,  697,  697,   58,   58,   60,   60,   60,   60,  520,
      521,   58,   58,  522,  697,   60,   60,   60,   59,   60,
      524,  524,  697,   60,  697,  523,  697,   59,  697,   58,
       58,   64,  697,   60,  697,   60,   59,  494,  494,   64,
       58,   58,   58,   58,  525,   58,   58,   59,   64,   59,
      697,  697,   59,  697,  697,   60,   60,   64,  697,   60,

      697,  697,  697,  697,  526,  122,  697,  529,   64,  535,
       64,  530,  528,   64,   60,  527,   60,  126,   60,   60,
       60,   60,  697,   60,   60,   60,  537,  697,  697,   60,
      697,   60,  538,   60,  536,  697,   60,   60,  697,   60,
       60,   60,   60,   60,   60,  697,   60,  539,  697,  541,
       60,  542,   60,   60,   60,   60,  544,   60,   60,   60,
       60,   60,   60,  697,  543,   60,  697,   60,  697,   58,
       58,   58,   58,  697,   60,   60,  545,   60,   59,  697,
       60,   60,   60,  697,  547,   60,  697,  697,  697,  697,
       60,  697,   60,   60,  697,  549,   60,   64,  697,   64,

       60,   60,   60,  546,  550,   60,   60,   60,   60,  697,
      697,   60,   60,   60,  697,   60,   60,  697,  551,   60,
       60,   60,  697,   60,  552,  697,   60,   60,   60,  697,
      697,   60,  697,   60,   60,   60,   60,   60,   60,  697,
       60,   60,   58,   58,   58,   58,   58,   58,   60,   59,
       60,   59,  697,   59,  697,   58,   58,   58,   58,   58,
       58,  697,   59,  697,   59,  697,   59,  697,  697,  697,
       64,  557,   64,  554,   64,  556,   60,  697,   60,  697,
      561,  697,   60,   64,  697,   64,   60,   64,   60,  697,
      558,  562,  697,   60,   60,  697,   60,   60,   60,   60,

       60,  697,  565,   60,  697,   60,   60,  563,  697,   60,
      697,  564,   60,   60,  566,   60,  697,   60,  697,   60,
       60,   60,   60,   60,   60,   60,  567,   60,   60,   60,
       60,   60,   60,  697,  697,   60,  697,   60,   60,   60,
       60,   60,   60,   58,   58,  569,   60,  697,   60,   60,
       59,   60,   60,   60,   58,   58,  570,  697,  571,   60,
      575,   59,   60,  697,   60,  697,  697,  697,  697,   60,
       60,   64,  587,   60,   60,   60,   60,   60,   60,   60,
       60,  577,   64,  573,   60,   60,   60,   60,  578,  576,
      697,  697,   60,  697,   60,   60,   60,   60,  697,   60,

       60,   60,   60,   60,   60,   60,  697,  697,  697,   60,
       60,   60,   60,  697,   60,  697,  697,  580,   60,   60,
       60,   60,   60,   60,  581,  586,   60,   60,  697,   60,
      697,  584,   60,   60,   60,   60,  585,   60,   60,  697,
      697,   60,   60,   60,  697,   60,   60,   60,   58,   58,
       60,   60,   60,  588,  697,  590,   60,   60,  697,   60,
       60,   60,  592,   60,  589,  697,  697,   60,  697,   60,
       60,   60,   60,  697,   60,  594,   64,   60,   60,   60,
       60,   60,   60,   60,  697,  593,  697,  596,   60,  697,
       60,   60,   60,   60,  697,   60,   60,  697,   60,   60,

      697,  697,   60,   60,   60,   60,  697,  597,   60,   60,
      598,  697,   60,   60,  600,   60,  604,   60,  697,   60,
      697,   60,  601,  697,   60,  697,   60,   60,   60,   60,
       60,  697,   60,   58,   58,   60,  605,   60,   60,  607,
       59,  606,  697,  608,  697,   60,   60,   60,   60,  697,
      609,   60,  697,  697,   60,   60,  697,   60,   60,  613,
      697,   64,   58,   58,   60,   58,   58,   60,  697,   59,
      697,  697,   59,  697,   60,   60,   60,  697,   60,  617,
      697,  619,   60,  697,  697,   60,  697,  697,   60,   60,
       64,   60,   60,   64,  697,  697,   60,  614,  618,   60,

      615,   60,   60,   60,   60,  621,  697,   60,   60,   60,
      697,   60,   60,  697,   60,  697,  697,   60,  625,   60,
      624,   60,   60,  697,   60,   60,   60,   60,  697,   60,
      626,   60,   60,   60,  697,  697,   60,  697,  697,   60,
       60,   60,   60,   60,  627,  697,   60,   60,  630,   60,
      632,  697,   60,  629,   60,  628,   60,  697,   60,  697,
       60,   60,   60,   60,  697,   60,   60,  697,   60,   60,
       60,   60,   60,  636,  633,  697,   60,  697,  697,   60,
       60,   60,  634,   60,  639,  637,   60,   60,   60,   60,
      697,   60,  697,   60,   60,   60,   60,  697,   60,  697,

      697,   60,   60,   60,   60,  643,   60,  697,   60,  697,
       60,   60,  697,  642,  697,   60,   60,  645,   60,  644,
       60,   60,  697,  697,   60,   60,   60,   60,   60,  646,
       60,  697,   60,  697,  697,   60,  697,   60,   60,   60,
       60,  647,   60,   60,  697,  697,  650,   60,   60,   60,
      652,   60,   60,  649,   60,  697,  697,   60,  697,   60,
       60,   60,   60,  697,   60,   60,  697,   60,   60,   60,
       60,  653,   60,  658,   60,  697,   60,  697,  655,   60,
      697,   60,   60,   60,   60,  697,   60,   60,  697,   60,
       60,   60,   60,  659,   60,   60,   60,  697,   60,  697,

      660,   60,  697,   60,   60,  697,   60,  697,  662,  661,
      697,   60,   60,  697,   60,  697,   60,  664,   60,   60,
       60,   60,   60,   60,   60,   60,   60,  697,   60,  697,
       60,   60,   60,   60,  697,  666,  671,  697,   60,   60,
      667,   60,   60,   60,  697,   60,   60,   60,  672,   60,
      673,   60,   60,  697,   60,   60,  674,   60,  697,   60,
       60,   60,   60,  697,   60,   60,  697,   60,   60,   60,
       60,   60,   60,   60,   60,  697,   60,  675,   60,   60,
       60,   60,   60,   60,   60,  679,   60,   60,   60,  677,
       60,  682,  680,   60,   60,  697,   60,  697,   60,  697,

      697,  697,  681,   60,   60,   60,   60,   60,   60,   60,
      697,   60,   60,   60,   60,   60,   60,  697,   60,   60,
      697,   60,  697,  683,  697,  697,   60,  697,   60,   60,
       60,  686,  687,   60,   60,   60,   60,  697,   60,   58,
       58,   60,   60,   60,   60,  697,  688,  685,   58,   58,
      697,   60,   60,  697,   60,   59,   58,   58,  691,   58,
       58,  126,   60,   59,  697,  693,   59,   64,   60,   60,
       60,  697,  697,  697,   60,   60,   64,  697,   60,  694,
       60,  697,   60,  690,   64,   60,   60,  692,  697,   60,
       60,   60,   60,   60,  697,   60,  697,  695,  697,   60,

      697,   60,   60,  696,  697,  697,  697,  697,  697,   60,
      697,   60,   47,   47,   47,   47,   48,   48,   48,   48,
       50,   50,   50,   50,   54,  697,   54,  113,  113,  117,
      117,  117,  117,   69,   69,  452,  452,  452,  452,    7,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697

    } ;

static yyconst short int yy_chk[3595] =
    {   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,    9,    9,   11,   18,   18,   18,
       41,  590,   11,   11,   22,   22,   49,   49,   56,   56,
       56,   22,   52,   22,   22,   22,   41,  590,   52,  688,
       22,   22,   22,   22,   22,   22,   22,   22,   22,   22,
       22,   22,   22,   22,   22,   22,   22,   22,   22,   22,

       22,   22,   22,   22,   22,   22,  678,  669,   22,   22,
       22,   22,   22,   22,   23,   23,  665,   23,  657,   24,
      656,   23,   24,   24,   23,  654,   23,   23,   23,   24,
       23,   23,   24,  651,   25,   53,   26,   23,   25,   24,
       26,   53,   53,   27,   25,   26,   26,   27,   28,   26,
      648,   27,   28,  117,   25,   26,   26,   27,   28,  117,
       27,   29,   30,   58,   58,   29,   30,   27,   28,   29,
       29,   29,   30,  641,   32,   31,   35,  640,   32,   31,
       35,   29,   30,   31,   32,  638,   35,  119,  635,   31,
       32,   58,  631,  119,   32,  623,   35,   33,   33,   31,

       33,   33,  622,  620,   33,   34,  616,  612,   36,   34,
       33,   33,   36,   34,  603,  602,   34,   37,   36,   34,
       33,   37,   34,   36,   36,   37,   38,  599,   36,   34,
       38,   37,  595,   39,   37,   38,   38,   39,   40,   55,
      591,   37,   40,   39,  583,   55,   38,   60,   40,   59,
       59,   60,  582,   39,  579,  574,   59,   60,   40,  568,
       61,   62,   62,  560,   61,   62,  559,   60,   65,   59,
       61,  555,   65,   59,   61,   62,  548,   59,   65,   59,
       61,   63,   63,  545,  120,   63,   63,   55,   65,   59,
      120,   64,   64,   64,  540,   63,   64,   66,   66,   67,

       67,   66,  530,   67,   67,  529,   64,  521,   68,   68,
      402,   66,   68,   67,   70,   70,  402,  511,   70,   70,
       71,   71,   68,   72,   71,   73,   74,   72,   70,   73,
       74,  120,   71,   72,   71,   73,   74,  474,   71,  449,
       75,   75,  430,   72,   76,   73,   74,   75,   76,   77,
       77,   79,   79,   77,   76,   79,   78,   78,   78,   77,
       78,  429,  429,   77,   76,   79,   77,   79,   75,   75,
       78,  397,   80,   80,  372,   78,   80,   81,   81,   82,
       82,   81,  339,   82,   83,  429,   80,   81,   83,  429,
       80,   81,  313,   82,   83,   82,   84,   84,   84,  280,

      271,   84,  452,  197,   83,   85,   85,   85,  452,   85,
      196,   84,   85,   86,   86,  130,  196,   86,   94,   85,
       87,   87,   94,   85,   87,   86,  454,   86,   94,   88,
       88,   94,  454,   88,   87,   89,   89,  122,   94,   89,
      116,   88,   87,   88,  113,   89,   90,   90,  112,   89,
       90,   91,   91,  196,   90,   91,  111,   92,   92,  110,
       90,   92,   93,   95,   69,   91,   93,   95,   57,   91,
       54,   92,   93,   95,   96,   51,   97,   93,   96,   95,
       97,   50,   93,   95,   96,  270,   97,   96,   98,   98,
       98,  270,   43,   98,   96,   19,   97,   99,   99,   15,

       98,   99,   10,   98,  100,  100,   98,    7,  100,  100,
      338,   99,   99,  102,  102,   99,  338,  102,  100,  101,
      101,  101,    0,    0,  101,  103,  103,  102,  100,  103,
      270,    0,    0,    0,  101,    0,  101,  103,    0,  103,
      104,  104,  105,  105,  104,  104,  105,  106,  106,  106,
        0,  105,  106,    0,  104,  338,  105,  107,  107,  108,
      108,  107,  106,  108,  107,  109,  109,  106,  124,  109,
      123,  107,  124,  108,  123,    0,  108,  125,  124,  109,
      123,  125,    0,  109,    0,  123,    0,  125,  124,    0,
      123,  126,  126,    0,    0,  126,    0,  125,  127,  127,

      128,  128,  127,    0,  128,  126,    0,  129,  129,  131,
      128,  129,  127,  131,  128,    0,    0,  132,  132,  131,
      133,  129,  132,    0,  133,    0,  129,  134,  132,  131,
      133,  134,  135,    0,  134,    0,  135,  134,  132,    0,
      133,    0,  135,  136,  136,  136,  135,  134,  136,  137,
      137,    0,  135,  137,    0,  138,  138,  139,  136,  138,
      140,  139,    0,  137,  140,  139,  137,  144,  144,  138,
      140,  139,    0,  138,  144,  141,  141,    0,  139,  141,
      140,  139,  142,  142,    0,    0,  142,  143,  143,  141,
      145,  143,    0,    0,  145,  144,  142,    0,  142,  146,

      145,  143,    0,  146,  147,    0,  146,  148,  147,  146,
      145,  148,  149,    0,  147,    0,  149,  148,    0,  146,
        0,  148,  149,    0,  147,    0,  151,  148,  150,  150,
      151,    0,  149,  151,  152,  150,  151,    0,  152,  153,
        0,  152,    0,  153,  152,    0,  151,  154,  155,  153,
        0,  154,  155,    0,  152,    0,  150,  154,  155,  153,
      156,  157,  154,    0,  156,  157,  156,  154,  155,  158,
      156,  157,  160,  158,  161,    0,  160,    0,  161,  158,
      156,  157,  160,  159,  161,  158,    0,  159,    0,  158,
      159,  162,  160,  159,  161,  162,  163,    0,  178,  178,

      163,  162,  178,  159,  162,  164,  163,    0,    0,  164,
      166,  162,  178,  165,  166,  164,  163,  165,  164,  167,
      166,  165,  168,  167,  166,  164,  168,  165,    0,  167,
      166,  169,  168,    0,  167,  169,  168,  165,    0,  167,
      170,  169,  168,    0,  170,  183,  183,    0,  169,  171,
      170,  169,  183,  171,  172,  170,  171,  173,  172,  171,
      170,  173,  495,    0,  172,  495,    0,  173,  174,  171,
      172,    0,  174,  183,  172,  495,  174,  173,    0,  175,
      175,  495,  174,  175,    0,  176,  176,  177,  177,  176,
        0,  177,  174,  175,    0,    0,  179,  179,  175,  176,

      179,  177,    0,  180,  176,  181,  177,  180,  179,  181,
      179,    0,  182,  180,    0,  181,  182,  184,  184,    0,
      181,  184,  182,  180,    0,  181,  185,  185,    0,    0,
      185,  184,  182,  186,  186,  187,    0,  186,    0,  187,
      185,    0,  188,    0,  185,  187,  188,  186,    0,  189,
      186,  188,  188,  189,  190,  187,  191,  192,  190,  189,
      191,  192,  188,    0,  190,    0,  191,  192,  193,  189,
        0,  193,  193,  191,  190,  198,  191,  192,  193,  198,
        0,    0,    0,  199,  198,  198,    0,  199,  193,    0,
      200,    0,    0,  199,  200,  198,  199,  203,  201,    0,

      200,  203,  201,  199,  200,  204,  204,  203,  201,  202,
      200,  201,  204,  202,  205,  205,  207,  203,  201,  202,
      207,  205,  202,  206,  206,    0,  207,  208,  208,  202,
      206,  208,    0,  204,  209,  210,  207,    0,  209,  210,
        0,  208,  205,  205,  209,  210,  211,    0,  212,  213,
      211,  206,  212,  213,  209,  210,  211,    0,  212,  213,
        0,    0,  211,  214,    0,  213,  211,  214,  212,  213,
      215,  216,  214,  214,  215,  216,  217,    0,  215,    0,
      217,  216,    0,  214,  215,    0,  217,    0,  216,  217,
        0,  216,    0,  218,  215,  220,  217,  218,  219,  220,

      221,    0,  219,  218,  221,  220,  219,    0,  220,    0,
      221,    0,  219,  218,  222,  220,    0,    0,  222,  223,
      221,  224,  219,  223,  222,  224,    0,  222,  223,  223,
        0,  224,  225,  226,  222,    0,  225,  226,  227,  223,
      225,  224,  227,  226,    0,  228,  225,    0,  227,  228,
      229,  227,    0,  226,  229,  228,  225,    0,  227,    0,
      229,  228,  230,    0,  232,  228,  230,    0,  232,  229,
      229,  231,  230,  231,  232,  231,  233,    0,    0,  234,
      233,  231,  230,  234,  232,    0,  233,    0,    0,  234,
      233,  231,    0,  235,  235,    0,  233,  235,    0,  234,

      236,  236,  238,    0,  236,    0,  238,  235,  237,  237,
      237,  239,  238,  237,  236,  239,    0,    0,  236,  240,
      240,  239,  238,  237,    0,    0,  240,  241,  241,  242,
      242,  239,    0,  243,  241,    0,  242,  243,  244,    0,
      245,  246,  244,  243,  245,  246,  244,  240,    0,    0,
      245,  246,  244,  243,  247,  241,    0,  242,  247,    0,
      245,  246,  244,  242,  247,  248,    0,  247,    0,  248,
        0,    0,  249,  250,  247,  248,  249,  250,  248,    0,
      251,  249,  249,  250,  251,  248,    0,  252,  250,    0,
      251,  252,  249,  250,  252,  253,    0,  252,    0,  253,

      251,    0,  254,    0,    0,  253,  254,  252,  253,  255,
      256,    0,  254,  255,  256,  253,    0,  255,    0,    0,
      256,  257,  254,  255,    0,  257,    0,    0,  259,    0,
      256,  257,  259,  255,  258,    0,  259,  257,  258,    0,
        0,  257,  259,  258,  258,    0,  260,  261,    0,    0,
      260,  261,  259,  260,  258,  261,  260,    0,  262,    0,
      263,  261,  262,  264,  263,    0,  260,  264,  262,  263,
      263,  261,  265,  264,    0,  266,  265,  264,  262,  266,
      263,    0,  265,  264,  266,  266,  267,  268,  268,    0,
      267,  268,  265,  269,  269,  266,  267,  269,  272,  272,

        0,  268,  272,  273,  273,  273,  267,  269,  273,  274,
      274,  275,  272,  274,    0,  275,  272,    0,  273,    0,
      276,  275,    0,  274,  276,    0,  274,    0,  277,  277,
      276,  275,  277,  278,  279,    0,    0,  278,  279,  282,
      276,  278,  277,  282,  279,  281,  281,  278,    0,  282,
        0,    0,  281,    0,  279,    0,  283,  278,  284,  282,
      283,  281,  284,  285,  285,  283,  283,  284,  284,    0,
      285,  286,  286,  281,    0,  286,  283,  288,  284,  287,
      287,  288,    0,  287,    0,  286,  290,  288,  289,  287,
      290,  285,  289,  287,    0,  289,  290,  288,  289,  291,

      292,  292,    0,  291,  292,    0,  290,    0,  289,  291,
        0,  293,  293,    0,  292,  293,  294,  294,    0,  291,
      294,    0,  295,  295,    0,  293,  295,  293,  296,  296,
      294,    0,  296,  294,  297,  297,  295,    0,  297,  298,
      298,    0,  296,  298,    0,    0,  296,    0,  297,    0,
        0,  297,    0,  298,  299,  299,  300,  300,  299,    0,
      300,  301,  301,  301,    0,  301,    0,    0,  299,    0,
      300,    0,  302,  302,  300,  301,  302,  303,  303,  303,
      304,    0,  303,    0,  304,    0,  302,    0,  305,  305,
      304,    0,  303,  305,  306,  306,  307,  307,  319,  305,

      304,  306,  319,  307,  308,  308,  309,  309,  319,  305,
        0,  308,    0,  309,  310,  310,  311,  311,  319,  314,
      314,  310,  306,  311,  307,  312,  314,    0,    0,  312,
        0,  307,  308,  312,  309,  311,    0,    0,    0,  312,
        0,  309,  310,  310,  311,  315,  315,  314,    0,  312,
      316,  316,  315,    0,  317,  317,  320,  316,  317,  321,
      320,  318,  318,  321,    0,  318,  320,    0,  317,  321,
      502,  502,    0,  315,  315,  318,  320,  318,  316,  321,
      322,    0,  323,  324,  322,  316,  323,  324,    0,  322,
      322,    0,  323,  324,  502,  325,    0,  323,  502,  325,

      322,    0,  323,  324,  325,  325,  326,  327,  327,  328,
      326,    0,  327,  328,    0,  325,  326,    0,  327,  328,
      329,  326,  329,  328,  329,    0,  326,  330,  327,  328,
      329,  330,  331,    0,  332,    0,  331,  330,  332,    0,
      329,  330,  331,    0,  332,    0,    0,  330,  333,  333,
        0,    0,  331,  332,  332,  333,  334,  334,    0,    0,
      334,  335,  335,  335,    0,  335,    0,  336,  336,    0,
      334,  336,    0,  340,  340,  335,  333,  340,  337,  337,
        0,  336,  337,  336,    0,  341,  341,  340,  337,  341,
      342,  342,  337,    0,  342,    0,  343,  343,    0,  341,

      343,  344,  344,    0,  342,  344,  345,  345,  345,    0,
      343,  345,  346,  346,  343,  344,  346,    0,  347,  347,
        0,  345,  347,    0,  346,    0,  346,  348,  348,  349,
      349,  348,  347,  349,  347,    0,  350,  350,  351,  348,
      350,  348,  351,  349,    0,  352,    0,  353,  351,  352,
      350,  353,  354,  352,    0,  353,  354,    0,  351,  352,
        0,  353,  354,  355,  355,    0,  356,  354,  355,  352,
      356,  353,  354,  357,  355,  358,  356,  357,    0,  358,
        0,  356,    0,  357,  355,  358,  356,    0,  358,    0,
      359,  359,    0,  357,  359,  358,  360,  360,    0,    0,

      360,  361,  361,  361,  359,  363,  361,  362,  362,  363,
      360,  362,    0,  364,  360,  363,  361,  364,  365,    0,
      366,  362,  365,  364,  366,  363,    0,  364,  365,    0,
      366,  367,  368,  364,    0,  367,  368,    0,  365,  369,
      366,  367,  368,  369,    0,  367,  524,  524,    0,  369,
        0,  367,  368,  370,  369,    0,    0,  370,  371,  369,
      373,  373,  371,  370,    0,  374,  370,  373,  371,  374,
      524,    0,  375,  370,  524,  374,  375,  376,  371,  377,
      375,  376,    0,  377,  373,  374,  375,  376,  373,  377,
        0,  378,    0,    0,  377,  378,  375,  376,  379,  377,

      378,  378,  379,  389,  389,  380,  381,  389,  379,  380,
      381,  378,    0,  379,    0,  380,  381,  389,  379,  382,
        0,  381,    0,  382,  383,  380,  381,  384,  383,  382,
        0,  384,  385,  383,  383,    0,  385,  384,    0,  382,
      386,  386,  385,    0,  383,  386,  387,  384,    0,  388,
      387,  386,  385,  388,  390,  390,  387,    0,  390,  388,
        0,  386,    0,    0,  388,    0,  387,    0,  390,  388,
      391,  391,    0,  390,  391,  392,  392,  393,  393,  392,
        0,  393,  394,  394,  391,    0,  394,    0,  395,  392,
      396,  393,  395,  398,  396,    0,  394,  398,  395,  394,

      396,    0,  401,  398,  399,  399,  401,    0,  395,    0,
      396,  399,  401,  398,  400,  400,  404,    0,    0,    0,
      404,  400,  401,    0,  405,  406,  404,  405,  405,  406,
        0,  404,  399,    0,  405,  406,  404,  407,    0,    0,
      406,  407,  400,    0,  405,  406,  408,  407,  400,    0,
      408,  409,  407,    0,  410,  409,  408,  407,  410,  408,
        0,  409,    0,  410,  410,  411,  408,    0,    0,  411,
        0,  409,  412,  413,  410,  411,  412,  413,  411,  412,
      414,    0,  412,  413,  414,  411,    0,  415,    0,    0,
      414,  415,  412,  413,  416,  417,    0,  415,  416,  417,

      414,    0,  418,    0,  416,  417,  418,  415,    0,  419,
      417,    0,  418,  419,  416,  417,  420,  421,    0,  419,
      420,  421,  418,    0,  419,    0,  420,  421,  422,  419,
      423,  420,  422,    0,  423,    0,  420,  421,  422,  424,
      423,    0,  425,  424,    0,  423,  425,  426,  422,  424,
      423,  426,  425,    0,  427,    0,  425,  426,  427,  424,
        0,  428,  425,    0,  427,  428,    0,  426,  431,  431,
      428,  428,  432,  433,  427,  431,  432,  433,    0,    0,
      433,  428,  432,  433,  434,  435,  435,  431,  434,  435,
        0,    0,  432,  433,  434,    0,  431,  436,  436,  435,

        0,  436,  437,  437,  434,  438,  437,    0,  439,  438,
        0,  436,  439,    0,    0,  438,  437,  439,  439,  440,
      440,    0,  441,  440,    0,  438,  441,  442,  439,    0,
      443,  442,  441,  440,  443,  444,    0,  442,    0,  444,
      443,    0,  441,    0,    0,  444,    0,  442,  444,  445,
      443,    0,  446,  445,    0,  444,  446,  448,    0,  445,
      447,  448,  446,    0,  447,  446,    0,  448,  447,  445,
      448,    0,  446,    0,  447,  450,  450,  448,  451,  451,
      455,  455,  450,    0,  447,  451,    0,  455,  456,  456,
        0,  450,  457,  462,  462,  456,  457,  458,    0,    0,

      462,  458,  457,  450,    0,  459,  451,  458,  455,  459,
      455,    0,  457,    0,  455,  459,  456,  458,  460,  461,
      461,  462,  460,  473,  473,  459,  461,  473,  460,    0,
      463,  464,  465,  460,  463,  464,  465,  473,  460,    0,
      463,  464,  465,  461,  466,  466,    0,  461,    0,  466,
      463,  464,  465,  467,  468,  466,    0,  467,  468,    0,
        0,    0,  469,  467,  468,  466,  469,    0,    0,    0,
        0,  469,  469,  467,  468,  470,  471,  472,    0,  470,
      471,  472,  469,    0,  475,  470,  471,  472,  475,  476,
      472,    0,    0,  476,  475,  470,  471,  472,  477,  476,

        0,  478,  477,    0,  475,  478,  479,  477,  477,  476,
      479,  478,    0,  480,    0,    0,  479,  480,  477,  479,
        0,  478,    0,  480,  481,  481,  479,  483,  482,  481,
      482,  483,  482,  480,    0,  481,  484,  483,  482,    0,
      484,    0,    0,  485,  485,  481,  484,  483,  482,  484,
      485,  486,  486,  487,    0,  488,  484,  487,  486,  488,
      489,  489,    0,  487,    0,  488,    0,  489,    0,  490,
      490,  485,    0,  487,    0,  488,  490,  494,  494,  486,
      491,  491,  492,  492,  489,  493,  493,  491,  489,  492,
        0,    0,  493,    0,    0,  496,  496,  490,    0,  496,

        0,    0,    0,    0,  490,  494,    0,  494,  491,  496,
      492,  494,  493,  493,  497,  492,  499,  498,  497,  500,
      499,  498,    0,  500,  497,  498,  499,    0,    0,  500,
        0,  498,  500,  501,  497,    0,  499,  501,    0,  500,
      503,  498,  504,  501,  503,    0,  504,  501,    0,  503,
      503,  504,  504,  501,  505,  506,  507,  507,  505,  506,
      503,  507,  504,    0,  505,  506,    0,  507,    0,  508,
      508,  509,  509,    0,  505,  506,  508,  507,  509,    0,
      510,  512,  512,    0,  510,  512,    0,    0,    0,    0,
      510,    0,  513,  513,    0,  512,  513,  508,    0,  509,

      510,  514,  514,  508,  513,  514,  513,  515,  515,    0,
        0,  515,  516,  516,    0,  514,  516,    0,  514,  517,
      517,  515,    0,  517,  516,    0,  516,  518,  518,    0,
        0,  518,    0,  517,  519,  519,  520,  520,  519,    0,
      520,  518,  522,  522,  523,  523,  525,  525,  519,  522,
      520,  523,    0,  525,    0,  526,  526,  527,  527,  528,
      528,    0,  526,    0,  527,    0,  528,    0,    0,    0,
      522,  526,  523,  523,  525,  525,  531,    0,  532,    0,
      531,    0,  532,  526,    0,  527,  531,  528,  532,    0,
      527,  532,    0,  533,  533,    0,  531,  533,  532,  534,

      534,    0,  535,  534,    0,  536,  535,  533,    0,  536,
        0,  534,  535,  534,  536,  536,    0,  537,    0,  538,
      539,  537,  535,  538,  539,  536,  537,  537,  541,  538,
      539,  544,  541,    0,    0,  544,    0,  537,  541,  538,
      539,  544,  542,  546,  546,  541,  542,    0,  541,  543,
      546,  544,  542,  543,  547,  547,  542,    0,  543,  543,
      549,  547,  542,    0,  549,    0,    0,    0,    0,  543,
      549,  546,  564,  564,  550,  551,  564,  552,  550,  551,
      549,  552,  547,  547,  550,  551,  564,  552,  553,  550,
        0,    0,  553,    0,  550,  551,  553,  552,    0,  554,

      556,  557,  553,  554,  556,  557,    0,    0,    0,  554,
      556,  557,  553,    0,  558,    0,    0,  556,  558,  554,
      556,  557,  561,  562,  558,  563,  561,  562,    0,  563,
        0,  561,  561,  562,  558,  563,  562,  565,  565,    0,
        0,  565,  561,  562,    0,  563,  566,  566,  567,  567,
      566,  565,  569,  565,    0,  567,  569,  570,    0,  571,
      566,  570,  569,  571,  566,    0,    0,  570,    0,  571,
      572,  573,  569,    0,  572,  573,  567,  570,  575,  571,
      572,  573,  575,  576,    0,  572,    0,  576,  575,    0,
      572,  573,  577,  576,    0,  578,  577,    0,  575,  578,

        0,    0,  577,  576,  580,  578,    0,  577,  580,  581,
      578,    0,  577,  581,  580,  578,  584,  584,    0,  581,
        0,  584,  581,    0,  580,    0,  585,  584,  586,  581,
      585,    0,  586,  592,  592,  587,  585,  584,  586,  587,
      592,  586,    0,  588,    0,  587,  585,  588,  586,    0,
      589,  588,    0,    0,  589,  587,    0,  588,  589,  592,
        0,  592,  593,  593,  589,  594,  594,  588,    0,  593,
        0,    0,  594,    0,  589,  596,  596,    0,  597,  596,
        0,  598,  597,    0,    0,  598,    0,    0,  597,  596,
      593,  598,  601,  594,    0,    0,  601,  593,  597,  600,

      594,  598,  601,  600,  604,  600,    0,  605,  604,  600,
        0,  605,  601,    0,  604,    0,    0,  605,  606,  600,
      605,  607,  606,    0,  604,  607,  606,  605,    0,  608,
      607,  607,  606,  608,    0,    0,  609,    0,    0,  608,
      609,  607,  606,  610,  608,    0,  609,  610,  611,  608,
      613,    0,  611,  610,  613,  609,  609,    0,  611,    0,
      613,  614,  615,  610,    0,  614,  615,    0,  611,  617,
      613,  614,  615,  617,  614,    0,  618,    0,    0,  617,
      618,  614,  615,  619,  621,  619,  618,  619,  621,  617,
        0,  624,    0,  619,  621,  624,  618,    0,  625,    0,

        0,  624,  625,  619,  621,  626,  626,    0,  625,    0,
      626,  624,    0,  625,    0,  627,  626,  628,  625,  627,
      629,  628,    0,    0,  629,  627,  626,  628,  630,  629,
      629,    0,  630,    0,    0,  627,    0,  628,  630,  632,
      629,  630,  633,  632,    0,    0,  633,  634,  630,  632,
      636,  634,  633,  632,  636,    0,    0,  634,    0,  632,
      636,  637,  633,    0,  639,  637,    0,  634,  639,  642,
      636,  637,  643,  642,  639,    0,  643,    0,  639,  642,
        0,  637,  643,  644,  639,    0,  645,  644,    0,  642,
      645,  647,  643,  644,  646,  647,  645,    0,  646,    0,

      645,  647,    0,  644,  646,    0,  645,    0,  647,  646,
        0,  647,  649,    0,  646,    0,  649,  650,  650,  652,
      652,  650,  649,  652,  653,  653,  658,    0,  653,    0,
      658,  650,  649,  652,    0,  652,  658,    0,  653,  659,
      653,  655,  655,  659,    0,  655,  658,  660,  659,  659,
      661,  660,  662,    0,  661,  655,  662,  660,    0,  659,
      661,  664,  662,    0,  666,  664,    0,  660,  666,  667,
      661,  664,  662,  667,  666,    0,  671,  664,  672,  667,
      671,  664,  672,  673,  666,  671,  671,  673,  672,  667,
      674,  674,  672,  673,  674,    0,  671,    0,  672,    0,

        0,    0,  673,  673,  674,  675,  675,  677,  677,  675,
        0,  677,  679,  679,  680,  680,  679,    0,  680,  675,
        0,  677,    0,  675,    0,    0,  679,    0,  680,  681,
      681,  682,  683,  681,  685,  682,  683,    0,  685,  686,
      686,  682,  683,  681,  685,    0,  686,  681,  687,  687,
        0,  682,  683,    0,  685,  687,  689,  689,  690,  691,
      691,  692,  690,  689,    0,  692,  691,  686,  690,  692,
      693,    0,    0,    0,  693,  692,  687,    0,  690,  693,
      693,    0,  694,  689,  689,  692,  694,  691,    0,  695,
      693,  696,  694,  695,    0,  696,    0,  694,    0,  695,

        0,  696,  694,  695,    0,    0,    0,    0,    0,  695,
        0,  696,  698,  698,  698,  698,  699,  699,  699,  699,
      700,  700,  700,  700,  701,    0,  701,  702,  702,  703,
      703,  703,  703,  704,  704,  705,  705,  705,  705,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697,  697,  697,  697,  697,  697,  697,
      697,  697,  697,  697

    } ;

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 "core/lex-asn1.l"
#define INITIAL 0
#define MACRO_DEF 1
#define BRACE_BAL 2

/* compiler/core/lex-asn1.l */
/* AUTHOR: Mike Sample */
/* DATE:   91/92 */
/* Copyright (C) 1991, 1992 Michael Sample */
/*               and the University of British Columbia */
/* This program is free software; you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License, or */
/* (at your option) any later version. */
/* these comments must only be a single line each - lex blows it otherwise */
/* due to this claim, the rcs log is at the end of this file. */
/* $Header: /cvs/Darwin/src/live/Security/SecuritySNACCRuntime/compiler/core/lex-asn1.c,v 1.1 2001/06/20 21:27:57 dmitch Exp $ */
/* This lex spec should compile under either lex or flex. */
/* There are three modes to the lexical analyzer, INITIAL, MACRO_DEF, */
/* and BRACE_BAL.  INITIAL is the normal mode. MACRO_DEF is used by   */
/* a lexical tie-in from the yacc code to eat a MACRO DEFINTION as a  */
/* single blk of text.  BRACE_BAL is used to by a lexical tie-in for  */
/* eating values inside { }'s.  */
/* if your ASN.1 source file has control characters that cause      */
/* snacc to choke, use a program like 'tr' to condition them first. */
#line 41 "core/lex-asn1.l"

#include "asn-incl.h"
#include "mem.h"
#include "asn1module.h"
#include "exports.h"
#include "parse-asn1.h"  /* defines the returned token values */
#include "parser.h"
#include "lex-stuff.h"
#include "errno.h"

unsigned long int myLineNoG = 0;


/* Macros after this point can all be overridden by user definitions in
 * section 1.
 */

#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int yywrap YY_PROTO(( void ));
#else
extern int yywrap YY_PROTO(( void ));
#endif
#endif

#ifndef YY_NO_UNPUT
static void yyunput YY_PROTO(( int c, char *buf_ptr ));
#endif

#ifndef yytext_ptr
static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
#endif

#ifdef YY_NEED_STRLEN
static int yy_flex_strlen YY_PROTO(( yyconst char * ));
#endif

#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput YY_PROTO(( void ));
#else
static int input YY_PROTO(( void ));
#endif
#endif

#if YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
#ifndef YY_NO_PUSH_STATE
static void yy_push_state YY_PROTO(( int new_state ));
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state YY_PROTO(( void ));
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state YY_PROTO(( void ));
#endif

#else
#define YY_NO_PUSH_STATE 1
#define YY_NO_POP_STATE 1
#define YY_NO_TOP_STATE 1
#endif

#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
#if __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
#else
/* Just try to get by without declaring the routines.  This will fail
 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
 * or sizeof(void*) != sizeof(int).
 */
#endif
#endif

/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#endif

/* Copy whatever the last rule matched to the standard output. */

#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
 * we now use fwrite().
 */
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
#endif

/* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
 * is returned in "result".
 */
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
	if ( yy_current_buffer->yy_is_interactive ) \
		{ \
		int c = '*', n; \
		for ( n = 0; n < max_size && \
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
			buf[n] = (char) c; \
		if ( c == '\n' ) \
			buf[n++] = (char) c; \
		if ( c == EOF && ferror( yyin ) ) \
			YY_FATAL_ERROR( "input in flex scanner failed" ); \
		result = n; \
		} \
	else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
		  && ferror( yyin ) ) \
		YY_FATAL_ERROR( "input in flex scanner failed" );
#endif

/* No semi-colon after return; correct usage is to write "yyterminate();" -
 * we don't want an extra ';' after the "return" because that will cause
 * some compilers to complain about unreachable statements.
 */
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif

/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif

/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif

/* Default declaration of generated scanner - a define so the user can
 * easily add parameters.
 */
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#endif

/* Code executed at the beginning of each rule, after yytext and yyleng
 * have been set up.
 */
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif

/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif

#define YY_RULE_SETUP \
	YY_USER_ACTION

YY_DECL
	{
	register yy_state_type yy_current_state;
	register char *yy_cp, *yy_bp;
	register int yy_act;

#line 55 "core/lex-asn1.l"



	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_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 >= 698 )
					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] != 3540 );

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 57 "core/lex-asn1.l"
return BOXC_SYM;
	YY_BREAK
case 2:
YY_RULE_SETUP
#line 58 "core/lex-asn1.l"
return BOXS_SYM;
	YY_BREAK
case 3:
YY_RULE_SETUP
#line 60 "core/lex-asn1.l"
{ COUNT_NEWLINES (myLineNoG, yytext);}
	YY_BREAK
case 4:
YY_RULE_SETUP
#line 61 "core/lex-asn1.l"
return DOT_SYM;
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 62 "core/lex-asn1.l"
return COMMA_SYM;
	YY_BREAK
case 6:
YY_RULE_SETUP
#line 63 "core/lex-asn1.l"
return LEFTBRACE_SYM;
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 64 "core/lex-asn1.l"
return RIGHTBRACE_SYM;
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 65 "core/lex-asn1.l"
return LEFTPAREN_SYM;
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 66 "core/lex-asn1.l"
return RIGHTPAREN_SYM;
	YY_BREAK
case 10:
YY_RULE_SETUP
#line 67 "core/lex-asn1.l"
return LEFTBRACKET_SYM;
	YY_BREAK
case 11:
YY_RULE_SETUP
#line 68 "core/lex-asn1.l"
return RIGHTBRACKET_SYM;
	YY_BREAK
case 12:
YY_RULE_SETUP
#line 69 "core/lex-asn1.l"
return LESSTHAN_SYM;
	YY_BREAK
case 13:
YY_RULE_SETUP
#line 70 "core/lex-asn1.l"
return MINUS_SYM;
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 71 "core/lex-asn1.l"
return GETS_SYM;
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 72 "core/lex-asn1.l"
return BAR_SYM;
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 73 "core/lex-asn1.l"
return SEMI_COLON_SYM;
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 74 "core/lex-asn1.l"
return TAGS_SYM;
	YY_BREAK
case 18:
YY_RULE_SETUP
#line 75 "core/lex-asn1.l"
return BOOLEAN_SYM;
	YY_BREAK
case 19:
YY_RULE_SETUP
#line 76 "core/lex-asn1.l"
return INTEGER_SYM;
	YY_BREAK
case 20:
YY_RULE_SETUP
#line 77 "core/lex-asn1.l"
return BIT_SYM;
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 78 "core/lex-asn1.l"
return STRING_SYM;
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 79 "core/lex-asn1.l"
return OCTET_SYM;
	YY_BREAK
case 23:
YY_RULE_SETUP
#line 80 "core/lex-asn1.l"
return NULL_SYM;
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 81 "core/lex-asn1.l"
return SEQUENCE_SYM;
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 82 "core/lex-asn1.l"
return OF_SYM;
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 83 "core/lex-asn1.l"
return SET_SYM;
	YY_BREAK
case 27:
YY_RULE_SETUP
#line 84 "core/lex-asn1.l"
return IMPLICIT_SYM;
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 85 "core/lex-asn1.l"
return CHOICE_SYM;
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 86 "core/lex-asn1.l"
return ANY_SYM;
	YY_BREAK
case 30:
YY_RULE_SETUP
#line 87 "core/lex-asn1.l"
{
      COUNT_NEWLINES (myLineNoG, yytext);
      return OBJECT_IDENTIFIER_SYM;}
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 90 "core/lex-asn1.l"
return OPTIONAL_SYM;
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 91 "core/lex-asn1.l"
return DEFAULT_SYM;
	YY_BREAK
case 33:
YY_RULE_SETUP
#line 92 "core/lex-asn1.l"
return COMPONENTS_SYM;
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 93 "core/lex-asn1.l"
return UNIVERSAL_SYM;
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 94 "core/lex-asn1.l"
return APPLICATION_SYM;
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 95 "core/lex-asn1.l"
return PRIVATE_SYM;
	YY_BREAK
case 37:
YY_RULE_SETUP
#line 96 "core/lex-asn1.l"
return TRUE_SYM;
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 97 "core/lex-asn1.l"
return FALSE_SYM;
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 98 "core/lex-asn1.l"
return BEGIN_SYM;
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 99 "core/lex-asn1.l"
return END_SYM;
	YY_BREAK
case 41:
YY_RULE_SETUP
#line 100 "core/lex-asn1.l"
return DEFINITIONS_SYM;
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 101 "core/lex-asn1.l"
return EXPLICIT_SYM;
	YY_BREAK
case 43:
YY_RULE_SETUP
#line 102 "core/lex-asn1.l"
return ENUMERATED_SYM;
	YY_BREAK
case 44:
YY_RULE_SETUP
#line 103 "core/lex-asn1.l"
return EXPORTS_SYM;
	YY_BREAK
case 45:
YY_RULE_SETUP
#line 104 "core/lex-asn1.l"
return IMPORTS_SYM;
	YY_BREAK
case 46:
YY_RULE_SETUP
#line 105 "core/lex-asn1.l"
return REAL_SYM;
	YY_BREAK
case 47:
YY_RULE_SETUP
#line 106 "core/lex-asn1.l"
return INCLUDES_SYM;
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 107 "core/lex-asn1.l"
return MIN_SYM;
	YY_BREAK
case 49:
YY_RULE_SETUP
#line 108 "core/lex-asn1.l"
return MAX_SYM;
	YY_BREAK
case 50:
YY_RULE_SETUP
#line 109 "core/lex-asn1.l"
return SIZE_SYM;
	YY_BREAK
case 51:
YY_RULE_SETUP
#line 110 "core/lex-asn1.l"
return FROM_SYM;
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 111 "core/lex-asn1.l"
return WITH_SYM;
	YY_BREAK
case 53:
YY_RULE_SETUP
#line 112 "core/lex-asn1.l"
return COMPONENT_SYM;
	YY_BREAK
case 54:
YY_RULE_SETUP
#line 113 "core/lex-asn1.l"
return PRESENT_SYM;
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 114 "core/lex-asn1.l"
return ABSENT_SYM;
	YY_BREAK
case 56:
YY_RULE_SETUP
#line 115 "core/lex-asn1.l"
return DEFINED_SYM;
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 116 "core/lex-asn1.l"
return BY_SYM;
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 117 "core/lex-asn1.l"
return PLUS_INFINITY_SYM;
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 118 "core/lex-asn1.l"
return MINUS_INFINITY_SYM;
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 122 "core/lex-asn1.l"
{
    int i;
    char *buf;
    int bufSize;
    int inComment;
    int inStr;
    unsigned int c, c1, c2;

    /*
     * matches any first char, then
     * copies everything until an uncommented,
     * unquoted END.  This Lex state is started
     * from the yacc src (lexical tie in)
     * from the MACRO_DEF production.
     *
     * if you don't like realloc and don't care about
     * macro defs just have this return a constant string
     * like "BEGIN <not parsed> END" after eating the definition
     */

    unput (yytext[0]);

    bufSize = 1024;
    buf = Malloc (1024);

    i = 0;          /* put BEGIN str at beginning */
    buf[i++] = 'B';
    buf[i++] = 'E';
    buf[i++] = 'G';
    buf[i++] = 'I';
    buf[i++] = 'N';
    buf[i++] = '\n';

    inStr = FALSE;
    inComment = FALSE;
    for ( ; ; i++)
    {
        c = input();

        if (i >= (bufSize - 4))
        {
            bufSize += 512;
            buf = (char*) Realloc (buf, bufSize);
        }

        buf[i] = c;

        if ((inComment) && (c == '\n'))
              inComment = FALSE;
        else if (!(inStr) &&  (c == '-'))
        {
            c = input();
            if (c  == '-')
            {
                buf[++i] = c;
                inComment = !inComment;
            }
            else
                unput (c);
        }
        else  if (inComment)
            continue;
        else if (c == '"')
              inStr = !inStr;
        else if (inStr)
            continue;
        else if (c == 'E')
        {
            c1 = input();
            c2 = input();
            if ((c1 == 'N') && (c2 == 'D'))
            {
                buf[++i] = 'N';
                buf[++i] = 'D';
                buf[++i] = '\0';
                yylval.charPtr = buf;
                COUNT_NEWLINES (myLineNoG, buf);
                myLineNoG -=1; /* take off 1 added after "BEGIN" */
                return MACRODEFBODY_SYM;
            }
            else
            {
                unput (c2);
                unput (c1);
            }
        }
    }
   /* not reached */
}
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 214 "core/lex-asn1.l"
{
         int i;
        /* copy and return the Macro's name only */
        /* doesn't handle comments between macro name and MACRO sym */
         for (i = 0; (yytext[i] != ' ') &&
                     (yytext[i] != '\t') &&
                     (yytext[i] != '\n') &&
                     (yytext[i] != '\r'); i++);
         yylval.charPtr = Malloc (i+1);
         strncpy (yylval.charPtr, yytext, i);
         yylval.charPtr[i] = '\0';
         return NAMEDMACRO_SYM; }
	YY_BREAK
case 62:
YY_RULE_SETUP
#line 228 "core/lex-asn1.l"
return OPERATION_SYM;
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 229 "core/lex-asn1.l"
return ARGUMENT_SYM;
	YY_BREAK
case 64:
YY_RULE_SETUP
#line 230 "core/lex-asn1.l"
return RESULT_SYM;
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 231 "core/lex-asn1.l"
return ERRORS_SYM;
	YY_BREAK
case 66:
YY_RULE_SETUP
#line 232 "core/lex-asn1.l"
return LINKED_SYM;
	YY_BREAK
case 67:
YY_RULE_SETUP
#line 234 "core/lex-asn1.l"
return ERROR_SYM;
	YY_BREAK
case 68:
YY_RULE_SETUP
#line 235 "core/lex-asn1.l"
return PARAMETER_SYM;
	YY_BREAK
case 69:
YY_RULE_SETUP
#line 237 "core/lex-asn1.l"
return BIND_SYM;
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 238 "core/lex-asn1.l"
return BINDERROR_SYM;
	YY_BREAK
case 71:
YY_RULE_SETUP
#line 239 "core/lex-asn1.l"
return UNBIND_SYM;
	YY_BREAK
case 72:
YY_RULE_SETUP
#line 240 "core/lex-asn1.l"
return UNBINDERROR_SYM;
	YY_BREAK
case 73:
YY_RULE_SETUP
#line 242 "core/lex-asn1.l"
return AC_SYM;
	YY_BREAK
case 74:
YY_RULE_SETUP
#line 243 "core/lex-asn1.l"
return ASES_SYM;
	YY_BREAK
case 75:
YY_RULE_SETUP
#line 244 "core/lex-asn1.l"
return REMOTE_SYM;
	YY_BREAK
case 76:
YY_RULE_SETUP
#line 245 "core/lex-asn1.l"
return INITIATOR_SYM;
	YY_BREAK
case 77:
YY_RULE_SETUP
#line 246 "core/lex-asn1.l"
return RESPONDER_SYM;
	YY_BREAK
case 78:
YY_RULE_SETUP
#line 247 "core/lex-asn1.l"
{
        COUNT_NEWLINES (myLineNoG, yytext);
        return ABSTRACTSYNTAXES_SYM;}
	YY_BREAK
case 79:
YY_RULE_SETUP
#line 251 "core/lex-asn1.l"
return ASE_SYM;
	YY_BREAK
case 80:
YY_RULE_SETUP
#line 252 "core/lex-asn1.l"
return OPERATIONS_SYM;
	YY_BREAK
case 81:
YY_RULE_SETUP
#line 253 "core/lex-asn1.l"
{
        COUNT_NEWLINES (myLineNoG, yytext);
        return CONSUMERINVOKES_SYM;}
	YY_BREAK
case 82:
YY_RULE_SETUP
#line 257 "core/lex-asn1.l"
{
        COUNT_NEWLINES (myLineNoG, yytext);
        return SUPPLIERINVOKES_SYM;}
	YY_BREAK
case 83:
YY_RULE_SETUP
#line 261 "core/lex-asn1.l"
return EXTENSIONATTRIBUTE_SYM;
	YY_BREAK
case 84:
YY_RULE_SETUP
#line 262 "core/lex-asn1.l"
return EXTENSIONS_SYM;
	YY_BREAK
case 85:
YY_RULE_SETUP
#line 263 "core/lex-asn1.l"
return CHOSEN_SYM;
	YY_BREAK
case 86:
YY_RULE_SETUP
#line 265 "core/lex-asn1.l"
return EXTENSION_SYM;
	YY_BREAK
case 87:
YY_RULE_SETUP
#line 266 "core/lex-asn1.l"
return CRITICAL_SYM;
	YY_BREAK
case 88:
YY_RULE_SETUP
#line 267 "core/lex-asn1.l"
return FOR_SYM;
	YY_BREAK
case 89:
YY_RULE_SETUP
#line 268 "core/lex-asn1.l"
return SUBMISSION_SYM;
	YY_BREAK
case 90:
YY_RULE_SETUP
#line 269 "core/lex-asn1.l"
return DELIVERY_SYM;
	YY_BREAK
case 91:
YY_RULE_SETUP
#line 270 "core/lex-asn1.l"
return TRANSFER_SYM;
	YY_BREAK
case 92:
YY_RULE_SETUP
#line 272 "core/lex-asn1.l"
return OBJECT_SYM;
	YY_BREAK
case 93:
YY_RULE_SETUP
#line 273 "core/lex-asn1.l"
return PORTS_SYM;
	YY_BREAK
case 94:
YY_RULE_SETUP
#line 275 "core/lex-asn1.l"
return PORT_SYM;
	YY_BREAK
case 95:
YY_RULE_SETUP
#line 276 "core/lex-asn1.l"
{
       COUNT_NEWLINES (myLineNoG, yytext);
       return ABSTRACTOPS_SYM;}
	YY_BREAK
case 96:
YY_RULE_SETUP
#line 281 "core/lex-asn1.l"
return REFINE_SYM;
	YY_BREAK
case 97:
YY_RULE_SETUP
#line 282 "core/lex-asn1.l"
return AS_SYM;
	YY_BREAK
case 98:
YY_RULE_SETUP
#line 283 "core/lex-asn1.l"
return RECURRING_SYM;
	YY_BREAK
case 99:
YY_RULE_SETUP
#line 284 "core/lex-asn1.l"
return VISIBLE_SYM;
	YY_BREAK
case 100:
YY_RULE_SETUP
#line 285 "core/lex-asn1.l"
return PAIRED_SYM;
	YY_BREAK
case 101:
YY_RULE_SETUP
#line 287 "core/lex-asn1.l"
return ABSTRACTBIND_SYM;
	YY_BREAK
case 102:
YY_RULE_SETUP
#line 288 "core/lex-asn1.l"
return TO_SYM;
	YY_BREAK
case 103:
YY_RULE_SETUP
#line 290 "core/lex-asn1.l"
return ABSTRACTUNBIND_SYM;
	YY_BREAK
case 104:
YY_RULE_SETUP
#line 292 "core/lex-asn1.l"
return ABSTRACTERROR_SYM;
	YY_BREAK
case 105:
YY_RULE_SETUP
#line 294 "core/lex-asn1.l"
return ABSTRACTOPERATION_SYM;
	YY_BREAK
case 106:
YY_RULE_SETUP
#line 296 "core/lex-asn1.l"
return TOKEN_SYM;
	YY_BREAK
case 107:
YY_RULE_SETUP
#line 298 "core/lex-asn1.l"
return TOKENDATA_SYM;
	YY_BREAK
case 108:
YY_RULE_SETUP
#line 300 "core/lex-asn1.l"
return SECURITYCATEGORY_SYM;
	YY_BREAK
case 109:
YY_RULE_SETUP
#line 302 "core/lex-asn1.l"
return ALGORITHM_SYM;
	YY_BREAK
case 110:
YY_RULE_SETUP
#line 303 "core/lex-asn1.l"
return ENCRYPTED_SYM;
	YY_BREAK
case 111:
YY_RULE_SETUP
#line 304 "core/lex-asn1.l"
return SIGNED_SYM;
	YY_BREAK
case 112:
YY_RULE_SETUP
#line 305 "core/lex-asn1.l"
return SIGNATURE_SYM;
	YY_BREAK
case 113:
YY_RULE_SETUP
#line 306 "core/lex-asn1.l"
return PROTECTED_SYM;
	YY_BREAK
case 114:
YY_RULE_SETUP
#line 308 "core/lex-asn1.l"
return OBJECTTYPE_SYM;
	YY_BREAK
case 115:
YY_RULE_SETUP
#line 309 "core/lex-asn1.l"
return SYNTAX_SYM;
	YY_BREAK
case 116:
YY_RULE_SETUP
#line 310 "core/lex-asn1.l"
return ACCESS_SYM;
	YY_BREAK
case 117:
YY_RULE_SETUP
#line 311 "core/lex-asn1.l"
return STATUS_SYM;
	YY_BREAK
case 118:
YY_RULE_SETUP
#line 312 "core/lex-asn1.l"
return DESCRIPTION_SYM;
	YY_BREAK
case 119:
YY_RULE_SETUP
#line 313 "core/lex-asn1.l"
return REFERENCE_SYM;
	YY_BREAK
case 120:
YY_RULE_SETUP
#line 314 "core/lex-asn1.l"
return INDEX_SYM;
	YY_BREAK
case 121:
YY_RULE_SETUP
#line 315 "core/lex-asn1.l"
return DEFVAL_SYM;
	YY_BREAK
case 122:
YY_RULE_SETUP
#line 319 "core/lex-asn1.l"
{
    int i;
    char *buf;
    int bufSize;
    int inComment;
    int inStr;
    int braceDepth;
    char c, c1, c2;

    /*
     * matches any first char, then
     * copies everything until an ending "}"
     * Assumes that initially parsed a "{"
     * and puts one at beg. of returned string
     */
    unput (yytext[0]);

    bufSize = 256;
    buf = Malloc (256);

    i = 0;          /* put openning brace at beginning */
    buf[i++] = '{';
    buf[i++] = ' ';

    inStr = FALSE;
    inComment = FALSE;
    braceDepth = 1;
    for ( ; ; i++)
    {
        c = input();

        if (i >= (bufSize - 2))
        {
            bufSize += 256;
            buf = (char*) Realloc (buf, bufSize);
        }

        buf[i] = c;

        if ((inComment) && (c == '\n'))
              inComment = FALSE;
        else if (!(inStr) &&  (c == '-'))
        {
            c = input();
            if (c  == '-')
            {
                buf[++i] = c;
                inComment = !inComment;
            }
            else
                unput (c);
        }
        else  if (inComment)
            continue;
        else if (c == '"')
              inStr = !inStr;
        else if (inStr)
            continue;
        else if (c == '{')
            braceDepth++;
        else if (c == '}')
        {
            braceDepth--;
            if (braceDepth == 0)
            {
                buf[++i] = '\0';
                yylval.charPtr = buf;
                COUNT_NEWLINES (myLineNoG, buf);
                return BRACEBAL_SYM;
            }
        }
    }
   /* not reached */
}
	YY_BREAK
case 123:
YY_RULE_SETUP
#line 396 "core/lex-asn1.l"
{
          COUNT_NEWLINES (myLineNoG, yytext);
          yylval.charPtr = (char*)Malloc (yyleng);
          strncpy (yylval.charPtr, yytext+1, yyleng -1);  /* strip "'"s */
          yylval.charPtr[yyleng-2] = '\0';
          return BSTRING_SYM;}
	YY_BREAK
case 124:
YY_RULE_SETUP
#line 403 "core/lex-asn1.l"
{
          COUNT_NEWLINES (myLineNoG, yytext);
          yylval.charPtr = (char*)Malloc (yyleng);
          strncpy (yylval.charPtr, yytext+1, yyleng -1);   /* strip "'"s */
          yylval.charPtr[yyleng-2] = '\0';
          return HSTRING_SYM;}
	YY_BREAK
case 125:
YY_RULE_SETUP
#line 410 "core/lex-asn1.l"
{
          COUNT_NEWLINES (myLineNoG, yytext);
          yylval.charPtr = (char*)Malloc (yyleng);
          strncpy (yylval.charPtr, yytext+1, yyleng -1);       /* strip '"'s */
          yylval.charPtr[yyleng-2] = '\0'; /* 2 quotes == quote in a quote */
          return CSTRING_SYM;}
	YY_BREAK
case 126:
YY_RULE_SETUP
#line 417 "core/lex-asn1.l"
{
          yylval.charPtr = (char*)Malloc (yyleng+1);
          strcpy (yylval.charPtr, yytext);
          yylval.charPtr[yyleng] = '\0';
          return UCASEFIRST_IDENT_SYM;}
	YY_BREAK
case 127:
YY_RULE_SETUP
#line 424 "core/lex-asn1.l"
{
          yylval.charPtr = (char*)Malloc (yyleng+1);
          strcpy (yylval.charPtr, yytext);
          yylval.charPtr[yyleng] = '\0';
          return LCASEFIRST_IDENT_SYM;}
	YY_BREAK
case 128:
YY_RULE_SETUP
#line 430 "core/lex-asn1.l"
{ /*first digit cannot be zero on multi-digit #'s*/
	  errno = 0;
	  {
	      unsigned long ul = (unsigned long) strtol(yytext,NULL,10);
	      if (!errno && ul>(unsigned long)0xFFFFFFFF) {
		  errno = ERANGE;
	      }
	      if (!errno) {
		  yylval.uintVal = (unsigned int) ul;
		  return NUMBER_SYM;
	      }
	  }
          yylval.charPtr = (char*)Malloc (yyleng+1);
          strcpy (yylval.charPtr, yytext);
          yylval.charPtr[yyleng] = '\0';
          return NUMBER_ERANGE;}
	YY_BREAK
case 129:
YY_RULE_SETUP
#line 447 "core/lex-asn1.l"
{  /*allow zero as first digit on single digit #'s*/
          yylval.uintVal = 0;
          return NUMBER_SYM;}
	YY_BREAK
case 130:
YY_RULE_SETUP
#line 452 "core/lex-asn1.l"
{
         /* this must be before the normal comment eater so that snacc attribs
          * are not treated as normal comments
          */
        /* eat comments, update line no */
        int len;
        COUNT_NEWLINES (myLineNoG, yytext);
        yylval.charPtr = (char*)Malloc (yyleng-4);
        /* skip first "--snacc" in copy to ret val */
        strcpy (yylval.charPtr, yytext + 7);
        len = strlen (yylval.charPtr);
        /* strip off newline or -- terminator for comment */
        if (yylval.charPtr[len-1] == '\n')
           yylval.charPtr[len-1] = '\0';
        else
           yylval.charPtr[len-2] = '\0';
        return SNACC_ATTRIBUTES; }
	YY_BREAK
case 131:
YY_RULE_SETUP
#line 471 "core/lex-asn1.l"
{
        /* eat comments, update line no */
        COUNT_NEWLINES (myLineNoG, yytext);}
	YY_BREAK
case 132:
YY_RULE_SETUP
#line 476 "core/lex-asn1.l"
ECHO;
	YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(MACRO_DEF):
case YY_STATE_EOF(BRACE_BAL):
	yyterminate();

	case YY_END_OF_BUFFER:
		{
		/* Amount of text matched not including the EOB char. */
		int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;

		/* Undo the effects of YY_DO_BEFORE_ACTION. */
		*yy_cp = yy_hold_char;
		YY_RESTORE_YY_MORE_OFFSET

		if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
			{
			/* We're scanning a new file or input source.  It's
			 * possible that this happened because the user
			 * just pointed yyin at a new source and called
			 * yylex().  If so, then we have to assure
			 * consistency between yy_current_buffer and our
			 * globals.  Here is the right place to do so, because
			 * this is the first action (other than possibly a
			 * back-up) that will match for the new input source.
			 */
			yy_n_chars = yy_current_buffer->yy_n_chars;
			yy_current_buffer->yy_input_file = yyin;
			yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
			}

		/* Note that here we test for yy_c_buf_p "<=" to the position
		 * of the first EOB in the buffer, since yy_c_buf_p will
		 * already have been incremented past the NUL character
		 * (since all states make transitions on EOB to the
		 * end-of-buffer state).  Contrast this with the test
		 * in input().
		 */
		if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
			{ /* This was really a NUL. */
			yy_state_type yy_next_state;

			yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;

			yy_current_state = yy_get_previous_state();

			/* Okay, we're now positioned to make the NUL
			 * transition.  We couldn't have
			 * yy_get_previous_state() go ahead and do it
			 * for us because it doesn't know how to deal
			 * with the possibility of jamming (and we don't
			 * want to build jamming into it because then it
			 * will run more slowly).
			 */

			yy_next_state = yy_try_NUL_trans( yy_current_state );

			yy_bp = yytext_ptr + YY_MORE_ADJ;

			if ( yy_next_state )
				{
				/* Consume the NUL. */
				yy_cp = ++yy_c_buf_p;
				yy_current_state = yy_next_state;
				goto yy_match;
				}

			else
				{
				yy_cp = yy_c_buf_p;
				goto yy_find_action;
				}
			}

		else switch ( yy_get_next_buffer() )
			{
			case EOB_ACT_END_OF_FILE:
				{
				yy_did_buffer_switch_on_eof = 0;

				if ( yywrap() )
					{
					/* Note: because we've taken care in
					 * yy_get_next_buffer() to have set up
					 * yytext, we can now set up
					 * yy_c_buf_p so that if some total
					 * hoser (like flex itself) wants to
					 * call the scanner after we return the
					 * YY_NULL, it'll still work - another
					 * YY_NULL will get returned.
					 */
					yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;

					yy_act = YY_STATE_EOF(YY_START);
					goto do_action;
					}

				else
					{
					if ( ! yy_did_buffer_switch_on_eof )
						YY_NEW_FILE;
					}
				break;
				}

			case EOB_ACT_CONTINUE_SCAN:
				yy_c_buf_p =
					yytext_ptr + yy_amount_of_matched_text;

				yy_current_state = yy_get_previous_state();

				yy_cp = yy_c_buf_p;
				yy_bp = yytext_ptr + YY_MORE_ADJ;
				goto yy_match;

			case EOB_ACT_LAST_MATCH:
				yy_c_buf_p =
				&yy_current_buffer->yy_ch_buf[yy_n_chars];

				yy_current_state = yy_get_previous_state();

				yy_cp = yy_c_buf_p;
				yy_bp = yytext_ptr + YY_MORE_ADJ;
				goto yy_find_action;
			}
		break;
		}

	default:
		YY_FATAL_ERROR(
			"fatal flex scanner internal error--no action found" );
	} /* end of action switch */
		} /* end of scanning one token */
	} /* end of yylex */


/* yy_get_next_buffer - try to read in a new buffer
 *
 * Returns a code representing an action:
 *	EOB_ACT_LAST_MATCH -
 *	EOB_ACT_CONTINUE_SCAN - continue scanning from current position
 *	EOB_ACT_END_OF_FILE - end of file
 */

static int yy_get_next_buffer()
	{
	register char *dest = yy_current_buffer->yy_ch_buf;
	register char *source = yytext_ptr;
	register int number_to_move, i;
	int ret_val;

	if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
		YY_FATAL_ERROR(
		"fatal flex scanner internal error--end of buffer missed" );

	if ( yy_current_buffer->yy_fill_buffer == 0 )
		{ /* Don't try to fill the buffer, so this is an EOF. */
		if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
			{
			/* We matched a single character, the EOB, so
			 * treat this as a final EOF.
			 */
			return EOB_ACT_END_OF_FILE;
			}

		else
			{
			/* We matched some text prior to the EOB, first
			 * process it.
			 */
			return EOB_ACT_LAST_MATCH;
			}
		}

	/* Try to read more data. */

	/* First move last chars to start of buffer. */
	number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;

	for ( i = 0; i < number_to_move; ++i )
		*(dest++) = *(source++);

	if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
		/* don't do the read, it's not guaranteed to return an EOF,
		 * just force an EOF
		 */
		yy_current_buffer->yy_n_chars = yy_n_chars = 0;

	else
		{
		int num_to_read =
			yy_current_buffer->yy_buf_size - number_to_move - 1;

		while ( num_to_read <= 0 )
			{ /* Not enough room in the buffer - grow it. */
#ifdef YY_USES_REJECT
			YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
#else

			/* just a shorter name for the current buffer */
			YY_BUFFER_STATE b = yy_current_buffer;

			int yy_c_buf_p_offset =
				(int) (yy_c_buf_p - b->yy_ch_buf);

			if ( b->yy_is_our_buffer )
				{
				int new_size = b->yy_buf_size * 2;

				if ( new_size <= 0 )
					b->yy_buf_size += b->yy_buf_size / 8;
				else
					b->yy_buf_size *= 2;

				b->yy_ch_buf = (char *)
					/* Include room in for 2 EOB chars. */
					yy_flex_realloc( (void *) b->yy_ch_buf,
							 b->yy_buf_size + 2 );
				}
			else
				/* Can't grow it, we don't own it. */
				b->yy_ch_buf = 0;

			if ( ! b->yy_ch_buf )
				YY_FATAL_ERROR(
				"fatal error - scanner input buffer overflow" );

			yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];

			num_to_read = yy_current_buffer->yy_buf_size -
						number_to_move - 1;
#endif
			}

		if ( num_to_read > YY_READ_BUF_SIZE )
			num_to_read = YY_READ_BUF_SIZE;

		/* Read in more data. */
		YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
			yy_n_chars, num_to_read );

		yy_current_buffer->yy_n_chars = yy_n_chars;
		}

	if ( yy_n_chars == 0 )
		{
		if ( number_to_move == YY_MORE_ADJ )
			{
			ret_val = EOB_ACT_END_OF_FILE;
			yyrestart( yyin );
			}

		else
			{
			ret_val = EOB_ACT_LAST_MATCH;
			yy_current_buffer->yy_buffer_status =
				YY_BUFFER_EOF_PENDING;
			}
		}

	else
		ret_val = EOB_ACT_CONTINUE_SCAN;

	yy_n_chars += number_to_move;
	yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
	yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;

	yytext_ptr = &yy_current_buffer->yy_ch_buf[0];

	return ret_val;
	}


/* yy_get_previous_state - get the state just before the EOB char was reached */

static yy_state_type yy_get_previous_state()
	{
	register yy_state_type yy_current_state;
	register char *yy_cp;

	yy_current_state = yy_start;

	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 >= 698 )
				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 >= 698 )
			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 == 697);

	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 */


#ifdef __cplusplus
static int yyinput()
#else
static int input()
#endif
	{
	int c;

	*yy_c_buf_p = yy_hold_char;

	if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
		{
		/* yy_c_buf_p now points to the character we want to return.
		 * If this occurs *before* the EOB characters, then it's a
		 * valid NUL; if not, then we've hit the end of the buffer.
		 */
		if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
			/* This was really a NUL. */
			*yy_c_buf_p = '\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;


	return c;
	}


#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )
#else
void yyrestart( input_file )
FILE *input_file;
#endif
	{
	if ( ! yy_current_buffer )
		yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );

	yy_init_buffer( yy_current_buffer, input_file );
	yy_load_buffer_state();
	}


#ifdef YY_USE_PROTOS
void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
#else
void yy_switch_to_buffer( new_buffer )
YY_BUFFER_STATE new_buffer;
#endif
	{
	if ( yy_current_buffer == new_buffer )
		return;

	if ( yy_current_buffer )
		{
		/* Flush out information for old buffer. */
		*yy_c_buf_p = yy_hold_char;
		yy_current_buffer->yy_buf_pos = yy_c_buf_p;
		yy_current_buffer->yy_n_chars = yy_n_chars;
		}

	yy_current_buffer = new_buffer;
	yy_load_buffer_state();

	/* We don't actually know whether we did this switch during
	 * EOF (yywrap()) processing, but the only time this flag
	 * is looked at is after yywrap() is called, so it's safe
	 * to go ahead and always set it.
	 */
	yy_did_buffer_switch_on_eof = 1;
	}


#ifdef YY_USE_PROTOS
void yy_load_buffer_state( void )
#else
void yy_load_buffer_state()
#endif
	{
	yy_n_chars = yy_current_buffer->yy_n_chars;
	yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
	yyin = yy_current_buffer->yy_input_file;
	yy_hold_char = *yy_c_buf_p;
	}


#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
#else
YY_BUFFER_STATE yy_create_buffer( file, size )
FILE *file;
int size;
#endif
	{
	YY_BUFFER_STATE b;

	b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
	if ( ! b )
		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

	b->yy_buf_size = size;

	/* yy_ch_buf has to be 2 characters longer than the size given because
	 * we need to put in 2 end-of-buffer characters.
	 */
	b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
	if ( ! b->yy_ch_buf )
		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

	b->yy_is_our_buffer = 1;

	yy_init_buffer( b, file );

	return b;
	}


#ifdef YY_USE_PROTOS
void yy_delete_buffer( YY_BUFFER_STATE b )
#else
void yy_delete_buffer( b )
YY_BUFFER_STATE b;
#endif
	{
	if ( ! b )
		return;

	if ( b == yy_current_buffer )
		yy_current_buffer = (YY_BUFFER_STATE) 0;

	if ( b->yy_is_our_buffer )
		yy_flex_free( (void *) b->yy_ch_buf );

	yy_flex_free( (void *) b );
	}


#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern int isatty YY_PROTO(( int ));
#endif
#endif

#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
#else
void yy_init_buffer( b, file )
YY_BUFFER_STATE b;
FILE *file;
#endif


	{
	yy_flush_buffer( b );

	b->yy_input_file = file;
	b->yy_fill_buffer = 1;

#if YY_ALWAYS_INTERACTIVE
	b->yy_is_interactive = 1;
#else
#if YY_NEVER_INTERACTIVE
	b->yy_is_interactive = 0;
#else
	b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
#endif
#endif
	}


#ifdef YY_USE_PROTOS
void yy_flush_buffer( YY_BUFFER_STATE b )
#else
void yy_flush_buffer( b )
YY_BUFFER_STATE b;
#endif

	{
	if ( ! b )
		return;

	b->yy_n_chars = 0;

	/* We always need two end-of-buffer characters.  The first causes
	 * a transition to the end-of-buffer state.  The second causes
	 * a jam in that state.
	 */
	b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
	b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;

	b->yy_buf_pos = &b->yy_ch_buf[0];

	b->yy_at_bol = 1;
	b->yy_buffer_status = YY_BUFFER_NEW;

	if ( b == yy_current_buffer )
		yy_load_buffer_state();
	}


#ifndef YY_NO_SCAN_BUFFER
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
#else
YY_BUFFER_STATE yy_scan_buffer( base, size )
char *base;
yy_size_t size;
#endif
	{
	YY_BUFFER_STATE b;

	if ( size < 2 ||
	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
	     base[size-1] != YY_END_OF_BUFFER_CHAR )
		/* They forgot to leave room for the EOB's. */
		return 0;

	b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
	if ( ! b )
		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );

	b->yy_buf_size = size - 2;	/* "- 2" to take care of EOB's */
	b->yy_buf_pos = b->yy_ch_buf = base;
	b->yy_is_our_buffer = 0;
	b->yy_input_file = 0;
	b->yy_n_chars = b->yy_buf_size;
	b->yy_is_interactive = 0;
	b->yy_at_bol = 1;
	b->yy_fill_buffer = 0;
	b->yy_buffer_status = YY_BUFFER_NEW;

	yy_switch_to_buffer( b );

	return b;
	}
#endif


#ifndef YY_NO_SCAN_STRING
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
#else
YY_BUFFER_STATE yy_scan_string( yy_str )
yyconst char *yy_str;
#endif
	{
	int len;
	for ( len = 0; yy_str[len]; ++len )
		;

	return yy_scan_bytes( yy_str, len );
	}
#endif


#ifndef YY_NO_SCAN_BYTES
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
#else
YY_BUFFER_STATE yy_scan_bytes( bytes, len )
yyconst char *bytes;
int len;
#endif
	{
	YY_BUFFER_STATE b;
	char *buf;
	yy_size_t n;
	int i;

	/* Get memory for full buffer, including space for trailing EOB's. */
	n = len + 2;
	buf = (char *) yy_flex_alloc( n );
	if ( ! buf )
		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );

	for ( i = 0; i < len; ++i )
		buf[i] = bytes[i];

	buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;

	b = yy_scan_buffer( buf, n );
	if ( ! b )
		YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );

	/* It's okay to grow etc. this buffer, and we should throw it
	 * away when we're done.
	 */
	b->yy_is_our_buffer = 1;

	return b;
	}
#endif


#ifndef YY_NO_PUSH_STATE
#ifdef YY_USE_PROTOS
static void yy_push_state( int new_state )
#else
static void yy_push_state( new_state )
int new_state;
#endif
	{
	if ( yy_start_stack_ptr >= yy_start_stack_depth )
		{
		yy_size_t new_size;

		yy_start_stack_depth += YY_START_STACK_INCR;
		new_size = yy_start_stack_depth * sizeof( int );

		if ( ! yy_start_stack )
			yy_start_stack = (int *) yy_flex_alloc( new_size );

		else
			yy_start_stack = (int *) yy_flex_realloc(
					(void *) yy_start_stack, new_size );

		if ( ! yy_start_stack )
			YY_FATAL_ERROR(
			"out of memory expanding start-condition stack" );
		}

	yy_start_stack[yy_start_stack_ptr++] = YY_START;

	BEGIN(new_state);
	}
#endif


#ifndef YY_NO_POP_STATE
static void yy_pop_state()
	{
	if ( --yy_start_stack_ptr < 0 )
		YY_FATAL_ERROR( "start-condition stack underflow" );

	BEGIN(yy_start_stack[yy_start_stack_ptr]);
	}
#endif


#ifndef YY_NO_TOP_STATE
static int yy_top_state()
	{
	return yy_start_stack[yy_start_stack_ptr - 1];
	}
#endif

#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif

#ifdef YY_USE_PROTOS
static void yy_fatal_error( yyconst char msg[] )
#else
static void yy_fatal_error( msg )
char msg[];
#endif
	{
	(void) fprintf( stderr, "%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 YY_MAIN
int main()
	{
	yylex();
	return 0;
	}
#endif
#line 476 "core/lex-asn1.l"



/*
 * these "LexBegin..." routines are used by yacc for (ack!)
 * lexical tie ins
 */

int
LexBeginMacroDefContext()
{
    BEGIN (MACRO_DEF);
}

int
LexBeginBraceBalContext()
{
    BEGIN (BRACE_BAL);
}

int
LexBeginInitialContext()
{
    BEGIN (INITIAL);
}

/*
 * $Log: lex-asn1.c,v $
 * Revision 1.1  2001/06/20 21:27:57  dmitch
 * Adding missing snacc compiler files.
 *
 * Revision 1.3  2000/06/08 20:12:24  dmitch
 * Mods for X port.
 *
 * Revision 1.1.1.1  1999/03/16 18:06:49  aram
 * Originals from SMIME Free Library.
 *
 * Revision 1.5  1997/08/28 09:46:41  wan
 * Reworked number range checking, only gives warning now.
 *
 * Revision 1.4  1997/06/19 09:17:17  wan
 * Added isPdu flag to tables. Added value range checks during parsing.
 *
 * Revision 1.3  1995/07/25 19:41:30  rj
 * changed `_' to `-' in file names.
 *
 * Revision 1.2  1994/09/01  00:37:12  rj
 * snacc_config.h removed.
 *
 * for a list of changes relative to the 1.1 distribution, please refer to the ChangeLog.
 */