2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (pop_class_context): Reset `inner_qualifier_length' when negative *before* using it as an array index. * ChangeLog: Fixed typo. (Fixes the following bogus patch: http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00937.html) From-SVN: r32793
2572 lines
112 KiB
C
2572 lines
112 KiB
C
|
||
/* A Bison parser, made from ./parse-scan.y
|
||
by GNU Bison version 1.28 */
|
||
|
||
#define YYBISON 1 /* Identify Bison output. */
|
||
|
||
#define PLUS_TK 257
|
||
#define MINUS_TK 258
|
||
#define MULT_TK 259
|
||
#define DIV_TK 260
|
||
#define REM_TK 261
|
||
#define LS_TK 262
|
||
#define SRS_TK 263
|
||
#define ZRS_TK 264
|
||
#define AND_TK 265
|
||
#define XOR_TK 266
|
||
#define OR_TK 267
|
||
#define BOOL_AND_TK 268
|
||
#define BOOL_OR_TK 269
|
||
#define EQ_TK 270
|
||
#define NEQ_TK 271
|
||
#define GT_TK 272
|
||
#define GTE_TK 273
|
||
#define LT_TK 274
|
||
#define LTE_TK 275
|
||
#define PLUS_ASSIGN_TK 276
|
||
#define MINUS_ASSIGN_TK 277
|
||
#define MULT_ASSIGN_TK 278
|
||
#define DIV_ASSIGN_TK 279
|
||
#define REM_ASSIGN_TK 280
|
||
#define LS_ASSIGN_TK 281
|
||
#define SRS_ASSIGN_TK 282
|
||
#define ZRS_ASSIGN_TK 283
|
||
#define AND_ASSIGN_TK 284
|
||
#define XOR_ASSIGN_TK 285
|
||
#define OR_ASSIGN_TK 286
|
||
#define PUBLIC_TK 287
|
||
#define PRIVATE_TK 288
|
||
#define PROTECTED_TK 289
|
||
#define STATIC_TK 290
|
||
#define FINAL_TK 291
|
||
#define SYNCHRONIZED_TK 292
|
||
#define VOLATILE_TK 293
|
||
#define TRANSIENT_TK 294
|
||
#define NATIVE_TK 295
|
||
#define PAD_TK 296
|
||
#define ABSTRACT_TK 297
|
||
#define MODIFIER_TK 298
|
||
#define DECR_TK 299
|
||
#define INCR_TK 300
|
||
#define DEFAULT_TK 301
|
||
#define IF_TK 302
|
||
#define THROW_TK 303
|
||
#define BOOLEAN_TK 304
|
||
#define DO_TK 305
|
||
#define IMPLEMENTS_TK 306
|
||
#define THROWS_TK 307
|
||
#define BREAK_TK 308
|
||
#define IMPORT_TK 309
|
||
#define ELSE_TK 310
|
||
#define INSTANCEOF_TK 311
|
||
#define RETURN_TK 312
|
||
#define VOID_TK 313
|
||
#define CATCH_TK 314
|
||
#define INTERFACE_TK 315
|
||
#define CASE_TK 316
|
||
#define EXTENDS_TK 317
|
||
#define FINALLY_TK 318
|
||
#define SUPER_TK 319
|
||
#define WHILE_TK 320
|
||
#define CLASS_TK 321
|
||
#define SWITCH_TK 322
|
||
#define CONST_TK 323
|
||
#define TRY_TK 324
|
||
#define FOR_TK 325
|
||
#define NEW_TK 326
|
||
#define CONTINUE_TK 327
|
||
#define GOTO_TK 328
|
||
#define PACKAGE_TK 329
|
||
#define THIS_TK 330
|
||
#define BYTE_TK 331
|
||
#define SHORT_TK 332
|
||
#define INT_TK 333
|
||
#define LONG_TK 334
|
||
#define CHAR_TK 335
|
||
#define INTEGRAL_TK 336
|
||
#define FLOAT_TK 337
|
||
#define DOUBLE_TK 338
|
||
#define FP_TK 339
|
||
#define ID_TK 340
|
||
#define REL_QM_TK 341
|
||
#define REL_CL_TK 342
|
||
#define NOT_TK 343
|
||
#define NEG_TK 344
|
||
#define ASSIGN_ANY_TK 345
|
||
#define ASSIGN_TK 346
|
||
#define OP_TK 347
|
||
#define CP_TK 348
|
||
#define OCB_TK 349
|
||
#define CCB_TK 350
|
||
#define OSB_TK 351
|
||
#define CSB_TK 352
|
||
#define SC_TK 353
|
||
#define C_TK 354
|
||
#define DOT_TK 355
|
||
#define STRING_LIT_TK 356
|
||
#define CHAR_LIT_TK 357
|
||
#define INT_LIT_TK 358
|
||
#define FP_LIT_TK 359
|
||
#define TRUE_TK 360
|
||
#define FALSE_TK 361
|
||
#define BOOL_LIT_TK 362
|
||
#define NULL_TK 363
|
||
|
||
#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 const char *current_class;
|
||
static const char *package_name;
|
||
|
||
/* Keep track of the current inner class qualifier. */
|
||
static char *inner_qualifier;
|
||
static int inner_qualifier_length;
|
||
|
||
/* 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 {
|
||
const char *method_name;
|
||
const 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 PARAMS ((const char *));
|
||
static void report_main_declaration PARAMS ((struct method_declarator *));
|
||
static void push_class_context PARAMS ((const char *));
|
||
static void pop_class_context PARAMS ((void));
|
||
|
||
#include "lex.h"
|
||
#include "parse.h"
|
||
|
||
#line 106 "./parse-scan.y"
|
||
typedef union {
|
||
char *node;
|
||
struct method_declarator *declarator;
|
||
int value; /* For modifiers */
|
||
} YYSTYPE;
|
||
#line 112 "./parse-scan.y"
|
||
|
||
#include "lex.c"
|
||
#ifndef YYDEBUG
|
||
#define YYDEBUG 1
|
||
#endif
|
||
|
||
#include <stdio.h>
|
||
|
||
#ifndef __cplusplus
|
||
#ifndef __STDC__
|
||
#define const
|
||
#endif
|
||
#endif
|
||
|
||
|
||
|
||
#define YYFINAL 605
|
||
#define YYFLAG -32768
|
||
#define YYNTBASE 110
|
||
|
||
#define YYTRANSLATE(x) ((unsigned)(x) <= 363 ? yytranslate[x] : 257)
|
||
|
||
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, 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, 356, 361,
|
||
362, 368, 369, 375, 376, 383, 386, 390, 393, 397,
|
||
399, 402, 404, 406, 408, 410, 412, 415, 418, 422,
|
||
426, 431, 433, 437, 440, 444, 446, 449, 451, 453,
|
||
455, 458, 461, 465, 467, 469, 471, 473, 475, 477,
|
||
479, 481, 483, 485, 487, 489, 491, 493, 495, 497,
|
||
499, 501, 503, 505, 507, 509, 511, 514, 517, 520,
|
||
523, 525, 527, 529, 531, 533, 535, 537, 543, 551,
|
||
559, 565, 568, 572, 576, 581, 583, 586, 589, 591,
|
||
594, 598, 601, 606, 609, 612, 614, 622, 630, 637,
|
||
645, 652, 655, 658, 659, 661, 663, 664, 666, 668,
|
||
672, 675, 679, 682, 686, 689, 693, 697, 703, 709,
|
||
711, 715, 719, 724, 726, 729, 735, 738, 740, 742,
|
||
744, 746, 750, 752, 754, 756, 758, 762, 766, 770,
|
||
774, 780, 785, 792, 798, 803, 809, 815, 822, 826,
|
||
830, 832, 836, 840, 844, 848, 853, 858, 863, 868,
|
||
870, 873, 877, 880, 884, 888, 892, 896, 901, 907,
|
||
914, 920, 927, 932, 937, 939, 941, 943, 945, 948,
|
||
951, 953, 955, 958, 961, 963, 966, 969, 971, 974,
|
||
977, 979, 985, 990, 995, 1001, 1003, 1007, 1011, 1015,
|
||
1017, 1021, 1025, 1027, 1031, 1035, 1039, 1041, 1045, 1049,
|
||
1053, 1057, 1061, 1063, 1067, 1071, 1073, 1077, 1079, 1083,
|
||
1085, 1089, 1091, 1095, 1097, 1101, 1103, 1109, 1111, 1113,
|
||
1117, 1119, 1121, 1123, 1125, 1127, 1129
|
||
};
|
||
|
||
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, 175, 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, 255, 0, 173, 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, 175, 0, 175, 99, 0, 99, 0,
|
||
156, 175, 0, 156, 175, 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, 176, 96, 0, 95,
|
||
160, 176, 96, 0, 161, 93, 94, 99, 0, 161,
|
||
93, 224, 94, 99, 0, 119, 101, 65, 93, 224,
|
||
94, 99, 0, 119, 101, 65, 93, 94, 99, 0,
|
||
76, 0, 65, 0, 0, 61, 122, 163, 168, 0,
|
||
0, 131, 61, 122, 164, 168, 0, 0, 61, 122,
|
||
167, 165, 168, 0, 0, 131, 61, 122, 167, 166,
|
||
168, 0, 63, 117, 0, 167, 100, 117, 0, 95,
|
||
96, 0, 95, 169, 96, 0, 170, 0, 169, 170,
|
||
0, 171, 0, 172, 0, 132, 0, 162, 0, 142,
|
||
0, 148, 99, 0, 95, 96, 0, 95, 174, 96,
|
||
0, 95, 100, 96, 0, 95, 174, 100, 96, 0,
|
||
146, 0, 174, 100, 146, 0, 95, 96, 0, 95,
|
||
176, 96, 0, 177, 0, 176, 177, 0, 178, 0,
|
||
180, 0, 132, 0, 179, 99, 0, 112, 143, 0,
|
||
131, 112, 143, 0, 182, 0, 185, 0, 189, 0,
|
||
190, 0, 199, 0, 203, 0, 182, 0, 186, 0,
|
||
191, 0, 200, 0, 204, 0, 175, 0, 183, 0,
|
||
187, 0, 192, 0, 202, 0, 210, 0, 211, 0,
|
||
212, 0, 214, 0, 213, 0, 216, 0, 99, 0,
|
||
122, 88, 0, 184, 180, 0, 184, 181, 0, 188,
|
||
99, 0, 252, 0, 236, 0, 237, 0, 233, 0,
|
||
234, 0, 230, 0, 222, 0, 48, 93, 255, 94,
|
||
180, 0, 48, 93, 255, 94, 181, 56, 180, 0,
|
||
48, 93, 255, 94, 181, 56, 181, 0, 68, 93,
|
||
255, 94, 193, 0, 95, 96, 0, 95, 196, 96,
|
||
0, 95, 194, 96, 0, 95, 194, 196, 96, 0,
|
||
195, 0, 194, 195, 0, 196, 176, 0, 197, 0,
|
||
196, 197, 0, 62, 256, 88, 0, 47, 88, 0,
|
||
66, 93, 255, 94, 0, 198, 180, 0, 198, 181,
|
||
0, 51, 0, 201, 180, 66, 93, 255, 94, 99,
|
||
0, 206, 99, 255, 99, 208, 94, 180, 0, 206,
|
||
99, 99, 208, 94, 180, 0, 206, 99, 255, 99,
|
||
208, 94, 181, 0, 206, 99, 99, 208, 94, 181,
|
||
0, 71, 93, 0, 205, 207, 0, 0, 209, 0,
|
||
179, 0, 0, 209, 0, 188, 0, 209, 100, 188,
|
||
0, 54, 99, 0, 54, 122, 99, 0, 73, 99,
|
||
0, 73, 122, 99, 0, 58, 99, 0, 58, 255,
|
||
99, 0, 49, 255, 99, 0, 215, 93, 255, 94,
|
||
175, 0, 215, 93, 255, 94, 1, 0, 44, 0,
|
||
70, 175, 217, 0, 70, 175, 219, 0, 70, 175,
|
||
217, 219, 0, 218, 0, 217, 218, 0, 60, 93,
|
||
151, 94, 175, 0, 64, 175, 0, 221, 0, 225,
|
||
0, 111, 0, 76, 0, 93, 255, 94, 0, 222,
|
||
0, 229, 0, 230, 0, 231, 0, 119, 101, 67,
|
||
0, 113, 101, 67, 0, 59, 101, 67, 0, 119,
|
||
101, 76, 0, 72, 116, 93, 224, 94, 0, 72,
|
||
116, 93, 94, 0, 72, 116, 93, 224, 94, 138,
|
||
0, 72, 116, 93, 94, 138, 0, 223, 122, 93,
|
||
94, 0, 223, 122, 93, 94, 138, 0, 223, 122,
|
||
93, 224, 94, 0, 223, 122, 93, 224, 94, 138,
|
||
0, 119, 101, 72, 0, 220, 101, 72, 0, 255,
|
||
0, 224, 100, 255, 0, 224, 100, 1, 0, 72,
|
||
113, 226, 0, 72, 115, 226, 0, 72, 113, 226,
|
||
228, 0, 72, 115, 226, 228, 0, 72, 115, 228,
|
||
173, 0, 72, 113, 228, 173, 0, 227, 0, 226,
|
||
227, 0, 97, 255, 98, 0, 97, 98, 0, 228,
|
||
97, 98, 0, 220, 101, 122, 0, 65, 101, 122,
|
||
0, 119, 93, 94, 0, 119, 93, 224, 94, 0,
|
||
220, 101, 122, 93, 94, 0, 220, 101, 122, 93,
|
||
224, 94, 0, 65, 101, 122, 93, 94, 0, 65,
|
||
101, 122, 93, 224, 94, 0, 119, 97, 255, 98,
|
||
0, 221, 97, 255, 98, 0, 220, 0, 119, 0,
|
||
233, 0, 234, 0, 232, 46, 0, 232, 45, 0,
|
||
236, 0, 237, 0, 3, 235, 0, 4, 235, 0,
|
||
238, 0, 46, 235, 0, 45, 235, 0, 232, 0,
|
||
89, 235, 0, 90, 235, 0, 239, 0, 93, 113,
|
||
228, 94, 235, 0, 93, 113, 94, 235, 0, 93,
|
||
255, 94, 238, 0, 93, 119, 228, 94, 238, 0,
|
||
235, 0, 240, 5, 235, 0, 240, 6, 235, 0,
|
||
240, 7, 235, 0, 240, 0, 241, 3, 240, 0,
|
||
241, 4, 240, 0, 241, 0, 242, 8, 241, 0,
|
||
242, 9, 241, 0, 242, 10, 241, 0, 242, 0,
|
||
243, 20, 242, 0, 243, 18, 242, 0, 243, 21,
|
||
242, 0, 243, 19, 242, 0, 243, 57, 114, 0,
|
||
243, 0, 244, 16, 243, 0, 244, 17, 243, 0,
|
||
244, 0, 245, 11, 244, 0, 245, 0, 246, 12,
|
||
245, 0, 246, 0, 247, 13, 246, 0, 247, 0,
|
||
248, 14, 247, 0, 248, 0, 249, 15, 248, 0,
|
||
249, 0, 249, 87, 255, 88, 250, 0, 250, 0,
|
||
252, 0, 253, 254, 251, 0, 119, 0, 229, 0,
|
||
231, 0, 91, 0, 92, 0, 251, 0, 255, 0
|
||
};
|
||
|
||
#endif
|
||
|
||
#if YYDEBUG != 0
|
||
static const short yyrline[] = { 0,
|
||
181, 186, 188, 189, 190, 191, 192, 196, 198, 201,
|
||
207, 212, 219, 221, 224, 228, 232, 236, 238, 242,
|
||
249, 251, 254, 258, 265, 270, 271, 272, 273, 274,
|
||
275, 276, 277, 280, 282, 285, 287, 290, 295, 297,
|
||
300, 304, 308, 310, 311, 317, 326, 337, 344, 344,
|
||
347, 349, 350, 353, 354, 357, 360, 364, 367, 371,
|
||
373, 376, 378, 379, 380, 383, 385, 386, 387, 391,
|
||
394, 398, 401, 404, 406, 409, 412, 416, 418, 422,
|
||
426, 429, 430, 432, 439, 446, 452, 455, 457, 463,
|
||
479, 495, 496, 499, 502, 506, 508, 509, 513, 515,
|
||
518, 528, 530, 533, 535, 541, 544, 548, 550, 551,
|
||
552, 556, 558, 561, 563, 567, 569, 574, 578, 578,
|
||
581, 581, 584, 584, 587, 589, 591, 594, 597, 601,
|
||
603, 606, 608, 609, 610, 613, 617, 622, 624, 625,
|
||
626, 629, 631, 635, 637, 640, 642, 645, 647, 648,
|
||
651, 655, 658, 662, 664, 665, 666, 667, 668, 671,
|
||
673, 674, 675, 676, 679, 681, 682, 683, 684, 685,
|
||
686, 687, 688, 689, 690, 693, 697, 702, 706, 712,
|
||
716, 718, 719, 720, 721, 722, 723, 726, 730, 734,
|
||
738, 742, 744, 745, 746, 749, 751, 754, 759, 761,
|
||
764, 766, 769, 773, 777, 781, 785, 789, 791, 794,
|
||
796, 799, 803, 806, 807, 808, 811, 812, 815, 817,
|
||
820, 822, 825, 827, 830, 832, 835, 839, 841, 844,
|
||
849, 851, 852, 855, 857, 860, 864, 869, 871, 874,
|
||
876, 877, 878, 879, 880, 881, 885, 887, 889, 893,
|
||
897, 899, 903, 904, 908, 909, 910, 911, 914, 917,
|
||
920, 922, 923, 926, 928, 929, 930, 933, 934, 937,
|
||
939, 942, 946, 948, 951, 953, 956, 959, 961, 962,
|
||
963, 964, 967, 970, 973, 975, 977, 978, 981, 985,
|
||
989, 991, 992, 993, 994, 997, 1001, 1005, 1007, 1008,
|
||
1009, 1012, 1014, 1015, 1016, 1019, 1021, 1022, 1023, 1026,
|
||
1028, 1029, 1032, 1034, 1035, 1036, 1039, 1041, 1042, 1043,
|
||
1044, 1045, 1048, 1050, 1051, 1054, 1056, 1059, 1061, 1064,
|
||
1066, 1069, 1071, 1074, 1076, 1079, 1081, 1084, 1086, 1089,
|
||
1093, 1096, 1097, 1100, 1102, 1105, 1109
|
||
};
|
||
#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",
|
||
"@3","@4","@5","@6","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, 163, 162, 164,
|
||
162, 165, 162, 166, 162, 167, 167, 168, 168, 169,
|
||
169, 170, 170, 170, 170, 171, 172, 173, 173, 173,
|
||
173, 174, 174, 175, 175, 176, 176, 177, 177, 177,
|
||
178, 179, 179, 180, 180, 180, 180, 180, 180, 181,
|
||
181, 181, 181, 181, 182, 182, 182, 182, 182, 182,
|
||
182, 182, 182, 182, 182, 183, 184, 185, 186, 187,
|
||
188, 188, 188, 188, 188, 188, 188, 189, 190, 191,
|
||
192, 193, 193, 193, 193, 194, 194, 195, 196, 196,
|
||
197, 197, 198, 199, 200, 201, 202, 203, 203, 204,
|
||
204, 205, 206, 207, 207, 207, 208, 208, 209, 209,
|
||
210, 210, 211, 211, 212, 212, 213, 214, 214, 215,
|
||
216, 216, 216, 217, 217, 218, 219, 220, 220, 221,
|
||
221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
|
||
222, 222, 222, 222, 222, 222, 222, 222, 223, 223,
|
||
224, 224, 224, 225, 225, 225, 225, 225, 225, 226,
|
||
226, 227, 228, 228, 229, 229, 230, 230, 230, 230,
|
||
230, 230, 231, 231, 232, 232, 232, 232, 233, 234,
|
||
235, 235, 235, 235, 235, 236, 237, 238, 238, 238,
|
||
238, 239, 239, 239, 239, 240, 240, 240, 240, 241,
|
||
241, 241, 242, 242, 242, 242, 243, 243, 243, 243,
|
||
243, 243, 244, 244, 244, 245, 245, 246, 246, 247,
|
||
247, 248, 248, 249, 249, 250, 250, 251, 251, 252,
|
||
253, 253, 253, 254, 254, 255, 256
|
||
};
|
||
|
||
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, 0, 4, 0,
|
||
5, 0, 5, 0, 6, 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, 118, 52, 0, 32, 35, 37, 30, 31,
|
||
47, 0, 0, 41, 0, 0, 0, 122, 0, 54,
|
||
38, 0, 33, 120, 52, 0, 24, 17, 126, 15,
|
||
0, 119, 0, 0, 16, 53, 0, 50, 0, 124,
|
||
54, 42, 12, 0, 10, 11, 128, 0, 8, 9,
|
||
13, 14, 15, 0, 134, 136, 0, 135, 0, 130,
|
||
132, 133, 127, 123, 56, 55, 0, 121, 0, 48,
|
||
0, 92, 76, 0, 72, 74, 92, 0, 0, 0,
|
||
0, 0, 137, 129, 131, 0, 0, 51, 125, 0,
|
||
0, 0, 0, 82, 70, 0, 0, 0, 81, 18,
|
||
20, 19, 92, 0, 92, 57, 46, 0, 58, 21,
|
||
0, 68, 0, 60, 62, 66, 67, 0, 63, 0,
|
||
64, 92, 69, 65, 49, 85, 0, 0, 0, 88,
|
||
94, 93, 87, 76, 73, 0, 0, 0, 0, 0,
|
||
0, 0, 241, 0, 0, 0, 0, 6, 5, 2,
|
||
3, 4, 7, 240, 0, 286, 75, 79, 285, 238,
|
||
243, 0, 239, 244, 245, 246, 298, 287, 288, 306,
|
||
291, 292, 295, 301, 310, 313, 317, 323, 326, 328,
|
||
330, 332, 334, 336, 338, 346, 339, 0, 78, 77,
|
||
84, 71, 83, 46, 0, 0, 206, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 144, 176, 0, 8, 286,
|
||
23, 0, 150, 165, 0, 146, 148, 0, 149, 154,
|
||
166, 0, 155, 167, 0, 156, 157, 168, 0, 158,
|
||
0, 169, 159, 214, 0, 170, 171, 172, 174, 173,
|
||
0, 175, 243, 245, 0, 184, 185, 182, 183, 181,
|
||
0, 92, 59, 61, 98, 80, 96, 99, 0, 90,
|
||
0, 86, 0, 0, 286, 244, 246, 293, 294, 297,
|
||
296, 0, 0, 0, 16, 0, 299, 300, 0, 286,
|
||
0, 138, 0, 142, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 290, 289, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 344, 345, 0, 0, 0,
|
||
221, 0, 225, 0, 0, 0, 0, 212, 223, 0,
|
||
0, 152, 0, 177, 0, 145, 147, 151, 230, 178,
|
||
180, 204, 0, 0, 216, 219, 213, 215, 0, 0,
|
||
106, 0, 0, 97, 100, 0, 102, 91, 89, 95,
|
||
249, 276, 0, 264, 270, 0, 265, 0, 0, 0,
|
||
0, 0, 0, 0, 242, 140, 139, 0, 248, 277,
|
||
0, 261, 0, 247, 259, 250, 260, 275, 0, 0,
|
||
307, 308, 309, 311, 312, 314, 315, 316, 319, 321,
|
||
318, 320, 0, 322, 324, 325, 327, 329, 331, 333,
|
||
335, 0, 340, 0, 227, 222, 226, 0, 0, 0,
|
||
0, 231, 234, 232, 224, 242, 153, 0, 0, 217,
|
||
0, 0, 107, 103, 117, 241, 108, 286, 0, 0,
|
||
0, 104, 0, 273, 0, 271, 266, 0, 269, 267,
|
||
268, 252, 0, 303, 0, 0, 304, 141, 143, 278,
|
||
0, 283, 0, 284, 255, 0, 0, 0, 203, 0,
|
||
0, 237, 235, 233, 0, 220, 0, 218, 217, 0,
|
||
105, 0, 109, 0, 0, 110, 281, 0, 272, 274,
|
||
254, 251, 302, 305, 263, 262, 279, 0, 256, 257,
|
||
337, 0, 188, 0, 154, 0, 161, 162, 0, 163,
|
||
164, 0, 0, 191, 0, 0, 0, 0, 229, 228,
|
||
0, 111, 0, 0, 282, 253, 280, 258, 0, 0,
|
||
179, 205, 0, 0, 0, 192, 0, 196, 0, 199,
|
||
0, 0, 209, 0, 0, 112, 0, 0, 189, 217,
|
||
0, 202, 347, 0, 194, 197, 0, 193, 198, 200,
|
||
236, 207, 208, 0, 0, 113, 0, 0, 217, 201,
|
||
195, 115, 0, 0, 0, 0, 114, 0, 211, 0,
|
||
190, 210, 0, 0, 0
|
||
};
|
||
|
||
static const short yydefgoto[] = { 603,
|
||
174, 228, 175, 70, 71, 56, 49, 72, 176, 20,
|
||
21, 22, 7, 8, 9, 10, 11, 12, 13, 14,
|
||
232, 233, 110, 87, 40, 58, 86, 108, 133, 134,
|
||
135, 76, 94, 95, 96, 177, 137, 77, 92, 149,
|
||
150, 114, 152, 276, 139, 140, 141, 142, 377, 459,
|
||
460, 17, 37, 59, 54, 89, 38, 52, 79, 80,
|
||
81, 82, 178, 305, 234, 579, 236, 237, 238, 239,
|
||
524, 240, 241, 242, 243, 527, 244, 245, 246, 247,
|
||
528, 248, 534, 557, 558, 559, 560, 249, 250, 530,
|
||
251, 252, 253, 531, 254, 255, 367, 497, 498, 256,
|
||
257, 258, 259, 260, 261, 262, 442, 443, 444, 179,
|
||
180, 181, 182, 401, 183, 384, 385, 386, 184, 185,
|
||
186, 187, 188, 189, 190, 191, 192, 193, 194, 195,
|
||
196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
|
||
206, 207, 208, 338, 402, 574
|
||
};
|
||
|
||
static const short yypact[] = { 206,
|
||
-32768, -59, -59, -59, -59,-32768,-32768, 84, -10, 84,
|
||
-32768,-32768,-32768,-32768, 149,-32768,-32768,-32768, 113,-32768,
|
||
-32768,-32768, -27, 16, 155, -10,-32768,-32768, 84, -10,
|
||
-32768, -59, -59,-32768, 6, -59, -23, -13, -59, 44,
|
||
-32768, -59, -10, -27, 16, 28,-32768,-32768,-32768, 55,
|
||
751,-32768, -59, -23,-32768,-32768, -59,-32768, -23, -13,
|
||
44,-32768,-32768, -59,-32768,-32768,-32768, -59, 94,-32768,
|
||
-32768, 127, 179, 834,-32768,-32768, 66,-32768, 822,-32768,
|
||
-32768,-32768,-32768,-32768,-32768, 81, 134,-32768, -23,-32768,
|
||
154, -35, 154, 290,-32768, 27, -35, 166, 177, 187,
|
||
-59, -59,-32768,-32768,-32768, -59, 485,-32768,-32768, 134,
|
||
207, -59, 225,-32768,-32768, -59, 1549, 238,-32768,-32768,
|
||
-32768,-32768, -35, 353, -35,-32768, 271, 2494,-32768, 293,
|
||
834,-32768, 579,-32768,-32768,-32768,-32768, 213,-32768, 286,
|
||
-32768, 374,-32768,-32768,-32768,-32768, -59, 68, 21,-32768,
|
||
-32768, 336,-32768,-32768,-32768, 2296, 2296, 2296, 2296, 342,
|
||
363, 294,-32768, 2296, 2296, 2296, 1419,-32768,-32768,-32768,
|
||
-32768,-32768,-32768,-32768, 366, 338,-32768,-32768, 368, 381,
|
||
-32768, -59,-32768, 204,-32768, 419, 474,-32768,-32768,-32768,
|
||
-32768,-32768,-32768,-32768, 443, 518, 505, 310, 508, 472,
|
||
479, 481, 482, 4,-32768,-32768,-32768, 436,-32768,-32768,
|
||
-32768,-32768,-32768, 405, 407, 2296,-32768, 102, 1600, 412,
|
||
414, 286, 440, 121, 2296,-32768,-32768, -59, 224, 354,
|
||
450, 568,-32768,-32768, 2560,-32768,-32768, 456,-32768,-32768,
|
||
-32768, 2956,-32768,-32768, 458,-32768,-32768,-32768, 2956,-32768,
|
||
2956,-32768,-32768, 3088, 465,-32768,-32768,-32768,-32768,-32768,
|
||
475,-32768, 215, 284, 474, 496, 517,-32768,-32768,-32768,
|
||
283, 374,-32768,-32768,-32768,-32768, 467, 476, 477, 480,
|
||
-59,-32768, 173, -59, 148,-32768,-32768,-32768,-32768,-32768,
|
||
-32768, 511, -59, 486, 486, 493,-32768,-32768, 171, 369,
|
||
494,-32768, 483,-32768, 226, 522, 1665, 2296, 9, 100,
|
||
2296, 497,-32768,-32768, 2296, 2296, 2296, 2296, 2296, 2296,
|
||
2296, 2296, 2296, 2296, 2296, 2296, 294, 2296, 2296, 2296,
|
||
2296, 2296, 2296, 2296, 2296,-32768,-32768, 2296, 2296, 492,
|
||
-32768, 495,-32768, 500, 2296, 2296, 287,-32768,-32768, 503,
|
||
499, 504, 1716,-32768, -59,-32768,-32768,-32768,-32768,-32768,
|
||
-32768,-32768, 530, 68,-32768,-32768,-32768, 509, 1781, 2296,
|
||
-32768, 200, 477,-32768,-32768, 2626, 506, 480,-32768,-32768,
|
||
-32768, 515, 1832, 486,-32768, 362, 486, 362, 1897, 2296,
|
||
512, 52, 1832, 125, 3154,-32768,-32768, 1484,-32768,-32768,
|
||
203,-32768, 513,-32768,-32768,-32768,-32768, 520, 519, 1948,
|
||
-32768,-32768,-32768, 443, 443, 518, 518, 518, 505, 505,
|
||
505, 505, 94,-32768, 310, 310, 508, 472, 479, 481,
|
||
482, 527,-32768, 526,-32768,-32768,-32768, 528, 532, 531,
|
||
286, 287,-32768,-32768,-32768,-32768, 504, 534, 3113, 3113,
|
||
535, 536,-32768, 540, 363, 538,-32768, 411, 2692, 548,
|
||
2758,-32768, 2013,-32768, 523,-32768, 546, 547,-32768, 546,
|
||
-32768, 134, 245,-32768, 2296, 3154,-32768,-32768,-32768,-32768,
|
||
1368,-32768, 2064,-32768, 134, 260, 2296, 3022,-32768, 552,
|
||
173,-32768,-32768,-32768, 2296,-32768, 554, 509, 3113, 12,
|
||
-32768, 352,-32768, 2824, 2129,-32768,-32768, 270,-32768,-32768,
|
||
-32768, 134,-32768,-32768,-32768,-32768,-32768, 288,-32768, 134,
|
||
-32768, 558,-32768, 596, 600, 3022,-32768,-32768, 3022,-32768,
|
||
-32768, 560, 13,-32768, 566, 572, 2956, 573,-32768,-32768,
|
||
569,-32768, 574, 291,-32768,-32768,-32768,-32768, 2296, 2956,
|
||
-32768,-32768, 2180, 584, 2296,-32768, 20,-32768, 2362,-32768,
|
||
286, 578,-32768, 2956, 2245,-32768, 582, 589,-32768, 3113,
|
||
585,-32768,-32768, 602,-32768,-32768, 2428,-32768, 2890,-32768,
|
||
-32768,-32768,-32768, 593, 326,-32768, 3022, 599, 3113,-32768,
|
||
-32768,-32768, 597, 639, 3022, 604,-32768, 3022,-32768, 3022,
|
||
-32768,-32768, 701, 702,-32768
|
||
};
|
||
|
||
static const short yypgoto[] = {-32768,
|
||
-32768, -1, 209, 376, -22, -106, -20,-32768, 78, -79,
|
||
-32768, -3,-32768, 694, 30,-32768, 126,-32768,-32768, 329,
|
||
15, 831,-32768,-32768, 660, 645,-32768, -98,-32768, 577,
|
||
-32768, -87, -92, 591, -138, -160,-32768, -65, 96, 445,
|
||
-278, -54,-32768,-32768,-32768,-32768,-32768, 580, 341,-32768,
|
||
-32768, -30,-32768,-32768,-32768,-32768, 673, 79,-32768, 640,
|
||
-32768,-32768, 35,-32768, -85, -124, -233,-32768, 469, -55,
|
||
-321, -425,-32768, -424,-32768,-32768,-32768, -246,-32768,-32768,
|
||
-32768,-32768,-32768,-32768, 164, 168, -436, -418,-32768,-32768,
|
||
-32768,-32768,-32768,-32768,-32768, -296,-32768, -496, 478,-32768,
|
||
-32768,-32768,-32768,-32768,-32768,-32768,-32768, 289, 295,-32768,
|
||
-32768, 99,-32768, -363,-32768, 431, 29, -100, 973, 183,
|
||
1061, 230, 365, 473, 2, 557, 616, -379,-32768, 212,
|
||
196, 163, 222, 398, 399, 403, 406, 402,-32768, 251,
|
||
408, 663,-32768,-32768, 862,-32768
|
||
};
|
||
|
||
|
||
#define YYLAST 3263
|
||
|
||
|
||
static const short yytable[] = { 23,
|
||
24, 357, 538, 235, 379, 151, 304, 366, 280, 124,
|
||
46, 145, 539, 48, 15, 477, 55, 112, 334, 136,
|
||
78, 144, 15, 15, 15, 473, 18, 130, 44, 45,
|
||
48, 47, 83, 1, 48, 36, 85, 26, 47, 30,
|
||
15, 138, 119, 15, 15, 136, 486, 144, 78, 68,
|
||
3, 130, 277, 130, 278, 296, 4, 15, 43, 554,
|
||
91, 113, 525, 526, 93, 74, 554, 138, 211, 529,
|
||
213, 51, 102, 588, 555, 404, 143, 68, 39, 19,
|
||
405, 555, 25, 48, 406, 126, 53, 279, 6, 55,
|
||
335, 18, 596, 74, 18, 57, 514, 91, 93, 508,
|
||
525, 526, 143, 525, 526, 68, 128, 529, 556, 147,
|
||
529, 31, 154, 50, 282, 575, 50, 63, 117, 518,
|
||
283, 131, 580, 118, 231, 148, 62, 1, 73, 102,
|
||
50, 68, 84, 27, 50, 352, 347, 88, 2, 295,
|
||
580, 544, 378, 154, 3, 475, 281, 131, 468, 65,
|
||
4, 73, 66, 18, 27, 42, 73, 288, 289, 290,
|
||
291, 525, 526, 97, 103, 297, 298, 109, 529, 525,
|
||
526, 407, 525, 526, 525, 526, 529, 380, 312, 529,
|
||
106, 529, 6, 50, 73, 18, 360, 18, 73, 50,
|
||
98, 532, 31, 362, 388, 363, 123, 125, 392, 394,
|
||
341, 585, 496, 366, 551, 230, 18, 552, 73, 32,
|
||
73, 34, 535, 35, 342, 33, 1, 373, 476, 349,
|
||
350, 468, 63, 99, 154, 73, 263, 357, 107, 532,
|
||
355, 231, 532, 285, 285, 285, 285, 479, 231, 50,
|
||
307, 285, 285, 300, 308, 231, 111, 231, 309, 1,
|
||
1, 461, 366, 41, 65, 42, 63, 66, 18, 69,
|
||
2, 55, 447, 120, 390, 594, 3, 391, 364, 147,
|
||
357, 306, 4, 599, 121, 100, 601, 154, 602, 42,
|
||
5, 147, 69, 467, 122, 148, 470, 69, 65, 382,
|
||
532, 66, 18, 453, -342, -342, 480, 148, 532, 283,
|
||
146, 532, 481, 532, 6, 47, 408, 128, -187, 73,
|
||
264, 275, 230, -187, -187, 69, 411, 412, 413, 69,
|
||
98, 397, 153, 366, 306, 398, 1, 323, 324, 325,
|
||
326, 230, 63, 263, 504, 210, 229, 28, 512, 69,
|
||
263, 69, 366, 63, 481, 357, 440, 263, 73, 263,
|
||
441, 154, 263, 520, 28, 492, 69, 265, 28, 481,
|
||
73, 50, 355, 545, 65, -101, 327, 66, 18, 481,
|
||
294, 28, 231, 511, 299, 65, 371, -186, 66, 18,
|
||
128, 547, -186, -186, 567, 271, 519, 481, 115, 116,
|
||
481, 474, 285, 285, 285, 285, 285, 285, 285, 285,
|
||
285, 285, 285, 285, 73, 285, 285, 285, 285, 285,
|
||
285, 285, 466, 546, 540, 466, 541, 264, 404, 593,
|
||
469, 548, 471, 405, 264, 481, 112, 406, -341, -341,
|
||
307, 264, 523, 264, 308, 284, 264, 18, 309, -15,
|
||
69, 73, 292, 229, -341, -341, 307, 315, 316, 317,
|
||
353, 212, 116, 458, 309, 231, 167, 231, 468, -341,
|
||
-341, 307, 229, 293, 265, 393, 306, 285, 310, 309,
|
||
360, 265, 285, 362, 263, 581, 513, 311, 265, 69,
|
||
265, 563, 330, 265, 231, 419, 420, 421, 422, 147,
|
||
331, 69, 266, 332, 569, 333, -15, -230, 47, 339,
|
||
231, -341, -341, 307, 345, 148, 346, 353, 583, -343,
|
||
-343, 502, 320, 321, 322, 416, 417, 418, 313, 314,
|
||
318, 319, 231, 328, 329, 231, 336, 337, 127, 414,
|
||
415, 523, 348, 231, 63, 423, 230, 354, 230, 563,
|
||
-287, -287, 569, 64, 583, 3, 231, 263, 263, 425,
|
||
426, 4, 285, 285, 358, 231, 361, 263, 264, 263,
|
||
231, -288, -288, 369, 285, 374, 65, 370, 73, 66,
|
||
18, 376, 69, 231, 375, 231, 118, 381, 396, 128,
|
||
129, 230, 383, 231, 229, 389, 263, 395, 399, 410,
|
||
435, 231, 446, 436, 231, 448, 231, 263, 437, 266,
|
||
267, 445, 263, 116, 462, 265, 266, 463, 449, 464,
|
||
482, 31, 483, 266, 487, 266, 484, 63, 266, 488,
|
||
509, 489, 127, 491, 263, 490, 495, 263, 63, 500,
|
||
-116, 264, 264, 499, 33, 263, 230, 64, 501, 3,
|
||
505, 264, 468, 264, 510, 4, 533, 537, 263, 65,
|
||
549, 550, 66, 18, 230, -160, 230, 263, 553, 561,
|
||
65, 565, 263, 66, 18, 562, 564, 229, 263, 229,
|
||
264, 572, 566, 128, 273, 263, 582, 263, 265, 265,
|
||
586, 264, 587, 589, 268, 263, 264, 263, 265, 590,
|
||
265, 592, 595, 263, 598, 597, 263, 600, 263, 69,
|
||
604, 605, 424, 29, 61, 90, 155, 267, 264, 274,
|
||
272, 264, 229, 454, 267, 372, 60, 265, 105, 264,
|
||
576, 267, 365, 267, 577, 387, 267, 427, 265, 428,
|
||
493, 368, 264, 265, 429, 431, 494, 521, 430, 0,
|
||
266, 264, 0, 269, 0, 433, 264, 0, 0, 0,
|
||
0, 0, 264, 0, 0, 265, 0, 0, 265, 264,
|
||
0, 264, 0, 0, 0, 0, 265, 229, 0, 264,
|
||
0, 264, 0, 0, 0, 0, 0, 264, 0, 265,
|
||
264, 0, 264, 0, 0, 229, 0, 229, 265, 0,
|
||
270, 268, 0, 265, 1, 0, 0, 0, 268, 265,
|
||
63, 0, 0, 0, 0, 268, 265, 268, 265, 64,
|
||
268, 3, 0, 266, 266, 0, 265, 4, 265, 0,
|
||
0, 0, 0, 266, 265, 266, 0, 265, 0, 265,
|
||
16, 0, 65, 0, 0, 66, 18, 0, 16, 16,
|
||
16, 0, 0, 0, 0, 0, 67, 0, 267, 0,
|
||
269, 0, 266, 0, 0, 0, 16, 269, 0, 16,
|
||
16, 0, 0, 266, 269, 1, 269, 0, 266, 269,
|
||
0, 63, 0, 16, 0, 0, 0, 31, 0, 0,
|
||
64, 75, 3, 63, 0, 0, 0, 0, 4, 0,
|
||
266, 0, 101, 266, 32, 0, 0, 270, 0, 0,
|
||
33, 266, 0, 65, 270, 0, 66, 18, 0, 75,
|
||
0, 270, 0, 270, 266, 65, 270, 104, 66, 18,
|
||
0, 267, 267, 266, 0, 0, 0, 0, 266, 0,
|
||
0, 267, 268, 267, 266, 0, 0, 132, 0, 0,
|
||
0, 266, 0, 266, 0, 0, 0, 0, 0, 0,
|
||
0, 266, 0, 266, 0, 0, 0, 0, 0, 266,
|
||
267, 0, 266, 132, 266, 0, 0, 0, 0, 0,
|
||
0, 267, 0, 0, 0, 0, 267, 0, 209, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 269, 0, 0, 0, 0, 0, 0, 267, 0,
|
||
0, 267, 0, 0, 0, 268, 268, 0, 0, 267,
|
||
0, 0, 0, 0, 0, 268, 0, 268, 0, 0,
|
||
0, 0, 267, 0, 0, 0, 0, 301, 209, 0,
|
||
0, 267, 0, 0, 0, 0, 267, 0, 270, 0,
|
||
0, 0, 267, 0, 268, 0, 0, 0, 0, 267,
|
||
0, 267, 0, 0, 0, 268, 0, 0, 0, 267,
|
||
268, 267, 0, 0, 269, 269, 0, 267, 0, 0,
|
||
267, 0, 267, 0, 269, 0, 269, 340, 0, 0,
|
||
344, 0, 268, 0, 0, 268, 351, 0, 0, 0,
|
||
0, 0, 0, 268, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 269, 0, 0, 268, 0, 0, 0,
|
||
0, 270, 270, 0, 269, 268, 0, 0, 0, 269,
|
||
268, 270, 0, 270, 0, 0, 268, 0, 286, 286,
|
||
286, 286, 0, 268, 0, 268, 286, 286, 0, 0,
|
||
0, 269, 0, 268, 269, 268, 0, 0, 0, 0,
|
||
270, 268, 269, 0, 268, 0, 268, 0, 0, 0,
|
||
0, 270, 0, 0, 0, 269, 270, 0, 0, 403,
|
||
0, 0, 409, 0, 269, 0, 0, 0, 0, 269,
|
||
0, 0, 0, 0, 0, 269, 0, 0, 270, 0,
|
||
0, 270, 269, 0, 269, 0, 432, 0, 0, 270,
|
||
434, 0, 269, 0, 269, 0, 438, 439, 0, 0,
|
||
269, 0, 270, 269, 403, 269, 287, 287, 287, 287,
|
||
0, 270, 0, 0, 287, 287, 270, 0, 0, 0,
|
||
451, 452, 270, 0, 0, 0, 0, 0, 0, 270,
|
||
0, 270, 0, 0, 465, 0, 0, 0, 0, 270,
|
||
0, 270, 0, 0, 403, 0, 0, 270, 0, 209,
|
||
270, 0, 270, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 286, 286, 286,
|
||
286, 286, 286, 286, 286, 286, 286, 286, 286, 0,
|
||
286, 286, 286, 286, 286, 286, 286, 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, 516, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 536, 0, 0, 0,
|
||
0, 0, 286, 0, 0, 0, 0, 286, 515, 0,
|
||
156, 157, 0, 0, 0, 287, 287, 287, 287, 287,
|
||
287, 287, 287, 287, 287, 287, 287, 0, 287, 287,
|
||
287, 287, 287, 287, 287, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
568, 0, 158, 159, 571, 0, 573, 63, 0, 0,
|
||
0, 156, 157, 0, 0, 0, 160, 0, 0, 0,
|
||
0, 0, 161, 0, 0, 0, 0, 0, 0, 162,
|
||
0, 0, 0, 163, 0, 0, 0, 286, 286, 65,
|
||
287, 0, 66, 18, 0, 287, 164, 165, 0, 286,
|
||
166, 0, 0, 158, 159, 0, 0, 0, 63, 168,
|
||
169, 170, 171, 0, 0, 172, 173, 160, 0, 0,
|
||
0, 0, 0, 161, 0, 0, 156, 157, 0, 0,
|
||
162, 0, 0, 0, 163, 0, 0, 0, 0, 0,
|
||
65, 0, 0, 66, 18, 0, 0, 164, 165, 0,
|
||
0, 166, 0, 167, 302, 0, 0, 0, 303, 0,
|
||
168, 169, 170, 171, 0, 0, 172, 173, 158, 159,
|
||
0, 0, 0, 63, 0, 287, 287, 0, 0, 0,
|
||
0, 0, 160, 0, 0, 0, 0, 287, 161, 0,
|
||
0, 156, 157, 0, 0, 162, 0, 0, 0, 163,
|
||
0, 0, 0, 0, 0, 65, 0, 0, 66, 18,
|
||
0, 0, 164, 165, 0, 0, 166, 0, 167, 478,
|
||
0, 0, 0, 0, 0, 168, 169, 170, 171, 0,
|
||
0, 172, 173, 158, 159, 0, 0, 0, 63, 0,
|
||
0, 0, 156, 157, 0, 0, 0, 160, 0, 0,
|
||
0, 0, 0, 161, 0, 0, 0, 0, 0, 0,
|
||
162, 0, 0, 0, 163, 0, 0, 0, 0, 0,
|
||
65, 0, 0, 66, 18, 0, 0, 164, 165, 0,
|
||
0, 166, 0, 167, 158, 159, 0, 0, 0, 63,
|
||
168, 169, 170, 171, 0, 0, 172, 173, 160, 0,
|
||
0, 0, 0, 0, 161, 0, 0, 156, 157, 0,
|
||
0, 162, 0, 0, 0, 163, 0, 0, 0, 0,
|
||
0, 65, 0, 0, 66, 18, 0, 0, 164, 165,
|
||
0, 0, 166, 0, 0, 0, 0, 0, 343, 0,
|
||
0, 168, 169, 170, 171, 0, 0, 172, 173, 158,
|
||
159, 0, 0, 0, 63, 0, 0, 0, 156, 157,
|
||
0, 0, 0, 160, 0, 0, 0, 0, 0, 161,
|
||
0, 0, 0, 0, 0, 0, 162, 0, 0, 0,
|
||
163, 0, 0, 0, 0, 0, 65, 0, 0, 66,
|
||
18, 0, 0, 164, 165, 0, 0, 166, 400, 0,
|
||
158, 159, 0, 0, 0, 63, 168, 169, 170, 171,
|
||
0, 0, 172, 173, 160, 0, 0, 0, 0, 0,
|
||
161, 0, 0, 156, 157, 0, 0, 162, 0, 0,
|
||
0, 163, 0, 0, 0, 0, 0, 65, 0, 0,
|
||
66, 18, 0, 0, 164, 165, 0, 0, 166, 0,
|
||
0, 0, 0, 122, 0, 0, 0, 168, 169, 170,
|
||
171, 0, 0, 172, 173, 158, 159, 0, 0, 0,
|
||
63, 0, 0, 0, 156, 157, 0, 0, 0, 160,
|
||
0, 0, 0, 0, 0, 161, 0, 0, 0, 0,
|
||
0, 0, 162, 0, 0, 0, 163, 0, 0, 0,
|
||
0, 0, 65, 0, 0, 66, 18, 0, 0, 164,
|
||
165, 0, 0, 166, 0, 0, 158, 159, 0, 450,
|
||
0, 63, 168, 169, 170, 171, 0, 0, 172, 173,
|
||
160, 0, 0, 0, 0, 0, 161, 0, 0, 156,
|
||
157, 0, 0, 162, 0, 0, 0, 163, 0, 0,
|
||
0, 0, 0, 65, 0, 0, 66, 18, 0, 0,
|
||
164, 165, 0, 0, 166, 0, 0, 0, 0, 464,
|
||
0, 0, 0, 168, 169, 170, 171, 0, 0, 172,
|
||
173, 158, 159, 0, 0, 0, 63, 0, 0, 0,
|
||
156, 157, 0, 0, 0, 160, 0, 0, 0, 0,
|
||
0, 161, 0, 0, 0, 0, 0, 0, 162, 0,
|
||
0, 0, 163, 0, 0, 0, 0, 0, 65, 0,
|
||
0, 66, 18, 0, 0, 164, 165, 0, 0, 166,
|
||
472, 0, 158, 159, 0, 0, 0, 63, 168, 169,
|
||
170, 171, 0, 0, 172, 173, 160, 0, 0, 0,
|
||
0, 0, 161, 0, 0, 156, 157, 0, 0, 162,
|
||
0, 0, 0, 163, 0, 0, 0, 0, 0, 65,
|
||
0, 0, 66, 18, 0, 0, 164, 165, 0, 0,
|
||
166, 485, 0, 0, 0, 0, 0, 0, 0, 168,
|
||
169, 170, 171, 0, 0, 172, 173, 158, 159, 0,
|
||
0, 0, 63, 0, 0, 0, 156, 157, 0, 0,
|
||
0, 160, 0, 0, 0, 0, 0, 161, 0, 0,
|
||
0, 0, 0, 0, 162, 0, 0, 0, 163, 0,
|
||
0, 0, 0, 0, 65, 0, 0, 66, 18, 0,
|
||
0, 164, 165, 0, 0, 166, 507, 0, 158, 159,
|
||
0, 0, 0, 63, 168, 169, 170, 171, 0, 0,
|
||
172, 173, 160, 0, 0, 0, 0, 0, 161, 0,
|
||
0, 156, 157, 0, 0, 162, 0, 0, 0, 163,
|
||
0, 0, 0, 0, 0, 65, 0, 0, 66, 18,
|
||
0, 0, 164, 165, 0, 0, 166, 517, 0, 0,
|
||
0, 0, 0, 0, 0, 168, 169, 170, 171, 0,
|
||
0, 172, 173, 158, 159, 0, 0, 0, 63, 0,
|
||
0, 0, 156, 157, 0, 0, 0, 160, 0, 0,
|
||
0, 0, 0, 161, 0, 0, 0, 0, 0, 0,
|
||
162, 0, 0, 0, 163, 0, 0, 0, 0, 0,
|
||
65, 0, 0, 66, 18, 0, 0, 164, 165, 0,
|
||
0, 166, 543, 0, 158, 159, 0, 0, 0, 63,
|
||
168, 169, 170, 171, 0, 0, 172, 173, 160, 0,
|
||
0, 0, 0, 0, 161, 0, 0, 156, 157, 0,
|
||
0, 162, 0, 0, 0, 163, 0, 0, 0, 0,
|
||
0, 65, 0, 0, 66, 18, 0, 0, 164, 165,
|
||
0, 0, 166, 0, 0, 0, 0, 0, 570, 0,
|
||
0, 168, 169, 170, 171, 0, 0, 172, 173, 158,
|
||
159, 0, 0, 0, 63, 0, 0, 0, 156, 157,
|
||
0, 0, 0, 160, 0, 0, 0, 0, 0, 161,
|
||
0, 0, 0, 0, 0, 0, 162, 0, 0, 0,
|
||
163, 0, 0, 0, 0, 0, 65, 0, 0, 66,
|
||
18, 0, 0, 164, 165, 0, 0, 166, 584, 0,
|
||
158, 159, 0, 0, 0, 63, 168, 169, 170, 171,
|
||
0, 0, 172, 173, 160, 0, 0, 0, 0, 0,
|
||
161, 0, 0, 0, 0, 0, 0, 162, 0, 0,
|
||
0, 163, 0, 0, 0, 0, 0, 65, 0, 0,
|
||
66, 18, 0, 0, 164, 165, 0, 0, 166, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 168, 169, 170,
|
||
171, 0, 0, 172, 173, 214, 158, 159, 554, 215,
|
||
216, 63, 217, 0, 0, 218, 0, 0, 0, 219,
|
||
160, 0, 0, 555, 0, 0, 161, 220, 4, 221,
|
||
0, 222, 223, 162, 224, 0, 0, 163, 0, 0,
|
||
0, 0, 0, 65, 0, 0, 66, 18, 0, 0,
|
||
0, 0, 0, 0, 225, 0, 128, 578, 0, 0,
|
||
227, 0, 0, 168, 169, 170, 171, 0, 0, 172,
|
||
173, 214, 158, 159, 554, 215, 216, 63, 217, 0,
|
||
0, 218, 0, 0, 0, 219, 160, 0, 0, 555,
|
||
0, 0, 161, 220, 4, 221, 0, 222, 223, 162,
|
||
224, 0, 0, 163, 0, 0, 0, 0, 0, 65,
|
||
0, 0, 66, 18, 0, 0, 0, 0, 0, 0,
|
||
225, 0, 128, 591, 0, 0, 227, 0, 0, 168,
|
||
169, 170, 171, 0, 0, 172, 173, 214, 158, 159,
|
||
0, 215, 216, 63, 217, 0, 0, 218, 0, 0,
|
||
0, 219, 160, 0, 0, 0, 0, 0, 161, 220,
|
||
4, 221, 0, 222, 223, 162, 224, 0, 0, 163,
|
||
0, 0, 0, 0, 0, 65, 0, 0, 66, 18,
|
||
0, 0, 0, 0, 0, 0, 225, 0, 128, 226,
|
||
0, 0, 227, 0, 0, 168, 169, 170, 171, 0,
|
||
0, 172, 173, 214, 158, 159, 0, 215, 216, 63,
|
||
217, 0, 0, 218, 0, 0, 0, 219, 160, 0,
|
||
0, 0, 0, 0, 161, 220, 4, 221, 0, 222,
|
||
223, 162, 224, 0, 0, 163, 0, 0, 0, 0,
|
||
0, 65, 0, 0, 66, 18, 0, 0, 0, 0,
|
||
0, 0, 225, 0, 128, 356, 0, 0, 227, 0,
|
||
0, 168, 169, 170, 171, 0, 0, 172, 173, 214,
|
||
158, 159, 0, 215, 216, 63, 217, 0, 0, 218,
|
||
0, 0, 0, 219, 160, 0, 0, 0, 0, 0,
|
||
455, 220, 4, 221, 0, 222, 223, 162, 224, 0,
|
||
0, 456, 0, 0, 0, 0, 0, 65, 0, 0,
|
||
66, 18, 0, 0, 0, 0, 0, 0, 225, 0,
|
||
128, 457, 0, 0, 227, 0, 0, 168, 169, 170,
|
||
171, 0, 0, 172, 173, 214, 158, 159, 0, 215,
|
||
216, 63, 217, 0, 0, 218, 0, 0, 0, 219,
|
||
160, 0, 0, 0, 0, 0, 161, 220, 4, 221,
|
||
0, 222, 223, 162, 224, 0, 0, 163, 0, 0,
|
||
0, 0, 0, 65, 0, 0, 66, 18, 0, 0,
|
||
0, 0, 0, 0, 225, 0, 128, 503, 0, 0,
|
||
227, 0, 0, 168, 169, 170, 171, 0, 0, 172,
|
||
173, 214, 158, 159, 0, 215, 216, 63, 217, 0,
|
||
0, 218, 0, 0, 0, 219, 160, 0, 0, 0,
|
||
0, 0, 161, 220, 4, 221, 0, 222, 223, 162,
|
||
224, 0, 0, 163, 0, 0, 0, 0, 0, 65,
|
||
0, 0, 66, 18, 0, 0, 0, 0, 0, 0,
|
||
225, 0, 128, 506, 0, 0, 227, 0, 0, 168,
|
||
169, 170, 171, 0, 0, 172, 173, 214, 158, 159,
|
||
0, 215, 216, 63, 217, 0, 0, 218, 0, 0,
|
||
0, 219, 160, 0, 0, 0, 0, 0, 161, 220,
|
||
4, 221, 0, 222, 223, 162, 224, 0, 0, 163,
|
||
0, 0, 0, 0, 0, 65, 0, 0, 66, 18,
|
||
0, 0, 0, 0, 0, 0, 225, 0, 128, 542,
|
||
0, 0, 227, 0, 0, 168, 169, 170, 171, 0,
|
||
0, 172, 173, 214, 158, 159, 0, 215, 216, 63,
|
||
217, 0, 0, 218, 0, 0, 0, 219, 160, 0,
|
||
0, 0, 0, 0, 161, 220, 4, 221, 0, 222,
|
||
223, 162, 224, 0, 0, 163, 0, 0, 0, 0,
|
||
0, 65, 0, 0, 66, 18, 0, 0, 0, 0,
|
||
0, 0, 225, 0, 128, 0, 0, 0, 227, 0,
|
||
0, 168, 169, 170, 171, 0, 0, 172, 173, 359,
|
||
158, 159, 0, 215, 216, 63, 217, 0, 0, 218,
|
||
0, 0, 0, 219, 160, 0, 0, 0, 0, 0,
|
||
161, 220, 0, 221, 0, 222, 223, 162, 224, 0,
|
||
0, 163, 0, 0, 0, 0, 0, 65, 0, 0,
|
||
66, 18, 0, 0, 0, 0, 0, 0, 225, 0,
|
||
128, 0, 0, 0, 227, 0, 0, 168, 169, 170,
|
||
171, 0, 0, 172, 173, 359, 158, 159, 0, 522,
|
||
216, 63, 217, 0, 0, 218, 0, 0, 0, 219,
|
||
160, 0, 0, 0, 0, 0, 161, 220, 0, 221,
|
||
0, 222, 223, 162, 224, 0, 0, 163, 0, 0,
|
||
0, 0, 0, 65, 0, 0, 66, 18, 0, 0,
|
||
0, 0, 0, 0, 225, 0, 128, 0, 0, 0,
|
||
227, 0, 0, 168, 169, 170, 171, 0, 0, 172,
|
||
173, 1, 158, 159, 0, 0, 0, 63, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 160, 0, 0, 0,
|
||
0, 0, 161, 0, 0, 0, 0, 158, 159, 162,
|
||
0, 0, 63, 163, 0, 0, 0, 0, 0, 65,
|
||
0, 160, 66, 18, 0, 0, 0, 161, 0, 0,
|
||
225, 0, 0, 0, 162, 0, 0, 0, 163, 168,
|
||
169, 170, 171, 0, 65, 172, 173, 66, 18, 0,
|
||
0, 0, 0, 63, 0, 225, 0, 0, 0, 0,
|
||
0, 0, 160, 0, 168, 169, 170, 171, 161, 0,
|
||
172, 173, 0, 0, 0, 162, 0, 0, 0, 163,
|
||
0, 0, 0, 0, 0, 65, 0, 0, 66, 18,
|
||
0, 0, 164, 165, 0, 0, 166, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 168, 169, 170, 171, 0,
|
||
0, 172, 173
|
||
};
|
||
|
||
static const short yycheck[] = { 3,
|
||
4, 235, 499, 128, 283, 112, 167, 254, 147, 102,
|
||
5, 110, 1, 36, 0, 395, 39, 53, 15, 107,
|
||
51, 107, 8, 9, 10, 389, 86, 107, 32, 33,
|
||
53, 35, 53, 44, 57, 63, 57, 8, 42, 10,
|
||
26, 107, 97, 29, 30, 133, 410, 133, 79, 51,
|
||
61, 131, 138, 133, 140, 162, 67, 43, 29, 47,
|
||
64, 97, 488, 488, 68, 51, 47, 133, 123, 488,
|
||
125, 95, 74, 570, 62, 67, 107, 79, 63, 2,
|
||
72, 62, 5, 106, 76, 106, 100, 142, 99, 112,
|
||
87, 86, 589, 79, 86, 52, 476, 101, 102, 463,
|
||
526, 526, 133, 529, 529, 107, 95, 526, 96, 111,
|
||
529, 44, 116, 36, 94, 96, 39, 50, 92, 483,
|
||
100, 107, 559, 97, 128, 111, 99, 44, 51, 131,
|
||
53, 133, 54, 8, 57, 228, 222, 59, 55, 162,
|
||
577, 505, 281, 147, 61, 94, 148, 133, 97, 82,
|
||
67, 74, 85, 86, 29, 101, 79, 156, 157, 158,
|
||
159, 587, 587, 68, 99, 164, 165, 89, 587, 595,
|
||
595, 72, 598, 598, 600, 600, 595, 284, 182, 598,
|
||
100, 600, 99, 106, 107, 86, 242, 86, 111, 112,
|
||
97, 488, 44, 249, 295, 251, 101, 102, 299, 300,
|
||
99, 565, 449, 450, 526, 128, 86, 529, 131, 61,
|
||
133, 99, 491, 101, 218, 67, 44, 272, 94, 99,
|
||
224, 97, 50, 97, 228, 148, 128, 461, 95, 526,
|
||
232, 235, 529, 156, 157, 158, 159, 398, 242, 162,
|
||
93, 164, 165, 166, 97, 249, 93, 251, 101, 44,
|
||
44, 376, 499, 99, 82, 101, 50, 85, 86, 51,
|
||
55, 284, 355, 98, 94, 587, 61, 97, 254, 271,
|
||
504, 101, 67, 595, 98, 97, 598, 281, 600, 101,
|
||
75, 283, 74, 384, 98, 271, 387, 79, 82, 293,
|
||
587, 85, 86, 94, 91, 92, 94, 283, 595, 100,
|
||
94, 598, 100, 600, 99, 309, 310, 95, 94, 232,
|
||
128, 99, 235, 99, 100, 107, 315, 316, 317, 111,
|
||
97, 96, 98, 570, 101, 100, 44, 18, 19, 20,
|
||
21, 254, 50, 235, 459, 98, 128, 9, 94, 131,
|
||
242, 133, 589, 50, 100, 579, 60, 249, 271, 251,
|
||
64, 355, 254, 94, 26, 441, 148, 128, 30, 100,
|
||
283, 284, 364, 94, 82, 95, 57, 85, 86, 100,
|
||
162, 43, 376, 472, 166, 82, 94, 94, 85, 86,
|
||
95, 94, 99, 100, 94, 93, 485, 100, 99, 100,
|
||
100, 390, 315, 316, 317, 318, 319, 320, 321, 322,
|
||
323, 324, 325, 326, 327, 328, 329, 330, 331, 332,
|
||
333, 334, 384, 512, 500, 387, 65, 235, 67, 94,
|
||
386, 520, 388, 72, 242, 100, 53, 76, 91, 92,
|
||
93, 249, 488, 251, 97, 100, 254, 86, 101, 86,
|
||
232, 364, 101, 235, 91, 92, 93, 5, 6, 7,
|
||
97, 99, 100, 376, 101, 459, 95, 461, 97, 91,
|
||
92, 93, 254, 101, 235, 97, 101, 390, 101, 101,
|
||
526, 242, 395, 529, 376, 561, 475, 97, 249, 271,
|
||
251, 537, 11, 254, 488, 323, 324, 325, 326, 491,
|
||
12, 283, 128, 13, 550, 14, 86, 93, 502, 93,
|
||
504, 91, 92, 93, 93, 491, 93, 97, 564, 91,
|
||
92, 101, 8, 9, 10, 320, 321, 322, 45, 46,
|
||
3, 4, 526, 16, 17, 529, 91, 92, 44, 318,
|
||
319, 587, 93, 537, 50, 327, 459, 88, 461, 595,
|
||
45, 46, 598, 59, 600, 61, 550, 449, 450, 328,
|
||
329, 67, 475, 476, 99, 559, 99, 459, 376, 461,
|
||
564, 45, 46, 99, 487, 99, 82, 93, 491, 85,
|
||
86, 95, 364, 577, 99, 579, 97, 67, 96, 95,
|
||
96, 504, 97, 587, 376, 93, 488, 94, 67, 93,
|
||
99, 595, 94, 99, 598, 66, 600, 499, 99, 235,
|
||
128, 99, 504, 100, 99, 376, 242, 93, 100, 98,
|
||
98, 44, 93, 249, 88, 251, 98, 50, 254, 94,
|
||
98, 94, 44, 93, 526, 94, 93, 529, 50, 94,
|
||
93, 449, 450, 99, 67, 537, 559, 59, 99, 61,
|
||
93, 459, 97, 461, 98, 67, 95, 94, 550, 82,
|
||
93, 56, 85, 86, 577, 56, 579, 559, 99, 94,
|
||
82, 93, 564, 85, 86, 94, 94, 459, 570, 461,
|
||
488, 88, 99, 95, 96, 577, 99, 579, 449, 450,
|
||
99, 499, 94, 99, 128, 587, 504, 589, 459, 88,
|
||
461, 99, 94, 595, 56, 99, 598, 94, 600, 491,
|
||
0, 0, 327, 10, 45, 61, 116, 235, 526, 133,
|
||
131, 529, 504, 373, 242, 271, 44, 488, 79, 537,
|
||
557, 249, 254, 251, 557, 295, 254, 330, 499, 331,
|
||
442, 254, 550, 504, 332, 334, 442, 487, 333, -1,
|
||
376, 559, -1, 128, -1, 338, 564, -1, -1, -1,
|
||
-1, -1, 570, -1, -1, 526, -1, -1, 529, 577,
|
||
-1, 579, -1, -1, -1, -1, 537, 559, -1, 587,
|
||
-1, 589, -1, -1, -1, -1, -1, 595, -1, 550,
|
||
598, -1, 600, -1, -1, 577, -1, 579, 559, -1,
|
||
128, 235, -1, 564, 44, -1, -1, -1, 242, 570,
|
||
50, -1, -1, -1, -1, 249, 577, 251, 579, 59,
|
||
254, 61, -1, 449, 450, -1, 587, 67, 589, -1,
|
||
-1, -1, -1, 459, 595, 461, -1, 598, -1, 600,
|
||
0, -1, 82, -1, -1, 85, 86, -1, 8, 9,
|
||
10, -1, -1, -1, -1, -1, 96, -1, 376, -1,
|
||
235, -1, 488, -1, -1, -1, 26, 242, -1, 29,
|
||
30, -1, -1, 499, 249, 44, 251, -1, 504, 254,
|
||
-1, 50, -1, 43, -1, -1, -1, 44, -1, -1,
|
||
59, 51, 61, 50, -1, -1, -1, -1, 67, -1,
|
||
526, -1, 59, 529, 61, -1, -1, 235, -1, -1,
|
||
67, 537, -1, 82, 242, -1, 85, 86, -1, 79,
|
||
-1, 249, -1, 251, 550, 82, 254, 96, 85, 86,
|
||
-1, 449, 450, 559, -1, -1, -1, -1, 564, -1,
|
||
-1, 459, 376, 461, 570, -1, -1, 107, -1, -1,
|
||
-1, 577, -1, 579, -1, -1, -1, -1, -1, -1,
|
||
-1, 587, -1, 589, -1, -1, -1, -1, -1, 595,
|
||
488, -1, 598, 133, 600, -1, -1, -1, -1, -1,
|
||
-1, 499, -1, -1, -1, -1, 504, -1, 117, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, 376, -1, -1, -1, -1, -1, -1, 526, -1,
|
||
-1, 529, -1, -1, -1, 449, 450, -1, -1, 537,
|
||
-1, -1, -1, -1, -1, 459, -1, 461, -1, -1,
|
||
-1, -1, 550, -1, -1, -1, -1, 166, 167, -1,
|
||
-1, 559, -1, -1, -1, -1, 564, -1, 376, -1,
|
||
-1, -1, 570, -1, 488, -1, -1, -1, -1, 577,
|
||
-1, 579, -1, -1, -1, 499, -1, -1, -1, 587,
|
||
504, 589, -1, -1, 449, 450, -1, 595, -1, -1,
|
||
598, -1, 600, -1, 459, -1, 461, 216, -1, -1,
|
||
219, -1, 526, -1, -1, 529, 225, -1, -1, -1,
|
||
-1, -1, -1, 537, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, 488, -1, -1, 550, -1, -1, -1,
|
||
-1, 449, 450, -1, 499, 559, -1, -1, -1, 504,
|
||
564, 459, -1, 461, -1, -1, 570, -1, 156, 157,
|
||
158, 159, -1, 577, -1, 579, 164, 165, -1, -1,
|
||
-1, 526, -1, 587, 529, 589, -1, -1, -1, -1,
|
||
488, 595, 537, -1, 598, -1, 600, -1, -1, -1,
|
||
-1, 499, -1, -1, -1, 550, 504, -1, -1, 308,
|
||
-1, -1, 311, -1, 559, -1, -1, -1, -1, 564,
|
||
-1, -1, -1, -1, -1, 570, -1, -1, 526, -1,
|
||
-1, 529, 577, -1, 579, -1, 335, -1, -1, 537,
|
||
339, -1, 587, -1, 589, -1, 345, 346, -1, -1,
|
||
595, -1, 550, 598, 353, 600, 156, 157, 158, 159,
|
||
-1, 559, -1, -1, 164, 165, 564, -1, -1, -1,
|
||
369, 370, 570, -1, -1, -1, -1, -1, -1, 577,
|
||
-1, 579, -1, -1, 383, -1, -1, -1, -1, 587,
|
||
-1, 589, -1, -1, 393, -1, -1, 595, -1, 398,
|
||
598, -1, 600, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 315, 316, 317,
|
||
318, 319, 320, 321, 322, 323, 324, 325, 326, -1,
|
||
328, 329, 330, 331, 332, 333, 334, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 481, -1, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 495, -1, -1, -1,
|
||
-1, -1, 390, -1, -1, -1, -1, 395, 1, -1,
|
||
3, 4, -1, -1, -1, 315, 316, 317, 318, 319,
|
||
320, 321, 322, 323, 324, 325, 326, -1, 328, 329,
|
||
330, 331, 332, 333, 334, -1, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
||
549, -1, 45, 46, 553, -1, 555, 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, 475, 476, 82,
|
||
390, -1, 85, 86, -1, 395, 89, 90, -1, 487,
|
||
93, -1, -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, 95, 96, -1, -1, -1, 100, -1,
|
||
102, 103, 104, 105, -1, -1, 108, 109, 45, 46,
|
||
-1, -1, -1, 50, -1, 475, 476, -1, -1, -1,
|
||
-1, -1, 59, -1, -1, -1, -1, 487, 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, -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, -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, -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, 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, 44, 45, 46, -1, -1, -1, 50, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, 59, -1, -1, -1,
|
||
-1, -1, 65, -1, -1, -1, -1, 45, 46, 72,
|
||
-1, -1, 50, 76, -1, -1, -1, -1, -1, 82,
|
||
-1, 59, 85, 86, -1, -1, -1, 65, -1, -1,
|
||
93, -1, -1, -1, 72, -1, -1, -1, 76, 102,
|
||
103, 104, 105, -1, 82, 108, 109, 85, 86, -1,
|
||
-1, -1, -1, 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,
|
||
-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
|
||
};
|
||
#define YYPURE 1
|
||
|
||
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
|
||
#line 3 "/usr/lib/bison.simple"
|
||
/* This file comes from bison-1.28. */
|
||
|
||
/* 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., 59 Temple Place - Suite 330,
|
||
Boston, MA 02111-1307, 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. */
|
||
|
||
/* 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. */
|
||
|
||
#ifndef YYSTACK_USE_ALLOCA
|
||
#ifdef alloca
|
||
#define YYSTACK_USE_ALLOCA
|
||
#else /* alloca not defined */
|
||
#ifdef __GNUC__
|
||
#define YYSTACK_USE_ALLOCA
|
||
#define alloca __builtin_alloca
|
||
#else /* not GNU C. */
|
||
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
|
||
#define YYSTACK_USE_ALLOCA
|
||
#include <alloca.h>
|
||
#else /* not sparc */
|
||
/* We think this test detects Watcom and Microsoft C. */
|
||
/* This used to test MSDOS, but that is a bad idea
|
||
since that symbol is in the user namespace. */
|
||
#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
|
||
#if 0 /* No need for malloc.h, which pollutes the namespace;
|
||
instead, just don't use alloca. */
|
||
#include <malloc.h>
|
||
#endif
|
||
#else /* not MSDOS, or __TURBOC__ */
|
||
#if defined(_AIX)
|
||
/* I don't know what this was needed for, but it pollutes the namespace.
|
||
So I turned it off. rms, 2 May 1997. */
|
||
/* #include <malloc.h> */
|
||
#pragma alloca
|
||
#define YYSTACK_USE_ALLOCA
|
||
#else /* not MSDOS, or __TURBOC__, or _AIX */
|
||
#if 0
|
||
#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
|
||
and on HPUX 10. Eventually we can turn this on. */
|
||
#define YYSTACK_USE_ALLOCA
|
||
#define alloca __builtin_alloca
|
||
#endif /* __hpux */
|
||
#endif
|
||
#endif /* not _AIX */
|
||
#endif /* not MSDOS, or __TURBOC__ */
|
||
#endif /* not sparc */
|
||
#endif /* not GNU C */
|
||
#endif /* alloca not defined */
|
||
#endif /* YYSTACK_USE_ALLOCA not defined */
|
||
|
||
#ifdef YYSTACK_USE_ALLOCA
|
||
#define YYSTACK_ALLOC alloca
|
||
#else
|
||
#define YYSTACK_ALLOC malloc
|
||
#endif
|
||
|
||
/* 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 goto yyacceptlab
|
||
#define YYABORT goto yyabortlab
|
||
#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
|
||
|
||
/* Define __yy_memcpy. Note that the size argument
|
||
should be passed with type unsigned int, because that is what the non-GCC
|
||
definitions require. With GCC, __builtin_memcpy takes an arg
|
||
of type size_t, but it can handle unsigned int. */
|
||
|
||
#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;
|
||
unsigned 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, unsigned int count)
|
||
{
|
||
register char *t = to;
|
||
register char *f = from;
|
||
register int i = count;
|
||
|
||
while (i-- > 0)
|
||
*t++ = *f++;
|
||
}
|
||
|
||
#endif
|
||
#endif
|
||
|
||
#line 217 "/usr/lib/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 */
|
||
|
||
/* Prevent warning if -Wstrict-prototypes. */
|
||
#ifdef __GNUC__
|
||
#ifdef YYPARSE_PARAM
|
||
int yyparse (void *);
|
||
#else
|
||
int yyparse (void);
|
||
#endif
|
||
#endif
|
||
|
||
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;
|
||
int yyfree_stacks = 0;
|
||
|
||
#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");
|
||
if (yyfree_stacks)
|
||
{
|
||
free (yyss);
|
||
free (yyvs);
|
||
#ifdef YYLSP_NEEDED
|
||
free (yyls);
|
||
#endif
|
||
}
|
||
return 2;
|
||
}
|
||
yystacksize *= 2;
|
||
if (yystacksize > YYMAXDEPTH)
|
||
yystacksize = YYMAXDEPTH;
|
||
#ifndef YYSTACK_USE_ALLOCA
|
||
yyfree_stacks = 1;
|
||
#endif
|
||
yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
|
||
__yy_memcpy ((char *)yyss, (char *)yyss1,
|
||
size * (unsigned int) sizeof (*yyssp));
|
||
yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
|
||
__yy_memcpy ((char *)yyvs, (char *)yyvs1,
|
||
size * (unsigned int) sizeof (*yyvsp));
|
||
#ifdef YYLSP_NEEDED
|
||
yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
|
||
__yy_memcpy ((char *)yyls, (char *)yyls1,
|
||
size * (unsigned int) 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 203 "./parse-scan.y"
|
||
{
|
||
/* use preset global here. FIXME */
|
||
yyval.node = xstrdup ("int");
|
||
;
|
||
break;}
|
||
case 11:
|
||
#line 208 "./parse-scan.y"
|
||
{
|
||
/* use preset global here. FIXME */
|
||
yyval.node = xstrdup ("double");
|
||
;
|
||
break;}
|
||
case 12:
|
||
#line 213 "./parse-scan.y"
|
||
{
|
||
/* use preset global here. FIXME */
|
||
yyval.node = xstrdup ("boolean");
|
||
;
|
||
break;}
|
||
case 19:
|
||
#line 239 "./parse-scan.y"
|
||
{
|
||
yyval.node = concat ("[", yyvsp[-2].node, NULL);
|
||
;
|
||
break;}
|
||
case 20:
|
||
#line 243 "./parse-scan.y"
|
||
{
|
||
yyval.node = concat ("[", yyvsp[-2].node, NULL);
|
||
;
|
||
break;}
|
||
case 24:
|
||
#line 260 "./parse-scan.y"
|
||
{
|
||
yyval.node = concat (yyvsp[-2].node, ".", yyvsp[0].node, NULL);
|
||
;
|
||
break;}
|
||
case 38:
|
||
#line 292 "./parse-scan.y"
|
||
{ package_name = yyvsp[-1].node; ;
|
||
break;}
|
||
case 46:
|
||
#line 319 "./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 327 "./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 339 "./parse-scan.y"
|
||
{
|
||
report_class_declaration(yyvsp[-2].node);
|
||
modifier_value = 0;
|
||
;
|
||
break;}
|
||
case 50:
|
||
#line 345 "./parse-scan.y"
|
||
{ report_class_declaration(yyvsp[-2].node); ;
|
||
break;}
|
||
case 56:
|
||
#line 359 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 57:
|
||
#line 361 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 58:
|
||
#line 366 "./parse-scan.y"
|
||
{ pop_class_context (); ;
|
||
break;}
|
||
case 59:
|
||
#line 368 "./parse-scan.y"
|
||
{ pop_class_context (); ;
|
||
break;}
|
||
case 70:
|
||
#line 393 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 71:
|
||
#line 395 "./parse-scan.y"
|
||
{ modifier_value = 0; ;
|
||
break;}
|
||
case 76:
|
||
#line 411 "./parse-scan.y"
|
||
{ bracket_count = 0; USE_ABSORBER; ;
|
||
break;}
|
||
case 77:
|
||
#line 413 "./parse-scan.y"
|
||
{ ++bracket_count; ;
|
||
break;}
|
||
case 81:
|
||
#line 428 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 83:
|
||
#line 431 "./parse-scan.y"
|
||
{ modifier_value = 0; ;
|
||
break;}
|
||
case 84:
|
||
#line 433 "./parse-scan.y"
|
||
{
|
||
report_main_declaration (yyvsp[-1].declarator);
|
||
modifier_value = 0;
|
||
;
|
||
break;}
|
||
case 85:
|
||
#line 441 "./parse-scan.y"
|
||
{
|
||
struct method_declarator *d;
|
||
NEW_METHOD_DECLARATOR (d, yyvsp[-2].node, NULL);
|
||
yyval.declarator = d;
|
||
;
|
||
break;}
|
||
case 86:
|
||
#line 447 "./parse-scan.y"
|
||
{
|
||
struct method_declarator *d;
|
||
NEW_METHOD_DECLARATOR (d, yyvsp[-3].node, yyvsp[-1].node);
|
||
yyval.declarator = d;
|
||
;
|
||
break;}
|
||
case 89:
|
||
#line 458 "./parse-scan.y"
|
||
{
|
||
yyval.node = concat (yyvsp[-2].node, ",", yyvsp[0].node, NULL);
|
||
;
|
||
break;}
|
||
case 90:
|
||
#line 465 "./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 480 "./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 501 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 95:
|
||
#line 503 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 101:
|
||
#line 520 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 103:
|
||
#line 531 "./parse-scan.y"
|
||
{ modifier_value = 0; ;
|
||
break;}
|
||
case 105:
|
||
#line 536 "./parse-scan.y"
|
||
{ modifier_value = 0; ;
|
||
break;}
|
||
case 106:
|
||
#line 543 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 107:
|
||
#line 545 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 114:
|
||
#line 562 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 115:
|
||
#line 564 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 118:
|
||
#line 576 "./parse-scan.y"
|
||
{ report_class_declaration (yyvsp[0].node); modifier_value = 0; ;
|
||
break;}
|
||
case 120:
|
||
#line 579 "./parse-scan.y"
|
||
{ report_class_declaration (yyvsp[0].node); modifier_value = 0; ;
|
||
break;}
|
||
case 122:
|
||
#line 582 "./parse-scan.y"
|
||
{ report_class_declaration (yyvsp[-1].node); modifier_value = 0; ;
|
||
break;}
|
||
case 124:
|
||
#line 585 "./parse-scan.y"
|
||
{ report_class_declaration (yyvsp[-1].node); modifier_value = 0; ;
|
||
break;}
|
||
case 128:
|
||
#line 596 "./parse-scan.y"
|
||
{ pop_class_context (); ;
|
||
break;}
|
||
case 129:
|
||
#line 598 "./parse-scan.y"
|
||
{ pop_class_context (); ;
|
||
break;}
|
||
case 152:
|
||
#line 657 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 153:
|
||
#line 659 "./parse-scan.y"
|
||
{ modifier_value = 0; ;
|
||
break;}
|
||
case 177:
|
||
#line 699 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 230:
|
||
#line 846 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 247:
|
||
#line 886 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 248:
|
||
#line 888 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 250:
|
||
#line 894 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 259:
|
||
#line 916 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 277:
|
||
#line 958 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 278:
|
||
#line 960 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 283:
|
||
#line 969 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 286:
|
||
#line 976 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
case 341:
|
||
#line 1095 "./parse-scan.y"
|
||
{ USE_ABSORBER; ;
|
||
break;}
|
||
}
|
||
/* the action file gets copied in in place of this dollarsign */
|
||
#line 543 "/usr/lib/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;
|
||
|
||
yyacceptlab:
|
||
/* YYACCEPT comes here. */
|
||
if (yyfree_stacks)
|
||
{
|
||
free (yyss);
|
||
free (yyvs);
|
||
#ifdef YYLSP_NEEDED
|
||
free (yyls);
|
||
#endif
|
||
}
|
||
return 0;
|
||
|
||
yyabortlab:
|
||
/* YYABORT comes here. */
|
||
if (yyfree_stacks)
|
||
{
|
||
free (yyss);
|
||
free (yyvs);
|
||
#ifdef YYLSP_NEEDED
|
||
free (yyls);
|
||
#endif
|
||
}
|
||
return 1;
|
||
}
|
||
#line 1113 "./parse-scan.y"
|
||
|
||
|
||
/* Create a new parser context */
|
||
|
||
void
|
||
java_push_parser_context ()
|
||
{
|
||
struct parser_ctxt *new =
|
||
(struct parser_ctxt *) xcalloc (1, sizeof (struct parser_ctxt));
|
||
|
||
new->next = ctxp;
|
||
ctxp = new;
|
||
}
|
||
|
||
static void
|
||
push_class_context (name)
|
||
const char *name;
|
||
{
|
||
size_t name_length = strlen (name);
|
||
inner_qualifier = xrealloc (inner_qualifier,
|
||
inner_qualifier_length + name_length+2);
|
||
memcpy (inner_qualifier+inner_qualifier_length, name, name_length);
|
||
inner_qualifier_length += name_length;
|
||
inner_qualifier [inner_qualifier_length] = '$';
|
||
inner_qualifier [++inner_qualifier_length] = '\0';
|
||
}
|
||
|
||
static void
|
||
pop_class_context ()
|
||
{
|
||
while (--inner_qualifier_length > 0
|
||
&& inner_qualifier [inner_qualifier_length-1] != '$')
|
||
;
|
||
inner_qualifier = xrealloc (inner_qualifier, inner_qualifier_length+1);
|
||
if (inner_qualifier_length == -1)
|
||
inner_qualifier_length = 0;
|
||
inner_qualifier [inner_qualifier_length] = '\0';
|
||
}
|
||
|
||
/* Actions defined here */
|
||
#define INNER_QUALIFIER (inner_qualifier ? inner_qualifier : "")
|
||
|
||
static void
|
||
report_class_declaration (name)
|
||
const 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%s ", package_name, INNER_QUALIFIER, name);
|
||
else
|
||
fprintf (out, "%s%s ", INNER_QUALIFIER, name);
|
||
}
|
||
|
||
push_class_context (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, "%s", 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)
|
||
const char *msg ATTRIBUTE_UNUSED;
|
||
{
|
||
fprintf (stderr, "%s: %d: %s\n", input_filename, lineno, msg);
|
||
exit (1);
|
||
}
|