diff options
author | Larry Wall <larry@netlabs.com> | 1993-10-10 00:00:00 +0000 |
---|---|---|
committer | Larry Wall <larry@netlabs.com> | 1993-10-10 00:00:00 +0000 |
commit | 93a17b20b6d176db3f04f51a63b0a781e5ffd11c (patch) | |
tree | 764149b1d480d5236d4d62b3228bd57f53a71042 /perly.c | |
parent | 79072805bf63abe5b5978b5928ab00d360ea3e7f (diff) | |
download | perl-93a17b20b6d176db3f04f51a63b0a781e5ffd11c.tar.gz |
perl 5.0 alpha 3
[editor's note: the sparc executables have not been included,
and emacs backup files have been removed]
Diffstat (limited to 'perly.c')
-rw-r--r-- | perly.c | 3678 |
1 files changed, 2140 insertions, 1538 deletions
@@ -1,6 +1,8 @@ -extern char *malloc(), *realloc(); - -# line 39 "perly.y" +#ifndef lint +static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/91"; +#endif +#define YYBYACC 1 +#line 39 "perly.y" #include "EXTERN.h" #include "perl.h" @@ -8,1741 +10,2341 @@ extern char *malloc(), *realloc(); /*SUPPRESS 593*/ /*SUPPRESS 595*/ - -# line 50 "perly.y" -typedef union { +#line 50 "perly.y" +typedef union { I32 ival; char *pval; OP *opval; GV *gvval; } YYSTYPE; -# define WORD 257 -# define METHOD 258 -# define THING 259 -# define PMFUNC 260 -# define LABEL 261 -# define FORMAT 262 -# define SUB 263 -# define PACKAGE 264 -# define WHILE 265 -# define UNTIL 266 -# define IF 267 -# define UNLESS 268 -# define ELSE 269 -# define ELSIF 270 -# define CONTINUE 271 -# define FOR 272 -# define LOOPEX 273 -# define DOTDOT 274 -# define FUNC0 275 -# define FUNC1 276 -# define FUNC 277 -# define RELOP 278 -# define EQOP 279 -# define MULOP 280 -# define ADDOP 281 -# define DOLSHARP 282 -# define DO 283 -# define LOCAL 284 -# define DELETE 285 -# define HASHBRACK 286 -# define LSTOP 287 -# define OROR 288 -# define ANDAND 289 -# define BITOROP 290 -# define BITANDOP 291 -# define UNIOP 292 -# define SHIFTOP 293 -# define MATCHOP 294 -# define ARROW 295 -# define UMINUS 296 -# define REFGEN 297 -# define POWOP 298 -# define PREINC 299 -# define PREDEC 300 -# define POSTINC 301 -# define POSTDEC 302 -#define yyclearin yychar = -1 -#define yyerrok yyerrflag = 0 -extern int yychar; -extern int yyerrflag; -#ifndef YYMAXDEPTH -#define YYMAXDEPTH 150 -#endif -YYSTYPE yylval, yyval; -# define YYERRCODE 256 - -# line 569 "perly.y" - /* PROGRAM */ -int yyexca[] ={ --1, 1, - 0, -1, - -2, 0, --1, 3, - 0, 2, - -2, 39, --1, 21, - 295, 145, - -2, 25, --1, 40, - 41, 97, - 265, 97, - 266, 97, - 267, 97, - 268, 97, - 274, 97, - 278, 97, - 279, 97, - 280, 97, - 281, 97, - 44, 97, - 61, 97, - 63, 97, - 58, 97, - 288, 97, - 289, 97, - 290, 97, - 291, 97, - 293, 97, - 294, 97, - 295, 97, - 298, 97, - 301, 97, - 302, 97, - 59, 97, - 93, 97, - -2, 144, --1, 54, - 41, 133, - 265, 133, - 266, 133, - 267, 133, - 268, 133, - 274, 133, - 278, 133, - 279, 133, - 280, 133, - 281, 133, - 44, 133, - 61, 133, - 63, 133, - 58, 133, - 288, 133, - 289, 133, - 290, 133, - 291, 133, - 293, 133, - 294, 133, - 295, 133, - 298, 133, - 301, 133, - 302, 133, - 59, 133, - 93, 133, - -2, 143, --1, 76, - 59, 35, - -2, 0, --1, 112, - 301, 0, - 302, 0, - -2, 88, --1, 113, - 301, 0, - 302, 0, - -2, 89, --1, 192, - 278, 0, - -2, 71, --1, 193, - 279, 0, - -2, 72, --1, 194, - 274, 0, - -2, 75, --1, 310, - 41, 35, - -2, 0, - }; -# define YYNPROD 152 -# define YYLAST 2258 -int yyact[]={ - - 107, 162, 104, 105, 90, 102, 229, 103, 148, 90, - 21, 239, 67, 104, 105, 150, 228, 91, 25, 72, - 74, 240, 241, 80, 82, 78, 91, 92, 56, 31, - 26, 102, 56, 58, 61, 90, 37, 132, 57, 30, - 102, 29, 69, 68, 90, 244, 115, 117, 119, 129, - 98, 133, 91, 92, 324, 16, 155, 77, 91, 92, - 59, 14, 11, 12, 13, 93, 102, 152, 87, 153, - 90, 93, 102, 157, 317, 159, 90, 315, 198, 164, - 156, 166, 158, 168, 298, 161, 297, 38, 165, 296, - 167, 262, 169, 170, 171, 172, 202, 210, 26, 200, - 268, 215, 123, 220, 31, 81, 87, 56, 58, 61, - 199, 37, 121, 57, 30, 26, 29, 87, 258, 26, - 79, 203, 32, 73, 3, 310, 98, 99, 91, 92, - 211, 212, 213, 214, 124, 59, 218, 98, 99, 91, - 92, 93, 102, 71, 122, 223, 90, 97, 96, 95, - 94, 237, 93, 102, 121, 316, 154, 90, 87, 70, - 87, 87, 38, 87, 66, 87, 295, 31, 87, 235, - 56, 58, 61, 318, 37, 299, 57, 30, 293, 29, - 243, 14, 11, 12, 13, 327, 122, 325, 26, 98, - 99, 91, 92, 87, 26, 204, 87, 32, 59, 320, - 96, 95, 94, 26, 93, 102, 26, 255, 256, 90, - 292, 266, 259, 174, 265, 232, 87, 234, 314, 304, - 98, 99, 91, 92, 267, 38, 26, 323, 271, 273, - 87, 264, 281, 94, 282, 93, 102, 284, 278, 286, - 90, 287, 263, 289, 206, 197, 156, 56, 202, 139, - 207, 200, 24, 54, 65, 46, 53, 26, 231, 221, - 32, 18, 19, 22, 23, 209, 56, 294, 20, 49, - 126, 51, 52, 63, 288, 280, 254, 300, 60, 48, - 36, 45, 39, 62, 308, 101, 219, 160, 50, 85, - 86, 83, 84, 33, 285, 34, 35, 312, 311, 274, - 242, 313, 87, 87, 238, 233, 31, 87, 87, 56, - 58, 61, 322, 37, 272, 57, 30, 149, 29, 25, - 85, 86, 83, 84, 326, 201, 328, 24, 54, 65, - 46, 53, 56, 137, 136, 135, 76, 59, 329, 306, - 307, 127, 309, 8, 49, 7, 51, 52, 63, 163, - 2, 9, 55, 60, 48, 36, 45, 39, 62, 17, - 47, 41, 44, 50, 38, 42, 321, 43, 33, 31, - 34, 35, 56, 58, 61, 15, 37, 270, 57, 30, - 10, 29, 5, 208, 205, 88, 6, 4, 147, 1, - 0, 54, 65, 46, 53, 0, 26, 0, 0, 32, - 59, 0, 0, 0, 0, 0, 0, 49, 0, 51, - 52, 63, 0, 0, 0, 28, 60, 48, 36, 45, - 39, 62, 0, 0, 0, 0, 50, 38, 0, 150, - 0, 33, 31, 34, 35, 56, 58, 61, 0, 37, - 0, 57, 30, 0, 29, 106, 108, 109, 110, 111, - 112, 113, 98, 99, 91, 92, 0, 0, 261, 26, - 0, 0, 32, 59, 95, 94, 0, 93, 102, 0, - 0, 0, 90, 0, 0, 0, 31, 0, 0, 56, - 58, 61, 0, 37, 0, 57, 30, 236, 29, 0, - 38, 0, 0, 0, 0, 0, 100, 0, 0, 0, - 98, 99, 91, 92, 0, 0, 0, 59, 0, 0, - 97, 96, 95, 94, 0, 93, 102, 0, 0, 0, - 90, 275, 26, 0, 276, 32, 0, 0, 0, 0, - 54, 65, 46, 53, 38, 225, 260, 0, 227, 0, - 230, 89, 0, 101, 269, 0, 49, 0, 51, 52, - 63, 0, 0, 0, 0, 60, 48, 36, 45, 39, - 62, 283, 0, 0, 0, 50, 26, 0, 0, 32, - 33, 31, 34, 35, 56, 58, 61, 0, 37, 257, - 57, 30, 0, 29, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 54, 65, 46, 53, 301, 0, 302, - 0, 0, 59, 0, 0, 0, 0, 0, 0, 49, - 0, 51, 52, 63, 0, 277, 0, 279, 60, 48, - 36, 45, 39, 62, 319, 0, 0, 0, 50, 38, - 0, 0, 0, 33, 0, 34, 35, 0, 0, 0, - 0, 0, 0, 291, 89, 0, 101, 0, 0, 0, - 0, 64, 0, 0, 0, 0, 54, 65, 46, 53, - 0, 26, 0, 0, 32, 0, 0, 0, 0, 305, - 0, 0, 49, 0, 51, 52, 63, 0, 0, 0, - 0, 60, 48, 36, 45, 39, 62, 89, 0, 101, - 0, 50, 0, 0, 0, 0, 33, 0, 34, 35, - 54, 65, 46, 53, 0, 0, 0, 0, 138, 141, - 142, 143, 144, 145, 146, 0, 49, 151, 51, 52, - 63, 0, 0, 0, 0, 60, 48, 36, 45, 39, - 62, 0, 0, 0, 0, 50, 0, 0, 0, 0, - 33, 31, 34, 35, 56, 58, 61, 0, 37, 222, - 57, 30, 0, 29, 100, 0, 0, 0, 98, 99, - 91, 92, 0, 0, 0, 0, 0, 0, 97, 96, - 95, 94, 59, 93, 102, 0, 0, 0, 90, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 54, 65, 46, 53, 38, - 0, 226, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 49, 0, 51, 52, 63, 0, 0, 0, 0, - 60, 48, 36, 45, 39, 62, 0, 0, 0, 0, - 50, 26, 0, 0, 32, 33, 31, 34, 35, 56, - 58, 61, 0, 37, 217, 57, 30, 0, 29, 0, - 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, - 0, 98, 99, 91, 92, 0, 0, 59, 0, 0, - 0, 97, 96, 95, 94, 0, 93, 102, 0, 0, - 31, 90, 0, 56, 58, 61, 0, 37, 0, 57, - 30, 0, 29, 0, 38, 0, 0, 0, 0, 0, - 100, 0, 0, 0, 98, 99, 91, 92, 190, 0, - 0, 59, 0, 0, 97, 96, 95, 94, 0, 93, - 102, 0, 0, 0, 90, 0, 26, 0, 0, 32, - 31, 0, 0, 56, 58, 61, 0, 37, 38, 57, - 30, 0, 29, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 188, 0, - 0, 59, 0, 0, 0, 54, 65, 46, 53, 0, - 26, 0, 0, 32, 0, 0, 0, 0, 0, 0, - 0, 49, 0, 51, 52, 63, 0, 0, 38, 0, - 60, 48, 36, 45, 39, 62, 0, 0, 0, 0, - 50, 0, 0, 0, 0, 33, 31, 34, 35, 56, - 58, 61, 0, 37, 0, 57, 30, 0, 29, 0, - 26, 0, 0, 32, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 186, 0, 0, 59, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 54, 65, 46, 53, 38, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 49, 0, 51, 52, - 63, 0, 0, 0, 0, 60, 48, 36, 45, 39, - 62, 0, 0, 0, 0, 50, 26, 0, 0, 32, - 33, 0, 34, 35, 54, 65, 46, 53, 0, 31, - 0, 0, 56, 58, 61, 0, 37, 0, 57, 30, - 49, 29, 51, 52, 63, 0, 0, 0, 0, 60, - 48, 36, 45, 39, 62, 0, 0, 184, 0, 50, - 59, 0, 0, 0, 33, 0, 34, 35, 0, 0, - 0, 0, 0, 0, 54, 65, 46, 53, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, - 49, 0, 51, 52, 63, 0, 0, 0, 0, 60, - 48, 36, 45, 39, 62, 0, 0, 0, 0, 50, - 0, 0, 0, 0, 33, 0, 34, 35, 0, 26, - 0, 0, 32, 0, 0, 0, 31, 0, 0, 56, - 58, 61, 0, 37, 0, 57, 30, 0, 29, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 54, 65, 46, 53, 182, 0, 0, 59, 0, 0, - 0, 0, 0, 0, 0, 0, 49, 0, 51, 52, - 63, 0, 0, 0, 40, 60, 48, 36, 45, 39, - 62, 0, 0, 0, 38, 50, 0, 0, 0, 0, - 33, 0, 34, 35, 31, 75, 0, 56, 58, 61, - 0, 37, 0, 57, 30, 0, 29, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 26, 0, 0, 32, - 125, 0, 180, 131, 0, 59, 0, 0, 0, 0, - 0, 140, 140, 140, 140, 140, 140, 0, 0, 31, - 140, 0, 56, 58, 61, 0, 37, 0, 57, 30, - 0, 29, 38, 54, 65, 46, 53, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 178, 0, 49, - 59, 51, 52, 63, 0, 0, 0, 0, 60, 48, - 36, 45, 39, 62, 26, 0, 0, 32, 50, 0, - 0, 0, 0, 33, 0, 34, 35, 38, 0, 0, - 0, 216, 0, 0, 0, 31, 0, 0, 56, 58, - 61, 0, 37, 0, 57, 30, 0, 29, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, - 0, 0, 32, 176, 0, 0, 59, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 54, 65, 46, 53, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 38, 0, 0, 49, 0, 51, 52, - 63, 0, 0, 0, 0, 60, 48, 36, 45, 39, - 62, 0, 0, 0, 0, 50, 253, 0, 0, 89, - 33, 101, 34, 35, 0, 26, 0, 0, 32, 0, - 0, 0, 0, 0, 31, 0, 0, 56, 58, 61, - 0, 37, 0, 57, 30, 0, 29, 0, 54, 65, - 46, 53, 0, 0, 0, 0, 0, 0, 0, 0, - 120, 0, 0, 0, 49, 59, 51, 52, 63, 0, - 0, 0, 0, 60, 48, 36, 45, 39, 62, 0, - 0, 0, 0, 50, 0, 0, 0, 0, 33, 0, - 34, 35, 38, 54, 65, 46, 53, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, - 0, 51, 52, 63, 0, 0, 0, 0, 60, 48, - 36, 45, 39, 62, 26, 0, 0, 32, 50, 0, - 0, 0, 0, 33, 0, 34, 35, 31, 0, 0, - 56, 58, 61, 0, 37, 0, 57, 30, 0, 29, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 54, - 65, 46, 53, 0, 0, 0, 0, 0, 59, 0, - 0, 0, 0, 0, 0, 49, 0, 51, 52, 63, - 0, 0, 0, 0, 60, 48, 36, 45, 39, 62, - 0, 0, 0, 0, 50, 38, 0, 118, 0, 33, - 0, 34, 35, 0, 31, 0, 0, 56, 58, 61, - 0, 37, 116, 57, 30, 0, 29, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 26, 0, 0, - 32, 0, 100, 0, 0, 59, 98, 99, 91, 92, - 0, 0, 0, 0, 0, 0, 97, 96, 95, 94, - 0, 93, 102, 0, 0, 0, 90, 0, 54, 65, - 46, 53, 38, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 49, 0, 51, 52, 63, 0, - 0, 0, 0, 60, 48, 36, 45, 39, 62, 0, - 0, 0, 0, 50, 26, 0, 0, 32, 33, 0, - 34, 35, 31, 0, 0, 56, 58, 61, 0, 37, - 0, 57, 30, 0, 29, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, - 56, 58, 61, 0, 37, 0, 57, 30, 0, 29, - 38, 54, 65, 46, 53, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 49, 59, 51, - 52, 63, 0, 0, 0, 0, 60, 48, 36, 45, - 39, 62, 26, 0, 0, 32, 50, 0, 0, 0, - 0, 33, 0, 34, 35, 38, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 54, 65, - 46, 53, 0, 0, 0, 0, 0, 26, 0, 0, - 32, 0, 0, 0, 49, 0, 51, 52, 63, 0, - 0, 0, 0, 60, 48, 36, 45, 39, 62, 0, - 0, 0, 0, 50, 0, 0, 0, 0, 33, 0, - 34, 35, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 54, 65, 46, 53, - 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 49, 0, 51, 52, 63, 0, 0, 0, - 0, 60, 48, 36, 45, 39, 62, 0, 0, 0, - 0, 50, 0, 0, 0, 0, 33, 114, 34, 35, - 0, 130, 65, 46, 53, 0, 0, 0, 0, 128, - 0, 134, 0, 0, 0, 0, 0, 49, 0, 51, - 52, 63, 0, 0, 0, 0, 60, 48, 36, 45, - 39, 62, 0, 0, 0, 0, 50, 0, 0, 0, - 0, 33, 0, 34, 35, 0, 0, 0, 173, 0, - 175, 177, 179, 181, 183, 185, 187, 189, 191, 192, - 193, 194, 195, 196, 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, 224, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 245, 0, 246, - 0, 247, 0, 248, 0, 249, 0, 250, 0, 251, - 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 173, 0, 0, 0, 173, 0, 0, 173, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 290, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 303 }; -int yypact[]={ - - -1000, -1000, -1000, -200, -1000, -1000, -1000, -1000, -1000, -4, - -1000, -93, -214, -215, -1000, -1000, -1000, 100, 103, 83, - 296, -246, 80, 65, -1000, 24, -1000, 626, -288, 1719, - 1719, 1719, 1719, 1719, 1719, 1719, 1719, 1621, 1554, 1451, - 21, -1000, -1000, 11, -1000, 230, -1000, 301, 1764, -220, - 1719, 295, 294, 293, -1000, -1000, -8, -8, -8, -8, - -8, -8, 1719, 277, -280, -8, -25, -1000, -25, 97, - -1000, 1719, -25, 1719, -25, 247, 71, -1000, -25, 1719, - -25, 1719, -25, 1719, 1719, 1719, 1719, 1719, -1000, 1719, - 1352, 1286, 1241, 1173, 1076, 973, 897, 847, 1719, 1719, - 1719, 1719, 1719, -13, -1000, -1000, -299, -1000, -299, -299, - -299, -299, -1000, -1000, -222, 207, 30, 151, -1000, 206, - -28, 1719, 1719, 1719, 1719, -22, 211, 803, -222, -1000, - 246, 63, -1000, -1000, -222, 218, 708, 1719, -1000, -1000, - -1000, -1000, -1000, -1000, -1000, -1000, 134, -1000, 124, 1719, - -271, 1719, -1000, -1000, -1000, 217, 124, -246, 264, -246, - 1719, 55, 92, -1000, -1000, 263, -248, 259, -248, 124, - 124, 124, 124, 626, -80, 626, 1719, -294, 1719, -289, - 1719, -263, 1719, -254, 1719, -152, 1719, -58, 1719, 174, - 1719, -89, -222, -228, -141, 1408, -294, 236, 1719, 1719, - 538, 27, -1000, 1719, 443, -1000, -1000, 399, -1000, -34, - -1000, 149, 172, 121, 152, 1719, -23, -1000, 207, 336, - 273, -1000, -1000, 258, 480, -1000, 134, 197, 1719, 235, - -1000, -25, -1000, -25, -1000, 207, -25, 1719, -25, -1000, - -25, 234, -25, -1000, -1000, 626, 626, 626, 626, 626, - 626, 626, 626, 1719, 1719, 117, 119, -1000, 1719, 73, - -1000, -36, -1000, -1000, -39, -1000, -41, 116, 1719, -1000, - -1000, 207, -1000, 207, -1000, -1000, 1719, 178, -1000, -1000, - 1719, -246, -246, -25, -246, 66, -248, -1000, 1719, -248, - 222, 177, -1000, -48, 62, -1000, -1000, -1000, -1000, -51, - 114, -1000, -1000, 583, -1000, 158, -1000, -1000, -246, -1000, - 71, -1000, 186, -1000, -1000, -1000, -1000, -1000, -71, -1000, - -1000, -1000, 146, -25, 144, -25, -248, -1000, -1000, -1000 }; -int yypgo[]={ - - 0, 389, 387, 386, 385, 325, 384, 383, 0, 124, - 382, 380, 375, 1, 11, 8, 1980, 415, 1254, 367, - 365, 362, 361, 360, 349, 388, 651, 56, 352, 351, - 57, 350, 345, 343 }; -int yyr1[]={ - - 0, 31, 1, 8, 4, 9, 9, 9, 10, 10, - 10, 10, 24, 24, 24, 24, 24, 24, 14, 14, - 14, 12, 12, 12, 12, 30, 30, 11, 11, 11, - 11, 11, 11, 11, 11, 13, 13, 27, 27, 29, - 29, 2, 2, 2, 3, 3, 32, 33, 15, 15, - 28, 28, 28, 28, 28, 28, 28, 28, 16, 16, - 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, - 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, - 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, - 17, 17, 17, 17, 17, 25, 25, 23, 18, 19, - 20, 21, 22, 26, 26, 26, 5, 5, 6, 6, - 7, 7 }; -int yyr2[]={ - - 0, 1, 5, 9, 1, 1, 5, 5, 5, 2, - 5, 7, 3, 3, 7, 7, 7, 7, 1, 5, - 13, 13, 13, 9, 9, 1, 5, 15, 15, 11, - 11, 17, 15, 21, 7, 1, 2, 1, 2, 1, - 2, 3, 3, 3, 7, 5, 7, 7, 7, 2, - 7, 11, 9, 13, 13, 7, 5, 9, 7, 9, - 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, - 7, 7, 7, 7, 7, 7, 7, 7, 11, 7, - 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5, 7, 5, 7, 5, 7, 7, 3, 3, 9, - 11, 3, 3, 3, 11, 13, 13, 11, 9, 11, - 13, 17, 3, 3, 7, 9, 5, 5, 9, 11, - 9, 11, 3, 5, 3, 5, 5, 3, 7, 7, - 9, 9, 13, 2, 2, 1, 3, 5, 5, 5, - 5, 5, 5, 3, 3, 3, 5, 3, 5, 3, - 7, 5 }; -int yychk[]={ - - -1000, -1, -31, -9, -2, -10, -3, -32, -33, -29, - -11, 262, 263, 264, 261, -12, 59, -24, 265, 266, - 272, -8, 267, 268, 256, -15, 123, -16, -17, 45, - 43, 33, 126, 297, 299, 300, 284, 40, 91, 286, - -18, -22, -20, -19, -21, 285, 259, -23, 283, 273, - 292, 275, 276, 260, 257, -28, 36, 42, 37, 64, - 282, 38, 287, 277, -26, 258, 257, -8, 257, 257, - 59, 40, -8, 40, -8, -18, 40, -30, 271, 40, - -8, 40, -8, 267, 268, 265, 266, 44, -4, 61, - 298, 280, 281, 293, 291, 290, 289, 288, 278, 279, - 274, 63, 294, 295, 301, 302, -17, -8, -17, -17, - -17, -17, -17, -17, -16, -15, 41, -15, 93, -15, - 59, 91, 123, 91, 123, -18, 40, 40, -16, -8, - 257, -18, 257, -8, -16, 40, 40, 40, -26, 257, - -18, -26, -26, -26, -26, -26, -26, -25, -15, 40, - 295, -26, -8, -8, 59, -27, -15, -8, -15, -8, - 40, -15, -13, -24, -8, -15, -8, -15, -8, -15, - -15, -15, -15, -16, -9, -16, 61, -16, 61, -16, - 61, -16, 61, -16, 61, -16, 61, -16, 61, -16, - 61, -16, -16, -16, -16, -16, -16, 258, 91, 123, - 44, -5, 41, 91, 44, -6, 93, 44, -7, 59, - 125, -15, -15, -15, -15, 123, -18, 41, -15, 40, - 40, 41, 41, -15, -16, -25, -26, -25, 287, 277, - -25, 41, -30, 41, -30, -15, -5, 59, 41, -14, - 269, 270, 41, -14, 125, -16, -16, -16, -16, -16, - -16, -16, -16, 58, 40, -15, -15, 41, 91, -15, - 93, 59, 125, 93, 59, 93, 59, -15, 123, -5, - 41, -15, 41, -15, 41, 41, 44, -25, 41, -25, - 40, -8, -8, -5, -8, -27, -8, -8, 40, -8, - -16, -25, 93, 59, -15, 93, 125, 125, 125, 59, - -15, -5, -5, -16, 41, -25, -30, -30, -8, -30, - 59, -14, -15, -14, 41, 125, 93, 125, 59, 41, - 41, -30, -13, 41, 125, 41, -8, 41, -8, -14 }; -int yydef[]={ - - 1, -2, 5, -2, 6, 7, 41, 42, 43, 0, - 9, 0, 0, 0, 40, 8, 10, 0, 0, 0, - 0, -2, 0, 0, 12, 13, 4, 49, 80, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - -2, 98, 101, 102, 103, 0, 112, 113, 0, 122, - 124, 127, 0, 0, -2, 134, 0, 0, 0, 0, - 0, 0, 135, 0, 0, 0, 0, 45, 0, 0, - 11, 37, 0, 0, 0, 0, -2, 34, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 86, 87, 81, 145, 82, 83, - 84, 85, -2, -2, 90, 0, 92, 0, 94, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 116, 117, - 133, 97, 123, 125, 126, 0, 0, 0, 138, 143, - 144, 142, 140, 139, 141, 137, 135, 56, 136, 135, - 0, 135, 44, 46, 47, 0, 38, 25, 0, 25, - 0, 13, 0, 36, 26, 0, 18, 0, 18, 14, - 15, 16, 17, 48, 39, 58, 0, 67, 0, 68, - 0, 69, 0, 70, 0, 73, 0, 74, 0, 76, - 0, 77, -2, -2, -2, 0, 79, 0, 0, 0, - 0, 91, 147, 0, 0, 93, 149, 0, 95, 0, - 96, 0, 0, 0, 0, 0, 0, 114, 0, 0, - 0, 128, 129, 0, 0, 50, 135, 0, 135, 0, - 55, 0, 29, 0, 30, 0, 0, 37, 0, 23, - 0, 0, 0, 24, 3, 59, 60, 61, 62, 63, - 64, 65, 66, 0, 135, 0, 0, 146, 0, 0, - 148, 0, 151, 99, 0, 108, 0, 0, 0, 115, - 118, 0, 120, 0, 130, 131, 0, 0, 57, 52, - 135, 25, 25, 0, 25, 0, 18, 19, 0, 18, - 78, 0, 100, 0, 0, 107, 150, 104, 109, 0, - 0, 119, 121, 0, 51, 0, 27, 28, 25, 32, - -2, 21, 0, 22, 54, 105, 106, 110, 0, 132, - 53, 31, 0, 0, 0, 0, 18, 111, 33, 20 }; -typedef struct { char *t_name; int t_val; } yytoktype; +#line 21 "y.tab.c" +#define WORD 257 +#define METHOD 258 +#define THING 259 +#define PMFUNC 260 +#define PRIVATEREF 261 +#define LABEL 262 +#define FORMAT 263 +#define SUB 264 +#define PACKAGE 265 +#define WHILE 266 +#define UNTIL 267 +#define IF 268 +#define UNLESS 269 +#define ELSE 270 +#define ELSIF 271 +#define CONTINUE 272 +#define FOR 273 +#define LOOPEX 274 +#define DOTDOT 275 +#define FUNC0 276 +#define FUNC1 277 +#define FUNC 278 +#define RELOP 279 +#define EQOP 280 +#define MULOP 281 +#define ADDOP 282 +#define DOLSHARP 283 +#define DO 284 +#define LOCAL 285 +#define DELETE 286 +#define HASHBRACK 287 +#define NOAMP 288 +#define LSTOP 289 +#define OROR 290 +#define ANDAND 291 +#define BITOROP 292 +#define BITANDOP 293 +#define UNIOP 294 +#define SHIFTOP 295 +#define MATCHOP 296 +#define ARROW 297 +#define UMINUS 298 +#define REFGEN 299 +#define POWOP 300 +#define PREINC 301 +#define PREDEC 302 +#define POSTINC 303 +#define POSTDEC 304 +#define YYERRCODE 256 +short yylhs[] = { -1, + 30, 0, 7, 3, 8, 8, 8, 9, 9, 9, + 9, 23, 23, 23, 23, 23, 23, 13, 13, 13, + 11, 11, 11, 11, 29, 29, 10, 10, 10, 10, + 10, 10, 10, 10, 12, 12, 26, 26, 28, 28, + 1, 1, 1, 2, 2, 31, 31, 32, 32, 14, + 14, 27, 27, 27, 27, 27, 27, 27, 27, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 24, 24, 22, + 17, 18, 19, 20, 21, 25, 25, 25, 25, 4, + 4, 5, 5, 6, 6, +}; +short yylen[] = { 2, + 0, 2, 4, 0, 0, 2, 2, 2, 1, 2, + 3, 1, 1, 3, 3, 3, 3, 0, 2, 6, + 6, 6, 4, 4, 0, 2, 7, 7, 5, 5, + 8, 7, 10, 3, 0, 1, 0, 1, 0, 1, + 1, 1, 1, 3, 2, 3, 3, 3, 2, 3, + 1, 3, 5, 4, 6, 6, 3, 2, 4, 3, + 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, + 3, 1, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 3, 2, 3, 2, 3, 3, 1, 1, + 4, 5, 1, 1, 1, 5, 6, 6, 5, 4, + 5, 6, 8, 1, 1, 3, 4, 3, 2, 2, + 4, 5, 4, 5, 1, 2, 1, 2, 2, 1, + 3, 3, 4, 4, 6, 1, 1, 0, 1, 2, + 2, 2, 2, 2, 2, 1, 1, 1, 1, 2, + 1, 2, 1, 3, 2, +}; +short yydefred[] = { 1, + 0, 5, 0, 40, 0, 0, 0, 6, 41, 7, + 9, 0, 42, 43, 4, 0, 45, 0, 0, 49, + 12, 0, 0, 114, 0, 149, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, + 0, 0, 0, 0, 0, 103, 105, 100, 0, 0, + 0, 137, 5, 44, 47, 46, 48, 146, 148, 147, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 126, 0, 0, 0, 144, 0, 120, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 58, 0, + 128, 0, 0, 0, 0, 90, 91, 0, 0, 0, + 0, 96, 0, 140, 141, 142, 143, 145, 0, 34, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 88, 89, 0, 0, 0, 0, 0, 11, 0, 0, + 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 36, 0, 131, 132, 0, 0, 0, + 0, 0, 0, 0, 98, 0, 0, 97, 118, 52, + 0, 151, 0, 0, 0, 153, 95, 26, 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, 116, 0, 0, 0, 3, 134, 0, 0, + 29, 0, 30, 0, 0, 0, 23, 0, 24, 0, + 0, 0, 133, 59, 0, 121, 0, 123, 0, 0, + 0, 0, 155, 0, 150, 0, 152, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 101, 0, 110, 117, 0, 54, 0, 0, 0, 0, + 19, 0, 0, 0, 0, 0, 53, 122, 124, 0, + 0, 154, 109, 0, 0, 0, 0, 102, 106, 111, + 0, 135, 27, 28, 21, 0, 22, 0, 32, 0, + 0, 112, 108, 107, 56, 55, 0, 0, 31, 0, + 0, 0, 113, 20, 33, +}; +short yydgoto[] = { 1, + 8, 9, 73, 194, 197, 188, 79, 3, 10, 11, + 60, 172, 247, 108, 62, 63, 64, 65, 66, 67, + 68, 69, 174, 109, 71, 164, 72, 12, 130, 2, + 13, 14, +}; +short yysindex[] = { 0, + 0, 0, 20, 0, -122, -241, -57, 0, 0, 0, + 0, 606, 0, 0, 0, -84, 0, -32, 39, 0, + 0, 0, -33, 0, 19, 0, -28, -23, -21, -19, + 169, -143, 77, 83, 107, -33, 2774, 2835, 172, 884, + -108, 2835, 2835, 2835, 2835, 2835, 2835, 2835, 945, 0, + 2835, 2835, 992, -33, -33, -33, -33, -33, -106, 0, + -14, 1210, -59, -60, -58, 0, 0, 0, 143, 159, + -76, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2835, 2835, 2835, -84, 2835, -84, 2835, -84, 2835, -84, + 1056, 194, 0, 201, 1262, 2835, 0, 209, 0, -1, + -30, -1, 223, 147, 139, 28, 2835, 231, 0, 1323, + 0, -1, -237, -237, -237, 0, 0, 182, 115, -237, + -237, 0, -18, 0, 0, 0, 0, 0, -84, 0, + 2835, 2835, 2835, 2835, 2835, 2835, 2835, 2835, 1370, 1434, + 2835, 2835, 1640, 1701, 1748, 1812, 2018, 2835, 2079, -87, + 0, 0, 2835, 2835, 2835, 2835, 2126, 0, -92, -119, + 0, 4249, 231, 245, -106, 141, -106, 217, -44, 246, + -44, 233, -36, 0, 2835, 0, 0, 257, 255, 1323, + 2190, 2396, 181, 2835, 0, 2457, 184, 0, 0, 0, + 2835, 0, 2504, 215, 2568, 0, 0, 0, 231, 231, + 231, 231, 1210, -89, -1, -174, 2835, -40, 2835, -236, + 1210, 409, 2835, 345, 2835, 376, 2835, -238, 2835, 382, + 2835, -247, 16, 2835, 16, 2835, 270, 2835, 68, -16, + 75, -15, 0, 115, 271, 2835, 0, 0, 2835, -84, + 0, -84, 0, -84, -84, 277, 0, -84, 0, 2835, + -84, 115, 0, 0, 278, 0, 115, 0, 115, 2835, + 96, 193, 0, -4, 0, 2835, 0, 1210, 1210, 2835, + 1210, 1210, 1210, 1210, 1210, 1210, 116, 2835, 3, 196, + 0, 199, 0, 0, 2835, 0, 4397, -106, -106, -44, + 0, 2835, -44, 266, -106, -84, 0, 0, 0, 136, + 203, 0, 0, 4, 1102, 218, 303, 0, 0, 0, + 304, 0, 0, 0, 0, 264, 0, 1056, 0, -106, + 228, 0, 0, 0, 0, 0, -84, 307, 0, 313, + -44, -84, 0, 0, 0, +}; +short yyrindex[] = { 0, + 0, 0, 229, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 496, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 2708, 2864, 0, 0, 0, 0, 0, 0, 0, + 0, 2904, 2978, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 73, 0, + 11, 363, 4373, 557, 3023, 0, 0, 0, 3161, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2904, 0, 322, 0, 0, 0, 0, 0, 0, 0, + 305, 0, 0, 0, 0, 324, 0, 3236, 0, 2284, + 3280, 3735, 0, 0, 0, 0, 2904, 3408, 0, 3449, + 0, 3768, 4128, 4182, 4218, 0, 0, 3319, 0, 4284, + 4320, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 678, + 0, 0, 15, 0, 125, 0, 125, 0, 177, 0, + 177, 0, 309, 0, 0, 0, 0, 0, 0, 324, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 3362, 0, 0, 0, 0, 79, 98, + 128, 135, 860, 958, 3834, 3867, 0, 1906, 0, 1150, + 1575, 0, 0, 1021, 0, 4047, 0, 4005, 0, 3915, + 0, 1528, 3577, 0, 3702, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2904, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 310, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 1953, 2331, 0, + 2667, 3620, 3907, 3931, 4037, 4063, 0, 324, 0, 0, + 0, 0, 0, 0, 324, 0, 0, 125, 125, 177, + 0, 0, 177, 0, 125, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 325, 0, 125, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 177, 0, 0, 0, 0, +}; +short yygindex[] = { 0, + 0, 0, 0, -158, 0, 0, -5, 298, 0, 0, + 0, 55, -157, -3, 4489, 520, 488, 0, 0, 0, + 0, 0, 364, 216, 527, 127, 0, 0, -147, 0, + 0, 0, +}; +#define YYTABLESIZE 4759 +short yytable[] = { 17, + 15, 20, 55, 228, 192, 237, 59, 193, 61, 182, + 74, 83, 76, 249, 251, 18, 85, 241, 87, 243, + 89, 84, 86, 88, 90, 195, 75, 135, 135, 135, + 154, 99, 156, 139, 140, 226, 106, 111, 15, 135, + 137, 138, 139, 140, 139, 119, 135, 135, 148, 123, + 80, 13, 149, 80, 146, 38, 147, 148, 82, 148, + 154, 149, 153, 149, 155, 151, 152, 80, 80, 13, + 80, 186, 25, 38, 196, 284, 281, 283, 165, 163, + 167, 166, 169, 168, 171, 170, 187, 173, 303, 15, + 15, 178, 153, 296, 15, 308, 323, 77, 298, 15, + 299, 15, 80, 15, 137, 25, 139, 140, 25, 25, + 25, 135, 25, 93, 25, 25, 94, 25, 135, 16, + 147, 148, 95, 198, 25, 149, 280, 199, 200, 201, + 202, 25, 315, 282, 16, 317, 25, 16, 17, 135, + 313, 314, 4, 5, 6, 7, 96, 319, 107, 229, + 230, 231, 232, 234, 301, 192, 17, 25, 193, 135, + 25, 25, 25, 25, 25, 129, 25, 25, 14, 25, + 227, 252, 329, 334, 306, 15, 18, 257, 259, 135, + 261, 242, 157, 25, 135, 235, 14, 264, 25, 137, + 138, 139, 140, 15, 321, 25, 236, 25, 25, 19, + 143, 144, 145, 146, 55, 147, 148, 55, 91, 18, + 149, 103, 18, 18, 18, 25, 18, 158, 18, 18, + 159, 18, 277, 78, 279, 245, 246, 26, 2, 131, + 132, 133, 134, 175, 288, 18, 289, 150, 290, 291, + 18, 176, 293, 151, 152, 295, 163, 25, 181, 25, + 25, 131, 132, 133, 134, 148, 300, 244, 55, 149, + 135, 39, 304, 185, 39, 39, 39, 18, 39, 184, + 39, 39, 191, 39, 135, 80, 80, 80, 80, 139, + 140, 4, 5, 6, 7, 240, 248, 39, 316, 135, + 320, 250, 39, 147, 148, 254, 161, 253, 149, 18, + 135, 18, 18, 260, 327, 266, 80, 135, 263, 278, + 285, 179, 80, 80, 61, 149, 292, 302, 297, 39, + 309, 331, 189, 310, 318, 190, 335, 322, 25, 25, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 324, 325, 326, 25, 25, 332, 25, 25, + 25, 39, 330, 333, 39, 25, 25, 25, 25, 25, + 25, 25, 37, 35, 138, 35, 25, 13, 37, 148, + 160, 25, 328, 25, 25, 70, 294, 0, 0, 0, + 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, + 25, 25, 25, 25, 0, 255, 0, 25, 25, 0, + 25, 25, 25, 51, 0, 0, 51, 25, 25, 25, + 25, 25, 25, 25, 0, 0, 0, 0, 25, 0, + 51, 51, 0, 25, 0, 25, 25, 0, 0, 0, + 0, 0, 18, 18, 18, 18, 18, 18, 18, 18, + 18, 18, 18, 18, 18, 18, 0, 0, 0, 18, + 18, 286, 18, 18, 18, 51, 0, 0, 0, 18, + 18, 18, 18, 18, 18, 18, 270, 0, 0, 141, + 18, 142, 0, 0, 0, 18, 0, 18, 18, 0, + 0, 0, 0, 0, 39, 39, 39, 39, 39, 39, + 0, 0, 0, 307, 39, 39, 39, 39, 0, 0, + 311, 39, 39, 0, 39, 39, 39, 0, 0, 0, + 80, 39, 39, 39, 39, 39, 39, 39, 92, 0, + 0, 0, 39, 80, 101, 0, 104, 39, 146, 39, + 39, 146, 146, 146, 0, 146, 136, 146, 146, 136, + 146, 80, 80, 80, 80, 80, 0, 0, 0, 81, + 0, 0, 0, 136, 136, 0, 136, 0, 136, 146, + 0, 0, 97, 113, 114, 115, 116, 117, 110, 0, + 120, 121, 0, 0, 0, 0, 0, 0, 0, 0, + 124, 125, 126, 127, 128, 0, 146, 0, 136, 147, + 183, 0, 147, 147, 147, 0, 147, 99, 147, 147, + 99, 147, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 99, 99, 0, 99, 146, 99, + 147, 146, 180, 137, 138, 139, 140, 0, 51, 51, + 51, 51, 0, 0, 0, 144, 145, 146, 44, 147, + 148, 55, 57, 54, 149, 49, 0, 58, 52, 99, + 51, 0, 0, 0, 137, 138, 139, 140, 0, 51, + 137, 138, 139, 140, 50, 51, 51, 145, 146, 56, + 147, 148, 0, 0, 0, 149, 147, 148, 0, 0, + 0, 149, 147, 136, 0, 0, 0, 137, 138, 139, + 140, 0, 0, 0, 0, 0, 53, 0, 143, 144, + 145, 146, 0, 147, 148, 0, 0, 0, 149, 0, + 39, 0, 0, 39, 39, 39, 0, 39, 0, 39, + 39, 0, 39, 0, 0, 0, 0, 0, 15, 0, + 0, 45, 0, 0, 0, 0, 39, 0, 0, 0, + 0, 39, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 146, 146, 146, 146, 146, 0, 0, 0, + 0, 136, 136, 136, 136, 0, 0, 0, 39, 146, + 136, 146, 146, 146, 136, 136, 136, 136, 146, 146, + 146, 146, 146, 146, 146, 136, 136, 136, 136, 146, + 136, 136, 136, 0, 146, 136, 146, 146, 136, 136, + 39, 0, 0, 39, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 147, 147, 147, 147, 147, 0, 0, + 0, 0, 99, 99, 99, 99, 0, 0, 0, 0, + 147, 99, 147, 147, 147, 99, 99, 99, 99, 147, + 147, 147, 147, 147, 147, 147, 99, 99, 99, 99, + 147, 99, 99, 99, 0, 147, 99, 147, 147, 99, + 99, 21, 22, 23, 24, 25, 26, 0, 0, 0, + 0, 27, 28, 29, 30, 0, 0, 0, 31, 32, + 0, 33, 34, 35, 0, 0, 0, 0, 36, 37, + 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, + 50, 0, 0, 50, 46, 0, 47, 48, 0, 0, + 0, 0, 0, 0, 0, 0, 44, 50, 50, 55, + 57, 54, 0, 49, 0, 58, 52, 0, 51, 0, + 0, 0, 0, 39, 39, 39, 39, 39, 39, 0, + 0, 0, 105, 39, 39, 39, 39, 56, 0, 0, + 39, 39, 50, 39, 39, 39, 0, 0, 0, 0, + 39, 39, 39, 39, 39, 39, 39, 0, 0, 0, + 0, 39, 0, 0, 53, 0, 39, 44, 39, 39, + 55, 57, 54, 0, 49, 118, 58, 52, 0, 51, + 0, 0, 0, 0, 0, 0, 0, 0, 77, 0, + 0, 77, 0, 0, 0, 0, 15, 0, 56, 45, + 0, 0, 0, 0, 0, 77, 77, 0, 77, 0, + 77, 0, 0, 0, 44, 0, 0, 55, 57, 54, + 0, 49, 0, 58, 52, 53, 51, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 77, 0, 0, 0, 0, 56, 0, 0, 0, 0, + 0, 79, 0, 0, 79, 0, 0, 15, 0, 0, + 45, 0, 0, 0, 0, 0, 0, 0, 79, 79, + 0, 79, 53, 79, 122, 0, 0, 0, 44, 0, + 0, 55, 57, 54, 0, 49, 0, 58, 52, 0, + 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 79, 15, 0, 0, 45, 0, 56, + 0, 0, 0, 0, 0, 50, 50, 50, 50, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 22, 23, 24, 25, 26, 0, 53, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 50, 32, 0, 33, + 34, 35, 50, 50, 142, 0, 36, 37, 38, 39, + 40, 41, 42, 0, 0, 0, 0, 43, 15, 0, + 0, 45, 46, 0, 47, 48, 0, 0, 0, 0, + 71, 0, 0, 71, 0, 0, 0, 0, 0, 0, + 0, 22, 23, 24, 25, 26, 0, 71, 71, 0, + 71, 0, 71, 0, 0, 0, 0, 0, 32, 0, + 33, 34, 35, 77, 77, 77, 77, 36, 37, 38, + 39, 40, 41, 42, 0, 0, 0, 0, 43, 0, + 0, 0, 71, 46, 0, 47, 48, 0, 22, 23, + 24, 25, 26, 0, 77, 0, 0, 0, 0, 0, + 77, 77, 0, 0, 0, 32, 0, 33, 34, 35, + 141, 0, 142, 0, 36, 37, 38, 39, 40, 41, + 42, 0, 0, 0, 0, 43, 79, 79, 79, 79, + 46, 0, 47, 48, 44, 79, 0, 55, 57, 54, + 0, 49, 177, 58, 52, 0, 51, 0, 0, 0, + 79, 21, 22, 23, 24, 25, 26, 79, 0, 0, + 0, 0, 0, 79, 79, 56, 0, 0, 0, 32, + 0, 33, 34, 35, 0, 0, 0, 0, 36, 37, + 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, + 0, 0, 53, 0, 46, 44, 47, 48, 55, 57, + 54, 0, 49, 0, 58, 52, 0, 51, 0, 0, + 0, 0, 0, 0, 0, 0, 136, 0, 0, 0, + 137, 138, 139, 140, 15, 0, 56, 45, 0, 0, + 0, 143, 144, 145, 146, 0, 147, 148, 0, 0, + 0, 149, 44, 0, 0, 55, 57, 54, 0, 49, + 0, 58, 52, 53, 51, 71, 71, 71, 71, 0, + 0, 0, 0, 0, 71, 0, 0, 0, 71, 71, + 207, 71, 0, 56, 0, 0, 0, 0, 0, 71, + 71, 71, 71, 0, 71, 15, 71, 0, 45, 0, + 0, 0, 71, 71, 0, 0, 0, 0, 0, 0, + 53, 0, 0, 0, 0, 0, 44, 0, 0, 55, + 57, 54, 0, 49, 0, 58, 52, 0, 51, 0, + 0, 0, 0, 0, 136, 0, 0, 0, 137, 138, + 139, 140, 15, 0, 209, 45, 0, 56, 0, 143, + 144, 145, 146, 0, 147, 148, 0, 0, 0, 149, + 0, 0, 0, 0, 0, 0, 0, 0, 22, 23, + 24, 25, 26, 0, 53, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 32, 0, 33, 34, 35, + 0, 0, 0, 0, 36, 37, 38, 39, 40, 41, + 42, 0, 0, 0, 0, 43, 15, 0, 0, 45, + 46, 0, 47, 48, 0, 0, 0, 0, 72, 0, + 0, 72, 0, 0, 0, 0, 0, 0, 0, 22, + 23, 24, 25, 26, 0, 72, 72, 0, 72, 0, + 72, 0, 0, 0, 0, 0, 32, 0, 33, 34, + 35, 0, 0, 0, 0, 36, 37, 38, 39, 40, + 41, 42, 0, 0, 0, 60, 43, 0, 60, 159, + 72, 46, 0, 47, 48, 0, 22, 23, 24, 25, + 26, 0, 60, 60, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 32, 0, 33, 34, 35, 0, 0, + 0, 0, 36, 37, 38, 39, 40, 41, 42, 0, + 0, 0, 0, 43, 0, 0, 0, 60, 46, 0, + 47, 48, 44, 0, 0, 55, 57, 54, 0, 49, + 0, 58, 52, 0, 51, 0, 0, 0, 0, 0, + 22, 23, 24, 25, 26, 0, 0, 0, 0, 0, + 213, 0, 0, 56, 0, 0, 0, 32, 0, 33, + 34, 35, 0, 0, 0, 0, 36, 37, 38, 39, + 40, 41, 42, 0, 0, 0, 0, 43, 0, 0, + 53, 0, 46, 44, 47, 48, 55, 57, 54, 0, + 49, 0, 58, 52, 0, 51, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 215, 15, 0, 56, 45, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 44, 0, 0, 55, 57, 54, 0, 49, 0, 58, + 52, 53, 51, 72, 72, 72, 72, 0, 0, 0, + 0, 0, 72, 0, 0, 0, 72, 72, 217, 0, + 0, 56, 0, 0, 0, 0, 0, 72, 72, 72, + 72, 0, 72, 15, 72, 0, 45, 0, 0, 0, + 72, 72, 0, 0, 0, 0, 0, 0, 53, 0, + 60, 60, 60, 60, 44, 0, 0, 55, 57, 54, + 0, 49, 0, 58, 52, 0, 51, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 15, 60, 219, 45, 0, 56, 0, 60, 60, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 22, 23, 24, 25, + 26, 0, 53, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 32, 0, 33, 34, 35, 0, 0, + 0, 0, 36, 37, 38, 39, 40, 41, 42, 0, + 0, 0, 0, 43, 15, 0, 0, 45, 46, 0, + 47, 48, 0, 0, 0, 0, 70, 0, 0, 70, + 0, 0, 0, 0, 0, 0, 0, 22, 23, 24, + 25, 26, 0, 70, 70, 0, 70, 0, 70, 0, + 0, 0, 0, 0, 32, 0, 33, 34, 35, 0, + 0, 0, 0, 36, 37, 38, 39, 40, 41, 42, + 0, 0, 0, 62, 43, 0, 62, 0, 70, 46, + 0, 47, 48, 0, 22, 23, 24, 25, 26, 0, + 62, 62, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 32, 0, 33, 34, 35, 0, 0, 0, 0, + 36, 37, 38, 39, 40, 41, 42, 0, 0, 0, + 0, 43, 0, 0, 0, 62, 46, 0, 47, 48, + 44, 0, 0, 55, 57, 54, 0, 49, 0, 58, + 52, 0, 51, 0, 0, 0, 0, 0, 22, 23, + 24, 25, 26, 0, 0, 0, 0, 0, 221, 0, + 0, 56, 0, 0, 0, 32, 0, 33, 34, 35, + 0, 0, 0, 0, 36, 37, 38, 39, 40, 41, + 42, 0, 0, 0, 0, 43, 0, 0, 53, 0, + 46, 44, 47, 48, 55, 57, 54, 0, 49, 0, + 58, 52, 0, 51, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 224, + 15, 0, 56, 45, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 44, 0, + 0, 55, 57, 54, 0, 49, 233, 58, 52, 53, + 51, 70, 70, 70, 70, 0, 0, 0, 0, 0, + 70, 0, 0, 0, 70, 70, 70, 70, 0, 56, + 0, 0, 0, 0, 0, 70, 70, 70, 70, 0, + 70, 15, 70, 0, 45, 0, 0, 0, 70, 70, + 0, 0, 0, 0, 0, 0, 53, 0, 62, 62, + 62, 62, 44, 0, 0, 55, 57, 54, 0, 49, + 256, 58, 52, 0, 51, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 15, 62, + 0, 45, 0, 56, 0, 62, 62, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 22, 23, 24, 25, 26, 0, + 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 32, 0, 33, 34, 35, 0, 0, 0, 0, + 36, 37, 38, 39, 40, 41, 42, 0, 0, 0, + 0, 43, 15, 0, 0, 45, 46, 0, 47, 48, + 0, 0, 0, 0, 119, 0, 0, 119, 0, 0, + 0, 0, 0, 0, 0, 22, 23, 24, 25, 26, + 0, 119, 119, 0, 119, 0, 119, 0, 0, 0, + 0, 0, 32, 0, 33, 34, 35, 0, 0, 0, + 0, 36, 37, 38, 39, 40, 41, 42, 0, 0, + 0, 63, 43, 0, 63, 0, 119, 46, 0, 47, + 48, 0, 22, 23, 24, 25, 26, 0, 63, 63, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, + 0, 33, 34, 35, 0, 0, 0, 0, 36, 37, + 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, + 0, 0, 0, 63, 46, 0, 47, 48, 44, 0, + 0, 55, 57, 54, 0, 49, 258, 58, 52, 0, + 51, 0, 0, 0, 0, 0, 22, 23, 24, 25, + 26, 0, 0, 0, 0, 0, 0, 0, 0, 56, + 0, 0, 0, 32, 0, 33, 34, 35, 0, 0, + 0, 0, 36, 37, 38, 39, 40, 41, 42, 0, + 0, 0, 0, 43, 0, 0, 53, 0, 46, 44, + 47, 48, 55, 57, 54, 0, 49, 0, 58, 52, + 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 262, 0, 0, 15, 0, + 56, 45, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 44, 0, 0, 55, + 57, 54, 0, 49, 265, 58, 52, 53, 51, 119, + 119, 119, 119, 0, 0, 0, 0, 0, 119, 0, + 0, 0, 119, 119, 0, 0, 0, 56, 0, 0, + 0, 0, 0, 119, 119, 119, 119, 0, 0, 15, + 119, 0, 45, 0, 0, 0, 119, 119, 0, 0, + 0, 0, 0, 0, 53, 0, 63, 63, 63, 63, + 44, 0, 0, 55, 57, 54, 0, 49, 0, 58, + 52, 0, 51, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 15, 63, 0, 45, + 0, 56, 0, 63, 63, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 22, 23, 24, 25, 26, 0, 53, 0, + 267, 0, 0, 0, 0, 0, 0, 0, 0, 32, + 0, 33, 34, 35, 0, 0, 0, 0, 36, 37, + 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, + 15, 0, 0, 45, 46, 0, 47, 48, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 68, 0, 0, + 68, 0, 0, 22, 23, 24, 25, 26, 0, 0, + 0, 0, 0, 0, 68, 68, 0, 0, 0, 0, + 32, 0, 33, 34, 35, 0, 0, 0, 0, 36, + 37, 38, 39, 40, 41, 42, 0, 0, 125, 0, + 43, 125, 0, 0, 0, 46, 0, 47, 48, 68, + 22, 23, 24, 25, 26, 125, 125, 0, 125, 0, + 125, 0, 0, 0, 0, 0, 0, 32, 0, 33, + 34, 35, 0, 0, 0, 0, 36, 37, 38, 39, + 40, 41, 42, 0, 0, 0, 0, 43, 0, 0, + 125, 0, 46, 0, 47, 48, 44, 0, 0, 55, + 57, 54, 0, 49, 0, 58, 52, 0, 51, 0, + 0, 0, 0, 0, 22, 23, 24, 25, 26, 0, + 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, + 0, 32, 0, 33, 34, 35, 0, 0, 0, 0, + 36, 37, 38, 39, 40, 41, 42, 0, 0, 0, + 0, 43, 0, 0, 53, 0, 46, 44, 47, 48, + 55, 57, 54, 0, 49, 0, 58, 52, 0, 51, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 15, 0, 56, 45, + 0, 0, 0, 0, 130, 0, 0, 130, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 130, 130, 0, 130, 53, 130, 0, 0, 0, + 0, 0, 68, 68, 68, 68, 0, 0, 0, 0, + 0, 0, 0, 0, 138, 0, 0, 138, 0, 0, + 0, 0, 0, 0, 0, 0, 130, 15, 0, 0, + 45, 138, 138, 68, 138, 0, 138, 0, 0, 68, + 68, 0, 0, 125, 125, 125, 125, 0, 0, 0, + 0, 0, 125, 0, 0, 0, 125, 125, 125, 125, + 0, 0, 0, 0, 0, 0, 138, 125, 125, 125, + 125, 0, 125, 125, 125, 0, 0, 125, 0, 0, + 125, 125, 0, 0, 0, 0, 0, 0, 127, 0, + 0, 127, 0, 0, 0, 0, 0, 0, 0, 0, + 98, 23, 24, 25, 26, 127, 127, 0, 127, 0, + 127, 0, 0, 0, 0, 0, 0, 32, 0, 33, + 34, 35, 0, 0, 0, 0, 36, 37, 38, 39, + 40, 41, 42, 104, 0, 0, 104, 43, 0, 0, + 127, 0, 46, 0, 47, 48, 0, 0, 0, 0, + 104, 104, 0, 104, 0, 104, 0, 0, 0, 0, + 0, 22, 23, 24, 25, 26, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, + 33, 34, 35, 0, 0, 104, 0, 36, 37, 38, + 39, 40, 41, 42, 0, 0, 0, 0, 43, 130, + 130, 130, 130, 46, 0, 47, 48, 0, 130, 0, + 0, 0, 130, 130, 130, 130, 0, 0, 0, 0, + 0, 0, 0, 130, 130, 130, 130, 0, 130, 130, + 130, 0, 0, 130, 0, 0, 130, 130, 0, 138, + 138, 138, 138, 0, 0, 0, 0, 0, 138, 0, + 0, 0, 138, 138, 138, 138, 0, 0, 0, 0, + 0, 0, 0, 138, 138, 138, 138, 0, 138, 138, + 138, 115, 0, 138, 115, 0, 138, 138, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 115, 115, + 0, 115, 0, 115, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 127, 127, 127, 127, 0, 0, 0, + 0, 0, 127, 115, 0, 0, 127, 127, 127, 127, + 0, 0, 0, 0, 0, 0, 0, 127, 127, 127, + 127, 0, 127, 127, 127, 0, 136, 127, 0, 136, + 127, 127, 0, 0, 0, 0, 0, 0, 104, 104, + 104, 104, 0, 136, 136, 0, 136, 104, 136, 0, + 0, 104, 104, 104, 104, 0, 0, 0, 0, 0, + 0, 0, 104, 104, 104, 104, 0, 104, 104, 104, + 99, 0, 104, 99, 0, 104, 104, 0, 136, 0, + 0, 0, 0, 0, 0, 0, 0, 99, 99, 0, + 99, 0, 99, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 94, + 0, 0, 94, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 99, 0, 0, 0, 94, 94, 0, 94, + 0, 94, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 93, 0, 0, 93, 0, 0, 0, 0, + 0, 94, 0, 0, 0, 0, 0, 0, 0, 93, + 93, 0, 93, 0, 93, 0, 115, 115, 115, 115, + 0, 0, 0, 0, 0, 115, 0, 0, 0, 115, + 115, 115, 115, 0, 0, 0, 0, 0, 139, 0, + 115, 115, 115, 115, 93, 115, 115, 115, 0, 0, + 115, 0, 0, 115, 115, 139, 139, 0, 139, 0, + 139, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 138, + 0, 0, 138, 0, 0, 0, 0, 0, 0, 0, + 139, 136, 136, 136, 136, 0, 138, 138, 0, 138, + 136, 138, 0, 0, 136, 136, 136, 136, 0, 0, + 0, 0, 0, 0, 0, 136, 136, 136, 136, 0, + 136, 136, 136, 0, 0, 136, 0, 0, 136, 136, + 0, 138, 0, 0, 0, 99, 99, 99, 99, 0, + 0, 0, 0, 0, 99, 0, 0, 0, 99, 99, + 99, 99, 0, 0, 0, 0, 0, 0, 0, 99, + 99, 99, 99, 0, 99, 99, 99, 0, 0, 99, + 0, 0, 99, 99, 94, 94, 94, 94, 0, 0, + 0, 0, 0, 94, 0, 0, 0, 94, 94, 94, + 94, 0, 0, 0, 0, 0, 0, 0, 94, 94, + 94, 94, 0, 94, 94, 94, 0, 81, 94, 0, + 81, 94, 94, 0, 0, 0, 0, 93, 93, 93, + 93, 0, 0, 0, 81, 81, 93, 81, 0, 81, + 93, 93, 93, 93, 0, 0, 0, 0, 0, 0, + 0, 93, 93, 93, 93, 0, 93, 93, 93, 0, + 67, 93, 0, 67, 93, 93, 0, 0, 0, 81, + 0, 0, 0, 139, 139, 139, 139, 67, 67, 0, + 0, 0, 139, 0, 0, 0, 139, 139, 139, 139, + 0, 0, 0, 0, 0, 0, 0, 139, 139, 139, + 139, 0, 139, 139, 139, 0, 0, 139, 0, 0, + 139, 139, 67, 0, 138, 138, 138, 138, 0, 0, + 0, 0, 0, 138, 0, 0, 0, 138, 138, 138, + 138, 0, 0, 0, 0, 0, 0, 0, 138, 138, + 138, 138, 69, 138, 138, 69, 0, 0, 138, 0, + 0, 138, 138, 0, 0, 0, 0, 0, 0, 69, + 69, 0, 69, 0, 69, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 92, 0, 0, 92, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 92, 92, 69, 92, 0, 92, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 129, 0, + 0, 129, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 129, 129, 92, 129, 0, + 129, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 81, 81, 81, 81, 0, 0, 0, 0, + 0, 81, 0, 0, 0, 81, 81, 81, 81, 0, + 129, 0, 0, 0, 0, 0, 81, 81, 81, 81, + 0, 81, 81, 81, 73, 0, 0, 73, 0, 81, + 81, 0, 0, 0, 0, 67, 67, 67, 67, 0, + 0, 73, 73, 0, 73, 0, 73, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 74, 0, 0, + 74, 0, 0, 0, 0, 0, 67, 0, 0, 0, + 0, 0, 67, 67, 74, 74, 73, 74, 0, 74, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 66, 0, 0, + 66, 0, 0, 0, 0, 75, 0, 0, 75, 74, + 0, 0, 0, 0, 66, 66, 0, 69, 69, 69, + 69, 65, 75, 75, 65, 75, 69, 75, 0, 0, + 69, 69, 69, 69, 0, 0, 0, 0, 65, 65, + 0, 69, 69, 69, 69, 0, 69, 69, 69, 66, + 92, 92, 92, 92, 69, 69, 0, 75, 0, 92, + 0, 0, 0, 92, 92, 0, 0, 0, 0, 0, + 0, 0, 0, 65, 92, 92, 92, 92, 0, 0, + 0, 92, 0, 129, 129, 129, 129, 92, 92, 0, + 0, 0, 129, 0, 0, 76, 129, 129, 76, 0, + 0, 0, 0, 0, 0, 0, 0, 129, 129, 129, + 129, 0, 76, 76, 129, 76, 0, 76, 0, 0, + 129, 129, 0, 0, 0, 0, 0, 64, 0, 0, + 64, 0, 0, 0, 0, 0, 0, 78, 0, 0, + 78, 0, 0, 0, 64, 64, 0, 76, 0, 73, + 73, 73, 73, 61, 78, 78, 61, 78, 73, 78, + 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, + 61, 61, 0, 73, 73, 73, 73, 0, 0, 64, + 73, 0, 74, 74, 74, 74, 73, 73, 0, 78, + 0, 74, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 61, 74, 74, 74, 74, + 0, 0, 0, 74, 0, 0, 0, 0, 85, 74, + 74, 85, 66, 66, 66, 66, 0, 0, 0, 0, + 75, 75, 75, 75, 0, 85, 85, 0, 85, 75, + 85, 0, 0, 0, 0, 0, 65, 65, 65, 65, + 0, 0, 0, 66, 75, 75, 75, 75, 0, 66, + 66, 75, 0, 0, 0, 0, 0, 75, 75, 0, + 85, 0, 86, 0, 0, 86, 0, 65, 0, 0, + 0, 0, 0, 65, 65, 0, 0, 0, 0, 86, + 86, 0, 86, 0, 86, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 87, 0, + 0, 87, 0, 0, 0, 0, 0, 0, 0, 0, + 76, 76, 76, 76, 86, 87, 87, 0, 87, 76, + 87, 0, 0, 0, 0, 0, 0, 0, 0, 238, + 0, 0, 239, 0, 76, 76, 76, 0, 0, 0, + 0, 76, 64, 64, 64, 64, 0, 76, 76, 141, + 87, 142, 78, 78, 78, 78, 0, 0, 0, 0, + 0, 78, 0, 0, 83, 0, 0, 83, 61, 61, + 61, 61, 0, 64, 0, 0, 78, 78, 0, 64, + 64, 83, 83, 78, 83, 0, 83, 0, 0, 78, + 78, 0, 0, 0, 0, 0, 0, 0, 0, 61, + 84, 0, 0, 84, 0, 61, 61, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 83, 84, 84, 0, + 84, 0, 84, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 85, 85, 85, 85, 0, 0, 0, + 0, 0, 85, 0, 0, 0, 85, 85, 85, 85, + 0, 0, 84, 82, 0, 0, 82, 85, 85, 85, + 85, 0, 85, 85, 85, 0, 0, 85, 0, 0, + 82, 82, 0, 82, 0, 82, 0, 312, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 86, 86, 86, + 86, 0, 0, 0, 0, 0, 86, 141, 0, 142, + 86, 86, 86, 86, 0, 82, 0, 0, 0, 0, + 0, 86, 86, 86, 86, 0, 86, 86, 86, 0, + 0, 86, 0, 87, 87, 87, 87, 0, 0, 0, + 0, 0, 87, 0, 0, 0, 87, 87, 87, 87, + 0, 0, 0, 0, 0, 0, 0, 87, 87, 87, + 87, 0, 87, 87, 87, 0, 0, 87, 0, 0, + 0, 0, 0, 136, 0, 100, 102, 137, 138, 139, + 140, 112, 0, 0, 0, 0, 0, 0, 143, 144, + 145, 146, 0, 147, 148, 0, 0, 0, 149, 83, + 83, 83, 83, 0, 0, 0, 0, 0, 83, 0, + 0, 0, 83, 83, 83, 83, 0, 0, 0, 0, + 162, 0, 0, 83, 83, 83, 83, 0, 83, 83, + 83, 0, 0, 83, 0, 84, 84, 84, 84, 0, + 0, 0, 0, 0, 84, 0, 0, 0, 84, 84, + 84, 84, 0, 0, 0, 0, 0, 0, 0, 84, + 84, 84, 84, 0, 84, 84, 84, 0, 0, 84, + 0, 0, 0, 203, 204, 205, 206, 208, 210, 211, + 212, 214, 216, 218, 220, 222, 223, 225, 82, 82, + 82, 82, 0, 0, 0, 0, 0, 82, 0, 0, + 0, 82, 82, 82, 82, 0, 0, 0, 0, 0, + 0, 0, 82, 82, 82, 82, 0, 82, 82, 0, + 0, 136, 82, 0, 203, 137, 138, 139, 140, 0, + 0, 203, 0, 203, 0, 0, 143, 144, 145, 146, + 0, 147, 148, 0, 0, 268, 149, 269, 0, 0, + 0, 271, 0, 272, 0, 273, 0, 274, 0, 275, + 0, 0, 276, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 287, 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, 305, +}; +short yycheck[] = { 5, + 123, 59, 36, 91, 41, 125, 12, 44, 12, 40, + 16, 40, 18, 171, 173, 257, 40, 165, 40, 167, + 40, 27, 28, 29, 30, 44, 59, 44, 44, 44, + 91, 37, 91, 281, 282, 123, 40, 43, 123, 44, + 279, 280, 281, 282, 281, 49, 44, 44, 296, 53, + 41, 41, 300, 44, 293, 41, 295, 296, 40, 296, + 91, 300, 123, 300, 123, 303, 304, 58, 59, 59, + 61, 44, 0, 59, 93, 234, 93, 93, 84, 83, + 86, 85, 88, 87, 90, 89, 59, 91, 93, 123, + 123, 95, 123, 252, 123, 93, 93, 59, 257, 123, + 259, 123, 93, 123, 279, 33, 281, 282, 36, 37, + 38, 44, 40, 257, 42, 43, 40, 45, 44, 41, + 295, 296, 40, 129, 0, 300, 59, 131, 132, 133, + 134, 59, 290, 59, 257, 293, 64, 59, 41, 44, + 288, 289, 262, 263, 264, 265, 40, 295, 257, 153, + 154, 155, 156, 157, 59, 41, 59, 33, 44, 44, + 36, 37, 38, 91, 40, 272, 42, 43, 41, 45, + 258, 175, 320, 331, 59, 41, 0, 181, 182, 44, + 184, 41, 40, 59, 44, 278, 59, 191, 64, 279, + 280, 281, 282, 59, 59, 123, 289, 125, 126, 257, + 290, 291, 292, 293, 36, 295, 296, 36, 40, 33, + 300, 40, 36, 37, 38, 91, 40, 59, 42, 43, + 297, 45, 226, 257, 228, 270, 271, 261, 0, 266, + 267, 268, 269, 40, 240, 59, 242, 297, 244, 245, + 64, 41, 248, 303, 304, 251, 250, 123, 40, 125, + 126, 266, 267, 268, 269, 296, 260, 41, 36, 300, + 44, 33, 266, 125, 36, 37, 38, 91, 40, 123, + 42, 43, 91, 45, 44, 266, 267, 268, 269, 281, + 282, 262, 263, 264, 265, 41, 41, 59, 292, 44, + 296, 59, 64, 295, 296, 41, 81, 41, 300, 123, + 44, 125, 126, 123, 41, 91, 297, 44, 125, 40, + 40, 96, 303, 304, 318, 300, 40, 125, 41, 91, + 125, 327, 107, 125, 59, 110, 332, 125, 256, 257, + 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, + 268, 269, 125, 41, 41, 273, 274, 41, 276, 277, + 278, 123, 125, 41, 126, 283, 284, 285, 286, 287, + 288, 289, 41, 59, 41, 41, 294, 59, 59, 297, + 73, 299, 318, 301, 302, 12, 250, -1, -1, -1, + 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, + 266, 267, 268, 269, -1, 180, -1, 273, 274, -1, + 276, 277, 278, 41, -1, -1, 44, 283, 284, 285, + 286, 287, 288, 289, -1, -1, -1, -1, 294, -1, + 58, 59, -1, 299, -1, 301, 302, -1, -1, -1, + -1, -1, 256, 257, 258, 259, 260, 261, 262, 263, + 264, 265, 266, 267, 268, 269, -1, -1, -1, 273, + 274, 236, 276, 277, 278, 93, -1, -1, -1, 283, + 284, 285, 286, 287, 288, 289, 58, -1, -1, 61, + 294, 63, -1, -1, -1, 299, -1, 301, 302, -1, + -1, -1, -1, -1, 256, 257, 258, 259, 260, 261, + -1, -1, -1, 278, 266, 267, 268, 269, -1, -1, + 285, 273, 274, -1, 276, 277, 278, -1, -1, -1, + 23, 283, 284, 285, 286, 287, 288, 289, 31, -1, + -1, -1, 294, 36, 37, -1, 39, 299, 33, 301, + 302, 36, 37, 38, -1, 40, 41, 42, 43, 44, + 45, 54, 55, 56, 57, 58, -1, -1, -1, 23, + -1, -1, -1, 58, 59, -1, 61, -1, 63, 64, + -1, -1, 36, 44, 45, 46, 47, 48, 42, -1, + 51, 52, -1, -1, -1, -1, -1, -1, -1, -1, + 54, 55, 56, 57, 58, -1, 91, -1, 93, 33, + 103, -1, 36, 37, 38, -1, 40, 41, 42, 43, + 44, 45, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 58, 59, -1, 61, 123, 63, + 64, 126, 96, 279, 280, 281, 282, -1, 266, 267, + 268, 269, -1, -1, -1, 291, 292, 293, 33, 295, + 296, 36, 37, 38, 300, 40, -1, 42, 43, 93, + 45, -1, -1, -1, 279, 280, 281, 282, -1, 297, + 279, 280, 281, 282, 59, 303, 304, 292, 293, 64, + 295, 296, -1, -1, -1, 300, 295, 296, -1, -1, + -1, 300, 126, 275, -1, -1, -1, 279, 280, 281, + 282, -1, -1, -1, -1, -1, 91, -1, 290, 291, + 292, 293, -1, 295, 296, -1, -1, -1, 300, -1, + 33, -1, -1, 36, 37, 38, -1, 40, -1, 42, + 43, -1, 45, -1, -1, -1, -1, -1, 123, -1, + -1, 126, -1, -1, -1, -1, 59, -1, -1, -1, + -1, 64, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 257, 258, 259, 260, 261, -1, -1, -1, + -1, 266, 267, 268, 269, -1, -1, -1, 91, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, + 295, 296, 297, -1, 299, 300, 301, 302, 303, 304, + 123, -1, -1, 126, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 257, 258, 259, 260, 261, -1, -1, + -1, -1, 266, 267, 268, 269, -1, -1, -1, -1, + 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, + 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 295, 296, 297, -1, 299, 300, 301, 302, 303, + 304, 256, 257, 258, 259, 260, 261, -1, -1, -1, + -1, 266, 267, 268, 269, -1, -1, -1, 273, 274, + -1, 276, 277, 278, -1, -1, -1, -1, 283, 284, + 285, 286, 287, 288, 289, -1, -1, -1, -1, 294, + 41, -1, -1, 44, 299, -1, 301, 302, -1, -1, + -1, -1, -1, -1, -1, -1, 33, 58, 59, 36, + 37, 38, -1, 40, -1, 42, 43, -1, 45, -1, + -1, -1, -1, 256, 257, 258, 259, 260, 261, -1, + -1, -1, 59, 266, 267, 268, 269, 64, -1, -1, + 273, 274, 93, 276, 277, 278, -1, -1, -1, -1, + 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, + -1, 294, -1, -1, 91, -1, 299, 33, 301, 302, + 36, 37, 38, -1, 40, 41, 42, 43, -1, 45, + -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, + -1, 44, -1, -1, -1, -1, 123, -1, 64, 126, + -1, -1, -1, -1, -1, 58, 59, -1, 61, -1, + 63, -1, -1, -1, 33, -1, -1, 36, 37, 38, + -1, 40, -1, 42, 43, 91, 45, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 93, -1, -1, -1, -1, 64, -1, -1, -1, -1, + -1, 41, -1, -1, 44, -1, -1, 123, -1, -1, + 126, -1, -1, -1, -1, -1, -1, -1, 58, 59, + -1, 61, 91, 63, 93, -1, -1, -1, 33, -1, + -1, 36, 37, 38, -1, 40, -1, 42, 43, -1, + 45, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 93, 123, -1, -1, 126, -1, 64, + -1, -1, -1, -1, -1, 266, 267, 268, 269, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 257, 258, 259, 260, 261, -1, 91, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 297, 274, -1, 276, + 277, 278, 303, 304, 63, -1, 283, 284, 285, 286, + 287, 288, 289, -1, -1, -1, -1, 294, 123, -1, + -1, 126, 299, -1, 301, 302, -1, -1, -1, -1, + 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, + -1, 257, 258, 259, 260, 261, -1, 58, 59, -1, + 61, -1, 63, -1, -1, -1, -1, -1, 274, -1, + 276, 277, 278, 266, 267, 268, 269, 283, 284, 285, + 286, 287, 288, 289, -1, -1, -1, -1, 294, -1, + -1, -1, 93, 299, -1, 301, 302, -1, 257, 258, + 259, 260, 261, -1, 297, -1, -1, -1, -1, -1, + 303, 304, -1, -1, -1, 274, -1, 276, 277, 278, + 61, -1, 63, -1, 283, 284, 285, 286, 287, 288, + 289, -1, -1, -1, -1, 294, 266, 267, 268, 269, + 299, -1, 301, 302, 33, 275, -1, 36, 37, 38, + -1, 40, 41, 42, 43, -1, 45, -1, -1, -1, + 290, 256, 257, 258, 259, 260, 261, 297, -1, -1, + -1, -1, -1, 303, 304, 64, -1, -1, -1, 274, + -1, 276, 277, 278, -1, -1, -1, -1, 283, 284, + 285, 286, 287, 288, 289, -1, -1, -1, -1, 294, + -1, -1, 91, -1, 299, 33, 301, 302, 36, 37, + 38, -1, 40, -1, 42, 43, -1, 45, -1, -1, + -1, -1, -1, -1, -1, -1, 275, -1, -1, -1, + 279, 280, 281, 282, 123, -1, 64, 126, -1, -1, + -1, 290, 291, 292, 293, -1, 295, 296, -1, -1, + -1, 300, 33, -1, -1, 36, 37, 38, -1, 40, + -1, 42, 43, 91, 45, 266, 267, 268, 269, -1, + -1, -1, -1, -1, 275, -1, -1, -1, 279, 280, + 61, 282, -1, 64, -1, -1, -1, -1, -1, 290, + 291, 292, 293, -1, 295, 123, 297, -1, 126, -1, + -1, -1, 303, 304, -1, -1, -1, -1, -1, -1, + 91, -1, -1, -1, -1, -1, 33, -1, -1, 36, + 37, 38, -1, 40, -1, 42, 43, -1, 45, -1, + -1, -1, -1, -1, 275, -1, -1, -1, 279, 280, + 281, 282, 123, -1, 61, 126, -1, 64, -1, 290, + 291, 292, 293, -1, 295, 296, -1, -1, -1, 300, + -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, + 259, 260, 261, -1, 91, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 274, -1, 276, 277, 278, + -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, + 289, -1, -1, -1, -1, 294, 123, -1, -1, 126, + 299, -1, 301, 302, -1, -1, -1, -1, 41, -1, + -1, 44, -1, -1, -1, -1, -1, -1, -1, 257, + 258, 259, 260, 261, -1, 58, 59, -1, 61, -1, + 63, -1, -1, -1, -1, -1, 274, -1, 276, 277, + 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, + 288, 289, -1, -1, -1, 41, 294, -1, 44, 297, + 93, 299, -1, 301, 302, -1, 257, 258, 259, 260, + 261, -1, 58, 59, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 274, -1, 276, 277, 278, -1, -1, + -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, + -1, -1, -1, 294, -1, -1, -1, 93, 299, -1, + 301, 302, 33, -1, -1, 36, 37, 38, -1, 40, + -1, 42, 43, -1, 45, -1, -1, -1, -1, -1, + 257, 258, 259, 260, 261, -1, -1, -1, -1, -1, + 61, -1, -1, 64, -1, -1, -1, 274, -1, 276, + 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, + 287, 288, 289, -1, -1, -1, -1, 294, -1, -1, + 91, -1, 299, 33, 301, 302, 36, 37, 38, -1, + 40, -1, 42, 43, -1, 45, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 61, 123, -1, 64, 126, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 33, -1, -1, 36, 37, 38, -1, 40, -1, 42, + 43, 91, 45, 266, 267, 268, 269, -1, -1, -1, + -1, -1, 275, -1, -1, -1, 279, 280, 61, -1, + -1, 64, -1, -1, -1, -1, -1, 290, 291, 292, + 293, -1, 295, 123, 297, -1, 126, -1, -1, -1, + 303, 304, -1, -1, -1, -1, -1, -1, 91, -1, + 266, 267, 268, 269, 33, -1, -1, 36, 37, 38, + -1, 40, -1, 42, 43, -1, 45, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 123, 297, 61, 126, -1, 64, -1, 303, 304, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 257, 258, 259, 260, + 261, -1, 91, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 274, -1, 276, 277, 278, -1, -1, + -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, + -1, -1, -1, 294, 123, -1, -1, 126, 299, -1, + 301, 302, -1, -1, -1, -1, 41, -1, -1, 44, + -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, + 260, 261, -1, 58, 59, -1, 61, -1, 63, -1, + -1, -1, -1, -1, 274, -1, 276, 277, 278, -1, + -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, + -1, -1, -1, 41, 294, -1, 44, -1, 93, 299, + -1, 301, 302, -1, 257, 258, 259, 260, 261, -1, + 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 274, -1, 276, 277, 278, -1, -1, -1, -1, + 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, + -1, 294, -1, -1, -1, 93, 299, -1, 301, 302, + 33, -1, -1, 36, 37, 38, -1, 40, -1, 42, + 43, -1, 45, -1, -1, -1, -1, -1, 257, 258, + 259, 260, 261, -1, -1, -1, -1, -1, 61, -1, + -1, 64, -1, -1, -1, 274, -1, 276, 277, 278, + -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, + 289, -1, -1, -1, -1, 294, -1, -1, 91, -1, + 299, 33, 301, 302, 36, 37, 38, -1, 40, -1, + 42, 43, -1, 45, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 61, + 123, -1, 64, 126, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, + -1, 36, 37, 38, -1, 40, 41, 42, 43, 91, + 45, 266, 267, 268, 269, -1, -1, -1, -1, -1, + 275, -1, -1, -1, 279, 280, 281, 282, -1, 64, + -1, -1, -1, -1, -1, 290, 291, 292, 293, -1, + 295, 123, 297, -1, 126, -1, -1, -1, 303, 304, + -1, -1, -1, -1, -1, -1, 91, -1, 266, 267, + 268, 269, 33, -1, -1, 36, 37, 38, -1, 40, + 41, 42, 43, -1, 45, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 123, 297, + -1, 126, -1, 64, -1, 303, 304, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 257, 258, 259, 260, 261, -1, + 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 274, -1, 276, 277, 278, -1, -1, -1, -1, + 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, + -1, 294, 123, -1, -1, 126, 299, -1, 301, 302, + -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, + -1, -1, -1, -1, -1, 257, 258, 259, 260, 261, + -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, + -1, -1, 274, -1, 276, 277, 278, -1, -1, -1, + -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, + -1, 41, 294, -1, 44, -1, 93, 299, -1, 301, + 302, -1, 257, 258, 259, 260, 261, -1, 58, 59, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 274, + -1, 276, 277, 278, -1, -1, -1, -1, 283, 284, + 285, 286, 287, 288, 289, -1, -1, -1, -1, 294, + -1, -1, -1, 93, 299, -1, 301, 302, 33, -1, + -1, 36, 37, 38, -1, 40, 41, 42, 43, -1, + 45, -1, -1, -1, -1, -1, 257, 258, 259, 260, + 261, -1, -1, -1, -1, -1, -1, -1, -1, 64, + -1, -1, -1, 274, -1, 276, 277, 278, -1, -1, + -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, + -1, -1, -1, 294, -1, -1, 91, -1, 299, 33, + 301, 302, 36, 37, 38, -1, 40, -1, 42, 43, + -1, 45, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 59, -1, -1, 123, -1, + 64, 126, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 33, -1, -1, 36, + 37, 38, -1, 40, 41, 42, 43, 91, 45, 266, + 267, 268, 269, -1, -1, -1, -1, -1, 275, -1, + -1, -1, 279, 280, -1, -1, -1, 64, -1, -1, + -1, -1, -1, 290, 291, 292, 293, -1, -1, 123, + 297, -1, 126, -1, -1, -1, 303, 304, -1, -1, + -1, -1, -1, -1, 91, -1, 266, 267, 268, 269, + 33, -1, -1, 36, 37, 38, -1, 40, -1, 42, + 43, -1, 45, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 123, 297, -1, 126, + -1, 64, -1, 303, 304, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 257, 258, 259, 260, 261, -1, 91, -1, + 93, -1, -1, -1, -1, -1, -1, -1, -1, 274, + -1, 276, 277, 278, -1, -1, -1, -1, 283, 284, + 285, 286, 287, 288, 289, -1, -1, -1, -1, 294, + 123, -1, -1, 126, 299, -1, 301, 302, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, + 44, -1, -1, 257, 258, 259, 260, 261, -1, -1, + -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, + 274, -1, 276, 277, 278, -1, -1, -1, -1, 283, + 284, 285, 286, 287, 288, 289, -1, -1, 41, -1, + 294, 44, -1, -1, -1, 299, -1, 301, 302, 93, + 257, 258, 259, 260, 261, 58, 59, -1, 61, -1, + 63, -1, -1, -1, -1, -1, -1, 274, -1, 276, + 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, + 287, 288, 289, -1, -1, -1, -1, 294, -1, -1, + 93, -1, 299, -1, 301, 302, 33, -1, -1, 36, + 37, 38, -1, 40, -1, 42, 43, -1, 45, -1, + -1, -1, -1, -1, 257, 258, 259, 260, 261, -1, + -1, -1, -1, -1, -1, -1, -1, 64, -1, -1, + -1, 274, -1, 276, 277, 278, -1, -1, -1, -1, + 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, + -1, 294, -1, -1, 91, -1, 299, 33, 301, 302, + 36, 37, 38, -1, 40, -1, 42, 43, -1, 45, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 123, -1, 64, 126, + -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 58, 59, -1, 61, 91, 63, -1, -1, -1, + -1, -1, 266, 267, 268, 269, -1, -1, -1, -1, + -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, + -1, -1, -1, -1, -1, -1, 93, 123, -1, -1, + 126, 58, 59, 297, 61, -1, 63, -1, -1, 303, + 304, -1, -1, 266, 267, 268, 269, -1, -1, -1, + -1, -1, 275, -1, -1, -1, 279, 280, 281, 282, + -1, -1, -1, -1, -1, -1, 93, 290, 291, 292, + 293, -1, 295, 296, 297, -1, -1, 300, -1, -1, + 303, 304, -1, -1, -1, -1, -1, -1, 41, -1, + -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, + 257, 258, 259, 260, 261, 58, 59, -1, 61, -1, + 63, -1, -1, -1, -1, -1, -1, 274, -1, 276, + 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, + 287, 288, 289, 41, -1, -1, 44, 294, -1, -1, + 93, -1, 299, -1, 301, 302, -1, -1, -1, -1, + 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, + -1, 257, 258, 259, 260, 261, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 274, -1, + 276, 277, 278, -1, -1, 93, -1, 283, 284, 285, + 286, 287, 288, 289, -1, -1, -1, -1, 294, 266, + 267, 268, 269, 299, -1, 301, 302, -1, 275, -1, + -1, -1, 279, 280, 281, 282, -1, -1, -1, -1, + -1, -1, -1, 290, 291, 292, 293, -1, 295, 296, + 297, -1, -1, 300, -1, -1, 303, 304, -1, 266, + 267, 268, 269, -1, -1, -1, -1, -1, 275, -1, + -1, -1, 279, 280, 281, 282, -1, -1, -1, -1, + -1, -1, -1, 290, 291, 292, 293, -1, 295, 296, + 297, 41, -1, 300, 44, -1, 303, 304, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, + -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 266, 267, 268, 269, -1, -1, -1, + -1, -1, 275, 93, -1, -1, 279, 280, 281, 282, + -1, -1, -1, -1, -1, -1, -1, 290, 291, 292, + 293, -1, 295, 296, 297, -1, 41, 300, -1, 44, + 303, 304, -1, -1, -1, -1, -1, -1, 266, 267, + 268, 269, -1, 58, 59, -1, 61, 275, 63, -1, + -1, 279, 280, 281, 282, -1, -1, -1, -1, -1, + -1, -1, 290, 291, 292, 293, -1, 295, 296, 297, + 41, -1, 300, 44, -1, 303, 304, -1, 93, -1, + -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, + 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, + -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 93, -1, -1, -1, 58, 59, -1, 61, + -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, + -1, 93, -1, -1, -1, -1, -1, -1, -1, 58, + 59, -1, 61, -1, 63, -1, 266, 267, 268, 269, + -1, -1, -1, -1, -1, 275, -1, -1, -1, 279, + 280, 281, 282, -1, -1, -1, -1, -1, 41, -1, + 290, 291, 292, 293, 93, 295, 296, 297, -1, -1, + 300, -1, -1, 303, 304, 58, 59, -1, 61, -1, + 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, + -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, + 93, 266, 267, 268, 269, -1, 58, 59, -1, 61, + 275, 63, -1, -1, 279, 280, 281, 282, -1, -1, + -1, -1, -1, -1, -1, 290, 291, 292, 293, -1, + 295, 296, 297, -1, -1, 300, -1, -1, 303, 304, + -1, 93, -1, -1, -1, 266, 267, 268, 269, -1, + -1, -1, -1, -1, 275, -1, -1, -1, 279, 280, + 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, + 291, 292, 293, -1, 295, 296, 297, -1, -1, 300, + -1, -1, 303, 304, 266, 267, 268, 269, -1, -1, + -1, -1, -1, 275, -1, -1, -1, 279, 280, 281, + 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, + 292, 293, -1, 295, 296, 297, -1, 41, 300, -1, + 44, 303, 304, -1, -1, -1, -1, 266, 267, 268, + 269, -1, -1, -1, 58, 59, 275, 61, -1, 63, + 279, 280, 281, 282, -1, -1, -1, -1, -1, -1, + -1, 290, 291, 292, 293, -1, 295, 296, 297, -1, + 41, 300, -1, 44, 303, 304, -1, -1, -1, 93, + -1, -1, -1, 266, 267, 268, 269, 58, 59, -1, + -1, -1, 275, -1, -1, -1, 279, 280, 281, 282, + -1, -1, -1, -1, -1, -1, -1, 290, 291, 292, + 293, -1, 295, 296, 297, -1, -1, 300, -1, -1, + 303, 304, 93, -1, 266, 267, 268, 269, -1, -1, + -1, -1, -1, 275, -1, -1, -1, 279, 280, 281, + 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, + 292, 293, 41, 295, 296, 44, -1, -1, 300, -1, + -1, 303, 304, -1, -1, -1, -1, -1, -1, 58, + 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 58, 59, 93, 61, -1, 63, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, + -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 58, 59, 93, 61, -1, + 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 266, 267, 268, 269, -1, -1, -1, -1, + -1, 275, -1, -1, -1, 279, 280, 281, 282, -1, + 93, -1, -1, -1, -1, -1, 290, 291, 292, 293, + -1, 295, 296, 297, 41, -1, -1, 44, -1, 303, + 304, -1, -1, -1, -1, 266, 267, 268, 269, -1, + -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, + 44, -1, -1, -1, -1, -1, 297, -1, -1, -1, + -1, -1, 303, 304, 58, 59, 93, 61, -1, 63, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, + 44, -1, -1, -1, -1, 41, -1, -1, 44, 93, + -1, -1, -1, -1, 58, 59, -1, 266, 267, 268, + 269, 41, 58, 59, 44, 61, 275, 63, -1, -1, + 279, 280, 281, 282, -1, -1, -1, -1, 58, 59, + -1, 290, 291, 292, 293, -1, 295, 296, 297, 93, + 266, 267, 268, 269, 303, 304, -1, 93, -1, 275, + -1, -1, -1, 279, 280, -1, -1, -1, -1, -1, + -1, -1, -1, 93, 290, 291, 292, 293, -1, -1, + -1, 297, -1, 266, 267, 268, 269, 303, 304, -1, + -1, -1, 275, -1, -1, 41, 279, 280, 44, -1, + -1, -1, -1, -1, -1, -1, -1, 290, 291, 292, + 293, -1, 58, 59, 297, 61, -1, 63, -1, -1, + 303, 304, -1, -1, -1, -1, -1, 41, -1, -1, + 44, -1, -1, -1, -1, -1, -1, 41, -1, -1, + 44, -1, -1, -1, 58, 59, -1, 93, -1, 266, + 267, 268, 269, 41, 58, 59, 44, 61, 275, 63, + -1, -1, -1, 280, -1, -1, -1, -1, -1, -1, + 58, 59, -1, 290, 291, 292, 293, -1, -1, 93, + 297, -1, 266, 267, 268, 269, 303, 304, -1, 93, + -1, 275, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 93, 290, 291, 292, 293, + -1, -1, -1, 297, -1, -1, -1, -1, 41, 303, + 304, 44, 266, 267, 268, 269, -1, -1, -1, -1, + 266, 267, 268, 269, -1, 58, 59, -1, 61, 275, + 63, -1, -1, -1, -1, -1, 266, 267, 268, 269, + -1, -1, -1, 297, 290, 291, 292, 293, -1, 303, + 304, 297, -1, -1, -1, -1, -1, 303, 304, -1, + 93, -1, 41, -1, -1, 44, -1, 297, -1, -1, + -1, -1, -1, 303, 304, -1, -1, -1, -1, 58, + 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, + -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, + 266, 267, 268, 269, 93, 58, 59, -1, 61, 275, + 63, -1, -1, -1, -1, -1, -1, -1, -1, 41, + -1, -1, 44, -1, 290, 291, 292, -1, -1, -1, + -1, 297, 266, 267, 268, 269, -1, 303, 304, 61, + 93, 63, 266, 267, 268, 269, -1, -1, -1, -1, + -1, 275, -1, -1, 41, -1, -1, 44, 266, 267, + 268, 269, -1, 297, -1, -1, 290, 291, -1, 303, + 304, 58, 59, 297, 61, -1, 63, -1, -1, 303, + 304, -1, -1, -1, -1, -1, -1, -1, -1, 297, + 41, -1, -1, 44, -1, 303, 304, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 93, 58, 59, -1, + 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 266, 267, 268, 269, -1, -1, -1, + -1, -1, 275, -1, -1, -1, 279, 280, 281, 282, + -1, -1, 93, 41, -1, -1, 44, 290, 291, 292, + 293, -1, 295, 296, 297, -1, -1, 300, -1, -1, + 58, 59, -1, 61, -1, 63, -1, 41, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 266, 267, 268, + 269, -1, -1, -1, -1, -1, 275, 61, -1, 63, + 279, 280, 281, 282, -1, 93, -1, -1, -1, -1, + -1, 290, 291, 292, 293, -1, 295, 296, 297, -1, + -1, 300, -1, 266, 267, 268, 269, -1, -1, -1, + -1, -1, 275, -1, -1, -1, 279, 280, 281, 282, + -1, -1, -1, -1, -1, -1, -1, 290, 291, 292, + 293, -1, 295, 296, 297, -1, -1, 300, -1, -1, + -1, -1, -1, 275, -1, 37, 38, 279, 280, 281, + 282, 43, -1, -1, -1, -1, -1, -1, 290, 291, + 292, 293, -1, 295, 296, -1, -1, -1, 300, 266, + 267, 268, 269, -1, -1, -1, -1, -1, 275, -1, + -1, -1, 279, 280, 281, 282, -1, -1, -1, -1, + 82, -1, -1, 290, 291, 292, 293, -1, 295, 296, + 297, -1, -1, 300, -1, 266, 267, 268, 269, -1, + -1, -1, -1, -1, 275, -1, -1, -1, 279, 280, + 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, + 291, 292, 293, -1, 295, 296, 297, -1, -1, 300, + -1, -1, -1, 135, 136, 137, 138, 139, 140, 141, + 142, 143, 144, 145, 146, 147, 148, 149, 266, 267, + 268, 269, -1, -1, -1, -1, -1, 275, -1, -1, + -1, 279, 280, 281, 282, -1, -1, -1, -1, -1, + -1, -1, 290, 291, 292, 293, -1, 295, 296, -1, + -1, 275, 300, -1, 186, 279, 280, 281, 282, -1, + -1, 193, -1, 195, -1, -1, 290, 291, 292, 293, + -1, 295, 296, -1, -1, 207, 300, 209, -1, -1, + -1, 213, -1, 215, -1, 217, -1, 219, -1, 221, + -1, -1, 224, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 239, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 270, +}; +#define YYFINAL 1 #ifndef YYDEBUG -# define YYDEBUG 0 /* don't allow debugging */ +#define YYDEBUG 0 #endif - +#define YYMAXTOKEN 304 #if YYDEBUG - -yytoktype yytoks[] = -{ - "{", 123, - ")", 41, - "WORD", 257, - "METHOD", 258, - "THING", 259, - "PMFUNC", 260, - "LABEL", 261, - "FORMAT", 262, - "SUB", 263, - "PACKAGE", 264, - "WHILE", 265, - "UNTIL", 266, - "IF", 267, - "UNLESS", 268, - "ELSE", 269, - "ELSIF", 270, - "CONTINUE", 271, - "FOR", 272, - "LOOPEX", 273, - "DOTDOT", 274, - "FUNC0", 275, - "FUNC1", 276, - "FUNC", 277, - "RELOP", 278, - "EQOP", 279, - "MULOP", 280, - "ADDOP", 281, - "DOLSHARP", 282, - "DO", 283, - "LOCAL", 284, - "DELETE", 285, - "HASHBRACK", 286, - "LSTOP", 287, - ",", 44, - "=", 61, - "?", 63, - ":", 58, - "OROR", 288, - "ANDAND", 289, - "BITOROP", 290, - "BITANDOP", 291, - "UNIOP", 292, - "SHIFTOP", 293, - "MATCHOP", 294, - "ARROW", 295, - "!", 33, - "~", 126, - "UMINUS", 296, - "REFGEN", 297, - "POWOP", 298, - "PREINC", 299, - "PREDEC", 300, - "POSTINC", 301, - "POSTDEC", 302, - "(", 40, - "-unknown-", -1 /* ends search */ +char *yyname[] = { +"end-of-file",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +"'!'",0,0,"'$'","'%'","'&'",0,"'('","')'","'*'","'+'","','","'-'",0,0,0,0,0,0,0, +0,0,0,0,0,"':'","';'",0,"'='",0,"'?'","'@'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,"'['",0,"']'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,"'{'",0,"'}'","'~'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"WORD","METHOD","THING", +"PMFUNC","PRIVATEREF","LABEL","FORMAT","SUB","PACKAGE","WHILE","UNTIL","IF", +"UNLESS","ELSE","ELSIF","CONTINUE","FOR","LOOPEX","DOTDOT","FUNC0","FUNC1", +"FUNC","RELOP","EQOP","MULOP","ADDOP","DOLSHARP","DO","LOCAL","DELETE", +"HASHBRACK","NOAMP","LSTOP","OROR","ANDAND","BITOROP","BITANDOP","UNIOP", +"SHIFTOP","MATCHOP","ARROW","UMINUS","REFGEN","POWOP","PREINC","PREDEC", +"POSTINC","POSTDEC", }; - -char * yyreds[] = -{ - "-no such reduction-", - "prog : /* empty */", - "prog : lineseq", - "block : '{' remember lineseq '}'", - "remember : /* empty */", - "lineseq : /* empty */", - "lineseq : lineseq decl", - "lineseq : lineseq line", - "line : label cond", - "line : loop", - "line : label ';'", - "line : label sideff ';'", - "sideff : error", - "sideff : expr", - "sideff : expr IF expr", - "sideff : expr UNLESS expr", - "sideff : expr WHILE expr", - "sideff : expr UNTIL expr", - "else : /* empty */", - "else : ELSE block", - "else : ELSIF '(' expr ')' block else", - "cond : IF '(' expr ')' block else", - "cond : UNLESS '(' expr ')' block else", - "cond : IF block block else", - "cond : UNLESS block block else", - "cont : /* empty */", - "cont : CONTINUE block", - "loop : label WHILE '(' texpr ')' block cont", - "loop : label UNTIL '(' expr ')' block cont", - "loop : label WHILE block block cont", - "loop : label UNTIL block block cont", - "loop : label FOR scalar '(' expr crp block cont", - "loop : label FOR '(' expr crp block cont", - "loop : label FOR '(' nexpr ';' texpr ';' nexpr ')' block", - "loop : label block cont", - "nexpr : /* empty */", - "nexpr : sideff", - "texpr : /* empty */", - "texpr : expr", - "label : /* empty */", - "label : LABEL", - "decl : format", - "decl : subrout", - "decl : package", - "format : FORMAT WORD block", - "format : FORMAT block", - "subrout : SUB WORD block", - "package : PACKAGE WORD ';'", - "expr : expr ',' sexpr", - "expr : sexpr", - "listop : LSTOP indirob listexpr", - "listop : FUNC '(' indirob listexpr ')'", - "listop : indirob ARROW LSTOP listexpr", - "listop : indirob ARROW FUNC '(' listexpr ')'", - "listop : term ARROW METHOD '(' listexpr ')'", - "listop : METHOD indirob listexpr", - "listop : LSTOP listexpr", - "listop : FUNC '(' listexpr ')'", - "sexpr : sexpr '=' sexpr", - "sexpr : sexpr POWOP '=' sexpr", - "sexpr : sexpr MULOP '=' sexpr", - "sexpr : sexpr ADDOP '=' sexpr", - "sexpr : sexpr SHIFTOP '=' sexpr", - "sexpr : sexpr BITANDOP '=' sexpr", - "sexpr : sexpr BITOROP '=' sexpr", - "sexpr : sexpr ANDAND '=' sexpr", - "sexpr : sexpr OROR '=' sexpr", - "sexpr : sexpr POWOP sexpr", - "sexpr : sexpr MULOP sexpr", - "sexpr : sexpr ADDOP sexpr", - "sexpr : sexpr SHIFTOP sexpr", - "sexpr : sexpr RELOP sexpr", - "sexpr : sexpr EQOP sexpr", - "sexpr : sexpr BITANDOP sexpr", - "sexpr : sexpr BITOROP sexpr", - "sexpr : sexpr DOTDOT sexpr", - "sexpr : sexpr ANDAND sexpr", - "sexpr : sexpr OROR sexpr", - "sexpr : sexpr '?' sexpr ':' sexpr", - "sexpr : sexpr MATCHOP sexpr", - "sexpr : term", - "term : '-' term", - "term : '+' term", - "term : '!' term", - "term : '~' term", - "term : REFGEN term", - "term : term POSTINC", - "term : term POSTDEC", - "term : PREINC term", - "term : PREDEC term", - "term : LOCAL sexpr", - "term : '(' expr crp", - "term : '(' ')'", - "term : '[' expr crb", - "term : '[' ']'", - "term : HASHBRACK expr crhb", - "term : HASHBRACK ';' '}'", - "term : scalar", - "term : star", - "term : scalar '[' expr ']'", - "term : term ARROW '[' expr ']'", - "term : hsh", - "term : ary", - "term : arylen", - "term : scalar '{' expr ';' '}'", - "term : term ARROW '{' expr ';' '}'", - "term : '(' expr crp '[' expr ']'", - "term : '(' ')' '[' expr ']'", - "term : ary '[' expr ']'", - "term : ary '{' expr ';' '}'", - "term : DELETE scalar '{' expr ';' '}'", - "term : DELETE '(' scalar '{' expr ';' '}' ')'", - "term : THING", - "term : amper", - "term : amper '(' ')'", - "term : amper '(' expr crp", - "term : DO sexpr", - "term : DO block", - "term : DO WORD '(' ')'", - "term : DO WORD '(' expr crp", - "term : DO scalar '(' ')'", - "term : DO scalar '(' expr crp", - "term : LOOPEX", - "term : LOOPEX WORD", - "term : UNIOP", - "term : UNIOP block", - "term : UNIOP sexpr", - "term : FUNC0", - "term : FUNC0 '(' ')'", - "term : FUNC1 '(' ')'", - "term : FUNC1 '(' expr ')'", - "term : PMFUNC '(' sexpr ')'", - "term : PMFUNC '(' sexpr ',' sexpr ')'", - "term : WORD", - "term : listop", - "listexpr : /* empty */", - "listexpr : expr", - "amper : '&' indirob", - "scalar : '$' indirob", - "ary : '@' indirob", - "hsh : '%' indirob", - "arylen : DOLSHARP indirob", - "star : '*' indirob", - "indirob : WORD", - "indirob : scalar", - "indirob : block", - "crp : ',' ')'", - "crp : ')'", - "crb : ',' ']'", - "crb : ']'", - "crhb : ',' ';' '}'", - "crhb : ';' '}'", +char *yyrule[] = { +"$accept : prog", +"$$1 :", +"prog : $$1 lineseq", +"block : '{' remember lineseq '}'", +"remember :", +"lineseq :", +"lineseq : lineseq decl", +"lineseq : lineseq line", +"line : label cond", +"line : loop", +"line : label ';'", +"line : label sideff ';'", +"sideff : error", +"sideff : expr", +"sideff : expr IF expr", +"sideff : expr UNLESS expr", +"sideff : expr WHILE expr", +"sideff : expr UNTIL expr", +"else :", +"else : ELSE block", +"else : ELSIF '(' expr ')' block else", +"cond : IF '(' expr ')' block else", +"cond : UNLESS '(' expr ')' block else", +"cond : IF block block else", +"cond : UNLESS block block else", +"cont :", +"cont : CONTINUE block", +"loop : label WHILE '(' texpr ')' block cont", +"loop : label UNTIL '(' expr ')' block cont", +"loop : label WHILE block block cont", +"loop : label UNTIL block block cont", +"loop : label FOR scalar '(' expr crp block cont", +"loop : label FOR '(' expr crp block cont", +"loop : label FOR '(' nexpr ';' texpr ';' nexpr ')' block", +"loop : label block cont", +"nexpr :", +"nexpr : sideff", +"texpr :", +"texpr : expr", +"label :", +"label : LABEL", +"decl : format", +"decl : subrout", +"decl : package", +"format : FORMAT WORD block", +"format : FORMAT block", +"subrout : SUB WORD block", +"subrout : SUB WORD ';'", +"package : PACKAGE WORD ';'", +"package : PACKAGE ';'", +"expr : expr ',' sexpr", +"expr : sexpr", +"listop : LSTOP indirob listexpr", +"listop : FUNC '(' indirob listexpr ')'", +"listop : indirob ARROW LSTOP listexpr", +"listop : indirob ARROW FUNC '(' listexpr ')'", +"listop : term ARROW METHOD '(' listexpr ')'", +"listop : METHOD indirob listexpr", +"listop : LSTOP listexpr", +"listop : FUNC '(' listexpr ')'", +"sexpr : sexpr '=' sexpr", +"sexpr : sexpr POWOP '=' sexpr", +"sexpr : sexpr MULOP '=' sexpr", +"sexpr : sexpr ADDOP '=' sexpr", +"sexpr : sexpr SHIFTOP '=' sexpr", +"sexpr : sexpr BITANDOP '=' sexpr", +"sexpr : sexpr BITOROP '=' sexpr", +"sexpr : sexpr ANDAND '=' sexpr", +"sexpr : sexpr OROR '=' sexpr", +"sexpr : sexpr POWOP sexpr", +"sexpr : sexpr MULOP sexpr", +"sexpr : sexpr ADDOP sexpr", +"sexpr : sexpr SHIFTOP sexpr", +"sexpr : sexpr RELOP sexpr", +"sexpr : sexpr EQOP sexpr", +"sexpr : sexpr BITANDOP sexpr", +"sexpr : sexpr BITOROP sexpr", +"sexpr : sexpr DOTDOT sexpr", +"sexpr : sexpr ANDAND sexpr", +"sexpr : sexpr OROR sexpr", +"sexpr : sexpr '?' sexpr ':' sexpr", +"sexpr : sexpr MATCHOP sexpr", +"sexpr : term", +"term : '-' term", +"term : '+' term", +"term : '!' term", +"term : '~' term", +"term : REFGEN term", +"term : term POSTINC", +"term : term POSTDEC", +"term : PREINC term", +"term : PREDEC term", +"term : LOCAL sexpr", +"term : '(' expr crp", +"term : '(' ')'", +"term : '[' expr crb", +"term : '[' ']'", +"term : HASHBRACK expr crhb", +"term : HASHBRACK ';' '}'", +"term : scalar", +"term : star", +"term : scalar '[' expr ']'", +"term : term ARROW '[' expr ']'", +"term : hsh", +"term : ary", +"term : arylen", +"term : scalar '{' expr ';' '}'", +"term : term ARROW '{' expr ';' '}'", +"term : '(' expr crp '[' expr ']'", +"term : '(' ')' '[' expr ']'", +"term : ary '[' expr ']'", +"term : ary '{' expr ';' '}'", +"term : DELETE scalar '{' expr ';' '}'", +"term : DELETE '(' scalar '{' expr ';' '}' ')'", +"term : THING", +"term : amper", +"term : amper '(' ')'", +"term : amper '(' expr crp", +"term : NOAMP WORD listexpr", +"term : DO sexpr", +"term : DO block", +"term : DO WORD '(' ')'", +"term : DO WORD '(' expr crp", +"term : DO scalar '(' ')'", +"term : DO scalar '(' expr crp", +"term : LOOPEX", +"term : LOOPEX WORD", +"term : UNIOP", +"term : UNIOP block", +"term : UNIOP sexpr", +"term : FUNC0", +"term : FUNC0 '(' ')'", +"term : FUNC1 '(' ')'", +"term : FUNC1 '(' expr ')'", +"term : PMFUNC '(' sexpr ')'", +"term : PMFUNC '(' sexpr ',' sexpr ')'", +"term : WORD", +"term : listop", +"listexpr :", +"listexpr : expr", +"amper : '&' indirob", +"scalar : '$' indirob", +"ary : '@' indirob", +"hsh : '%' indirob", +"arylen : DOLSHARP indirob", +"star : '*' indirob", +"indirob : WORD", +"indirob : scalar", +"indirob : block", +"indirob : PRIVATEREF", +"crp : ',' ')'", +"crp : ')'", +"crb : ',' ']'", +"crb : ']'", +"crhb : ',' ';' '}'", +"crhb : ';' '}'", }; -#endif /* YYDEBUG */ -#line 1 "/usr/lib/yaccpar" -/* @(#)yaccpar 1.10 89/04/04 SMI; from S5R3 1.10 */ - -/* -** Skeleton parser driver for yacc output -*/ - -/* -** yacc user known macros and defines -*/ -#define YYERROR goto yyerrlab -#define YYACCEPT { free(yys); free(yyv); return(0); } -#define YYABORT { free(yys); free(yyv); return(1); } -#define YYBACKUP( newtoken, newvalue )\ -{\ - if ( yychar >= 0 || ( yyr2[ yytmp ] >> 1 ) != 1 )\ - {\ - yyerror( "syntax error - cannot backup" );\ - goto yyerrlab;\ - }\ - yychar = newtoken;\ - yystate = *yyps;\ - yylval = newvalue;\ - goto yynewstate;\ -} -#define YYRECOVERING() (!!yyerrflag) -#ifndef YYDEBUG -# define YYDEBUG 1 /* make debugging available */ #endif - -/* -** user known globals -*/ -int yydebug; /* set to 1 to get debugging */ - -/* -** driver internal defines -*/ -#define YYFLAG (-1000) - -/* -** static variables used by the parser -*/ -static YYSTYPE *yyv; /* value stack */ -static int *yys; /* state stack */ - -static YYSTYPE *yypv; /* top of value stack */ -static int *yyps; /* top of state stack */ - -static int yystate; /* current state */ -static int yytmp; /* extra var (lasts between blocks) */ - -int yynerrs; /* number of errors */ - -int yyerrflag; /* error recovery flag */ -int yychar; /* current input token number */ - - -/* -** yyparse - return 0 if worked, 1 if syntax error not recovered from -*/ +#define yyclearin (yychar=(-1)) +#define yyerrok (yyerrflag=0) +#ifdef YYSTACKSIZE +#ifndef YYMAXDEPTH +#define YYMAXDEPTH YYSTACKSIZE +#endif +#else +#ifdef YYMAXDEPTH +#define YYSTACKSIZE YYMAXDEPTH +#else +#define YYSTACKSIZE 500 +#define YYMAXDEPTH 500 +#endif +#endif +int yydebug; +int yynerrs; +int yyerrflag; +int yychar; +YYSTYPE yyval; +YYSTYPE yylval; +#line 579 "perly.y" + /* PROGRAM */ +#line 1392 "y.tab.c" +#define YYABORT goto yyabort +#define YYACCEPT goto yyaccept +#define YYERROR goto yyerrlab int yyparse() { - register YYSTYPE *yypvt; /* top of value stack for $vars */ - unsigned yymaxdepth = YYMAXDEPTH; + register int yym, yyn, yystate; + register short *yyssp; + register YYSTYPE *yyvsp; + short* yyss; + YYSTYPE* yyvs; + unsigned yystacksize = YYSTACKSIZE; + int oldyydebug = yydebug; + int oldyynerrs = yynerrs; + int oldyyerrflag = yyerrflag; + int oldyychar = yychar; + YYSTYPE oldyyval = yyval; + YYSTYPE oldyylval = yylval; + int retval = 0; - /* - ** Initialize externals - yyparse may be called more than once - */ - yyv = (YYSTYPE*)malloc(yymaxdepth*sizeof(YYSTYPE)); - yys = (int*)malloc(yymaxdepth*sizeof(int)); - if (!yyv || !yys) - { - yyerror( "out of memory" ); - return(1); - } - yypv = &yyv[-1]; - yyps = &yys[-1]; - yystate = 0; - yytmp = 0; - yynerrs = 0; - yyerrflag = 0; - yychar = -1; - - goto yystack; - { - register YYSTYPE *yy_pv; /* top of value stack */ - register int *yy_ps; /* top of state stack */ - register int yy_state; /* current state */ - register int yy_n; /* internal state number info */ +#if YYDEBUG + register char *yys; + extern char *getenv(); - /* - ** get globals into registers. - ** branch to here only if YYBACKUP was called. - */ - yynewstate: - yy_pv = yypv; - yy_ps = yyps; - yy_state = yystate; - goto yy_newstate; + if (yys = getenv("YYDEBUG")) + { + yyn = *yys; + if (yyn >= '0' && yyn <= '9') + yydebug = yyn - '0'; + } +#endif - /* - ** get globals into registers. - ** either we just started, or we just finished a reduction - */ - yystack: - yy_pv = yypv; - yy_ps = yyps; - yy_state = yystate; + yynerrs = 0; + yyerrflag = 0; + yychar = (-1); - /* - ** top of for (;;) loop while no reductions done - */ - yy_stack: - /* - ** put a state and value onto the stacks - */ -#if YYDEBUG - /* - ** if debugging, look up token value in list of value vs. - ** name pairs. 0 and negative (-1) are special values. - ** Note: linear search is used since time is not a real - ** consideration while debugging. - */ - if ( yydebug ) - { - register int yy_i; + /* + ** Initialize private stacks (yyparse may be called from an action) + */ + yyss = (short*)malloc(yystacksize*sizeof(short)); + yyvs = (YYSTYPE*)malloc(yystacksize*sizeof(YYSTYPE)); + if (!yyvs || !yyss) + goto yyoverflow; - (void)printf( "State %d, token ", yy_state ); - if ( yychar == 0 ) - (void)printf( "end-of-file\n" ); - else if ( yychar < 0 ) - (void)printf( "-none-\n" ); - else - { - for ( yy_i = 0; yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val == yychar ) - break; - } - (void)printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( ++yy_ps >= &yys[ yymaxdepth ] ) /* room on stack? */ - { - /* - ** reallocate and recover. Note that pointers - ** have to be reset, or bad things will happen - */ - int yyps_index = (yy_ps - yys); - int yypv_index = (yy_pv - yyv); - int yypvt_index = (yypvt - yyv); - yymaxdepth += YYMAXDEPTH; - yyv = (YYSTYPE*)realloc((char*)yyv, - yymaxdepth * sizeof(YYSTYPE)); - yys = (int*)realloc((char*)yys, - yymaxdepth * sizeof(int)); - if (!yyv || !yys) - { - yyerror( "yacc stack overflow" ); - return(1); - } - yy_ps = yys + yyps_index; - yy_pv = yyv + yypv_index; - yypvt = yyv + yypvt_index; - } - *yy_ps = yy_state; - *++yy_pv = yyval; + yyssp = yyss; + yyvsp = yyvs; + *yyssp = yystate = 0; - /* - ** we have a new state - find out what to do - */ - yy_newstate: - if ( ( yy_n = yypact[ yy_state ] ) <= YYFLAG ) - goto yydefault; /* simple state */ +yyloop: + if (yyn = yydefred[yystate]) goto yyreduce; + if (yychar < 0) + { + if ((yychar = yylex()) < 0) yychar = 0; #if YYDEBUG - /* - ** if debugging, need to mark whether new token grabbed - */ - yytmp = yychar < 0; + if (yydebug) + { + yys = 0; + if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; + if (!yys) yys = "illegal-symbol"; + printf("yydebug: state %d, reading %d (%s)\n", yystate, + yychar, yys); + } #endif - if ( ( yychar < 0 ) && ( ( yychar = yylex() ) < 0 ) ) - yychar = 0; /* reached EOF */ -#if YYDEBUG - if ( yydebug && yytmp ) - { - register int yy_i; - - (void)printf( " *** Received token " ); - if ( yychar == 0 ) - (void)printf( "end-of-file\n" ); - else if ( yychar < 0 ) - (void)printf( "-none-\n" ); - else - { - for ( yy_i = 0; yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val == yychar ) - break; - } - (void)printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( ( ( yy_n += yychar ) < 0 ) || ( yy_n >= YYLAST ) ) - goto yydefault; - if ( yychk[ yy_n = yyact[ yy_n ] ] == yychar ) /*valid shift*/ - { - yychar = -1; - yyval = yylval; - yy_state = yy_n; - if ( yyerrflag > 0 ) - yyerrflag--; - goto yy_stack; - } - - yydefault: - if ( ( yy_n = yydef[ yy_state ] ) == -2 ) - { + } + if ((yyn = yysindex[yystate]) && (yyn += yychar) >= 0 && + yyn <= YYTABLESIZE && yycheck[yyn] == yychar) + { #if YYDEBUG - yytmp = yychar < 0; + if (yydebug) + printf("yydebug: state %d, shifting to state %d\n", + yystate, yytable[yyn]); #endif - if ( ( yychar < 0 ) && ( ( yychar = yylex() ) < 0 ) ) - yychar = 0; /* reached EOF */ + if (yyssp >= yyss + yystacksize - 1) + { + /* + ** reallocate and recover. Note that pointers + ** have to be reset, or bad things will happen + */ + int yyps_index = (yyssp - yyss); + int yypv_index = (yyvsp - yyvs); + yystacksize += YYSTACKSIZE; + yyvs = (YYSTYPE*)realloc((char*)yyvs,yystacksize * sizeof(YYSTYPE)); + yyss = (short*)realloc((char*)yyss,yystacksize * sizeof(short)); + if (!yyvs || !yyss) + goto yyoverflow; + yyssp = yyss + yyps_index; + yyvsp = yyvs + yypv_index; + } + *++yyssp = yystate = yytable[yyn]; + *++yyvsp = yylval; + yychar = (-1); + if (yyerrflag > 0) --yyerrflag; + goto yyloop; + } + if ((yyn = yyrindex[yystate]) && (yyn += yychar) >= 0 && + yyn <= YYTABLESIZE && yycheck[yyn] == yychar) + { + yyn = yytable[yyn]; + goto yyreduce; + } + if (yyerrflag) goto yyinrecovery; +#ifdef lint + goto yynewerror; +#endif +yynewerror: + yyerror("syntax error"); +#ifdef lint + goto yyerrlab; +#endif +yyerrlab: + ++yynerrs; +yyinrecovery: + if (yyerrflag < 3) + { + yyerrflag = 3; + for (;;) + { + if ((yyn = yysindex[*yyssp]) && (yyn += YYERRCODE) >= 0 && + yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE) + { #if YYDEBUG - if ( yydebug && yytmp ) - { - register int yy_i; - - (void)printf( " *** Received token " ); - if ( yychar == 0 ) - (void)printf( "end-of-file\n" ); - else if ( yychar < 0 ) - (void)printf( "-none-\n" ); - else - { - for ( yy_i = 0; - yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val - == yychar ) - { - break; - } - } - (void)printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - /* - ** look through exception table - */ - { - register int *yyxi = yyexca; - - while ( ( *yyxi != -1 ) || - ( yyxi[1] != yy_state ) ) - { - yyxi += 2; - } - while ( ( *(yyxi += 2) >= 0 ) && - ( *yyxi != yychar ) ) - ; - if ( ( yy_n = yyxi[1] ) < 0 ) - YYACCEPT; - } - } - - /* - ** check for syntax error - */ - if ( yy_n == 0 ) /* have an error */ - { - /* no worry about speed here! */ - switch ( yyerrflag ) - { - case 0: /* new error */ - yyerror( "syntax error" ); - goto skip_init; - yyerrlab: - /* - ** get globals into registers. - ** we have a user generated syntax type error - */ - yy_pv = yypv; - yy_ps = yyps; - yy_state = yystate; - yynerrs++; - skip_init: - case 1: - case 2: /* incompletely recovered error */ - /* try again... */ - yyerrflag = 3; - /* - ** find state where "error" is a legal - ** shift action - */ - while ( yy_ps >= yys ) - { - yy_n = yypact[ *yy_ps ] + YYERRCODE; - if ( yy_n >= 0 && yy_n < YYLAST && - yychk[yyact[yy_n]] == YYERRCODE) { - /* - ** simulate shift of "error" - */ - yy_state = yyact[ yy_n ]; - goto yy_stack; - } - /* - ** current state has no shift on - ** "error", pop stack - */ + if (yydebug) + printf("yydebug: state %d, error recovery shifting\ + to state %d\n", *yyssp, yytable[yyn]); +#endif + if (yyssp >= yyss + yystacksize - 1) + { + /* + ** reallocate and recover. Note that pointers + ** have to be reset, or bad things will happen + */ + int yyps_index = (yyssp - yyss); + int yypv_index = (yyvsp - yyvs); + yystacksize += YYSTACKSIZE; + yyvs = (YYSTYPE*)realloc((char*)yyvs, + yystacksize * sizeof(YYSTYPE)); + yyss = (short*)realloc((char*)yyss, + yystacksize * sizeof(short)); + if (!yyvs || !yyss) + goto yyoverflow; + yyssp = yyss + yyps_index; + yyvsp = yyvs + yypv_index; + } + *++yyssp = yystate = yytable[yyn]; + *++yyvsp = yylval; + goto yyloop; + } + else + { #if YYDEBUG -# define _POP_ "Error recovery pops state %d, uncovers state %d\n" - if ( yydebug ) - (void)printf( _POP_, *yy_ps, - yy_ps[-1] ); -# undef _POP_ + if (yydebug) + printf("yydebug: error recovery discarding state %d\n", + *yyssp); #endif - yy_ps--; - yy_pv--; - } - /* - ** there is no state on stack with "error" as - ** a valid shift. give up. - */ - YYABORT; - case 3: /* no shift yet; eat a token */ + if (yyssp <= yyss) goto yyabort; + --yyssp; + --yyvsp; + } + } + } + else + { + if (yychar == 0) goto yyabort; #if YYDEBUG - /* - ** if debugging, look up token in list of - ** pairs. 0 and negative shouldn't occur, - ** but since timing doesn't matter when - ** debugging, it doesn't hurt to leave the - ** tests here. - */ - if ( yydebug ) - { - register int yy_i; - - (void)printf( "Error recovery discards " ); - if ( yychar == 0 ) - (void)printf( "token end-of-file\n" ); - else if ( yychar < 0 ) - (void)printf( "token -none-\n" ); - else - { - for ( yy_i = 0; - yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val - == yychar ) - { - break; - } - } - (void)printf( "token %s\n", - yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( yychar == 0 ) /* reached EOF. quit */ - YYABORT; - yychar = -1; - goto yy_newstate; - } - }/* end if ( yy_n == 0 ) */ - /* - ** reduction by production yy_n - ** put stack tops, etc. so things right after switch - */ + if (yydebug) + { + yys = 0; + if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; + if (!yys) yys = "illegal-symbol"; + printf("yydebug: state %d, error recovery discards token %d (%s)\n", + yystate, yychar, yys); + } +#endif + yychar = (-1); + goto yyloop; + } +yyreduce: #if YYDEBUG - /* - ** if debugging, print the string that is the user's - ** specification of the reduction which is just about - ** to be done. - */ - if ( yydebug ) - (void)printf( "Reduce by (%d) \"%s\"\n", - yy_n, yyreds[ yy_n ] ); + if (yydebug) + printf("yydebug: state %d, reducing by rule %d (%s)\n", + yystate, yyn, yyrule[yyn]); #endif - yytmp = yy_n; /* value to switch over */ - yypvt = yy_pv; /* $vars top of value stack */ - /* - ** Look in goto table for next state - ** Sorry about using yy_state here as temporary - ** register variable, but why not, if it works... - ** If yyr2[ yy_n ] doesn't have the low order bit - ** set, then there is no action to be done for - ** this reduction. So, no saving & unsaving of - ** registers done. The only difference between the - ** code just after the if and the body of the if is - ** the goto yy_stack in the body. This way the test - ** can be made before the choice of what to do is needed. - */ - { - /* length of production doubled with extra bit */ - register int yy_len = yyr2[ yy_n ]; - - if ( !( yy_len & 01 ) ) - { - yy_len >>= 1; - yyval = ( yy_pv -= yy_len )[1]; /* $$ = $1 */ - yy_state = yypgo[ yy_n = yyr1[ yy_n ] ] + - *( yy_ps -= yy_len ) + 1; - if ( yy_state >= YYLAST || - yychk[ yy_state = - yyact[ yy_state ] ] != -yy_n ) - { - yy_state = yyact[ yypgo[ yy_n ] ]; - } - goto yy_stack; - } - yy_len >>= 1; - yyval = ( yy_pv -= yy_len )[1]; /* $$ = $1 */ - yy_state = yypgo[ yy_n = yyr1[ yy_n ] ] + - *( yy_ps -= yy_len ) + 1; - if ( yy_state >= YYLAST || - yychk[ yy_state = yyact[ yy_state ] ] != -yy_n ) - { - yy_state = yyact[ yypgo[ yy_n ] ]; - } - } - /* save until reenter driver code */ - yystate = yy_state; - yyps = yy_ps; - yypv = yy_pv; - } - /* - ** code supplied by user is placed in this switch - */ - switch( yytmp ) - { - + yym = yylen[yyn]; + yyval = yyvsp[1-yym]; + switch (yyn) + { case 1: -# line 100 "perly.y" +#line 100 "perly.y" { #if defined(YYDEBUG) && defined(DEBUGGING) yydebug = (debug & 1); #endif expect = XBLOCK; - } break; + } +break; case 2: -# line 107 "perly.y" +#line 107 "perly.y" { if (in_eval) { - eval_root = newUNOP(OP_LEAVEEVAL, 0, yypvt[-0].opval); + eval_root = newUNOP(OP_LEAVEEVAL, 0, yyvsp[0].opval); eval_start = linklist(eval_root); eval_root->op_next = 0; peep(eval_start); } else - main_root = block_head(scalar(yypvt[-0].opval), &main_start); - } break; + main_root = block_head(yyvsp[0].opval, &main_start); + } +break; case 3: -# line 119 "perly.y" -{ yyval.opval = scalarseq(yypvt[-1].opval); - if (copline > (line_t)yypvt[-3].ival) - copline = yypvt[-3].ival; - if (savestack_ix > yypvt[-2].ival) - leave_scope(yypvt[-2].ival); - expect = XBLOCK; } break; +#line 119 "perly.y" +{ yyval.opval = scalarseq(yyvsp[-1].opval); + if (copline > (line_t)yyvsp[-3].ival) + copline = yyvsp[-3].ival; + leave_scope(yyvsp[-2].ival); + pad_leavemy(comppadnamefill); + expect = XBLOCK; } +break; case 4: -# line 128 "perly.y" -{ yyval.ival = savestack_ix; } break; +#line 128 "perly.y" +{ yyval.ival = savestack_ix; SAVEINT(comppadnamefill); } +break; case 5: -# line 132 "perly.y" -{ yyval.opval = Nullop; } break; +#line 132 "perly.y" +{ yyval.opval = Nullop; } +break; case 6: -# line 134 "perly.y" -{ yyval.opval = yypvt[-1].opval; } break; +#line 134 "perly.y" +{ yyval.opval = yyvsp[-1].opval; } +break; case 7: -# line 136 "perly.y" -{ yyval.opval = append_list(OP_LINESEQ, yypvt[-1].opval, yypvt[-0].opval); pad_reset(); } break; +#line 136 "perly.y" +{ yyval.opval = append_list(OP_LINESEQ, yyvsp[-1].opval, yyvsp[0].opval); pad_reset(); } +break; case 8: -# line 140 "perly.y" -{ yyval.opval = newSTATEOP(0, yypvt[-1].pval, yypvt[-0].opval); } break; +#line 140 "perly.y" +{ yyval.opval = newSTATEOP(0, yyvsp[-1].pval, yyvsp[0].opval); } +break; case 10: -# line 143 "perly.y" -{ if (yypvt[-1].pval != Nullch) { - yyval.opval = newSTATEOP(0, yypvt[-1].pval, newOP(OP_NULL, 0)); +#line 143 "perly.y" +{ if (yyvsp[-1].pval != Nullch) { + yyval.opval = newSTATEOP(0, yyvsp[-1].pval, newOP(OP_NULL, 0)); } else { yyval.opval = Nullop; copline = NOLINE; } - expect = XBLOCK; } break; + expect = XBLOCK; } +break; case 11: -# line 152 "perly.y" -{ yyval.opval = newSTATEOP(0, yypvt[-2].pval, yypvt[-1].opval); - expect = XBLOCK; } break; +#line 152 "perly.y" +{ yyval.opval = newSTATEOP(0, yyvsp[-2].pval, yyvsp[-1].opval); + expect = XBLOCK; } +break; case 12: -# line 157 "perly.y" -{ yyval.opval = Nullop; } break; +#line 157 "perly.y" +{ yyval.opval = Nullop; } +break; case 13: -# line 159 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; +#line 159 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 14: -# line 161 "perly.y" -{ yyval.opval = newLOGOP(OP_AND, 0, yypvt[-0].opval, yypvt[-2].opval); } break; +#line 161 "perly.y" +{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[0].opval, yyvsp[-2].opval); } +break; case 15: -# line 163 "perly.y" -{ yyval.opval = newLOGOP(OP_OR, 0, yypvt[-0].opval, yypvt[-2].opval); } break; +#line 163 "perly.y" +{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[0].opval, yyvsp[-2].opval); } +break; case 16: -# line 165 "perly.y" -{ yyval.opval = newLOOPOP(0, 1, scalar(yypvt[-0].opval), yypvt[-2].opval, Nullop); } break; +#line 165 "perly.y" +{ yyval.opval = newLOOPOP(0, 1, scalar(yyvsp[0].opval), yyvsp[-2].opval); } +break; case 17: -# line 167 "perly.y" -{ yyval.opval = newLOOPOP(0, 1, invert(scalar(yypvt[-0].opval)), yypvt[-2].opval, Nullop);} break; +#line 167 "perly.y" +{ yyval.opval = newLOOPOP(0, 1, invert(scalar(yyvsp[0].opval)), yyvsp[-2].opval);} +break; case 18: -# line 171 "perly.y" -{ yyval.opval = Nullop; } break; +#line 171 "perly.y" +{ yyval.opval = Nullop; } +break; case 19: -# line 173 "perly.y" -{ yyval.opval = scope(yypvt[-0].opval); } break; +#line 173 "perly.y" +{ yyval.opval = scope(yyvsp[0].opval); } +break; case 20: -# line 175 "perly.y" -{ copline = yypvt[-5].ival; - yyval.opval = newCONDOP(0, yypvt[-3].opval, scope(yypvt[-1].opval), yypvt[-0].opval); } break; +#line 175 "perly.y" +{ copline = yyvsp[-5].ival; + yyval.opval = newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval); } +break; case 21: -# line 180 "perly.y" -{ copline = yypvt[-5].ival; - yyval.opval = newCONDOP(0, yypvt[-3].opval, scope(yypvt[-1].opval), yypvt[-0].opval); } break; +#line 180 "perly.y" +{ copline = yyvsp[-5].ival; + yyval.opval = newCONDOP(0, yyvsp[-3].opval, scope(yyvsp[-1].opval), yyvsp[0].opval); } +break; case 22: -# line 183 "perly.y" -{ copline = yypvt[-5].ival; +#line 183 "perly.y" +{ copline = yyvsp[-5].ival; yyval.opval = newCONDOP(0, - invert(scalar(yypvt[-3].opval)), scope(yypvt[-1].opval), yypvt[-0].opval); } break; + invert(scalar(yyvsp[-3].opval)), scope(yyvsp[-1].opval), yyvsp[0].opval); } +break; case 23: -# line 187 "perly.y" -{ copline = yypvt[-3].ival; - yyval.opval = newCONDOP(0, scope(yypvt[-2].opval), scope(yypvt[-1].opval), yypvt[-0].opval); } break; +#line 187 "perly.y" +{ copline = yyvsp[-3].ival; + yyval.opval = newCONDOP(0, scope(yyvsp[-2].opval), scope(yyvsp[-1].opval), yyvsp[0].opval); } +break; case 24: -# line 190 "perly.y" -{ copline = yypvt[-3].ival; - yyval.opval = newCONDOP(0, invert(scalar(scope(yypvt[-2].opval))), - scope(yypvt[-1].opval), yypvt[-0].opval); } break; +#line 190 "perly.y" +{ copline = yyvsp[-3].ival; + yyval.opval = newCONDOP(0, invert(scalar(scope(yyvsp[-2].opval))), + scope(yyvsp[-1].opval), yyvsp[0].opval); } +break; case 25: -# line 196 "perly.y" -{ yyval.opval = Nullop; } break; +#line 196 "perly.y" +{ yyval.opval = Nullop; } +break; case 26: -# line 198 "perly.y" -{ yyval.opval = scope(yypvt[-0].opval); } break; +#line 198 "perly.y" +{ yyval.opval = scope(yyvsp[0].opval); } +break; case 27: -# line 202 "perly.y" -{ copline = yypvt[-5].ival; - yyval.opval = newSTATEOP(0, yypvt[-6].pval, - newWHILEOP(0, 1, Nullop, yypvt[-3].opval, yypvt[-1].opval, yypvt[-0].opval) ); } break; +#line 202 "perly.y" +{ copline = yyvsp[-5].ival; + yyval.opval = newSTATEOP(0, yyvsp[-6].pval, + newWHILEOP(0, 1, Nullop, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval) ); } +break; case 28: -# line 206 "perly.y" -{ copline = yypvt[-5].ival; - yyval.opval = newSTATEOP(0, yypvt[-6].pval, +#line 206 "perly.y" +{ copline = yyvsp[-5].ival; + yyval.opval = newSTATEOP(0, yyvsp[-6].pval, newWHILEOP(0, 1, Nullop, - invert(scalar(yypvt[-3].opval)), yypvt[-1].opval, yypvt[-0].opval) ); } break; + invert(scalar(yyvsp[-3].opval)), yyvsp[-1].opval, yyvsp[0].opval) ); } +break; case 29: -# line 211 "perly.y" -{ copline = yypvt[-3].ival; - yyval.opval = newSTATEOP(0, yypvt[-4].pval, +#line 211 "perly.y" +{ copline = yyvsp[-3].ival; + yyval.opval = newSTATEOP(0, yyvsp[-4].pval, newWHILEOP(0, 1, Nullop, - scope(yypvt[-2].opval), yypvt[-1].opval, yypvt[-0].opval) ); } break; + scope(yyvsp[-2].opval), yyvsp[-1].opval, yyvsp[0].opval) ); } +break; case 30: -# line 216 "perly.y" -{ copline = yypvt[-3].ival; - yyval.opval = newSTATEOP(0, yypvt[-4].pval, +#line 216 "perly.y" +{ copline = yyvsp[-3].ival; + yyval.opval = newSTATEOP(0, yyvsp[-4].pval, newWHILEOP(0, 1, Nullop, - invert(scalar(scope(yypvt[-2].opval))), yypvt[-1].opval, yypvt[-0].opval)); } break; + invert(scalar(scope(yyvsp[-2].opval))), yyvsp[-1].opval, yyvsp[0].opval)); } +break; case 31: -# line 221 "perly.y" -{ yyval.opval = newFOROP(0, yypvt[-7].pval, yypvt[-6].ival, ref(yypvt[-5].opval, OP_ENTERLOOP), - yypvt[-3].opval, yypvt[-1].opval, yypvt[-0].opval); } break; +#line 221 "perly.y" +{ yyval.opval = newFOROP(0, yyvsp[-7].pval, yyvsp[-6].ival, ref(yyvsp[-5].opval, OP_ENTERLOOP), + yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval); } +break; case 32: -# line 224 "perly.y" -{ yyval.opval = newFOROP(0, yypvt[-6].pval, yypvt[-5].ival, Nullop, yypvt[-3].opval, yypvt[-1].opval, yypvt[-0].opval); } break; +#line 224 "perly.y" +{ yyval.opval = newFOROP(0, yyvsp[-6].pval, yyvsp[-5].ival, Nullop, yyvsp[-3].opval, yyvsp[-1].opval, yyvsp[0].opval); } +break; case 33: -# line 227 "perly.y" -{ copline = yypvt[-8].ival; +#line 227 "perly.y" +{ copline = yyvsp[-8].ival; yyval.opval = append_elem(OP_LINESEQ, - newSTATEOP(0, yypvt[-9].pval, scalar(yypvt[-6].opval)), - newSTATEOP(0, yypvt[-9].pval, + newSTATEOP(0, yyvsp[-9].pval, scalar(yyvsp[-6].opval)), + newSTATEOP(0, yyvsp[-9].pval, newWHILEOP(0, 1, Nullop, - scalar(yypvt[-4].opval), yypvt[-0].opval, scalar(yypvt[-2].opval)) )); } break; + scalar(yyvsp[-4].opval), yyvsp[0].opval, scalar(yyvsp[-2].opval)) )); } +break; case 34: -# line 234 "perly.y" +#line 234 "perly.y" { yyval.opval = newSTATEOP(0, - yypvt[-2].pval, newWHILEOP(0, 1, Nullop, Nullop, yypvt[-1].opval, yypvt[-0].opval)); } break; + yyvsp[-2].pval, newWHILEOP(0, 1, Nullop, Nullop, yyvsp[-1].opval, yyvsp[0].opval)); } +break; case 35: -# line 239 "perly.y" -{ yyval.opval = Nullop; } break; +#line 239 "perly.y" +{ yyval.opval = Nullop; } +break; case 37: -# line 244 "perly.y" -{ (void)scan_num("1"); yyval.opval = yylval.opval; } break; +#line 244 "perly.y" +{ (void)scan_num("1"); yyval.opval = yylval.opval; } +break; case 39: -# line 249 "perly.y" -{ yyval.pval = Nullch; } break; +#line 249 "perly.y" +{ yyval.pval = Nullch; } +break; case 41: -# line 254 "perly.y" -{ yyval.ival = 0; } break; +#line 254 "perly.y" +{ yyval.ival = 0; } +break; case 42: -# line 256 "perly.y" -{ yyval.ival = 0; } break; +#line 256 "perly.y" +{ yyval.ival = 0; } +break; case 43: -# line 258 "perly.y" -{ yyval.ival = 0; } break; +#line 258 "perly.y" +{ yyval.ival = 0; } +break; case 44: -# line 262 "perly.y" -{ newFORM(yypvt[-2].ival, yypvt[-1].opval, yypvt[-0].opval); } break; +#line 262 "perly.y" +{ newFORM(yyvsp[-2].ival, yyvsp[-1].opval, yyvsp[0].opval); } +break; case 45: -# line 264 "perly.y" -{ newFORM(yypvt[-1].ival, Nullop, yypvt[-0].opval); } break; +#line 264 "perly.y" +{ newFORM(yyvsp[-1].ival, Nullop, yyvsp[0].opval); } +break; case 46: -# line 268 "perly.y" -{ newSUB(yypvt[-2].ival, yypvt[-1].opval, yypvt[-0].opval); } break; +#line 268 "perly.y" +{ newSUB(yyvsp[-2].ival, yyvsp[-1].opval, yyvsp[0].opval); } +break; case 47: -# line 272 "perly.y" -{ package(yypvt[-1].opval); } break; +#line 270 "perly.y" +{ newSUB(yyvsp[-2].ival, yyvsp[-1].opval, Nullop); } +break; case 48: -# line 276 "perly.y" -{ yyval.opval = append_elem(OP_LIST, yypvt[-2].opval, yypvt[-0].opval); } break; +#line 274 "perly.y" +{ package(yyvsp[-1].opval); } +break; +case 49: +#line 276 "perly.y" +{ package(Nullop); } +break; case 50: -# line 281 "perly.y" -{ yyval.opval = convert(yypvt[-2].ival, OPf_STACKED, - prepend_elem(OP_LIST, newGVREF(yypvt[-1].opval), yypvt[-0].opval) ); } break; -case 51: -# line 284 "perly.y" -{ yyval.opval = convert(yypvt[-4].ival, OPf_STACKED, - prepend_elem(OP_LIST, newGVREF(yypvt[-2].opval), yypvt[-1].opval) ); } break; +#line 280 "perly.y" +{ yyval.opval = append_elem(OP_LIST, yyvsp[-2].opval, yyvsp[0].opval); } +break; case 52: -# line 287 "perly.y" -{ yyval.opval = convert(yypvt[-1].ival, OPf_STACKED, - prepend_elem(OP_LIST, newGVREF(yypvt[-3].opval), yypvt[-0].opval) ); } break; +#line 285 "perly.y" +{ yyval.opval = convert(yyvsp[-2].ival, OPf_STACKED, + prepend_elem(OP_LIST, newGVREF(yyvsp[-1].opval), yyvsp[0].opval) ); } +break; case 53: -# line 290 "perly.y" -{ yyval.opval = convert(yypvt[-3].ival, OPf_STACKED, - prepend_elem(OP_LIST, newGVREF(yypvt[-5].opval), yypvt[-1].opval) ); } break; +#line 288 "perly.y" +{ yyval.opval = convert(yyvsp[-4].ival, OPf_STACKED, + prepend_elem(OP_LIST, newGVREF(yyvsp[-2].opval), yyvsp[-1].opval) ); } +break; case 54: -# line 293 "perly.y" -{ yyval.opval = convert(OP_ENTERSUBR, OPf_STACKED|OPf_SPECIAL, - prepend_elem(OP_LIST, newMETHOD(yypvt[-5].opval,yypvt[-3].opval), yypvt[-1].opval)); } break; +#line 291 "perly.y" +{ yyval.opval = convert(yyvsp[-1].ival, OPf_STACKED, + prepend_elem(OP_LIST, newGVREF(yyvsp[-3].opval), yyvsp[0].opval) ); } +break; case 55: -# line 296 "perly.y" -{ yyval.opval = convert(OP_ENTERSUBR, OPf_STACKED|OPf_SPECIAL, - prepend_elem(OP_LIST, newMETHOD(yypvt[-1].opval,yypvt[-2].opval), yypvt[-0].opval)); } break; +#line 294 "perly.y" +{ yyval.opval = convert(yyvsp[-3].ival, OPf_STACKED, + prepend_elem(OP_LIST, newGVREF(yyvsp[-5].opval), yyvsp[-1].opval) ); } +break; case 56: -# line 299 "perly.y" -{ yyval.opval = convert(yypvt[-1].ival, 0, yypvt[-0].opval); } break; +#line 297 "perly.y" +{ yyval.opval = convert(OP_ENTERSUBR, OPf_STACKED|OPf_SPECIAL, + prepend_elem(OP_LIST, newMETHOD(yyvsp[-5].opval,yyvsp[-3].opval), yyvsp[-1].opval)); } +break; case 57: -# line 301 "perly.y" -{ yyval.opval = convert(yypvt[-3].ival, 0, yypvt[-1].opval); } break; +#line 300 "perly.y" +{ yyval.opval = convert(OP_ENTERSUBR, OPf_STACKED|OPf_SPECIAL, + prepend_elem(OP_LIST, newMETHOD(yyvsp[-1].opval,yyvsp[-2].opval), yyvsp[0].opval)); } +break; case 58: -# line 305 "perly.y" -{ yyval.opval = newASSIGNOP(OPf_STACKED, yypvt[-2].opval, yypvt[-0].opval); } break; +#line 303 "perly.y" +{ yyval.opval = convert(yyvsp[-1].ival, 0, yyvsp[0].opval); } +break; case 59: -# line 307 "perly.y" -{ yyval.opval = newBINOP(yypvt[-2].ival, OPf_STACKED, - ref(scalar(yypvt[-3].opval), yypvt[-2].ival), scalar(yypvt[-0].opval)); } break; +#line 305 "perly.y" +{ yyval.opval = convert(yyvsp[-3].ival, 0, yyvsp[-1].opval); } +break; case 60: -# line 310 "perly.y" -{ yyval.opval = newBINOP(yypvt[-2].ival, OPf_STACKED, - ref(scalar(yypvt[-3].opval), yypvt[-2].ival), scalar(yypvt[-0].opval)); } break; +#line 309 "perly.y" +{ yyval.opval = newASSIGNOP(OPf_STACKED, yyvsp[-2].opval, yyvsp[0].opval); } +break; case 61: -# line 313 "perly.y" -{ yyval.opval = newBINOP(yypvt[-2].ival, OPf_STACKED, - ref(scalar(yypvt[-3].opval), yypvt[-2].ival), scalar(yypvt[-0].opval));} break; +#line 311 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-2].ival, OPf_STACKED, + ref(scalar(yyvsp[-3].opval), yyvsp[-2].ival), scalar(yyvsp[0].opval)); } +break; case 62: -# line 316 "perly.y" -{ yyval.opval = newBINOP(yypvt[-2].ival, OPf_STACKED, - ref(scalar(yypvt[-3].opval), yypvt[-2].ival), scalar(yypvt[-0].opval)); } break; +#line 314 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-2].ival, OPf_STACKED, + ref(scalar(yyvsp[-3].opval), yyvsp[-2].ival), scalar(yyvsp[0].opval)); } +break; case 63: -# line 319 "perly.y" -{ yyval.opval = newBINOP(yypvt[-2].ival, OPf_STACKED, - ref(scalar(yypvt[-3].opval), yypvt[-2].ival), scalar(yypvt[-0].opval)); } break; +#line 317 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-2].ival, OPf_STACKED, + ref(scalar(yyvsp[-3].opval), yyvsp[-2].ival), scalar(yyvsp[0].opval));} +break; case 64: -# line 322 "perly.y" -{ yyval.opval = newBINOP(yypvt[-2].ival, OPf_STACKED, - ref(scalar(yypvt[-3].opval), yypvt[-2].ival), scalar(yypvt[-0].opval)); } break; +#line 320 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-2].ival, OPf_STACKED, + ref(scalar(yyvsp[-3].opval), yyvsp[-2].ival), scalar(yyvsp[0].opval)); } +break; case 65: -# line 325 "perly.y" -{ yyval.opval = newLOGOP(OP_ANDASSIGN, 0, - ref(scalar(yypvt[-3].opval), OP_ANDASSIGN), - newUNOP(OP_SASSIGN, 0, scalar(yypvt[-0].opval))); } break; +#line 323 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-2].ival, OPf_STACKED, + ref(scalar(yyvsp[-3].opval), yyvsp[-2].ival), scalar(yyvsp[0].opval)); } +break; case 66: -# line 329 "perly.y" -{ yyval.opval = newLOGOP(OP_ORASSIGN, 0, - ref(scalar(yypvt[-3].opval), OP_ORASSIGN), - newUNOP(OP_SASSIGN, 0, scalar(yypvt[-0].opval))); } break; +#line 326 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-2].ival, OPf_STACKED, + ref(scalar(yyvsp[-3].opval), yyvsp[-2].ival), scalar(yyvsp[0].opval)); } +break; case 67: -# line 335 "perly.y" -{ yyval.opval = newBINOP(yypvt[-1].ival, 0, scalar(yypvt[-2].opval), scalar(yypvt[-0].opval)); } break; +#line 329 "perly.y" +{ yyval.opval = newLOGOP(OP_ANDASSIGN, 0, + ref(scalar(yyvsp[-3].opval), OP_ANDASSIGN), + newUNOP(OP_SASSIGN, 0, scalar(yyvsp[0].opval))); } +break; case 68: -# line 337 "perly.y" -{ if (yypvt[-1].ival != OP_REPEAT) - scalar(yypvt[-2].opval); - yyval.opval = newBINOP(yypvt[-1].ival, 0, yypvt[-2].opval, scalar(yypvt[-0].opval)); } break; +#line 333 "perly.y" +{ yyval.opval = newLOGOP(OP_ORASSIGN, 0, + ref(scalar(yyvsp[-3].opval), OP_ORASSIGN), + newUNOP(OP_SASSIGN, 0, scalar(yyvsp[0].opval))); } +break; case 69: -# line 341 "perly.y" -{ yyval.opval = newBINOP(yypvt[-1].ival, 0, scalar(yypvt[-2].opval), scalar(yypvt[-0].opval)); } break; +#line 339 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } +break; case 70: -# line 343 "perly.y" -{ yyval.opval = newBINOP(yypvt[-1].ival, 0, scalar(yypvt[-2].opval), scalar(yypvt[-0].opval)); } break; +#line 341 "perly.y" +{ if (yyvsp[-1].ival != OP_REPEAT) + scalar(yyvsp[-2].opval); + yyval.opval = newBINOP(yyvsp[-1].ival, 0, yyvsp[-2].opval, scalar(yyvsp[0].opval)); } +break; case 71: -# line 345 "perly.y" -{ yyval.opval = newBINOP(yypvt[-1].ival, 0, scalar(yypvt[-2].opval), scalar(yypvt[-0].opval)); } break; +#line 345 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } +break; case 72: -# line 347 "perly.y" -{ yyval.opval = newBINOP(yypvt[-1].ival, 0, scalar(yypvt[-2].opval), scalar(yypvt[-0].opval)); } break; +#line 347 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } +break; case 73: -# line 349 "perly.y" -{ yyval.opval = newBINOP(yypvt[-1].ival, 0, scalar(yypvt[-2].opval), scalar(yypvt[-0].opval)); } break; +#line 349 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } +break; case 74: -# line 351 "perly.y" -{ yyval.opval = newBINOP(yypvt[-1].ival, 0, scalar(yypvt[-2].opval), scalar(yypvt[-0].opval)); } break; +#line 351 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } +break; case 75: -# line 353 "perly.y" -{ yyval.opval = newRANGE(yypvt[-1].ival, scalar(yypvt[-2].opval), scalar(yypvt[-0].opval));} break; +#line 353 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } +break; case 76: -# line 355 "perly.y" -{ yyval.opval = newLOGOP(OP_AND, 0, yypvt[-2].opval, yypvt[-0].opval); } break; +#line 355 "perly.y" +{ yyval.opval = newBINOP(yyvsp[-1].ival, 0, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval)); } +break; case 77: -# line 357 "perly.y" -{ yyval.opval = newLOGOP(OP_OR, 0, yypvt[-2].opval, yypvt[-0].opval); } break; +#line 357 "perly.y" +{ yyval.opval = newRANGE(yyvsp[-1].ival, scalar(yyvsp[-2].opval), scalar(yyvsp[0].opval));} +break; case 78: -# line 359 "perly.y" -{ yyval.opval = newCONDOP(0, yypvt[-4].opval, yypvt[-2].opval, yypvt[-0].opval); } break; +#line 359 "perly.y" +{ yyval.opval = newLOGOP(OP_AND, 0, yyvsp[-2].opval, yyvsp[0].opval); } +break; case 79: -# line 361 "perly.y" -{ yyval.opval = bind_match(yypvt[-1].ival, yypvt[-2].opval, yypvt[-0].opval); } break; +#line 361 "perly.y" +{ yyval.opval = newLOGOP(OP_OR, 0, yyvsp[-2].opval, yyvsp[0].opval); } +break; case 80: -# line 363 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; +#line 363 "perly.y" +{ yyval.opval = newCONDOP(0, yyvsp[-4].opval, yyvsp[-2].opval, yyvsp[0].opval); } +break; case 81: -# line 367 "perly.y" -{ yyval.opval = newUNOP(OP_NEGATE, 0, scalar(yypvt[-0].opval)); } break; +#line 365 "perly.y" +{ yyval.opval = bind_match(yyvsp[-1].ival, yyvsp[-2].opval, yyvsp[0].opval); } +break; case 82: -# line 369 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; +#line 367 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 83: -# line 371 "perly.y" -{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yypvt[-0].opval)); } break; +#line 371 "perly.y" +{ yyval.opval = newUNOP(OP_NEGATE, 0, scalar(yyvsp[0].opval)); } +break; case 84: -# line 373 "perly.y" -{ yyval.opval = newUNOP(OP_COMPLEMENT, 0, scalar(yypvt[-0].opval));} break; +#line 373 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 85: -# line 375 "perly.y" -{ yyval.opval = newUNOP(OP_REFGEN, 0, ref(yypvt[-0].opval, OP_REFGEN)); } break; +#line 375 "perly.y" +{ yyval.opval = newUNOP(OP_NOT, 0, scalar(yyvsp[0].opval)); } +break; case 86: -# line 377 "perly.y" -{ yyval.opval = newUNOP(OP_POSTINC, 0, - ref(scalar(yypvt[-1].opval), OP_POSTINC)); } break; +#line 377 "perly.y" +{ yyval.opval = newUNOP(OP_COMPLEMENT, 0, scalar(yyvsp[0].opval));} +break; case 87: -# line 380 "perly.y" -{ yyval.opval = newUNOP(OP_POSTDEC, 0, - ref(scalar(yypvt[-1].opval), OP_POSTDEC)); } break; +#line 379 "perly.y" +{ yyval.opval = newUNOP(OP_REFGEN, 0, ref(yyvsp[0].opval, OP_REFGEN)); } +break; case 88: -# line 383 "perly.y" -{ yyval.opval = newUNOP(OP_PREINC, 0, - ref(scalar(yypvt[-0].opval), OP_PREINC)); } break; +#line 381 "perly.y" +{ yyval.opval = newUNOP(OP_POSTINC, 0, + ref(scalar(yyvsp[-1].opval), OP_POSTINC)); } +break; case 89: -# line 386 "perly.y" -{ yyval.opval = newUNOP(OP_PREDEC, 0, - ref(scalar(yypvt[-0].opval), OP_PREDEC)); } break; +#line 384 "perly.y" +{ yyval.opval = newUNOP(OP_POSTDEC, 0, + ref(scalar(yyvsp[-1].opval), OP_POSTDEC)); } +break; case 90: -# line 389 "perly.y" -{ yyval.opval = localize(yypvt[-0].opval); } break; +#line 387 "perly.y" +{ yyval.opval = newUNOP(OP_PREINC, 0, + ref(scalar(yyvsp[0].opval), OP_PREINC)); } +break; case 91: -# line 391 "perly.y" -{ yyval.opval = sawparens(yypvt[-1].opval); } break; +#line 390 "perly.y" +{ yyval.opval = newUNOP(OP_PREDEC, 0, + ref(scalar(yyvsp[0].opval), OP_PREDEC)); } +break; case 92: -# line 393 "perly.y" -{ yyval.opval = newNULLLIST(); } break; +#line 393 "perly.y" +{ yyval.opval = localize(yyvsp[0].opval,yyvsp[-1].ival); } +break; case 93: -# line 395 "perly.y" -{ yyval.opval = newANONLIST(yypvt[-1].opval); } break; +#line 395 "perly.y" +{ yyval.opval = sawparens(yyvsp[-1].opval); } +break; case 94: -# line 397 "perly.y" -{ yyval.opval = newANONLIST(Nullop); } break; +#line 397 "perly.y" +{ yyval.opval = newNULLLIST(); } +break; case 95: -# line 399 "perly.y" -{ yyval.opval = newANONHASH(yypvt[-1].opval); } break; +#line 399 "perly.y" +{ yyval.opval = newANONLIST(yyvsp[-1].opval); } +break; case 96: -# line 401 "perly.y" -{ yyval.opval = newANONHASH(Nullop); } break; +#line 401 "perly.y" +{ yyval.opval = newANONLIST(Nullop); } +break; case 97: -# line 403 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; +#line 403 "perly.y" +{ yyval.opval = newANONHASH(yyvsp[-1].opval); } +break; case 98: -# line 405 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; +#line 405 "perly.y" +{ yyval.opval = newANONHASH(Nullop); } +break; case 99: -# line 407 "perly.y" -{ yyval.opval = newBINOP(OP_AELEM, 0, oopsAV(yypvt[-3].opval), scalar(yypvt[-1].opval)); } break; +#line 407 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 100: -# line 409 "perly.y" -{ yyval.opval = newBINOP(OP_AELEM, 0, - scalar(ref(newAVREF(yypvt[-4].opval),OP_RV2AV)), - scalar(yypvt[-1].opval));} break; +#line 409 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 101: -# line 413 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; +#line 411 "perly.y" +{ yyval.opval = newBINOP(OP_AELEM, 0, oopsAV(yyvsp[-3].opval), scalar(yyvsp[-1].opval)); } +break; case 102: -# line 415 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; +#line 413 "perly.y" +{ yyval.opval = newBINOP(OP_AELEM, 0, + scalar(ref(newAVREF(yyvsp[-4].opval),OP_RV2AV)), + scalar(yyvsp[-1].opval));} +break; case 103: -# line 417 "perly.y" -{ yyval.opval = newUNOP(OP_AV2ARYLEN, 0, ref(yypvt[-0].opval, OP_AV2ARYLEN));} break; +#line 417 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 104: -# line 419 "perly.y" -{ yyval.opval = newBINOP(OP_HELEM, 0, oopsHV(yypvt[-4].opval), jmaybe(yypvt[-2].opval)); - expect = XOPERATOR; } break; +#line 419 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 105: -# line 422 "perly.y" -{ yyval.opval = newBINOP(OP_HELEM, 0, - scalar(ref(newHVREF(yypvt[-5].opval),OP_RV2HV)), - jmaybe(yypvt[-2].opval)); - expect = XOPERATOR; } break; +#line 421 "perly.y" +{ yyval.opval = newUNOP(OP_AV2ARYLEN, 0, ref(yyvsp[0].opval, OP_AV2ARYLEN));} +break; case 106: -# line 427 "perly.y" -{ yyval.opval = newSLICEOP(0, yypvt[-1].opval, yypvt[-4].opval); } break; +#line 423 "perly.y" +{ yyval.opval = newBINOP(OP_HELEM, 0, oopsHV(yyvsp[-4].opval), jmaybe(yyvsp[-2].opval)); + expect = XOPERATOR; } +break; case 107: -# line 429 "perly.y" -{ yyval.opval = newSLICEOP(0, yypvt[-1].opval, Nullop); } break; +#line 426 "perly.y" +{ yyval.opval = newBINOP(OP_HELEM, 0, + scalar(ref(newHVREF(yyvsp[-5].opval),OP_RV2HV)), + jmaybe(yyvsp[-2].opval)); + expect = XOPERATOR; } +break; case 108: -# line 431 "perly.y" +#line 431 "perly.y" +{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, yyvsp[-4].opval); } +break; +case 109: +#line 433 "perly.y" +{ yyval.opval = newSLICEOP(0, yyvsp[-1].opval, Nullop); } +break; +case 110: +#line 435 "perly.y" { yyval.opval = prepend_elem(OP_ASLICE, newOP(OP_PUSHMARK, 0), list( newLISTOP(OP_ASLICE, 0, - list(yypvt[-1].opval), - ref(yypvt[-3].opval, OP_ASLICE)))); } break; -case 109: -# line 438 "perly.y" + list(yyvsp[-1].opval), + ref(yyvsp[-3].opval, OP_ASLICE)))); } +break; +case 111: +#line 442 "perly.y" { yyval.opval = prepend_elem(OP_HSLICE, newOP(OP_PUSHMARK, 0), list( newLISTOP(OP_HSLICE, 0, - list(yypvt[-2].opval), - ref(oopsHV(yypvt[-4].opval), OP_HSLICE)))); - expect = XOPERATOR; } break; -case 110: -# line 446 "perly.y" -{ yyval.opval = newBINOP(OP_DELETE, 0, oopsHV(yypvt[-4].opval), jmaybe(yypvt[-2].opval)); - expect = XOPERATOR; } break; -case 111: -# line 449 "perly.y" -{ yyval.opval = newBINOP(OP_DELETE, 0, oopsHV(yypvt[-5].opval), jmaybe(yypvt[-3].opval)); - expect = XOPERATOR; } break; + list(yyvsp[-2].opval), + ref(oopsHV(yyvsp[-4].opval), OP_HSLICE)))); + expect = XOPERATOR; } +break; case 112: -# line 452 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; +#line 450 "perly.y" +{ yyval.opval = newBINOP(OP_DELETE, 0, oopsHV(yyvsp[-4].opval), jmaybe(yyvsp[-2].opval)); + expect = XOPERATOR; } +break; case 113: -# line 454 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUBR, 0, - scalar(yypvt[-0].opval)); } break; +#line 453 "perly.y" +{ yyval.opval = newBINOP(OP_DELETE, 0, oopsHV(yyvsp[-5].opval), jmaybe(yyvsp[-3].opval)); + expect = XOPERATOR; } +break; case 114: -# line 457 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_STACKED, scalar(yypvt[-2].opval)); } break; +#line 456 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 115: -# line 459 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_STACKED, - list(prepend_elem(OP_LIST, scalar(yypvt[-3].opval), yypvt[-1].opval))); } break; +#line 458 "perly.y" +{ yyval.opval = newUNOP(OP_ENTERSUBR, 0, + scalar(yyvsp[0].opval)); } +break; case 116: -# line 462 "perly.y" -{ yyval.opval = newUNOP(OP_DOFILE, 0, scalar(yypvt[-0].opval)); - allgvs = TRUE;} break; +#line 461 "perly.y" +{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_STACKED, scalar(yyvsp[-2].opval)); } +break; case 117: -# line 465 "perly.y" -{ yyval.opval = newUNOP(OP_NULL, OPf_SPECIAL, scope(yypvt[-0].opval)); } break; +#line 463 "perly.y" +{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_STACKED, + list(prepend_elem(OP_LIST, scalar(yyvsp[-3].opval), yyvsp[-1].opval))); } +break; case 118: -# line 467 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_SPECIAL|OPf_STACKED, +#line 466 "perly.y" +{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_STACKED, list(prepend_elem(OP_LIST, - scalar(newCVREF(scalar(yypvt[-2].opval))), newNULLLIST()))); } break; + newCVREF(scalar(yyvsp[-1].opval)), yyvsp[0].opval))); } +break; case 119: -# line 471 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_SPECIAL|OPf_STACKED, - list(prepend_elem(OP_LIST, - scalar(newCVREF(scalar(yypvt[-3].opval))), - yypvt[-1].opval))); } break; +#line 470 "perly.y" +{ yyval.opval = newUNOP(OP_DOFILE, 0, scalar(yyvsp[0].opval)); + allgvs = TRUE;} +break; case 120: -# line 476 "perly.y" -{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_SPECIAL|OPf_STACKED, - list(prepend_elem(OP_LIST, - scalar(newCVREF(scalar(yypvt[-2].opval))), newNULLLIST())));} break; +#line 473 "perly.y" +{ yyval.opval = newUNOP(OP_NULL, OPf_SPECIAL, scope(yyvsp[0].opval)); } +break; case 121: -# line 480 "perly.y" +#line 475 "perly.y" { yyval.opval = newUNOP(OP_ENTERSUBR, OPf_SPECIAL|OPf_STACKED, list(prepend_elem(OP_LIST, - scalar(newCVREF(scalar(yypvt[-3].opval))), - yypvt[-1].opval))); } break; + scalar(newCVREF(scalar(yyvsp[-2].opval))), newNULLLIST()))); } +break; case 122: -# line 485 "perly.y" -{ yyval.opval = newOP(yypvt[-0].ival, OPf_SPECIAL); } break; +#line 479 "perly.y" +{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_SPECIAL|OPf_STACKED, + list(prepend_elem(OP_LIST, + scalar(newCVREF(scalar(yyvsp[-3].opval))), + yyvsp[-1].opval))); } +break; case 123: -# line 487 "perly.y" -{ yyval.opval = newPVOP(yypvt[-1].ival, 0, - savestr(SvPVnx(((SVOP*)yypvt[-0].opval)->op_sv))); - op_free(yypvt[-0].opval); } break; +#line 484 "perly.y" +{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_SPECIAL|OPf_STACKED, + list(prepend_elem(OP_LIST, + scalar(newCVREF(scalar(yyvsp[-2].opval))), newNULLLIST())));} +break; case 124: -# line 491 "perly.y" -{ yyval.opval = newOP(yypvt[-0].ival, 0); } break; +#line 488 "perly.y" +{ yyval.opval = newUNOP(OP_ENTERSUBR, OPf_SPECIAL|OPf_STACKED, + list(prepend_elem(OP_LIST, + scalar(newCVREF(scalar(yyvsp[-3].opval))), + yyvsp[-1].opval))); } +break; case 125: -# line 493 "perly.y" -{ yyval.opval = newUNOP(yypvt[-1].ival, 0, yypvt[-0].opval); } break; +#line 493 "perly.y" +{ yyval.opval = newOP(yyvsp[0].ival, OPf_SPECIAL); } +break; case 126: -# line 495 "perly.y" -{ yyval.opval = newUNOP(yypvt[-1].ival, 0, yypvt[-0].opval); } break; +#line 495 "perly.y" +{ yyval.opval = newPVOP(yyvsp[-1].ival, 0, + savestr(SvPVnx(((SVOP*)yyvsp[0].opval)->op_sv))); + op_free(yyvsp[0].opval); } +break; case 127: -# line 497 "perly.y" -{ yyval.opval = newOP(yypvt[-0].ival, 0); } break; +#line 499 "perly.y" +{ yyval.opval = newOP(yyvsp[0].ival, 0); } +break; case 128: -# line 499 "perly.y" -{ yyval.opval = newOP(yypvt[-2].ival, 0); } break; +#line 501 "perly.y" +{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); } +break; case 129: -# line 501 "perly.y" -{ yyval.opval = newOP(yypvt[-2].ival, OPf_SPECIAL); } break; +#line 503 "perly.y" +{ yyval.opval = newUNOP(yyvsp[-1].ival, 0, yyvsp[0].opval); } +break; case 130: -# line 503 "perly.y" -{ yyval.opval = newUNOP(yypvt[-3].ival, 0, yypvt[-1].opval); } break; +#line 505 "perly.y" +{ yyval.opval = newOP(yyvsp[0].ival, 0); } +break; case 131: -# line 505 "perly.y" -{ yyval.opval = pmruntime(yypvt[-3].opval, yypvt[-1].opval, Nullop); } break; +#line 507 "perly.y" +{ yyval.opval = newOP(yyvsp[-2].ival, 0); } +break; case 132: -# line 507 "perly.y" -{ yyval.opval = pmruntime(yypvt[-5].opval, yypvt[-3].opval, yypvt[-1].opval); } break; +#line 509 "perly.y" +{ yyval.opval = newOP(yyvsp[-2].ival, OPf_SPECIAL); } +break; +case 133: +#line 511 "perly.y" +{ yyval.opval = newUNOP(yyvsp[-3].ival, 0, yyvsp[-1].opval); } +break; +case 134: +#line 513 "perly.y" +{ yyval.opval = pmruntime(yyvsp[-3].opval, yyvsp[-1].opval, Nullop); } +break; case 135: -# line 513 "perly.y" -{ yyval.opval = newNULLLIST(); } break; -case 136: -# line 515 "perly.y" -{ yyval.opval = yypvt[-0].opval; } break; -case 137: -# line 519 "perly.y" -{ yyval.opval = newCVREF(yypvt[-0].opval); } break; +#line 515 "perly.y" +{ yyval.opval = pmruntime(yyvsp[-5].opval, yyvsp[-3].opval, yyvsp[-1].opval); } +break; case 138: -# line 523 "perly.y" -{ yyval.opval = newSVREF(yypvt[-0].opval); } break; +#line 521 "perly.y" +{ yyval.opval = newNULLLIST(); } +break; case 139: -# line 527 "perly.y" -{ yyval.opval = newAVREF(yypvt[-0].opval); } break; +#line 523 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 140: -# line 531 "perly.y" -{ yyval.opval = newHVREF(yypvt[-0].opval); } break; +#line 527 "perly.y" +{ yyval.opval = newCVREF(yyvsp[0].opval); } +break; case 141: -# line 535 "perly.y" -{ yyval.opval = newAVREF(yypvt[-0].opval); } break; +#line 531 "perly.y" +{ yyval.opval = newSVREF(yyvsp[0].opval); } +break; case 142: -# line 539 "perly.y" -{ yyval.opval = newGVREF(yypvt[-0].opval); } break; +#line 535 "perly.y" +{ yyval.opval = newAVREF(yyvsp[0].opval); } +break; case 143: -# line 543 "perly.y" -{ yyval.opval = scalar(yypvt[-0].opval); } break; +#line 539 "perly.y" +{ yyval.opval = newHVREF(yyvsp[0].opval); } +break; case 144: -# line 545 "perly.y" -{ yyval.opval = scalar(yypvt[-0].opval); } break; +#line 543 "perly.y" +{ yyval.opval = newAVREF(yyvsp[0].opval); } +break; case 145: -# line 547 "perly.y" -{ yyval.opval = scalar(scope(yypvt[-0].opval)); } break; +#line 547 "perly.y" +{ yyval.opval = newGVREF(yyvsp[0].opval); } +break; case 146: -# line 552 "perly.y" -{ yyval.ival = 1; } break; +#line 551 "perly.y" +{ yyval.opval = scalar(yyvsp[0].opval); } +break; case 147: -# line 554 "perly.y" -{ yyval.ival = 0; } break; +#line 553 "perly.y" +{ yyval.opval = scalar(yyvsp[0].opval); } +break; case 148: -# line 558 "perly.y" -{ yyval.ival = 1; } break; +#line 555 "perly.y" +{ yyval.opval = scalar(scope(yyvsp[0].opval)); } +break; case 149: -# line 560 "perly.y" -{ yyval.ival = 0; } break; +#line 558 "perly.y" +{ yyval.opval = yyvsp[0].opval; } +break; case 150: -# line 564 "perly.y" -{ yyval.ival = 1; } break; +#line 562 "perly.y" +{ yyval.ival = 1; } +break; case 151: -# line 566 "perly.y" -{ yyval.ival = 0; } break; - } - goto yystack; /* reset registers in driver code */ +#line 564 "perly.y" +{ yyval.ival = 0; } +break; +case 152: +#line 568 "perly.y" +{ yyval.ival = 1; } +break; +case 153: +#line 570 "perly.y" +{ yyval.ival = 0; } +break; +case 154: +#line 574 "perly.y" +{ yyval.ival = 1; } +break; +case 155: +#line 576 "perly.y" +{ yyval.ival = 0; } +break; +#line 2233 "y.tab.c" + } + yyssp -= yym; + yystate = *yyssp; + yyvsp -= yym; + yym = yylhs[yyn]; + if (yystate == 0 && yym == 0) + { +#if YYDEBUG + if (yydebug) + printf("yydebug: after reduction, shifting from state 0 to\ + state %d\n", YYFINAL); +#endif + yystate = YYFINAL; + *++yyssp = YYFINAL; + *++yyvsp = yyval; + if (yychar < 0) + { + if ((yychar = yylex()) < 0) yychar = 0; +#if YYDEBUG + if (yydebug) + { + yys = 0; + if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; + if (!yys) yys = "illegal-symbol"; + printf("yydebug: state %d, reading %d (%s)\n", + YYFINAL, yychar, yys); + } +#endif + } + if (yychar == 0) goto yyaccept; + goto yyloop; + } + if ((yyn = yygindex[yym]) && (yyn += yystate) >= 0 && + yyn <= YYTABLESIZE && yycheck[yyn] == yystate) + yystate = yytable[yyn]; + else + yystate = yydgoto[yym]; +#if YYDEBUG + if (yydebug) + printf("yydebug: after reduction, shifting from state %d \ +to state %d\n", *yyssp, yystate); +#endif + if (yyssp >= yyss + yystacksize - 1) + { + /* + ** reallocate and recover. Note that pointers + ** have to be reset, or bad things will happen + */ + int yyps_index = (yyssp - yyss); + int yypv_index = (yyvsp - yyvs); + yystacksize += YYSTACKSIZE; + yyvs = (YYSTYPE*)realloc((char*)yyvs,yystacksize * sizeof(YYSTYPE)); + yyss = (short*)realloc((char*)yyss,yystacksize * sizeof(short)); + if (!yyvs || !yyss) + goto yyoverflow; + yyssp = yyss + yyps_index; + yyvsp = yyvs + yypv_index; + } + *++yyssp = yystate; + *++yyvsp = yyval; + goto yyloop; +yyoverflow: + yyerror("Out of memory for yacc stack"); +yyabort: + retval = 1; +yyaccept: + if (yyss) free(yyss); + if (yyvs) free(yyvs); + yydebug = oldyydebug; + yynerrs = oldyynerrs; + yyerrflag = oldyyerrflag; + yychar = oldyychar; + yyval = oldyyval; + yylval = oldyylval; + return retval; } |