
/*  A Bison parser, made from ./parse-scan.y
 by  GNU Bison version 1.25
  */

#define YYBISON 1  /* Identify Bison output.  */

#define	PLUS_TK	258
#define	MINUS_TK	259
#define	MULT_TK	260
#define	DIV_TK	261
#define	REM_TK	262
#define	LS_TK	263
#define	SRS_TK	264
#define	ZRS_TK	265
#define	AND_TK	266
#define	XOR_TK	267
#define	OR_TK	268
#define	BOOL_AND_TK	269
#define	BOOL_OR_TK	270
#define	EQ_TK	271
#define	NEQ_TK	272
#define	GT_TK	273
#define	GTE_TK	274
#define	LT_TK	275
#define	LTE_TK	276
#define	PLUS_ASSIGN_TK	277
#define	MINUS_ASSIGN_TK	278
#define	MULT_ASSIGN_TK	279
#define	DIV_ASSIGN_TK	280
#define	REM_ASSIGN_TK	281
#define	LS_ASSIGN_TK	282
#define	SRS_ASSIGN_TK	283
#define	ZRS_ASSIGN_TK	284
#define	AND_ASSIGN_TK	285
#define	XOR_ASSIGN_TK	286
#define	OR_ASSIGN_TK	287
#define	PUBLIC_TK	288
#define	PRIVATE_TK	289
#define	PROTECTED_TK	290
#define	STATIC_TK	291
#define	FINAL_TK	292
#define	SYNCHRONIZED_TK	293
#define	VOLATILE_TK	294
#define	TRANSIENT_TK	295
#define	NATIVE_TK	296
#define	PAD_TK	297
#define	ABSTRACT_TK	298
#define	MODIFIER_TK	299
#define	DECR_TK	300
#define	INCR_TK	301
#define	DEFAULT_TK	302
#define	IF_TK	303
#define	THROW_TK	304
#define	BOOLEAN_TK	305
#define	DO_TK	306
#define	IMPLEMENTS_TK	307
#define	THROWS_TK	308
#define	BREAK_TK	309
#define	IMPORT_TK	310
#define	ELSE_TK	311
#define	INSTANCEOF_TK	312
#define	RETURN_TK	313
#define	VOID_TK	314
#define	CATCH_TK	315
#define	INTERFACE_TK	316
#define	CASE_TK	317
#define	EXTENDS_TK	318
#define	FINALLY_TK	319
#define	SUPER_TK	320
#define	WHILE_TK	321
#define	CLASS_TK	322
#define	SWITCH_TK	323
#define	CONST_TK	324
#define	TRY_TK	325
#define	FOR_TK	326
#define	NEW_TK	327
#define	CONTINUE_TK	328
#define	GOTO_TK	329
#define	PACKAGE_TK	330
#define	THIS_TK	331
#define	BYTE_TK	332
#define	SHORT_TK	333
#define	INT_TK	334
#define	LONG_TK	335
#define	CHAR_TK	336
#define	INTEGRAL_TK	337
#define	FLOAT_TK	338
#define	DOUBLE_TK	339
#define	FP_TK	340
#define	ID_TK	341
#define	REL_QM_TK	342
#define	REL_CL_TK	343
#define	NOT_TK	344
#define	NEG_TK	345
#define	ASSIGN_ANY_TK	346
#define	ASSIGN_TK	347
#define	OP_TK	348
#define	CP_TK	349
#define	OCB_TK	350
#define	CCB_TK	351
#define	OSB_TK	352
#define	CSB_TK	353
#define	SC_TK	354
#define	C_TK	355
#define	DOT_TK	356
#define	STRING_LIT_TK	357
#define	CHAR_LIT_TK	358
#define	INT_LIT_TK	359
#define	FP_LIT_TK	360
#define	TRUE_TK	361
#define	FALSE_TK	362
#define	BOOL_LIT_TK	363
#define	NULL_TK	364

#line 37 "./parse-scan.y"

#define JC1_LITE

#include "config.h"
#include "system.h"

#include "obstack.h"
#include "toplev.h"

extern char *input_filename;
extern FILE *finput, *out;

/* Obstack for the lexer.  */
struct obstack temporary_obstack;

/* The current parser context.  */
static struct parser_ctxt *ctxp;

/* Error and warning counts, current line number, because they're used
   elsewhere  */
int java_error_count;
int java_warning_count;
int lineno;

/* Tweak default rules when necessary.  */
static int absorber;
#define USE_ABSORBER absorber = 0

/* Keep track of the current class name and package name.  */
static char *current_class;
static char *package_name;

/* Keep track of whether things have be listed before.  */
static int previous_output;

/* Record modifier uses  */
static int modifier_value;

/* Keep track of number of bracket pairs after a variable declarator
   id.  */
static int bracket_count; 

/* Record a method declaration  */
struct method_declarator {
  char *method_name;
  char *args;
};
#define NEW_METHOD_DECLARATOR(D,N,A)					     \
{									     \
  (D) = 								     \
    (struct method_declarator *)xmalloc (sizeof (struct method_declarator)); \
  (D)->method_name = (N);						     \
  (D)->args = (A);							     \
}

/* Two actions for this grammar */
static void report_class_declaration PROTO ((char *));
static void report_main_declaration PROTO ((struct method_declarator *));

#include "lex.h"
#include "parse.h"

#line 100 "./parse-scan.y"
typedef union {
  char *node;
  struct method_declarator *declarator;
  int value;			/* For modifiers */
} YYSTYPE;
#ifndef YYDEBUG
#define YYDEBUG 1
#endif

#include <stdio.h>

#ifndef __cplusplus
#ifndef __STDC__
#define const
#endif
#endif



#define	YYFINAL		601
#define	YYFLAG		-32768
#define	YYNTBASE	110

#define YYTRANSLATE(x) ((unsigned)(x) <= 364 ? yytranslate[x] : 253)

static const char yytranslate[] = {     0,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     1,     2,     3,     4,     5,
     6,     7,     8,     9,    10,    11,    12,    13,    14,    15,
    16,    17,    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,    45,
    46,    47,    48,    49,    50,    51,    52,    53,    54,    55,
    56,    57,    58,    59,    60,    61,    62,    63,    64,    65,
    66,    67,    68,    69,    70,    71,    72,    73,    74,    75,
    76,    77,    78,    79,    80,    81,    82,    83,    84,    85,
    86,    87,    88,    89,    90,    91,    92,    93,    94,    95,
    96,    97,    98,    99,   100,   101,   102,   103,   104,   105,
   106,   107,   108,   109
};

#if YYDEBUG != 0
static const short yyprhs[] = {     0,
     0,     2,     4,     6,     8,    10,    12,    14,    16,    18,
    20,    22,    24,    26,    28,    30,    32,    34,    38,    42,
    46,    48,    50,    52,    56,    58,    59,    61,    63,    65,
    68,    71,    74,    78,    80,    83,    85,    88,    92,    94,
    96,   100,   106,   108,   110,   112,   114,   117,   118,   126,
   127,   134,   135,   138,   139,   142,   144,   148,   151,   155,
   157,   160,   162,   164,   166,   168,   170,   172,   174,   176,
   180,   185,   187,   191,   193,   197,   199,   203,   205,   207,
   210,   214,   218,   223,   228,   232,   237,   241,   243,   247,
   250,   254,   255,   258,   260,   264,   266,   269,   271,   274,
   278,   280,   284,   289,   294,   300,   304,   309,   312,   316,
   320,   325,   330,   336,   344,   351,   353,   355,   359,   364,
   369,   375,   378,   382,   385,   389,   391,   394,   396,   398,
   400,   402,   404,   407,   410,   414,   418,   423,   425,   429,
   432,   436,   438,   441,   443,   445,   447,   450,   453,   457,
   459,   461,   463,   465,   467,   469,   471,   473,   475,   477,
   479,   481,   483,   485,   487,   489,   491,   493,   495,   497,
   499,   501,   503,   506,   509,   512,   515,   517,   519,   521,
   523,   525,   527,   529,   535,   543,   551,   557,   560,   564,
   568,   573,   575,   578,   581,   583,   586,   590,   593,   598,
   601,   604,   606,   614,   622,   629,   637,   644,   647,   650,
   651,   653,   655,   656,   658,   660,   664,   667,   671,   674,
   678,   681,   685,   689,   695,   701,   703,   707,   711,   716,
   718,   721,   727,   730,   732,   734,   736,   738,   742,   744,
   746,   748,   750,   754,   758,   762,   766,   772,   777,   784,
   790,   795,   801,   807,   814,   818,   822,   824,   828,   832,
   836,   840,   845,   850,   855,   860,   862,   865,   869,   872,
   876,   880,   884,   888,   893,   899,   906,   912,   919,   924,
   929,   931,   933,   935,   937,   940,   943,   945,   947,   950,
   953,   955,   958,   961,   963,   966,   969,   971,   977,   982,
   987,   993,   995,   999,  1003,  1007,  1009,  1013,  1017,  1019,
  1023,  1027,  1031,  1033,  1037,  1041,  1045,  1049,  1053,  1055,
  1059,  1063,  1065,  1069,  1071,  1075,  1077,  1081,  1083,  1087,
  1089,  1093,  1095,  1101,  1103,  1105,  1109,  1111,  1113,  1115,
  1117,  1119,  1121
};

static const short yyrhs[] = {   123,
     0,   104,     0,   105,     0,   108,     0,   103,     0,   102,
     0,   109,     0,   113,     0,   114,     0,    82,     0,    85,
     0,    50,     0,   115,     0,   118,     0,   119,     0,   115,
     0,   115,     0,   113,    97,    98,     0,   119,    97,    98,
     0,   118,    97,    98,     0,   120,     0,   121,     0,   122,
     0,   119,   101,   122,     0,    86,     0,     0,   126,     0,
   124,     0,   125,     0,   126,   124,     0,   126,   125,     0,
   124,   125,     0,   126,   124,   125,     0,   127,     0,   124,
   127,     0,   130,     0,   125,   130,     0,    75,   119,    99,
     0,   128,     0,   129,     0,    55,   119,    99,     0,    55,
   119,   101,     5,    99,     0,   132,     0,   162,     0,    99,
     0,    44,     0,   131,    44,     0,     0,   131,    67,   122,
   135,   136,   133,   138,     0,     0,    67,   122,   135,   136,
   134,   138,     0,     0,    63,   116,     0,     0,    52,   137,
     0,   117,     0,   137,   100,   117,     0,    95,    96,     0,
    95,   139,    96,     0,   140,     0,   139,   140,     0,   141,
     0,   155,     0,   157,     0,   171,     0,   142,     0,   147,
     0,   132,     0,   162,     0,   112,   143,    99,     0,   131,
   112,   143,    99,     0,   144,     0,   143,   100,   144,     0,
   145,     0,   145,    92,   146,     0,   122,     0,   145,    97,
    98,     0,   251,     0,   169,     0,   148,   154,     0,   112,
   149,   152,     0,    59,   149,   152,     0,   131,   112,   149,
   152,     0,   131,    59,   149,   152,     0,   122,    93,    94,
     0,   122,    93,   150,    94,     0,   149,    97,    98,     0,
   151,     0,   150,   100,   151,     0,   112,   145,     0,   131,
   112,   145,     0,     0,    53,   153,     0,   116,     0,   153,
   100,   116,     0,   171,     0,   171,    99,     0,    99,     0,
   156,   171,     0,   156,   171,    99,     0,    44,     0,   158,
   152,   159,     0,   131,   158,   152,   159,     0,   158,   152,
   159,    99,     0,   131,   158,   152,   159,    99,     0,   120,
    93,    94,     0,   120,    93,   150,    94,     0,    95,    96,
     0,    95,   160,    96,     0,    95,   172,    96,     0,    95,
   160,   172,    96,     0,   161,    93,    94,    99,     0,   161,
    93,   220,    94,    99,     0,   119,   101,    65,    93,   220,
    94,    99,     0,   119,   101,    65,    93,    94,    99,     0,
    76,     0,    65,     0,    61,   122,   164,     0,   131,    61,
   122,   164,     0,    61,   122,   163,   164,     0,   131,    61,
   122,   163,   164,     0,    63,   117,     0,   163,   100,   117,
     0,    95,    96,     0,    95,   165,    96,     0,   166,     0,
   165,   166,     0,   167,     0,   168,     0,   132,     0,   162,
     0,   142,     0,   148,    99,     0,    95,    96,     0,    95,
   170,    96,     0,    95,   100,    96,     0,    95,   170,   100,
    96,     0,   146,     0,   170,   100,   146,     0,    95,    96,
     0,    95,   172,    96,     0,   173,     0,   172,   173,     0,
   174,     0,   176,     0,   132,     0,   175,    99,     0,   112,
   143,     0,   131,   112,   143,     0,   178,     0,   181,     0,
   185,     0,   186,     0,   195,     0,   199,     0,   178,     0,
   182,     0,   187,     0,   196,     0,   200,     0,   171,     0,
   179,     0,   183,     0,   188,     0,   198,     0,   206,     0,
   207,     0,   208,     0,   210,     0,   209,     0,   212,     0,
    99,     0,   122,    88,     0,   180,   176,     0,   180,   177,
     0,   184,    99,     0,   248,     0,   232,     0,   233,     0,
   229,     0,   230,     0,   226,     0,   218,     0,    48,    93,
   251,    94,   176,     0,    48,    93,   251,    94,   177,    56,
   176,     0,    48,    93,   251,    94,   177,    56,   177,     0,
    68,    93,   251,    94,   189,     0,    95,    96,     0,    95,
   192,    96,     0,    95,   190,    96,     0,    95,   190,   192,
    96,     0,   191,     0,   190,   191,     0,   192,   172,     0,
   193,     0,   192,   193,     0,    62,   252,    88,     0,    47,
    88,     0,    66,    93,   251,    94,     0,   194,   176,     0,
   194,   177,     0,    51,     0,   197,   176,    66,    93,   251,
    94,    99,     0,   202,    99,   251,    99,   204,    94,   176,
     0,   202,    99,    99,   204,    94,   176,     0,   202,    99,
   251,    99,   204,    94,   177,     0,   202,    99,    99,   204,
    94,   177,     0,    71,    93,     0,   201,   203,     0,     0,
   205,     0,   175,     0,     0,   205,     0,   184,     0,   205,
   100,   184,     0,    54,    99,     0,    54,   122,    99,     0,
    73,    99,     0,    73,   122,    99,     0,    58,    99,     0,
    58,   251,    99,     0,    49,   251,    99,     0,   211,    93,
   251,    94,   171,     0,   211,    93,   251,    94,     1,     0,
    44,     0,    70,   171,   213,     0,    70,   171,   215,     0,
    70,   171,   213,   215,     0,   214,     0,   213,   214,     0,
    60,    93,   151,    94,   171,     0,    64,   171,     0,   217,
     0,   221,     0,   111,     0,    76,     0,    93,   251,    94,
     0,   218,     0,   225,     0,   226,     0,   227,     0,   119,
   101,    67,     0,   113,   101,    67,     0,    59,   101,    67,
     0,   119,   101,    76,     0,    72,   116,    93,   220,    94,
     0,    72,   116,    93,    94,     0,    72,   116,    93,   220,
    94,   138,     0,    72,   116,    93,    94,   138,     0,   219,
   122,    93,    94,     0,   219,   122,    93,    94,   138,     0,
   219,   122,    93,   220,    94,     0,   219,   122,    93,   220,
    94,   138,     0,   119,   101,    72,     0,   216,   101,    72,
     0,   251,     0,   220,   100,   251,     0,   220,   100,     1,
     0,    72,   113,   222,     0,    72,   115,   222,     0,    72,
   113,   222,   224,     0,    72,   115,   222,   224,     0,    72,
   115,   224,   169,     0,    72,   113,   224,   169,     0,   223,
     0,   222,   223,     0,    97,   251,    98,     0,    97,    98,
     0,   224,    97,    98,     0,   216,   101,   122,     0,    65,
   101,   122,     0,   119,    93,    94,     0,   119,    93,   220,
    94,     0,   216,   101,   122,    93,    94,     0,   216,   101,
   122,    93,   220,    94,     0,    65,   101,   122,    93,    94,
     0,    65,   101,   122,    93,   220,    94,     0,   119,    97,
   251,    98,     0,   217,    97,   251,    98,     0,   216,     0,
   119,     0,   229,     0,   230,     0,   228,    46,     0,   228,
    45,     0,   232,     0,   233,     0,     3,   231,     0,     4,
   231,     0,   234,     0,    46,   231,     0,    45,   231,     0,
   228,     0,    89,   231,     0,    90,   231,     0,   235,     0,
    93,   113,   224,    94,   231,     0,    93,   113,    94,   231,
     0,    93,   251,    94,   234,     0,    93,   119,   224,    94,
   234,     0,   231,     0,   236,     5,   231,     0,   236,     6,
   231,     0,   236,     7,   231,     0,   236,     0,   237,     3,
   236,     0,   237,     4,   236,     0,   237,     0,   238,     8,
   237,     0,   238,     9,   237,     0,   238,    10,   237,     0,
   238,     0,   239,    20,   238,     0,   239,    18,   238,     0,
   239,    21,   238,     0,   239,    19,   238,     0,   239,    57,
   114,     0,   239,     0,   240,    16,   239,     0,   240,    17,
   239,     0,   240,     0,   241,    11,   240,     0,   241,     0,
   242,    12,   241,     0,   242,     0,   243,    13,   242,     0,
   243,     0,   244,    14,   243,     0,   244,     0,   245,    15,
   244,     0,   245,     0,   245,    87,   251,    88,   246,     0,
   246,     0,   248,     0,   249,   250,   247,     0,   119,     0,
   225,     0,   227,     0,    91,     0,    92,     0,   247,     0,
   251,     0
};

#endif

#if YYDEBUG != 0
static const short yyrline[] = { 0,
   171,   176,   178,   179,   180,   181,   182,   186,   188,   191,
   197,   202,   209,   211,   214,   218,   222,   226,   228,   235,
   245,   247,   250,   254,   263,   268,   269,   270,   271,   272,
   273,   274,   275,   278,   280,   283,   285,   288,   293,   295,
   298,   302,   306,   308,   309,   315,   324,   335,   342,   342,
   345,   347,   348,   351,   352,   355,   358,   362,   364,   367,
   369,   372,   374,   375,   376,   379,   381,   382,   383,   387,
   390,   394,   397,   400,   402,   405,   408,   412,   414,   418,
   422,   425,   426,   428,   435,   442,   448,   451,   453,   461,
   477,   493,   494,   497,   500,   504,   506,   507,   511,   513,
   516,   526,   528,   531,   533,   539,   542,   546,   548,   549,
   550,   554,   556,   559,   561,   565,   567,   572,   575,   577,
   579,   583,   585,   588,   590,   593,   595,   598,   600,   601,
   602,   605,   609,   614,   616,   617,   618,   621,   623,   627,
   629,   632,   634,   637,   639,   640,   643,   647,   650,   654,
   656,   657,   658,   659,   660,   663,   665,   666,   667,   668,
   671,   673,   674,   675,   676,   677,   678,   679,   680,   681,
   682,   685,   689,   694,   698,   704,   708,   710,   711,   712,
   713,   714,   715,   718,   722,   726,   730,   734,   736,   737,
   738,   741,   743,   746,   751,   753,   756,   758,   761,   765,
   769,   773,   777,   781,   783,   786,   788,   791,   795,   798,
   799,   800,   803,   804,   807,   809,   812,   814,   817,   819,
   822,   824,   827,   831,   833,   836,   841,   843,   844,   847,
   849,   852,   856,   861,   863,   866,   868,   869,   870,   871,
   872,   873,   877,   879,   881,   885,   889,   891,   895,   896,
   900,   901,   902,   903,   906,   909,   912,   914,   915,   918,
   920,   921,   922,   925,   926,   929,   931,   934,   938,   940,
   943,   945,   948,   951,   953,   954,   955,   956,   959,   962,
   965,   967,   969,   970,   973,   977,   981,   983,   984,   985,
   986,   989,   993,   997,   999,  1000,  1001,  1004,  1006,  1007,
  1008,  1011,  1013,  1014,  1015,  1018,  1020,  1021,  1024,  1026,
  1027,  1028,  1031,  1033,  1034,  1035,  1036,  1037,  1040,  1042,
  1043,  1046,  1048,  1051,  1053,  1056,  1058,  1061,  1063,  1066,
  1068,  1071,  1073,  1076,  1078,  1081,  1085,  1088,  1089,  1092,
  1094,  1097,  1101
};
#endif


#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)

static const char * const yytname[] = {   "$","error","$undefined.","PLUS_TK",
"MINUS_TK","MULT_TK","DIV_TK","REM_TK","LS_TK","SRS_TK","ZRS_TK","AND_TK","XOR_TK",
"OR_TK","BOOL_AND_TK","BOOL_OR_TK","EQ_TK","NEQ_TK","GT_TK","GTE_TK","LT_TK",
"LTE_TK","PLUS_ASSIGN_TK","MINUS_ASSIGN_TK","MULT_ASSIGN_TK","DIV_ASSIGN_TK",
"REM_ASSIGN_TK","LS_ASSIGN_TK","SRS_ASSIGN_TK","ZRS_ASSIGN_TK","AND_ASSIGN_TK",
"XOR_ASSIGN_TK","OR_ASSIGN_TK","PUBLIC_TK","PRIVATE_TK","PROTECTED_TK","STATIC_TK",
"FINAL_TK","SYNCHRONIZED_TK","VOLATILE_TK","TRANSIENT_TK","NATIVE_TK","PAD_TK",
"ABSTRACT_TK","MODIFIER_TK","DECR_TK","INCR_TK","DEFAULT_TK","IF_TK","THROW_TK",
"BOOLEAN_TK","DO_TK","IMPLEMENTS_TK","THROWS_TK","BREAK_TK","IMPORT_TK","ELSE_TK",
"INSTANCEOF_TK","RETURN_TK","VOID_TK","CATCH_TK","INTERFACE_TK","CASE_TK","EXTENDS_TK",
"FINALLY_TK","SUPER_TK","WHILE_TK","CLASS_TK","SWITCH_TK","CONST_TK","TRY_TK",
"FOR_TK","NEW_TK","CONTINUE_TK","GOTO_TK","PACKAGE_TK","THIS_TK","BYTE_TK","SHORT_TK",
"INT_TK","LONG_TK","CHAR_TK","INTEGRAL_TK","FLOAT_TK","DOUBLE_TK","FP_TK","ID_TK",
"REL_QM_TK","REL_CL_TK","NOT_TK","NEG_TK","ASSIGN_ANY_TK","ASSIGN_TK","OP_TK",
"CP_TK","OCB_TK","CCB_TK","OSB_TK","CSB_TK","SC_TK","C_TK","DOT_TK","STRING_LIT_TK",
"CHAR_LIT_TK","INT_LIT_TK","FP_LIT_TK","TRUE_TK","FALSE_TK","BOOL_LIT_TK","NULL_TK",
"goal","literal","type","primitive_type","reference_type","class_or_interface_type",
"class_type","interface_type","array_type","name","simple_name","qualified_name",
"identifier","compilation_unit","import_declarations","type_declarations","package_declaration",
"import_declaration","single_type_import_declaration","type_import_on_demand_declaration",
"type_declaration","modifiers","class_declaration","@1","@2","super","interfaces",
"interface_type_list","class_body","class_body_declarations","class_body_declaration",
"class_member_declaration","field_declaration","variable_declarators","variable_declarator",
"variable_declarator_id","variable_initializer","method_declaration","method_header",
"method_declarator","formal_parameter_list","formal_parameter","throws","class_type_list",
"method_body","static_initializer","static","constructor_declaration","constructor_declarator",
"constructor_body","explicit_constructor_invocation","this_or_super","interface_declaration",
"extends_interfaces","interface_body","interface_member_declarations","interface_member_declaration",
"constant_declaration","abstract_method_declaration","array_initializer","variable_initializers",
"block","block_statements","block_statement","local_variable_declaration_statement",
"local_variable_declaration","statement","statement_nsi","statement_without_trailing_substatement",
"empty_statement","label_decl","labeled_statement","labeled_statement_nsi","expression_statement",
"statement_expression","if_then_statement","if_then_else_statement","if_then_else_statement_nsi",
"switch_statement","switch_block","switch_block_statement_groups","switch_block_statement_group",
"switch_labels","switch_label","while_expression","while_statement","while_statement_nsi",
"do_statement_begin","do_statement","for_statement","for_statement_nsi","for_header",
"for_begin","for_init","for_update","statement_expression_list","break_statement",
"continue_statement","return_statement","throw_statement","synchronized_statement",
"synchronized","try_statement","catches","catch_clause","finally","primary",
"primary_no_new_array","class_instance_creation_expression","something_dot_new",
"argument_list","array_creation_expression","dim_exprs","dim_expr","dims","field_access",
"method_invocation","array_access","postfix_expression","post_increment_expression",
"post_decrement_expression","unary_expression","pre_increment_expression","pre_decrement_expression",
"unary_expression_not_plus_minus","cast_expression","multiplicative_expression",
"additive_expression","shift_expression","relational_expression","equality_expression",
"and_expression","exclusive_or_expression","inclusive_or_expression","conditional_and_expression",
"conditional_or_expression","conditional_expression","assignment_expression",
"assignment","left_hand_side","assignment_operator","expression","constant_expression", NULL
};
#endif

static const short yyr1[] = {     0,
   110,   111,   111,   111,   111,   111,   111,   112,   112,   113,
   113,   113,   114,   114,   115,   116,   117,   118,   118,   118,
   119,   119,   120,   121,   122,   123,   123,   123,   123,   123,
   123,   123,   123,   124,   124,   125,   125,   126,   127,   127,
   128,   129,   130,   130,   130,   131,   131,   133,   132,   134,
   132,   135,   135,   136,   136,   137,   137,   138,   138,   139,
   139,   140,   140,   140,   140,   141,   141,   141,   141,   142,
   142,   143,   143,   144,   144,   145,   145,   146,   146,   147,
   148,   148,   148,   148,   149,   149,   149,   150,   150,   151,
   151,   152,   152,   153,   153,   154,   154,   154,   155,   155,
   156,   157,   157,   157,   157,   158,   158,   159,   159,   159,
   159,   160,   160,   160,   160,   161,   161,   162,   162,   162,
   162,   163,   163,   164,   164,   165,   165,   166,   166,   166,
   166,   167,   168,   169,   169,   169,   169,   170,   170,   171,
   171,   172,   172,   173,   173,   173,   174,   175,   175,   176,
   176,   176,   176,   176,   176,   177,   177,   177,   177,   177,
   178,   178,   178,   178,   178,   178,   178,   178,   178,   178,
   178,   179,   180,   181,   182,   183,   184,   184,   184,   184,
   184,   184,   184,   185,   186,   187,   188,   189,   189,   189,
   189,   190,   190,   191,   192,   192,   193,   193,   194,   195,
   196,   197,   198,   199,   199,   200,   200,   201,   202,   203,
   203,   203,   204,   204,   205,   205,   206,   206,   207,   207,
   208,   208,   209,   210,   210,   211,   212,   212,   212,   213,
   213,   214,   215,   216,   216,   217,   217,   217,   217,   217,
   217,   217,   217,   217,   217,   217,   218,   218,   218,   218,
   218,   218,   218,   218,   219,   219,   220,   220,   220,   221,
   221,   221,   221,   221,   221,   222,   222,   223,   224,   224,
   225,   225,   226,   226,   226,   226,   226,   226,   227,   227,
   228,   228,   228,   228,   229,   230,   231,   231,   231,   231,
   231,   232,   233,   234,   234,   234,   234,   235,   235,   235,
   235,   236,   236,   236,   236,   237,   237,   237,   238,   238,
   238,   238,   239,   239,   239,   239,   239,   239,   240,   240,
   240,   241,   241,   242,   242,   243,   243,   244,   244,   245,
   245,   246,   246,   247,   247,   248,   249,   249,   249,   250,
   250,   251,   252
};

static const short yyr2[] = {     0,
     1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
     1,     1,     1,     1,     1,     1,     1,     3,     3,     3,
     1,     1,     1,     3,     1,     0,     1,     1,     1,     2,
     2,     2,     3,     1,     2,     1,     2,     3,     1,     1,
     3,     5,     1,     1,     1,     1,     2,     0,     7,     0,
     6,     0,     2,     0,     2,     1,     3,     2,     3,     1,
     2,     1,     1,     1,     1,     1,     1,     1,     1,     3,
     4,     1,     3,     1,     3,     1,     3,     1,     1,     2,
     3,     3,     4,     4,     3,     4,     3,     1,     3,     2,
     3,     0,     2,     1,     3,     1,     2,     1,     2,     3,
     1,     3,     4,     4,     5,     3,     4,     2,     3,     3,
     4,     4,     5,     7,     6,     1,     1,     3,     4,     4,
     5,     2,     3,     2,     3,     1,     2,     1,     1,     1,
     1,     1,     2,     2,     3,     3,     4,     1,     3,     2,
     3,     1,     2,     1,     1,     1,     2,     2,     3,     1,
     1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
     1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
     1,     1,     2,     2,     2,     2,     1,     1,     1,     1,
     1,     1,     1,     5,     7,     7,     5,     2,     3,     3,
     4,     1,     2,     2,     1,     2,     3,     2,     4,     2,
     2,     1,     7,     7,     6,     7,     6,     2,     2,     0,
     1,     1,     0,     1,     1,     3,     2,     3,     2,     3,
     2,     3,     3,     5,     5,     1,     3,     3,     4,     1,
     2,     5,     2,     1,     1,     1,     1,     3,     1,     1,
     1,     1,     3,     3,     3,     3,     5,     4,     6,     5,
     4,     5,     5,     6,     3,     3,     1,     3,     3,     3,
     3,     4,     4,     4,     4,     1,     2,     3,     2,     3,
     3,     3,     3,     4,     5,     6,     5,     6,     4,     4,
     1,     1,     1,     1,     2,     2,     1,     1,     2,     2,
     1,     2,     2,     1,     2,     2,     1,     5,     4,     4,
     5,     1,     3,     3,     3,     1,     3,     3,     1,     3,
     3,     3,     1,     3,     3,     3,     3,     3,     1,     3,
     3,     1,     3,     1,     3,     1,     3,     1,     3,     1,
     3,     1,     5,     1,     1,     3,     1,     1,     1,     1,
     1,     1,     1
};

static const short yydefact[] = {    26,
    46,     0,     0,     0,     0,    45,     1,    28,    29,    27,
    34,    39,    40,    36,     0,    43,    44,    25,     0,    21,
    22,    23,     0,    52,     0,    32,    35,    37,    30,    31,
    47,     0,     0,    41,     0,     0,     0,     0,   118,     0,
    54,    38,     0,    33,     0,    52,     0,    24,    17,   122,
    15,    12,     0,    10,    11,   124,     0,     8,     9,    13,
    14,    15,     0,   130,   132,     0,   131,     0,   126,   128,
   129,     0,   120,    16,    53,     0,    50,     0,   119,    54,
    42,     0,    92,    76,     0,    72,    74,    92,     0,     0,
     0,     0,     0,   133,   125,   127,   123,    56,    55,     0,
   121,    48,     0,     0,     0,    82,    70,     0,     0,     0,
    81,    18,    20,    19,    92,     0,    92,     0,     0,    51,
     0,    85,     0,     0,     0,    88,    94,    93,    87,    76,
    73,     0,     0,     0,     0,     0,     0,     0,   237,     0,
     0,     0,     0,     6,     5,     2,     3,     4,     7,   236,
     0,   282,    75,    79,   281,   234,   239,     0,   235,   240,
   241,   242,   294,   283,   284,   302,   287,   288,   291,   297,
   306,   309,   313,   319,   322,   324,   326,   328,   330,   332,
   334,   342,   335,     0,    78,    77,    84,    71,    83,    57,
    46,     0,    58,    21,     0,    68,     0,    60,    62,    66,
    67,     0,    63,     0,    64,    92,    69,    65,    49,    90,
     0,    86,     0,     0,   282,   240,   242,   289,   290,   293,
   292,     0,     0,     0,    16,     0,   295,   296,     0,   282,
     0,   134,     0,   138,     0,     0,     0,     0,     0,     0,
     0,     0,   286,   285,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,   340,   341,     0,    46,     0,
     0,   202,     0,     0,     0,     0,     0,     0,     0,     0,
   140,   172,     0,     8,   282,    23,     0,   146,   161,     0,
   142,   144,     0,   145,   150,   162,     0,   151,   163,     0,
   152,   153,   164,     0,   154,     0,   165,   155,   210,     0,
   166,   167,   168,   170,   169,     0,   171,   239,   241,     0,
   180,   181,   178,   179,   177,     0,    92,    59,    61,    98,
    80,    96,    99,     0,    91,    89,    95,   245,   272,     0,
   260,   266,     0,   261,     0,     0,     0,     0,     0,     0,
     0,   238,   136,   135,     0,   244,   273,     0,   257,     0,
   243,   255,   246,   256,   271,     0,     0,   303,   304,   305,
   307,   308,   310,   311,   312,   315,   317,   314,   316,     0,
   318,   320,   321,   323,   325,   327,   329,   331,     0,   336,
     0,     0,   217,     0,   221,     0,     0,     0,     0,   208,
   219,     0,     0,   148,     0,   173,     0,   141,   143,   147,
   226,   174,   176,   200,     0,     0,   212,   215,   209,   211,
     0,     0,   106,     0,     0,    97,   100,     0,   102,     0,
   269,     0,   267,   262,     0,   265,   263,   264,   248,     0,
   299,     0,     0,   300,   137,   139,   274,     0,   279,     0,
   280,   251,     0,     0,     0,   223,   218,   222,     0,     0,
     0,     0,   227,   230,   228,   220,   238,   149,     0,     0,
   213,     0,     0,   107,   103,   117,   237,   108,   282,     0,
     0,     0,   104,   277,     0,   268,   270,   250,   247,   298,
   301,   259,   258,   275,     0,   252,   253,   333,     0,   199,
     0,     0,   233,   231,   229,     0,   216,     0,   214,   213,
     0,   105,     0,   109,     0,     0,   110,   278,   249,   276,
   254,     0,   184,     0,   150,     0,   157,   158,     0,   159,
   160,     0,     0,   187,     0,     0,     0,     0,   225,   224,
     0,   111,     0,     0,     0,     0,   175,   201,     0,     0,
     0,   188,     0,   192,     0,   195,     0,     0,   205,     0,
     0,   112,     0,     0,   185,   213,     0,   198,   343,     0,
   190,   193,     0,   189,   194,   196,   232,   203,   204,     0,
     0,   113,     0,     0,   213,   197,   191,   115,     0,     0,
     0,     0,   114,     0,   207,     0,   186,   206,     0,     0,
     0
};

static const short yydefgoto[] = {   599,
   150,   283,   151,    59,    60,    75,    50,    61,   152,    20,
    21,    22,     7,     8,     9,    10,    11,    12,    13,    14,
   287,   288,   121,   100,    41,    77,    99,   120,   197,   198,
   199,    65,    85,    86,    87,   153,   201,    66,    83,   125,
   126,   106,   128,   331,   203,   204,   205,   206,   429,   480,
   481,    17,    38,    39,    68,    69,    70,    71,   154,   235,
   289,   575,   291,   292,   293,   294,   524,   295,   296,   297,
   298,   527,   299,   300,   301,   302,   528,   303,   534,   553,
   554,   555,   556,   304,   305,   530,   306,   307,   308,   531,
   309,   310,   419,   508,   509,   311,   312,   313,   314,   315,
   316,   317,   463,   464,   465,   155,   156,   157,   158,   358,
   159,   341,   342,   343,   160,   161,   162,   163,   164,   165,
   166,   167,   168,   169,   170,   171,   172,   173,   174,   175,
   176,   177,   178,   179,   180,   181,   182,   183,   184,   268,
   359,   570
};

static const short yypact[] = {    11,
-32768,   -52,   -52,   -52,   -52,-32768,-32768,    18,   154,    18,
-32768,-32768,-32768,-32768,   185,-32768,-32768,-32768,   187,-32768,
-32768,-32768,   -24,    -5,   332,   154,-32768,-32768,    18,   154,
-32768,   -52,   -52,-32768,     5,   -52,   745,   162,-32768,   -52,
    76,-32768,   -52,   154,   -24,    -5,    57,-32768,-32768,-32768,
    41,-32768,   -52,-32768,-32768,-32768,   -52,    71,-32768,-32768,
   170,   113,   518,-32768,-32768,   126,-32768,   758,-32768,-32768,
-32768,   -52,-32768,-32768,-32768,   -52,-32768,   162,-32768,    76,
-32768,   249,   -15,   249,   321,-32768,   205,   -15,   149,   255,
   265,   -52,   -52,-32768,-32768,-32768,-32768,-32768,   198,   294,
-32768,-32768,    58,   -52,   298,-32768,-32768,   -52,  1568,   309,
-32768,-32768,-32768,-32768,   -15,   359,   -15,   -52,   596,-32768,
   294,-32768,   -52,   199,   -13,-32768,-32768,   310,-32768,-32768,
-32768,  2315,  2315,  2315,  2315,   329,   352,    88,-32768,  2315,
  2315,  2315,  1438,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
   354,   393,-32768,-32768,   360,   369,-32768,   -52,-32768,   347,
-32768,   378,   437,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
   445,   495,   483,   380,   492,   461,   462,   467,   502,     1,
-32768,-32768,-32768,   412,-32768,-32768,-32768,-32768,-32768,-32768,
   423,  2513,-32768,   429,   518,-32768,   683,-32768,-32768,-32768,
-32768,   128,-32768,   432,-32768,   471,-32768,-32768,-32768,   435,
   -52,-32768,   337,   -52,    52,-32768,-32768,-32768,-32768,-32768,
-32768,   468,   -52,   440,   440,   449,-32768,-32768,   174,   414,
   454,-32768,   460,-32768,   235,   500,  1619,  2315,   261,   -21,
  2315,   476,-32768,-32768,  2315,  2315,  2315,  2315,  2315,  2315,
  2315,  2315,  2315,  2315,  2315,  2315,    88,  2315,  2315,  2315,
  2315,  2315,  2315,  2315,  2315,-32768,-32768,  2315,   480,   482,
  2315,-32768,    60,  1684,   490,   491,   432,   494,    89,  2315,
-32768,-32768,   -52,   137,   559,   488,   496,-32768,-32768,  2579,
-32768,-32768,   493,-32768,-32768,-32768,  2975,-32768,-32768,   498,
-32768,-32768,-32768,  2975,-32768,  2975,-32768,-32768,  1029,   499,
-32768,-32768,-32768,-32768,-32768,   497,-32768,    96,   196,   437,
   485,   505,-32768,-32768,-32768,   323,   471,-32768,-32768,-32768,
-32768,   506,   507,   504,   435,-32768,-32768,-32768,   508,  1735,
   440,-32768,   339,   440,   339,  1800,  2315,   509,   180,  1735,
   246,  1364,-32768,-32768,  1503,-32768,-32768,     3,-32768,   512,
-32768,-32768,-32768,-32768,   520,   513,  1851,-32768,-32768,-32768,
   445,   445,   495,   495,   495,   483,   483,   483,   483,    71,
-32768,   380,   380,   492,   461,   462,   467,   502,   501,-32768,
  2315,   522,-32768,   523,-32768,   526,  2315,  2315,   322,-32768,
-32768,   528,   534,   535,  1916,-32768,   -52,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,   572,   199,-32768,-32768,-32768,   539,
  1967,  2315,-32768,   141,   504,-32768,-32768,  2645,   543,  2032,
-32768,   545,-32768,   547,   549,-32768,   547,-32768,   294,   244,
-32768,  2315,  1364,-32768,-32768,-32768,-32768,  1323,-32768,  2083,
-32768,   294,   251,  2315,   555,-32768,-32768,-32768,   564,   565,
   573,   432,   322,-32768,-32768,-32768,-32768,   535,   576,  1171,
  1171,   566,   582,-32768,   571,   352,   584,-32768,   849,  2711,
   587,  2777,-32768,-32768,   256,-32768,-32768,-32768,   294,-32768,
-32768,-32768,-32768,-32768,   260,-32768,   294,-32768,  3041,-32768,
   588,   337,-32768,-32768,-32768,  2315,-32768,   591,   539,  1171,
     6,-32768,   183,-32768,  2843,  2148,-32768,-32768,-32768,-32768,
-32768,   593,-32768,   631,   632,  3041,-32768,-32768,  3041,-32768,
-32768,   590,   -16,-32768,   600,   601,  2975,   602,-32768,-32768,
   604,-32768,   603,   272,  2315,  2975,-32768,-32768,  2199,   611,
  2315,-32768,    45,-32768,  2381,-32768,   432,   609,-32768,  2975,
  2264,-32768,   610,   616,-32768,  1171,   613,-32768,-32768,   615,
-32768,-32768,  2447,-32768,  2909,-32768,-32768,-32768,-32768,   619,
   280,-32768,  3041,   621,  1171,-32768,-32768,-32768,   623,   670,
  3041,   636,-32768,  3041,-32768,  3041,-32768,-32768,   725,   735,
-32768
};

static const short yypgoto[] = {-32768,
-32768,   139,   -26,   479,   253,   -85,    43,-32768,    59,   -72,
-32768,    -3,-32768,   729,   150,-32768,    20,-32768,-32768,   200,
    15,   586,-32768,-32768,   695,   665,-32768,  -113,-32768,   550,
-32768,   -83,   -80,   640,  -105,  -138,-32768,   -71,    93,   426,
  -211,   -82,-32768,-32768,-32768,-32768,-32768,   554,   328,-32768,
-32768,   -25,   709,   -18,-32768,   688,-32768,-32768,   103,-32768,
   -93,  -188,  -276,-32768,   450,  -167,  -372,  -378,-32768,  -151,
-32768,-32768,-32768,  -306,-32768,-32768,-32768,-32768,-32768,-32768,
   207,   208,  -499,  -134,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,   -58,-32768,  -453,   458,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,   295,   300,-32768,-32768,   138,-32768,  -283,
-32768,   546,    14,  -208,  1037,   191,  1059,   327,   410,   434,
   -65,   487,   570,  -343,-32768,   305,   308,   159,   306,   510,
   511,   519,   517,   524,-32768,   319,   531,   669,-32768,-32768,
   123,-32768
};


#define	YYLAST		3150


static const short yytable[] = {    23,
    24,   336,   418,   290,   234,   111,   539,   209,   444,    47,
    58,    67,   116,   409,    15,   264,   345,   210,   127,    73,
   349,   351,    15,    15,    15,   208,    79,    27,    45,    46,
   550,    48,   187,    18,   189,   200,    58,   104,    36,    48,
    15,    58,    67,    15,    15,   551,   194,   202,    27,    82,
   364,    63,   226,    84,     1,   576,   538,    40,    15,   101,
    19,     1,   440,    25,    18,     2,   218,   219,   220,   221,
    37,     3,     2,   576,   227,   228,    58,     4,     3,   552,
   212,   105,    63,   453,     4,     5,   213,   265,    82,    84,
    18,   550,    58,   207,    51,    62,   447,    58,    51,   491,
   192,     1,   448,   208,   130,   335,   551,    52,   332,     6,
   333,   224,   584,   200,    97,   229,     6,   124,    98,   130,
   525,    62,   194,   334,   194,   202,    62,    76,   337,   412,
    51,   592,   434,   195,    51,   437,   414,    52,   415,    54,
   571,    43,    55,    18,   237,    18,   485,   525,   238,    88,
   525,   122,   239,   547,   242,    81,   548,    26,   393,    30,
   190,    62,    51,   507,   418,   284,   495,    89,    58,    54,
    58,   207,    55,    18,    18,    57,    51,    62,    44,   368,
   369,   370,    62,   399,   115,   117,    58,   401,   286,  -183,
   215,   215,   215,   215,  -183,  -183,    51,     1,   215,   215,
   230,    93,   404,   418,   525,   409,    57,   130,    28,    91,
   590,   195,   525,    43,     3,   525,   446,   525,   595,   339,
     4,   597,   192,   598,    94,    28,   330,   124,    31,    28,
   380,   185,   544,    89,   474,    48,   365,   236,   409,   482,
   213,   123,    31,    28,   425,    32,   112,   541,    52,   361,
   285,    33,     6,    62,   362,    62,    37,    57,   363,   418,
    58,    72,   211,   284,   231,   185,    90,   347,    18,   394,
   348,    62,    51,   442,   236,   402,   435,   581,   418,   130,
    54,   441,   284,    55,    18,    34,   286,    35,    49,  -182,
   535,   515,    74,   286,  -182,  -182,   109,   118,   409,    58,
   286,   110,   286,   215,   215,   215,   215,   215,   215,   215,
   215,   215,   215,   215,   215,    62,   215,   215,   215,   215,
   215,   215,   215,   416,    49,   488,   468,   361,    49,   318,
   354,   523,   362,    93,   355,    57,   363,   489,   496,   443,
   124,   103,   435,   448,   497,    62,    18,   526,   285,   518,
   448,   123,   113,   520,   433,   448,    74,   433,   412,   448,
   360,   414,   114,   366,   529,   563,     1,   285,   503,   559,
    49,   448,    52,   589,   526,   519,   490,   526,   565,   448,
     1,   461,   319,   521,    62,   462,    52,   389,   119,    58,
   225,   529,   579,   392,   529,   129,   396,   253,   254,   255,
   256,   284,   403,   130,    54,   215,   186,    55,    18,   214,
   215,   376,   377,   378,   379,   523,   423,   540,    54,   107,
   108,    55,    18,   559,   286,   407,   565,   318,   579,   222,
    42,   526,    43,   143,   318,   435,   257,  -338,  -338,   526,
   532,   318,   526,   318,   526,   436,   318,   438,   529,   245,
   246,   247,   223,   284,   236,   284,   529,   188,   108,   529,
   240,   529,   432,   577,   123,   241,    74,   532,  -339,  -339,
   532,   260,   360,   261,    62,    58,   286,   185,   286,   262,
   319,   243,   244,  -337,  -337,   237,   479,   319,   284,   238,
   250,   251,   252,   239,   319,   286,   319,   248,   249,   319,
   215,   215,   266,   267,  -337,  -337,   237,   258,   259,    48,
   350,   286,   215,   455,   239,   263,   124,  -101,   320,   459,
   460,   326,   286,   104,   532,   286,   192,   360,   284,  -283,
  -283,   110,   532,   286,   338,   532,   340,   532,   285,    31,
   285,   346,   286,   472,   473,    52,   284,   352,   284,  -284,
  -284,   286,   371,   372,   407,   353,   286,   373,   374,   375,
    62,    31,    33,   382,   383,   318,   356,    52,   367,   286,
   493,   286,  -226,   285,   391,   406,    92,    54,    32,   286,
    55,    18,   397,   398,    33,    16,   400,   286,   454,   422,
   286,   410,   286,    16,    16,    16,   413,   421,   428,    54,
   430,   321,    55,    18,   426,   427,   431,   318,   318,   449,
   451,    16,   450,   285,    16,    16,   320,   318,   319,   318,
   456,   457,    64,   320,   458,   322,   466,   467,   536,    16,
   320,   285,   320,   285,   108,   320,   318,   469,   470,   191,
   123,   483,   486,   435,   -15,    52,   487,   318,   499,  -337,
  -337,   237,   318,    64,    53,   405,     3,   500,   501,   239,
   319,   319,     4,   318,   510,   502,   318,   564,   506,   512,
   319,   567,   319,   569,   318,   511,  -116,    54,   323,   516,
    55,    18,   533,   318,   537,   545,   546,  -156,   549,   319,
   192,   193,   318,   557,   558,   560,   561,   318,   568,   321,
   319,   562,   586,   318,   196,   319,   321,   578,   582,   583,
   318,   585,   318,   321,   591,   321,   319,   588,   321,   319,
   318,   593,   318,   322,   600,   594,   191,   319,   318,   596,
   322,   318,    52,   318,   601,   381,   319,   322,    29,   322,
    80,    53,   322,     3,   102,   319,   329,   131,   327,     4,
   319,   424,   475,    78,   320,    96,   319,   504,   417,   572,
   573,   324,   505,   319,    54,   319,   420,    55,    18,   384,
   344,   385,   498,   319,     0,   319,   323,   192,   328,   387,
   386,   319,   196,   323,   319,     0,   319,   388,     1,     0,
   323,     0,   323,     0,    52,   323,   320,   320,   390,     0,
     0,     1,     0,    53,     0,     3,   320,    52,   320,     0,
     0,     4,     0,     0,     0,     0,    53,     0,     3,     0,
     0,     0,     0,     0,     4,   320,    54,     0,     0,    55,
    18,     0,     0,     0,     0,     0,   320,   321,     0,    54,
    56,   320,    55,    18,     0,     0,     0,     0,     0,     0,
     0,     0,   320,    95,     0,   320,     0,     0,     0,   324,
   325,   322,     0,   320,     0,     0,   324,     0,     0,     0,
     0,     0,   320,   324,     0,   324,     0,     0,   324,   321,
   321,   320,     0,     0,     0,     0,   320,     0,     0,   321,
     0,   321,   320,     0,     0,     0,     0,     0,     0,   320,
     0,   320,     0,   322,   322,     0,     0,     0,   321,   320,
     0,   320,     0,   322,   323,   322,     0,   320,     0,   321,
   320,     0,   320,     0,   321,     0,     0,     0,     0,     0,
     0,     0,   322,     0,   -15,   321,     0,     0,   321,  -337,
  -337,   237,     0,   322,     0,   405,   321,     0,   322,   513,
     0,     0,     0,     0,     0,   321,   323,   323,   325,   322,
     0,     0,   322,     0,   321,   325,   323,     0,   323,   321,
   322,     0,   325,     0,   325,   321,     0,   325,     0,   322,
     0,     0,   321,     0,   321,   323,     0,     0,   322,     0,
     0,     0,   321,   322,   321,     0,   323,   324,     0,   322,
   321,   323,     0,   321,     0,   321,   322,     0,   322,     0,
     0,     0,   323,     0,     0,   323,   322,     0,   322,     0,
     0,     0,     0,   323,   322,     0,     0,   322,     0,   322,
     0,     0,   323,     0,     0,     0,     0,     0,     0,   324,
   324,   323,     0,     0,     0,     0,   323,     0,     0,   324,
     0,   324,   323,     0,     0,     0,     0,     0,     0,   323,
     0,   323,     0,     0,     0,     0,     0,     0,   324,   323,
     0,   323,     1,   134,   135,     0,     0,   323,    52,   324,
   323,     0,   323,     0,   324,     0,     0,   136,     0,     0,
     0,     0,     0,   137,     0,   324,   325,     0,   324,     0,
   138,     0,     0,     0,   139,     0,   324,     0,     0,     0,
    54,     0,     0,    55,    18,   324,     0,     0,     0,     0,
     0,   280,     0,     0,   324,     0,     0,     0,     0,   324,
   144,   145,   146,   147,     0,   324,   148,   149,   325,   325,
     0,     0,   324,     0,   324,     0,     0,     0,   325,     0,
   325,     0,   324,     0,   324,     0,     0,     0,     0,     0,
   324,     0,     0,   324,     0,   324,     0,   325,   216,   216,
   216,   216,     0,     0,     0,     0,   216,   216,   325,     0,
     0,     0,     0,   325,     0,     0,     0,     0,     0,     0,
   217,   217,   217,   217,   325,     0,     0,   325,   217,   217,
     0,     0,     0,     0,     0,   325,     0,     0,     0,     0,
     0,     0,     0,     0,   325,   134,   135,     0,     0,     0,
    52,     0,     0,   325,     0,     0,     0,     0,   325,   136,
     0,     0,     0,     0,   325,   137,     0,     0,     0,     0,
     0,   325,   138,   325,     0,     0,   139,     0,     0,     0,
     0,   325,    54,   325,     0,    55,    18,     0,     0,   325,
     0,     0,   325,   280,   325,     0,     0,     0,     0,     0,
     0,     0,   144,   145,   146,   147,     0,     0,   148,   149,
     0,   216,   216,   216,   216,   216,   216,   216,   216,   216,
   216,   216,   216,     0,   216,   216,   216,   216,   216,   216,
   216,     0,     0,   217,   217,   217,   217,   217,   217,   217,
   217,   217,   217,   217,   217,     0,   217,   217,   217,   217,
   217,   217,   217,   492,     0,   132,   133,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,   134,   135,     0,
     0,     0,    52,     0,     0,     0,     0,     0,     0,     0,
     0,   136,     0,   216,     0,     0,     0,   137,   216,     0,
     0,     0,     0,     0,   138,     0,     0,     0,   139,     0,
     0,     0,     0,     0,    54,   217,     0,    55,    18,     0,
   217,   140,   141,    52,     0,   142,     0,     0,     0,     0,
     0,     0,   136,     0,   144,   145,   146,   147,   137,     0,
   148,   149,     0,     0,     0,   138,     0,     0,     0,   139,
   132,   133,     0,     0,     0,    54,     0,     0,    55,    18,
     0,     0,   140,   141,     0,     0,   142,     0,     0,     0,
     0,     0,     0,     0,     0,   144,   145,   146,   147,     0,
     0,   148,   149,     0,     0,     0,     0,     0,   216,   216,
     0,     0,   134,   135,     0,     0,     0,    52,     0,     0,
   216,     0,     0,     0,     0,     0,   136,     0,     0,     0,
   217,   217,   137,     0,     0,   132,   133,     0,     0,   138,
     0,     0,   217,   139,     0,     0,     0,     0,     0,    54,
     0,     0,    55,    18,     0,     0,   140,   141,     0,     0,
   142,     0,   143,   232,     0,     0,     0,   233,     0,   144,
   145,   146,   147,     0,     0,   148,   149,   134,   135,     0,
     0,     0,    52,     0,     0,     0,     0,     0,     0,     0,
     0,   136,     0,     0,     0,     0,     0,   137,     0,     0,
   132,   133,     0,     0,   138,     0,     0,     0,   139,     0,
     0,     0,     0,     0,    54,     0,     0,    55,    18,     0,
     0,   140,   141,     0,     0,   142,     0,   143,   445,     0,
     0,     0,     0,     0,   144,   145,   146,   147,     0,     0,
   148,   149,   134,   135,     0,     0,     0,    52,     0,     0,
     0,   132,   133,     0,     0,     0,   136,     0,     0,     0,
     0,     0,   137,     0,     0,     0,     0,     0,     0,   138,
     0,     0,     0,   139,     0,     0,     0,     0,     0,    54,
     0,     0,    55,    18,     0,     0,   140,   141,     0,     0,
   142,     0,   143,   134,   135,     0,     0,     0,    52,   144,
   145,   146,   147,     0,     0,   148,   149,   136,     0,     0,
     0,     0,     0,   137,     0,     0,   132,   133,     0,     0,
   138,     0,     0,     0,   139,     0,     0,     0,     0,     0,
    54,     0,     0,    55,    18,     0,     0,   140,   141,     0,
     0,   142,   357,     0,     0,     0,     0,     0,     0,     0,
   144,   145,   146,   147,     0,     0,   148,   149,   134,   135,
     0,     0,     0,    52,     0,     0,     0,   132,   133,     0,
     0,     0,   136,     0,     0,     0,     0,     0,   137,     0,
     0,     0,     0,     0,     0,   138,     0,     0,     0,   139,
     0,     0,     0,     0,     0,    54,     0,     0,    55,    18,
     0,     0,   140,   141,     0,     0,   142,     0,     0,   134,
   135,     0,   395,     0,    52,   144,   145,   146,   147,     0,
     0,   148,   149,   136,     0,     0,     0,     0,     0,   137,
     0,     0,   132,   133,     0,     0,   138,     0,     0,     0,
   139,     0,     0,     0,     0,     0,    54,     0,     0,    55,
    18,     0,     0,   140,   141,     0,     0,   142,     0,     0,
     0,     0,   431,     0,     0,     0,   144,   145,   146,   147,
     0,     0,   148,   149,   134,   135,     0,     0,     0,    52,
     0,     0,     0,   132,   133,     0,     0,     0,   136,     0,
     0,     0,     0,     0,   137,     0,     0,     0,     0,     0,
     0,   138,     0,     0,     0,   139,     0,     0,     0,     0,
     0,    54,     0,     0,    55,    18,     0,     0,   140,   141,
     0,     0,   142,   439,     0,   134,   135,     0,     0,     0,
    52,   144,   145,   146,   147,     0,     0,   148,   149,   136,
     0,     0,     0,     0,     0,   137,     0,     0,   132,   133,
     0,     0,   138,     0,     0,     0,   139,     0,     0,     0,
     0,     0,    54,     0,     0,    55,    18,     0,     0,   140,
   141,     0,     0,   142,   452,     0,     0,     0,     0,     0,
     0,     0,   144,   145,   146,   147,     0,     0,   148,   149,
   134,   135,     0,     0,     0,    52,     0,     0,     0,   132,
   133,     0,     0,     0,   136,     0,     0,     0,     0,     0,
   137,     0,     0,     0,     0,     0,     0,   138,     0,     0,
     0,   139,     0,     0,     0,     0,     0,    54,     0,     0,
    55,    18,     0,     0,   140,   141,     0,     0,   142,     0,
     0,   134,   135,   114,     0,     0,    52,   144,   145,   146,
   147,     0,     0,   148,   149,   136,     0,     0,     0,     0,
     0,   137,     0,     0,   132,   133,     0,     0,   138,     0,
     0,     0,   139,     0,     0,     0,     0,     0,    54,     0,
     0,    55,    18,     0,     0,   140,   141,     0,     0,   142,
     0,     0,     0,     0,     0,   471,     0,     0,   144,   145,
   146,   147,     0,     0,   148,   149,   134,   135,     0,     0,
     0,    52,     0,     0,     0,   132,   133,     0,     0,     0,
   136,     0,     0,     0,     0,     0,   137,     0,     0,     0,
     0,     0,     0,   138,     0,     0,     0,   139,     0,     0,
     0,     0,     0,    54,     0,     0,    55,    18,     0,     0,
   140,   141,     0,     0,   142,   484,     0,   134,   135,     0,
     0,     0,    52,   144,   145,   146,   147,     0,     0,   148,
   149,   136,     0,     0,     0,     0,     0,   137,     0,     0,
   132,   133,     0,     0,   138,     0,     0,     0,   139,     0,
     0,     0,     0,     0,    54,     0,     0,    55,    18,     0,
     0,   140,   141,     0,     0,   142,   494,     0,     0,     0,
     0,     0,     0,     0,   144,   145,   146,   147,     0,     0,
   148,   149,   134,   135,     0,     0,     0,    52,     0,     0,
     0,   132,   133,     0,     0,     0,   136,     0,     0,     0,
     0,     0,   137,     0,     0,     0,     0,     0,     0,   138,
     0,     0,     0,   139,     0,     0,     0,     0,     0,    54,
     0,     0,    55,    18,     0,     0,   140,   141,     0,     0,
   142,   543,     0,   134,   135,     0,     0,     0,    52,   144,
   145,   146,   147,     0,     0,   148,   149,   136,     0,     0,
     0,     0,     0,   137,     0,     0,   132,   133,     0,     0,
   138,     0,     0,     0,   139,     0,     0,     0,     0,     0,
    54,     0,     0,    55,    18,     0,     0,   140,   141,     0,
     0,   142,     0,     0,     0,     0,     0,   566,     0,     0,
   144,   145,   146,   147,     0,     0,   148,   149,   134,   135,
     0,     0,     0,    52,     0,     0,     0,   132,   133,     0,
     0,     0,   136,     0,     0,     0,     0,     0,   137,     0,
     0,     0,     0,     0,     0,   138,     0,     0,     0,   139,
     0,     0,     0,     0,     0,    54,     0,     0,    55,    18,
     0,     0,   140,   141,     0,     0,   142,   580,     0,   134,
   135,     0,     0,     0,    52,   144,   145,   146,   147,     0,
     0,   148,   149,   136,     0,     0,     0,     0,     0,   137,
     0,     0,     0,     0,     0,     0,   138,     0,     0,     0,
   139,     0,     0,     0,     0,     0,    54,     0,     0,    55,
    18,     0,     0,   140,   141,     0,     0,   142,     0,     0,
     0,     0,     0,     0,     0,     0,   144,   145,   146,   147,
     0,     0,   148,   149,   269,   134,   135,   550,   270,   271,
    52,   272,     0,     0,   273,     0,     0,     0,   274,   136,
     0,     0,   551,     0,     0,   137,   275,     4,   276,     0,
   277,   278,   138,   279,     0,     0,   139,     0,     0,     0,
     0,     0,    54,     0,     0,    55,    18,     0,     0,     0,
     0,     0,     0,   280,     0,   192,   574,     0,     0,   282,
     0,     0,   144,   145,   146,   147,     0,     0,   148,   149,
   269,   134,   135,   550,   270,   271,    52,   272,     0,     0,
   273,     0,     0,     0,   274,   136,     0,     0,   551,     0,
     0,   137,   275,     4,   276,     0,   277,   278,   138,   279,
     0,     0,   139,     0,     0,     0,     0,     0,    54,     0,
     0,    55,    18,     0,     0,     0,     0,     0,     0,   280,
     0,   192,   587,     0,     0,   282,     0,     0,   144,   145,
   146,   147,     0,     0,   148,   149,   269,   134,   135,     0,
   270,   271,    52,   272,     0,     0,   273,     0,     0,     0,
   274,   136,     0,     0,     0,     0,     0,   137,   275,     4,
   276,     0,   277,   278,   138,   279,     0,     0,   139,     0,
     0,     0,     0,     0,    54,     0,     0,    55,    18,     0,
     0,     0,     0,     0,     0,   280,     0,   192,   281,     0,
     0,   282,     0,     0,   144,   145,   146,   147,     0,     0,
   148,   149,   269,   134,   135,     0,   270,   271,    52,   272,
     0,     0,   273,     0,     0,     0,   274,   136,     0,     0,
     0,     0,     0,   137,   275,     4,   276,     0,   277,   278,
   138,   279,     0,     0,   139,     0,     0,     0,     0,     0,
    54,     0,     0,    55,    18,     0,     0,     0,     0,     0,
     0,   280,     0,   192,   408,     0,     0,   282,     0,     0,
   144,   145,   146,   147,     0,     0,   148,   149,   269,   134,
   135,     0,   270,   271,    52,   272,     0,     0,   273,     0,
     0,     0,   274,   136,     0,     0,     0,     0,     0,   476,
   275,     4,   276,     0,   277,   278,   138,   279,     0,     0,
   477,     0,     0,     0,     0,     0,    54,     0,     0,    55,
    18,     0,     0,     0,     0,     0,     0,   280,     0,   192,
   478,     0,     0,   282,     0,     0,   144,   145,   146,   147,
     0,     0,   148,   149,   269,   134,   135,     0,   270,   271,
    52,   272,     0,     0,   273,     0,     0,     0,   274,   136,
     0,     0,     0,     0,     0,   137,   275,     4,   276,     0,
   277,   278,   138,   279,     0,     0,   139,     0,     0,     0,
     0,     0,    54,     0,     0,    55,    18,     0,     0,     0,
     0,     0,     0,   280,     0,   192,   514,     0,     0,   282,
     0,     0,   144,   145,   146,   147,     0,     0,   148,   149,
   269,   134,   135,     0,   270,   271,    52,   272,     0,     0,
   273,     0,     0,     0,   274,   136,     0,     0,     0,     0,
     0,   137,   275,     4,   276,     0,   277,   278,   138,   279,
     0,     0,   139,     0,     0,     0,     0,     0,    54,     0,
     0,    55,    18,     0,     0,     0,     0,     0,     0,   280,
     0,   192,   517,     0,     0,   282,     0,     0,   144,   145,
   146,   147,     0,     0,   148,   149,   269,   134,   135,     0,
   270,   271,    52,   272,     0,     0,   273,     0,     0,     0,
   274,   136,     0,     0,     0,     0,     0,   137,   275,     4,
   276,     0,   277,   278,   138,   279,     0,     0,   139,     0,
     0,     0,     0,     0,    54,     0,     0,    55,    18,     0,
     0,     0,     0,     0,     0,   280,     0,   192,   542,     0,
     0,   282,     0,     0,   144,   145,   146,   147,     0,     0,
   148,   149,   269,   134,   135,     0,   270,   271,    52,   272,
     0,     0,   273,     0,     0,     0,   274,   136,     0,     0,
     0,     0,     0,   137,   275,     4,   276,     0,   277,   278,
   138,   279,     0,     0,   139,     0,     0,     0,     0,     0,
    54,     0,     0,    55,    18,     0,     0,     0,     0,     0,
     0,   280,     0,   192,     0,     0,     0,   282,     0,     0,
   144,   145,   146,   147,     0,     0,   148,   149,   411,   134,
   135,     0,   270,   271,    52,   272,     0,     0,   273,     0,
     0,     0,   274,   136,     0,     0,     0,     0,     0,   137,
   275,     0,   276,     0,   277,   278,   138,   279,     0,     0,
   139,     0,     0,     0,     0,     0,    54,     0,     0,    55,
    18,     0,     0,     0,     0,     0,     0,   280,     0,   192,
     0,     0,     0,   282,     0,     0,   144,   145,   146,   147,
     0,     0,   148,   149,   411,   134,   135,     0,   522,   271,
    52,   272,     0,     0,   273,     0,     0,     0,   274,   136,
     0,     0,     0,     0,     0,   137,   275,     0,   276,     0,
   277,   278,   138,   279,     0,     0,   139,     0,     0,     0,
     0,     0,    54,     0,     0,    55,    18,     0,     0,     0,
     0,     0,     0,   280,     0,   192,     0,     0,     0,   282,
     0,     0,   144,   145,   146,   147,     0,     0,   148,   149
};

static const short yycheck[] = {     3,
     4,   213,   309,   192,   143,    88,     1,   121,   352,     5,
    37,    37,    93,   290,     0,    15,   225,   123,   104,    38,
   229,   230,     8,     9,    10,   119,    45,     8,    32,    33,
    47,    35,   115,    86,   117,   119,    63,    53,    63,    43,
    26,    68,    68,    29,    30,    62,   119,   119,    29,    53,
    72,    37,   138,    57,    44,   555,   510,    63,    44,    78,
     2,    44,   346,     5,    86,    55,   132,   133,   134,   135,
    95,    61,    55,   573,   140,   141,   103,    67,    61,    96,
    94,    97,    68,   367,    67,    75,   100,    87,    92,    93,
    86,    47,   119,   119,    36,    37,    94,   124,    40,   443,
    95,    44,   100,   197,   108,   211,    62,    50,   202,    99,
   204,   138,   566,   197,    72,   142,    99,   103,    76,   123,
   499,    63,   195,   206,   197,   197,    68,    52,   214,   297,
    72,   585,   341,   119,    76,   344,   304,    50,   306,    82,
    96,   101,    85,    86,    93,    86,   430,   526,    97,    57,
   529,    94,   101,   526,   158,    99,   529,     8,    99,    10,
   118,   103,   104,   470,   471,   192,   450,    97,   195,    82,
   197,   197,    85,    86,    86,    37,   118,   119,    29,   245,
   246,   247,   124,   277,    92,    93,   213,    99,   192,    94,
   132,   133,   134,   135,    99,   100,   138,    44,   140,   141,
   142,    63,   283,   510,   583,   482,    68,   211,     9,    97,
   583,   197,   591,   101,    61,   594,   355,   596,   591,   223,
    67,   594,    95,   596,    99,    26,    99,   213,    44,    30,
   257,   109,   516,    97,    94,   239,   240,   101,   515,   428,
   100,   103,    44,    44,   327,    61,    98,    65,    50,    67,
   192,    67,    99,   195,    72,   197,    95,   119,    76,   566,
   287,   100,   124,   290,   142,   143,    97,    94,    86,   273,
    97,   213,   214,    94,   101,   279,    97,   561,   585,   283,
    82,   347,   309,    85,    86,    99,   290,   101,    36,    94,
   502,   480,    40,   297,    99,   100,    92,   100,   575,   326,
   304,    97,   306,   245,   246,   247,   248,   249,   250,   251,
   252,   253,   254,   255,   256,   257,   258,   259,   260,   261,
   262,   263,   264,   309,    72,   439,   407,    67,    76,   192,
    96,   499,    72,   195,   100,   197,    76,    94,   452,    94,
   326,    93,    97,   100,    94,   287,    86,   499,   290,    94,
   100,   213,    98,    94,   341,   100,   104,   344,   526,   100,
   238,   529,    98,   241,   499,    94,    44,   309,   462,   537,
   118,   100,    50,    94,   526,   489,   442,   529,   546,   100,
    44,    60,   192,   497,   326,    64,    50,   265,    95,   416,
   138,   526,   560,   271,   529,    98,   274,    18,    19,    20,
    21,   428,   280,   407,    82,   347,    98,    85,    86,   100,
   352,   253,   254,   255,   256,   583,    94,   511,    82,    99,
   100,    85,    86,   591,   428,   287,   594,   290,   596,   101,
    99,   583,   101,    95,   297,    97,    57,    91,    92,   591,
   499,   304,   594,   306,   596,   343,   309,   345,   583,     5,
     6,     7,   101,   480,   101,   482,   591,    99,   100,   594,
   101,   596,   340,   557,   326,    97,   214,   526,    91,    92,
   529,    11,   350,    12,   416,   502,   480,   355,   482,    13,
   290,    45,    46,    91,    92,    93,   428,   297,   515,    97,
     8,     9,    10,   101,   304,   499,   306,     3,     4,   309,
   442,   443,    91,    92,    91,    92,    93,    16,    17,   513,
    97,   515,   454,   391,   101,    14,   502,    95,   192,   397,
   398,    93,   526,    53,   583,   529,    95,   405,   555,    45,
    46,    97,   591,   537,    67,   594,    97,   596,   480,    44,
   482,    93,   546,   421,   422,    50,   573,    94,   575,    45,
    46,   555,   248,   249,   416,    96,   560,   250,   251,   252,
   502,    44,    67,   258,   259,   428,    67,    50,    93,   573,
   448,   575,    93,   515,    93,    88,    59,    82,    61,   583,
    85,    86,    93,    93,    67,     0,    93,   591,    88,    93,
   594,    99,   596,     8,     9,    10,    99,    99,    95,    82,
    93,   192,    85,    86,    99,    99,    98,   470,   471,    98,
    98,    26,    93,   555,    29,    30,   290,   480,   428,   482,
    99,    99,    37,   297,    99,   192,    99,    94,   506,    44,
   304,   573,   306,   575,   100,   309,   499,    66,   100,    44,
   502,    99,    98,    97,    86,    50,    98,   510,    94,    91,
    92,    93,   515,    68,    59,    97,    61,    94,    94,   101,
   470,   471,    67,   526,    99,    93,   529,   545,    93,    99,
   480,   549,   482,   551,   537,    94,    93,    82,   192,    93,
    85,    86,    95,   546,    94,    93,    56,    56,    99,   499,
    95,    96,   555,    94,    94,    94,    93,   560,    88,   290,
   510,    99,    88,   566,   119,   515,   297,    99,    99,    94,
   573,    99,   575,   304,    94,   306,   526,    99,   309,   529,
   583,    99,   585,   290,     0,    56,    44,   537,   591,    94,
   297,   594,    50,   596,     0,   257,   546,   304,    10,   306,
    46,    59,   309,    61,    80,   555,   197,   108,   195,    67,
   560,   326,   425,    45,   428,    68,   566,   463,   309,   553,
   553,   192,   463,   573,    82,   575,   309,    85,    86,   260,
   225,   261,   454,   583,    -1,   585,   290,    95,    96,   263,
   262,   591,   197,   297,   594,    -1,   596,   264,    44,    -1,
   304,    -1,   306,    -1,    50,   309,   470,   471,   268,    -1,
    -1,    44,    -1,    59,    -1,    61,   480,    50,   482,    -1,
    -1,    67,    -1,    -1,    -1,    -1,    59,    -1,    61,    -1,
    -1,    -1,    -1,    -1,    67,   499,    82,    -1,    -1,    85,
    86,    -1,    -1,    -1,    -1,    -1,   510,   428,    -1,    82,
    96,   515,    85,    86,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,   526,    96,    -1,   529,    -1,    -1,    -1,   290,
   192,   428,    -1,   537,    -1,    -1,   297,    -1,    -1,    -1,
    -1,    -1,   546,   304,    -1,   306,    -1,    -1,   309,   470,
   471,   555,    -1,    -1,    -1,    -1,   560,    -1,    -1,   480,
    -1,   482,   566,    -1,    -1,    -1,    -1,    -1,    -1,   573,
    -1,   575,    -1,   470,   471,    -1,    -1,    -1,   499,   583,
    -1,   585,    -1,   480,   428,   482,    -1,   591,    -1,   510,
   594,    -1,   596,    -1,   515,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,   499,    -1,    86,   526,    -1,    -1,   529,    91,
    92,    93,    -1,   510,    -1,    97,   537,    -1,   515,   101,
    -1,    -1,    -1,    -1,    -1,   546,   470,   471,   290,   526,
    -1,    -1,   529,    -1,   555,   297,   480,    -1,   482,   560,
   537,    -1,   304,    -1,   306,   566,    -1,   309,    -1,   546,
    -1,    -1,   573,    -1,   575,   499,    -1,    -1,   555,    -1,
    -1,    -1,   583,   560,   585,    -1,   510,   428,    -1,   566,
   591,   515,    -1,   594,    -1,   596,   573,    -1,   575,    -1,
    -1,    -1,   526,    -1,    -1,   529,   583,    -1,   585,    -1,
    -1,    -1,    -1,   537,   591,    -1,    -1,   594,    -1,   596,
    -1,    -1,   546,    -1,    -1,    -1,    -1,    -1,    -1,   470,
   471,   555,    -1,    -1,    -1,    -1,   560,    -1,    -1,   480,
    -1,   482,   566,    -1,    -1,    -1,    -1,    -1,    -1,   573,
    -1,   575,    -1,    -1,    -1,    -1,    -1,    -1,   499,   583,
    -1,   585,    44,    45,    46,    -1,    -1,   591,    50,   510,
   594,    -1,   596,    -1,   515,    -1,    -1,    59,    -1,    -1,
    -1,    -1,    -1,    65,    -1,   526,   428,    -1,   529,    -1,
    72,    -1,    -1,    -1,    76,    -1,   537,    -1,    -1,    -1,
    82,    -1,    -1,    85,    86,   546,    -1,    -1,    -1,    -1,
    -1,    93,    -1,    -1,   555,    -1,    -1,    -1,    -1,   560,
   102,   103,   104,   105,    -1,   566,   108,   109,   470,   471,
    -1,    -1,   573,    -1,   575,    -1,    -1,    -1,   480,    -1,
   482,    -1,   583,    -1,   585,    -1,    -1,    -1,    -1,    -1,
   591,    -1,    -1,   594,    -1,   596,    -1,   499,   132,   133,
   134,   135,    -1,    -1,    -1,    -1,   140,   141,   510,    -1,
    -1,    -1,    -1,   515,    -1,    -1,    -1,    -1,    -1,    -1,
   132,   133,   134,   135,   526,    -1,    -1,   529,   140,   141,
    -1,    -1,    -1,    -1,    -1,   537,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,   546,    45,    46,    -1,    -1,    -1,
    50,    -1,    -1,   555,    -1,    -1,    -1,    -1,   560,    59,
    -1,    -1,    -1,    -1,   566,    65,    -1,    -1,    -1,    -1,
    -1,   573,    72,   575,    -1,    -1,    76,    -1,    -1,    -1,
    -1,   583,    82,   585,    -1,    85,    86,    -1,    -1,   591,
    -1,    -1,   594,    93,   596,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,   102,   103,   104,   105,    -1,    -1,   108,   109,
    -1,   245,   246,   247,   248,   249,   250,   251,   252,   253,
   254,   255,   256,    -1,   258,   259,   260,   261,   262,   263,
   264,    -1,    -1,   245,   246,   247,   248,   249,   250,   251,
   252,   253,   254,   255,   256,    -1,   258,   259,   260,   261,
   262,   263,   264,     1,    -1,     3,     4,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    45,    46,    -1,
    -1,    -1,    50,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    59,    -1,   347,    -1,    -1,    -1,    65,   352,    -1,
    -1,    -1,    -1,    -1,    72,    -1,    -1,    -1,    76,    -1,
    -1,    -1,    -1,    -1,    82,   347,    -1,    85,    86,    -1,
   352,    89,    90,    50,    -1,    93,    -1,    -1,    -1,    -1,
    -1,    -1,    59,    -1,   102,   103,   104,   105,    65,    -1,
   108,   109,    -1,    -1,    -1,    72,    -1,    -1,    -1,    76,
     3,     4,    -1,    -1,    -1,    82,    -1,    -1,    85,    86,
    -1,    -1,    89,    90,    -1,    -1,    93,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,   102,   103,   104,   105,    -1,
    -1,   108,   109,    -1,    -1,    -1,    -1,    -1,   442,   443,
    -1,    -1,    45,    46,    -1,    -1,    -1,    50,    -1,    -1,
   454,    -1,    -1,    -1,    -1,    -1,    59,    -1,    -1,    -1,
   442,   443,    65,    -1,    -1,     3,     4,    -1,    -1,    72,
    -1,    -1,   454,    76,    -1,    -1,    -1,    -1,    -1,    82,
    -1,    -1,    85,    86,    -1,    -1,    89,    90,    -1,    -1,
    93,    -1,    95,    96,    -1,    -1,    -1,   100,    -1,   102,
   103,   104,   105,    -1,    -1,   108,   109,    45,    46,    -1,
    -1,    -1,    50,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    59,    -1,    -1,    -1,    -1,    -1,    65,    -1,    -1,
     3,     4,    -1,    -1,    72,    -1,    -1,    -1,    76,    -1,
    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,    86,    -1,
    -1,    89,    90,    -1,    -1,    93,    -1,    95,    96,    -1,
    -1,    -1,    -1,    -1,   102,   103,   104,   105,    -1,    -1,
   108,   109,    45,    46,    -1,    -1,    -1,    50,    -1,    -1,
    -1,     3,     4,    -1,    -1,    -1,    59,    -1,    -1,    -1,
    -1,    -1,    65,    -1,    -1,    -1,    -1,    -1,    -1,    72,
    -1,    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,    82,
    -1,    -1,    85,    86,    -1,    -1,    89,    90,    -1,    -1,
    93,    -1,    95,    45,    46,    -1,    -1,    -1,    50,   102,
   103,   104,   105,    -1,    -1,   108,   109,    59,    -1,    -1,
    -1,    -1,    -1,    65,    -1,    -1,     3,     4,    -1,    -1,
    72,    -1,    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,
    82,    -1,    -1,    85,    86,    -1,    -1,    89,    90,    -1,
    -1,    93,    94,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
   102,   103,   104,   105,    -1,    -1,   108,   109,    45,    46,
    -1,    -1,    -1,    50,    -1,    -1,    -1,     3,     4,    -1,
    -1,    -1,    59,    -1,    -1,    -1,    -1,    -1,    65,    -1,
    -1,    -1,    -1,    -1,    -1,    72,    -1,    -1,    -1,    76,
    -1,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,    86,
    -1,    -1,    89,    90,    -1,    -1,    93,    -1,    -1,    45,
    46,    -1,    99,    -1,    50,   102,   103,   104,   105,    -1,
    -1,   108,   109,    59,    -1,    -1,    -1,    -1,    -1,    65,
    -1,    -1,     3,     4,    -1,    -1,    72,    -1,    -1,    -1,
    76,    -1,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,
    86,    -1,    -1,    89,    90,    -1,    -1,    93,    -1,    -1,
    -1,    -1,    98,    -1,    -1,    -1,   102,   103,   104,   105,
    -1,    -1,   108,   109,    45,    46,    -1,    -1,    -1,    50,
    -1,    -1,    -1,     3,     4,    -1,    -1,    -1,    59,    -1,
    -1,    -1,    -1,    -1,    65,    -1,    -1,    -1,    -1,    -1,
    -1,    72,    -1,    -1,    -1,    76,    -1,    -1,    -1,    -1,
    -1,    82,    -1,    -1,    85,    86,    -1,    -1,    89,    90,
    -1,    -1,    93,    94,    -1,    45,    46,    -1,    -1,    -1,
    50,   102,   103,   104,   105,    -1,    -1,   108,   109,    59,
    -1,    -1,    -1,    -1,    -1,    65,    -1,    -1,     3,     4,
    -1,    -1,    72,    -1,    -1,    -1,    76,    -1,    -1,    -1,
    -1,    -1,    82,    -1,    -1,    85,    86,    -1,    -1,    89,
    90,    -1,    -1,    93,    94,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,   102,   103,   104,   105,    -1,    -1,   108,   109,
    45,    46,    -1,    -1,    -1,    50,    -1,    -1,    -1,     3,
     4,    -1,    -1,    -1,    59,    -1,    -1,    -1,    -1,    -1,
    65,    -1,    -1,    -1,    -1,    -1,    -1,    72,    -1,    -1,
    -1,    76,    -1,    -1,    -1,    -1,    -1,    82,    -1,    -1,
    85,    86,    -1,    -1,    89,    90,    -1,    -1,    93,    -1,
    -1,    45,    46,    98,    -1,    -1,    50,   102,   103,   104,
   105,    -1,    -1,   108,   109,    59,    -1,    -1,    -1,    -1,
    -1,    65,    -1,    -1,     3,     4,    -1,    -1,    72,    -1,
    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,    82,    -1,
    -1,    85,    86,    -1,    -1,    89,    90,    -1,    -1,    93,
    -1,    -1,    -1,    -1,    -1,    99,    -1,    -1,   102,   103,
   104,   105,    -1,    -1,   108,   109,    45,    46,    -1,    -1,
    -1,    50,    -1,    -1,    -1,     3,     4,    -1,    -1,    -1,
    59,    -1,    -1,    -1,    -1,    -1,    65,    -1,    -1,    -1,
    -1,    -1,    -1,    72,    -1,    -1,    -1,    76,    -1,    -1,
    -1,    -1,    -1,    82,    -1,    -1,    85,    86,    -1,    -1,
    89,    90,    -1,    -1,    93,    94,    -1,    45,    46,    -1,
    -1,    -1,    50,   102,   103,   104,   105,    -1,    -1,   108,
   109,    59,    -1,    -1,    -1,    -1,    -1,    65,    -1,    -1,
     3,     4,    -1,    -1,    72,    -1,    -1,    -1,    76,    -1,
    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,    86,    -1,
    -1,    89,    90,    -1,    -1,    93,    94,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,   102,   103,   104,   105,    -1,    -1,
   108,   109,    45,    46,    -1,    -1,    -1,    50,    -1,    -1,
    -1,     3,     4,    -1,    -1,    -1,    59,    -1,    -1,    -1,
    -1,    -1,    65,    -1,    -1,    -1,    -1,    -1,    -1,    72,
    -1,    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,    82,
    -1,    -1,    85,    86,    -1,    -1,    89,    90,    -1,    -1,
    93,    94,    -1,    45,    46,    -1,    -1,    -1,    50,   102,
   103,   104,   105,    -1,    -1,   108,   109,    59,    -1,    -1,
    -1,    -1,    -1,    65,    -1,    -1,     3,     4,    -1,    -1,
    72,    -1,    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,
    82,    -1,    -1,    85,    86,    -1,    -1,    89,    90,    -1,
    -1,    93,    -1,    -1,    -1,    -1,    -1,    99,    -1,    -1,
   102,   103,   104,   105,    -1,    -1,   108,   109,    45,    46,
    -1,    -1,    -1,    50,    -1,    -1,    -1,     3,     4,    -1,
    -1,    -1,    59,    -1,    -1,    -1,    -1,    -1,    65,    -1,
    -1,    -1,    -1,    -1,    -1,    72,    -1,    -1,    -1,    76,
    -1,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,    86,
    -1,    -1,    89,    90,    -1,    -1,    93,    94,    -1,    45,
    46,    -1,    -1,    -1,    50,   102,   103,   104,   105,    -1,
    -1,   108,   109,    59,    -1,    -1,    -1,    -1,    -1,    65,
    -1,    -1,    -1,    -1,    -1,    -1,    72,    -1,    -1,    -1,
    76,    -1,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,
    86,    -1,    -1,    89,    90,    -1,    -1,    93,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,   102,   103,   104,   105,
    -1,    -1,   108,   109,    44,    45,    46,    47,    48,    49,
    50,    51,    -1,    -1,    54,    -1,    -1,    -1,    58,    59,
    -1,    -1,    62,    -1,    -1,    65,    66,    67,    68,    -1,
    70,    71,    72,    73,    -1,    -1,    76,    -1,    -1,    -1,
    -1,    -1,    82,    -1,    -1,    85,    86,    -1,    -1,    -1,
    -1,    -1,    -1,    93,    -1,    95,    96,    -1,    -1,    99,
    -1,    -1,   102,   103,   104,   105,    -1,    -1,   108,   109,
    44,    45,    46,    47,    48,    49,    50,    51,    -1,    -1,
    54,    -1,    -1,    -1,    58,    59,    -1,    -1,    62,    -1,
    -1,    65,    66,    67,    68,    -1,    70,    71,    72,    73,
    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,    82,    -1,
    -1,    85,    86,    -1,    -1,    -1,    -1,    -1,    -1,    93,
    -1,    95,    96,    -1,    -1,    99,    -1,    -1,   102,   103,
   104,   105,    -1,    -1,   108,   109,    44,    45,    46,    -1,
    48,    49,    50,    51,    -1,    -1,    54,    -1,    -1,    -1,
    58,    59,    -1,    -1,    -1,    -1,    -1,    65,    66,    67,
    68,    -1,    70,    71,    72,    73,    -1,    -1,    76,    -1,
    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,    86,    -1,
    -1,    -1,    -1,    -1,    -1,    93,    -1,    95,    96,    -1,
    -1,    99,    -1,    -1,   102,   103,   104,   105,    -1,    -1,
   108,   109,    44,    45,    46,    -1,    48,    49,    50,    51,
    -1,    -1,    54,    -1,    -1,    -1,    58,    59,    -1,    -1,
    -1,    -1,    -1,    65,    66,    67,    68,    -1,    70,    71,
    72,    73,    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,
    82,    -1,    -1,    85,    86,    -1,    -1,    -1,    -1,    -1,
    -1,    93,    -1,    95,    96,    -1,    -1,    99,    -1,    -1,
   102,   103,   104,   105,    -1,    -1,   108,   109,    44,    45,
    46,    -1,    48,    49,    50,    51,    -1,    -1,    54,    -1,
    -1,    -1,    58,    59,    -1,    -1,    -1,    -1,    -1,    65,
    66,    67,    68,    -1,    70,    71,    72,    73,    -1,    -1,
    76,    -1,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,
    86,    -1,    -1,    -1,    -1,    -1,    -1,    93,    -1,    95,
    96,    -1,    -1,    99,    -1,    -1,   102,   103,   104,   105,
    -1,    -1,   108,   109,    44,    45,    46,    -1,    48,    49,
    50,    51,    -1,    -1,    54,    -1,    -1,    -1,    58,    59,
    -1,    -1,    -1,    -1,    -1,    65,    66,    67,    68,    -1,
    70,    71,    72,    73,    -1,    -1,    76,    -1,    -1,    -1,
    -1,    -1,    82,    -1,    -1,    85,    86,    -1,    -1,    -1,
    -1,    -1,    -1,    93,    -1,    95,    96,    -1,    -1,    99,
    -1,    -1,   102,   103,   104,   105,    -1,    -1,   108,   109,
    44,    45,    46,    -1,    48,    49,    50,    51,    -1,    -1,
    54,    -1,    -1,    -1,    58,    59,    -1,    -1,    -1,    -1,
    -1,    65,    66,    67,    68,    -1,    70,    71,    72,    73,
    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,    82,    -1,
    -1,    85,    86,    -1,    -1,    -1,    -1,    -1,    -1,    93,
    -1,    95,    96,    -1,    -1,    99,    -1,    -1,   102,   103,
   104,   105,    -1,    -1,   108,   109,    44,    45,    46,    -1,
    48,    49,    50,    51,    -1,    -1,    54,    -1,    -1,    -1,
    58,    59,    -1,    -1,    -1,    -1,    -1,    65,    66,    67,
    68,    -1,    70,    71,    72,    73,    -1,    -1,    76,    -1,
    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,    86,    -1,
    -1,    -1,    -1,    -1,    -1,    93,    -1,    95,    96,    -1,
    -1,    99,    -1,    -1,   102,   103,   104,   105,    -1,    -1,
   108,   109,    44,    45,    46,    -1,    48,    49,    50,    51,
    -1,    -1,    54,    -1,    -1,    -1,    58,    59,    -1,    -1,
    -1,    -1,    -1,    65,    66,    67,    68,    -1,    70,    71,
    72,    73,    -1,    -1,    76,    -1,    -1,    -1,    -1,    -1,
    82,    -1,    -1,    85,    86,    -1,    -1,    -1,    -1,    -1,
    -1,    93,    -1,    95,    -1,    -1,    -1,    99,    -1,    -1,
   102,   103,   104,   105,    -1,    -1,   108,   109,    44,    45,
    46,    -1,    48,    49,    50,    51,    -1,    -1,    54,    -1,
    -1,    -1,    58,    59,    -1,    -1,    -1,    -1,    -1,    65,
    66,    -1,    68,    -1,    70,    71,    72,    73,    -1,    -1,
    76,    -1,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,
    86,    -1,    -1,    -1,    -1,    -1,    -1,    93,    -1,    95,
    -1,    -1,    -1,    99,    -1,    -1,   102,   103,   104,   105,
    -1,    -1,   108,   109,    44,    45,    46,    -1,    48,    49,
    50,    51,    -1,    -1,    54,    -1,    -1,    -1,    58,    59,
    -1,    -1,    -1,    -1,    -1,    65,    66,    -1,    68,    -1,
    70,    71,    72,    73,    -1,    -1,    76,    -1,    -1,    -1,
    -1,    -1,    82,    -1,    -1,    85,    86,    -1,    -1,    -1,
    -1,    -1,    -1,    93,    -1,    95,    -1,    -1,    -1,    99,
    -1,    -1,   102,   103,   104,   105,    -1,    -1,   108,   109
};
#define YYPURE 1

/* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
#line 3 "/usr/cygnus/gnupro-98r2/share/bison.simple"

/* Skeleton output parser for bison,
   Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.

   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, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

#ifndef alloca
#ifdef __GNUC__
#define alloca __builtin_alloca
#else /* not GNU C.  */
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
#include <alloca.h>
#else /* not sparc */
#if defined (MSDOS) && !defined (__TURBOC__)
#include <malloc.h>
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
#include <malloc.h>
 #pragma alloca
#else /* not MSDOS, __TURBOC__, or _AIX */
#ifdef __hpux
#ifdef __cplusplus
extern "C" {
void *alloca (unsigned int);
};
#else /* not __cplusplus */
void *alloca ();
#endif /* not __cplusplus */
#endif /* __hpux */
#endif /* not _AIX */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc.  */
#endif /* not GNU C.  */
#endif /* alloca not defined.  */

/* This is the parser code that is written into each bison parser
  when the %semantic_parser declaration is not specified in the grammar.
  It was written by Richard Stallman by simplifying the hairy parser
  used when %semantic_parser is specified.  */

/* Note: there must be only one dollar sign in this file.
   It is replaced by the list of actions, each action
   as one case of the switch.  */

#define yyerrok		(yyerrstatus = 0)
#define yyclearin	(yychar = YYEMPTY)
#define YYEMPTY		-2
#define YYEOF		0
#define YYACCEPT	return(0)
#define YYABORT 	return(1)
#define YYERROR		goto yyerrlab1
/* Like YYERROR except do call yyerror.
   This remains here temporarily to ease the
   transition to the new meaning of YYERROR, for GCC.
   Once GCC version 2 has supplanted version 1, this can go.  */
#define YYFAIL		goto yyerrlab
#define YYRECOVERING()  (!!yyerrstatus)
#define YYBACKUP(token, value) \
do								\
  if (yychar == YYEMPTY && yylen == 1)				\
    { yychar = (token), yylval = (value);			\
      yychar1 = YYTRANSLATE (yychar);				\
      YYPOPSTACK;						\
      goto yybackup;						\
    }								\
  else								\
    { yyerror ("syntax error: cannot back up"); YYERROR; }	\
while (0)

#define YYTERROR	1
#define YYERRCODE	256

#ifndef YYPURE
#define YYLEX		yylex()
#endif

#ifdef YYPURE
#ifdef YYLSP_NEEDED
#ifdef YYLEX_PARAM
#define YYLEX		yylex(&yylval, &yylloc, YYLEX_PARAM)
#else
#define YYLEX		yylex(&yylval, &yylloc)
#endif
#else /* not YYLSP_NEEDED */
#ifdef YYLEX_PARAM
#define YYLEX		yylex(&yylval, YYLEX_PARAM)
#else
#define YYLEX		yylex(&yylval)
#endif
#endif /* not YYLSP_NEEDED */
#endif

/* If nonreentrant, generate the variables here */

#ifndef YYPURE

int	yychar;			/*  the lookahead symbol		*/
YYSTYPE	yylval;			/*  the semantic value of the		*/
				/*  lookahead symbol			*/

#ifdef YYLSP_NEEDED
YYLTYPE yylloc;			/*  location data for the lookahead	*/
				/*  symbol				*/
#endif

int yynerrs;			/*  number of parse errors so far       */
#endif  /* not YYPURE */

#if YYDEBUG != 0
int yydebug;			/*  nonzero means print parse trace	*/
/* Since this is uninitialized, it does not stop multiple parsers
   from coexisting.  */
#endif

/*  YYINITDEPTH indicates the initial size of the parser's stacks	*/

#ifndef	YYINITDEPTH
#define YYINITDEPTH 200
#endif

/*  YYMAXDEPTH is the maximum size the stacks can grow to
    (effective only if the built-in stack extension method is used).  */

#if YYMAXDEPTH == 0
#undef YYMAXDEPTH
#endif

#ifndef YYMAXDEPTH
#define YYMAXDEPTH 10000
#endif

/* Prevent warning if -Wstrict-prototypes.  */
#ifdef __GNUC__
int yyparse (void);
#endif

#if __GNUC__ > 1		/* GNU C and GNU C++ define this.  */
#define __yy_memcpy(TO,FROM,COUNT)	__builtin_memcpy(TO,FROM,COUNT)
#else				/* not GNU C or C++ */
#ifndef __cplusplus

/* This is the most reliable way to avoid incompatibilities
   in available built-in functions on various systems.  */
static void
__yy_memcpy (to, from, count)
     char *to;
     char *from;
     int count;
{
  register char *f = from;
  register char *t = to;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}

#else /* __cplusplus */

/* This is the most reliable way to avoid incompatibilities
   in available built-in functions on various systems.  */
static void
__yy_memcpy (char *to, char *from, int count)
{
  register char *f = from;
  register char *t = to;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}

#endif
#endif

#line 196 "/usr/cygnus/gnupro-98r2/share/bison.simple"

/* The user can define YYPARSE_PARAM as the name of an argument to be passed
   into yyparse.  The argument should have type void *.
   It should actually point to an object.
   Grammar actions can access the variable by casting it
   to the proper pointer type.  */

#ifdef YYPARSE_PARAM
#ifdef __cplusplus
#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
#define YYPARSE_PARAM_DECL
#else /* not __cplusplus */
#define YYPARSE_PARAM_ARG YYPARSE_PARAM
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
#endif /* not __cplusplus */
#else /* not YYPARSE_PARAM */
#define YYPARSE_PARAM_ARG
#define YYPARSE_PARAM_DECL
#endif /* not YYPARSE_PARAM */

int
yyparse(YYPARSE_PARAM_ARG)
     YYPARSE_PARAM_DECL
{
  register int yystate;
  register int yyn;
  register short *yyssp;
  register YYSTYPE *yyvsp;
  int yyerrstatus;	/*  number of tokens to shift before error messages enabled */
  int yychar1 = 0;		/*  lookahead token as an internal (translated) token number */

  short	yyssa[YYINITDEPTH];	/*  the state stack			*/
  YYSTYPE yyvsa[YYINITDEPTH];	/*  the semantic value stack		*/

  short *yyss = yyssa;		/*  refer to the stacks thru separate pointers */
  YYSTYPE *yyvs = yyvsa;	/*  to allow yyoverflow to reallocate them elsewhere */

#ifdef YYLSP_NEEDED
  YYLTYPE yylsa[YYINITDEPTH];	/*  the location stack			*/
  YYLTYPE *yyls = yylsa;
  YYLTYPE *yylsp;

#define YYPOPSTACK   (yyvsp--, yyssp--, yylsp--)
#else
#define YYPOPSTACK   (yyvsp--, yyssp--)
#endif

  int yystacksize = YYINITDEPTH;

#ifdef YYPURE
  int yychar;
  YYSTYPE yylval;
  int yynerrs;
#ifdef YYLSP_NEEDED
  YYLTYPE yylloc;
#endif
#endif

  YYSTYPE yyval;		/*  the variable used to return		*/
				/*  semantic values from the action	*/
				/*  routines				*/

  int yylen;

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Starting parse\n");
#endif

  yystate = 0;
  yyerrstatus = 0;
  yynerrs = 0;
  yychar = YYEMPTY;		/* Cause a token to be read.  */

  /* Initialize stack pointers.
     Waste one element of value and location stack
     so that they stay on the same level as the state stack.
     The wasted elements are never initialized.  */

  yyssp = yyss - 1;
  yyvsp = yyvs;
#ifdef YYLSP_NEEDED
  yylsp = yyls;
#endif

/* Push a new state, which is found in  yystate  .  */
/* In all cases, when you get here, the value and location stacks
   have just been pushed. so pushing a state here evens the stacks.  */
yynewstate:

  *++yyssp = yystate;

  if (yyssp >= yyss + yystacksize - 1)
    {
      /* Give user a chance to reallocate the stack */
      /* Use copies of these so that the &'s don't force the real ones into memory. */
      YYSTYPE *yyvs1 = yyvs;
      short *yyss1 = yyss;
#ifdef YYLSP_NEEDED
      YYLTYPE *yyls1 = yyls;
#endif

      /* Get the current used size of the three stacks, in elements.  */
      int size = yyssp - yyss + 1;

#ifdef yyoverflow
      /* Each stack pointer address is followed by the size of
	 the data in use in that stack, in bytes.  */
#ifdef YYLSP_NEEDED
      /* This used to be a conditional around just the two extra args,
	 but that might be undefined if yyoverflow is a macro.  */
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yyls1, size * sizeof (*yylsp),
		 &yystacksize);
#else
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yystacksize);
#endif

      yyss = yyss1; yyvs = yyvs1;
#ifdef YYLSP_NEEDED
      yyls = yyls1;
#endif
#else /* no yyoverflow */
      /* Extend the stack our own way.  */
      if (yystacksize >= YYMAXDEPTH)
	{
	  yyerror("parser stack overflow");
	  return 2;
	}
      yystacksize *= 2;
      if (yystacksize > YYMAXDEPTH)
	yystacksize = YYMAXDEPTH;
      yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
      __yy_memcpy ((char *)yyss, (char *)yyss1, size * sizeof (*yyssp));
      yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
      __yy_memcpy ((char *)yyvs, (char *)yyvs1, size * sizeof (*yyvsp));
#ifdef YYLSP_NEEDED
      yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
      __yy_memcpy ((char *)yyls, (char *)yyls1, size * sizeof (*yylsp));
#endif
#endif /* no yyoverflow */

      yyssp = yyss + size - 1;
      yyvsp = yyvs + size - 1;
#ifdef YYLSP_NEEDED
      yylsp = yyls + size - 1;
#endif

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif

      if (yyssp >= yyss + yystacksize - 1)
	YYABORT;
    }

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Entering state %d\n", yystate);
#endif

  goto yybackup;
 yybackup:

/* Do appropriate processing given the current state.  */
/* Read a lookahead token if we need one and don't already have one.  */
/* yyresume: */

  /* First try to decide what to do without reference to lookahead token.  */

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yydefault;

  /* Not known => get a lookahead token if don't already have one.  */

  /* yychar is either YYEMPTY or YYEOF
     or a valid token in external form.  */

  if (yychar == YYEMPTY)
    {
#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Reading a token: ");
#endif
      yychar = YYLEX;
    }

  /* Convert token to internal form (in yychar1) for indexing tables with */

  if (yychar <= 0)		/* This means end of input. */
    {
      yychar1 = 0;
      yychar = YYEOF;		/* Don't call YYLEX any more */

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Now at end of input.\n");
#endif
    }
  else
    {
      yychar1 = YYTRANSLATE(yychar);

#if YYDEBUG != 0
      if (yydebug)
	{
	  fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
	  /* Give the individual parser a way to print the precise meaning
	     of a token, for further debugging info.  */
#ifdef YYPRINT
	  YYPRINT (stderr, yychar, yylval);
#endif
	  fprintf (stderr, ")\n");
	}
#endif
    }

  yyn += yychar1;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
    goto yydefault;

  yyn = yytable[yyn];

  /* yyn is what to do for this token type in this state.
     Negative => reduce, -yyn is rule number.
     Positive => shift, yyn is new state.
       New state is final state => don't bother to shift,
       just return success.
     0, or most negative number => error.  */

  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrlab;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrlab;

  if (yyn == YYFINAL)
    YYACCEPT;

  /* Shift the lookahead token.  */

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
#endif

  /* Discard the token being shifted unless it is eof.  */
  if (yychar != YYEOF)
    yychar = YYEMPTY;

  *++yyvsp = yylval;
#ifdef YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  /* count tokens shifted since error; after three, turn off error status.  */
  if (yyerrstatus) yyerrstatus--;

  yystate = yyn;
  goto yynewstate;

/* Do the default action for the current state.  */
yydefault:

  yyn = yydefact[yystate];
  if (yyn == 0)
    goto yyerrlab;

/* Do a reduction.  yyn is the number of a rule to reduce with.  */
yyreduce:
  yylen = yyr2[yyn];
  if (yylen > 0)
    yyval = yyvsp[1-yylen]; /* implement default value of the action */

#if YYDEBUG != 0
  if (yydebug)
    {
      int i;

      fprintf (stderr, "Reducing via rule %d (line %d), ",
	       yyn, yyrline[yyn]);

      /* Print the symbols being reduced, and their result.  */
      for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
	fprintf (stderr, "%s ", yytname[yyrhs[i]]);
      fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
    }
#endif


  switch (yyn) {

case 10:
#line 193 "./parse-scan.y"
{
		  /* use preset global here. FIXME */
		  yyval.node = xstrdup ("int");
		;
    break;}
case 11:
#line 198 "./parse-scan.y"
{
		  /* use preset global here. FIXME */
		  yyval.node = xstrdup ("double");
		;
    break;}
case 12:
#line 203 "./parse-scan.y"
{
		  /* use preset global here. FIXME */
		  yyval.node = xstrdup ("boolean");
		;
    break;}
case 19:
#line 229 "./parse-scan.y"
{
		  char *n = xmalloc (strlen (yyvsp[-2].node)+2);
		  n [0] = '[';
		  strcpy (n+1, yyvsp[-2].node);
		  yyval.node = n;
		;
    break;}
case 20:
#line 236 "./parse-scan.y"
{	
		  char *n = xmalloc (strlen (yyvsp[-2].node)+2);
		  n [0] = '[';
		  strcpy (n+1, yyvsp[-2].node);
		  yyval.node = n;
		;
    break;}
case 24:
#line 256 "./parse-scan.y"
{ 
		  char *n = xmalloc (strlen (yyvsp[-2].node)+strlen (yyvsp[0].node)+2);
		  sprintf (n, "%s.%s", yyvsp[-2].node, yyvsp[0].node);
		  yyval.node = n;
		;
    break;}
case 38:
#line 290 "./parse-scan.y"
{ package_name = yyvsp[-1].node; ;
    break;}
case 46:
#line 317 "./parse-scan.y"
{ 
		  if (yyvsp[0].value == PUBLIC_TK)
		    modifier_value++;
                  if (yyvsp[0].value == STATIC_TK)
                    modifier_value++;
	          USE_ABSORBER;
		;
    break;}
case 47:
#line 325 "./parse-scan.y"
{ 
		  if (yyvsp[0].value == PUBLIC_TK)
		    modifier_value++;
                  if (yyvsp[0].value == STATIC_TK)
                    modifier_value++;
		  USE_ABSORBER;
		;
    break;}
case 48:
#line 337 "./parse-scan.y"
{ 
		  report_class_declaration(yyvsp[-2].node);
		  modifier_value = 0;
                ;
    break;}
case 50:
#line 343 "./parse-scan.y"
{ report_class_declaration(yyvsp[-2].node); ;
    break;}
case 56:
#line 357 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 57:
#line 359 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 70:
#line 389 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 71:
#line 391 "./parse-scan.y"
{ modifier_value = 0; ;
    break;}
case 76:
#line 407 "./parse-scan.y"
{ bracket_count = 0; USE_ABSORBER; ;
    break;}
case 77:
#line 409 "./parse-scan.y"
{ ++bracket_count; ;
    break;}
case 81:
#line 424 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 83:
#line 427 "./parse-scan.y"
{ modifier_value = 0; ;
    break;}
case 84:
#line 429 "./parse-scan.y"
{ 
                  report_main_declaration (yyvsp[-1].declarator);
		  modifier_value = 0;
		;
    break;}
case 85:
#line 437 "./parse-scan.y"
{ 
		  struct method_declarator *d;
		  NEW_METHOD_DECLARATOR (d, yyvsp[-2].node, NULL);
		  yyval.declarator = d;
		;
    break;}
case 86:
#line 443 "./parse-scan.y"
{ 
		  struct method_declarator *d;
		  NEW_METHOD_DECLARATOR (d, yyvsp[-3].node, yyvsp[-1].node);
		  yyval.declarator = d;
		;
    break;}
case 89:
#line 454 "./parse-scan.y"
{
		  char *n = xmalloc (strlen (yyvsp[-2].node)+strlen(yyvsp[0].node)+2);
		  sprintf (n, "%s,%s", yyvsp[-2].node, yyvsp[0].node);
		  yyval.node = n;
		;
    break;}
case 90:
#line 463 "./parse-scan.y"
{ 
		  USE_ABSORBER;
		  if (bracket_count)
		    {
		      int i;
		      char *n = xmalloc (bracket_count + 1 + strlen (yyval.node));
		      for (i = 0; i < bracket_count; ++i)
			n[i] = '[';
		      strcpy (n + bracket_count, yyval.node);
		      yyval.node = n;
		    }
		  else
		    yyval.node = yyvsp[-1].node;
		;
    break;}
case 91:
#line 478 "./parse-scan.y"
{
		  if (bracket_count)
		    {
		      int i;
		      char *n = xmalloc (bracket_count + 1 + strlen (yyval.node));
		      for (i = 0; i < bracket_count; ++i)
			n[i] = '[';
		      strcpy (n + bracket_count, yyval.node);
		      yyval.node = n;
		    }
		  else
		    yyval.node = yyvsp[-1].node;
		;
    break;}
case 94:
#line 499 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 95:
#line 501 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 101:
#line 518 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 103:
#line 529 "./parse-scan.y"
{ modifier_value = 0; ;
    break;}
case 105:
#line 534 "./parse-scan.y"
{ modifier_value = 0; ;
    break;}
case 106:
#line 541 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 107:
#line 543 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 114:
#line 560 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 115:
#line 562 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 118:
#line 574 "./parse-scan.y"
{ report_class_declaration (yyvsp[-1].node); modifier_value = 0; ;
    break;}
case 119:
#line 576 "./parse-scan.y"
{ report_class_declaration (yyvsp[-1].node); modifier_value = 0; ;
    break;}
case 120:
#line 578 "./parse-scan.y"
{ report_class_declaration (yyvsp[-2].node); modifier_value = 0; ;
    break;}
case 121:
#line 580 "./parse-scan.y"
{ report_class_declaration (yyvsp[-2].node); modifier_value = 0; ;
    break;}
case 148:
#line 649 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 149:
#line 651 "./parse-scan.y"
{ modifier_value = 0; ;
    break;}
case 173:
#line 691 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 226:
#line 838 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 243:
#line 878 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 244:
#line 880 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 246:
#line 886 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 255:
#line 908 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 273:
#line 950 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 274:
#line 952 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 279:
#line 961 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 282:
#line 968 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
case 337:
#line 1087 "./parse-scan.y"
{ USE_ABSORBER; ;
    break;}
}
   /* the action file gets copied in in place of this dollarsign */
#line 498 "/usr/cygnus/gnupro-98r2/share/bison.simple"

  yyvsp -= yylen;
  yyssp -= yylen;
#ifdef YYLSP_NEEDED
  yylsp -= yylen;
#endif

#if YYDEBUG != 0
  if (yydebug)
    {
      short *ssp1 = yyss - 1;
      fprintf (stderr, "state stack now");
      while (ssp1 != yyssp)
	fprintf (stderr, " %d", *++ssp1);
      fprintf (stderr, "\n");
    }
#endif

  *++yyvsp = yyval;

#ifdef YYLSP_NEEDED
  yylsp++;
  if (yylen == 0)
    {
      yylsp->first_line = yylloc.first_line;
      yylsp->first_column = yylloc.first_column;
      yylsp->last_line = (yylsp-1)->last_line;
      yylsp->last_column = (yylsp-1)->last_column;
      yylsp->text = 0;
    }
  else
    {
      yylsp->last_line = (yylsp+yylen-1)->last_line;
      yylsp->last_column = (yylsp+yylen-1)->last_column;
    }
#endif

  /* Now "shift" the result of the reduction.
     Determine what state that goes to,
     based on the state we popped back to
     and the rule number reduced by.  */

  yyn = yyr1[yyn];

  yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
  if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
    yystate = yytable[yystate];
  else
    yystate = yydefgoto[yyn - YYNTBASE];

  goto yynewstate;

yyerrlab:   /* here on detecting error */

  if (! yyerrstatus)
    /* If not already recovering from an error, report this error.  */
    {
      ++yynerrs;

#ifdef YYERROR_VERBOSE
      yyn = yypact[yystate];

      if (yyn > YYFLAG && yyn < YYLAST)
	{
	  int size = 0;
	  char *msg;
	  int x, count;

	  count = 0;
	  /* Start X at -yyn if nec to avoid negative indexes in yycheck.  */
	  for (x = (yyn < 0 ? -yyn : 0);
	       x < (sizeof(yytname) / sizeof(char *)); x++)
	    if (yycheck[x + yyn] == x)
	      size += strlen(yytname[x]) + 15, count++;
	  msg = (char *) malloc(size + 15);
	  if (msg != 0)
	    {
	      strcpy(msg, "parse error");

	      if (count < 5)
		{
		  count = 0;
		  for (x = (yyn < 0 ? -yyn : 0);
		       x < (sizeof(yytname) / sizeof(char *)); x++)
		    if (yycheck[x + yyn] == x)
		      {
			strcat(msg, count == 0 ? ", expecting `" : " or `");
			strcat(msg, yytname[x]);
			strcat(msg, "'");
			count++;
		      }
		}
	      yyerror(msg);
	      free(msg);
	    }
	  else
	    yyerror ("parse error; also virtual memory exceeded");
	}
      else
#endif /* YYERROR_VERBOSE */
	yyerror("parse error");
    }

  goto yyerrlab1;
yyerrlab1:   /* here on error raised explicitly by an action */

  if (yyerrstatus == 3)
    {
      /* if just tried and failed to reuse lookahead token after an error, discard it.  */

      /* return failure if at end of input */
      if (yychar == YYEOF)
	YYABORT;

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
#endif

      yychar = YYEMPTY;
    }

  /* Else will try to reuse lookahead token
     after shifting the error token.  */

  yyerrstatus = 3;		/* Each real token shifted decrements this */

  goto yyerrhandle;

yyerrdefault:  /* current state does not do anything special for the error token. */

#if 0
  /* This is wrong; only states that explicitly want error tokens
     should shift them.  */
  yyn = yydefact[yystate];  /* If its default is to accept any token, ok.  Otherwise pop it.*/
  if (yyn) goto yydefault;
#endif

yyerrpop:   /* pop the current state because it cannot handle the error token */

  if (yyssp == yyss) YYABORT;
  yyvsp--;
  yystate = *--yyssp;
#ifdef YYLSP_NEEDED
  yylsp--;
#endif

#if YYDEBUG != 0
  if (yydebug)
    {
      short *ssp1 = yyss - 1;
      fprintf (stderr, "Error: state stack now");
      while (ssp1 != yyssp)
	fprintf (stderr, " %d", *++ssp1);
      fprintf (stderr, "\n");
    }
#endif

yyerrhandle:

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yyerrdefault;

  yyn += YYTERROR;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
    goto yyerrdefault;

  yyn = yytable[yyn];
  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrpop;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrpop;

  if (yyn == YYFINAL)
    YYACCEPT;

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Shifting error token, ");
#endif

  *++yyvsp = yylval;
#ifdef YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  yystate = yyn;
  goto yynewstate;
}
#line 1105 "./parse-scan.y"


#include "lex.c"

/* Create a new parser context */

void
java_push_parser_context ()
{
  struct parser_ctxt *new = 
    (struct parser_ctxt *)xmalloc(sizeof (struct parser_ctxt));

  bzero ((PTR) new, sizeof (struct parser_ctxt));
  new->next = ctxp;
  ctxp = new;
}  

/* Actions defined here */

static void
report_class_declaration (name)
     char * name;
{
  extern int flag_dump_class, flag_list_filename;

  if (flag_dump_class)
    {
      if (!previous_output)
	{
	  if (flag_list_filename)
	    fprintf (out, "%s: ", input_filename);
	  previous_output = 1;
	}
	
      if (package_name)
	fprintf (out, "%s.%s ", package_name, name);
      else
	fprintf (out, "%s ", name);
    }
      
  current_class = name;
}

static void
report_main_declaration (declarator)
     struct method_declarator *declarator;
{
  extern int flag_find_main;

  if (flag_find_main
      && modifier_value == 2
      && !strcmp (declarator->method_name, "main") 
      && declarator->args 
      && declarator->args [0] == '[' 
      && (! strcmp (declarator->args+1, "String")
	  || ! strcmp (declarator->args + 1, "java.lang.String"))
      && current_class)
    {
      if (!previous_output)
	{
	  if (package_name)
	    fprintf (out, "%s.%s ", package_name, current_class);
	  else
	    fprintf (out, current_class);
	  previous_output = 1;
	}
    }
}

/* Reset global status used by the report functions.  */

void reset_report ()
{
  previous_output = 0;
  current_class = package_name = NULL;
}

void
yyerror (msg)
     char *msg ATTRIBUTE_UNUSED;
{
}

char *
xstrdup (s)
     const char *s;
{
  char *ret;

  ret = xmalloc (strlen (s) + 1);
  strcpy (ret, s);
  return ret;
}
