diff options
author | Peter Martini <PeterCMartini@GMail.com> | 2015-01-18 10:54:01 -0500 |
---|---|---|
committer | Peter Martini <PeterCMartini@GMail.com> | 2015-01-18 10:54:01 -0500 |
commit | abcf453dd6979dbea87c2837edef79d52f31684d (patch) | |
tree | f81f9af37c4c725cba48a4cfc922019c4f6e5732 | |
parent | 16a17581d8f5b2822fe99a3d269b2f3f69aeeefb (diff) | |
download | perl-abcf453dd6979dbea87c2837edef79d52f31684d.tar.gz |
perly.y changes from Lukas Mai in RT 123069
This moves signatures before attributes in the grammar by
creating separate branches for the prototype and signatures
cases, so that the introduced block and the fact that signatures
do not allow for declarations can be handled properly.
Tests and regen_perly to follow.
-rw-r--r-- | perly.act | 1079 | ||||
-rw-r--r-- | perly.h | 64 | ||||
-rw-r--r-- | perly.tab | 1623 | ||||
-rw-r--r-- | perly.y | 80 | ||||
-rw-r--r-- | t/op/signatures.t | 20 |
5 files changed, 1489 insertions, 1377 deletions
@@ -8,7 +8,7 @@ case 2: #line 115 "perly.y" { parser->expect = XSTATE; - ;} + } break; case 3: @@ -17,14 +17,14 @@ case 2: newPROG(block_end((ps[(3) - (4)].val.ival),(ps[(4) - (4)].val.opval))); PL_compiling.cop_seq = 0; (yyval.ival) = 0; - ;} + } break; case 4: #line 125 "perly.y" { parser->expect = XTERM; - ;} + } break; case 5: @@ -32,14 +32,14 @@ case 2: { PL_eval_root = (ps[(3) - (3)].val.opval); (yyval.ival) = 0; - ;} + } break; case 6: #line 134 "perly.y" { parser->expect = XBLOCK; - ;} + } break; case 7: @@ -50,14 +50,14 @@ case 2: (yyval.ival) = 0; yyunlex(); parser->yychar = YYEOF; - ;} + } break; case 8: #line 146 "perly.y" { parser->expect = XSTATE; - ;} + } break; case 9: @@ -68,14 +68,14 @@ case 2: (yyval.ival) = 0; yyunlex(); parser->yychar = YYEOF; - ;} + } break; case 10: #line 158 "perly.y" { parser->expect = XSTATE; - ;} + } break; case 11: @@ -86,14 +86,14 @@ case 2: (yyval.ival) = 0; yyunlex(); parser->yychar = YYEOF; - ;} + } break; case 12: #line 170 "perly.y" { parser->expect = XSTATE; - ;} + } break; case 13: @@ -101,7 +101,7 @@ case 2: { PL_eval_root = (ps[(3) - (3)].val.opval); (yyval.ival) = 0; - ;} + } break; case 14: @@ -109,7 +109,7 @@ case 2: { if (parser->copline > (line_t)(ps[(1) - (4)].val.ival)) parser->copline = (line_t)(ps[(1) - (4)].val.ival); (yyval.opval) = block_end((ps[(2) - (4)].val.ival), (ps[(3) - (4)].val.opval)); - ;} + } break; case 15: @@ -117,13 +117,13 @@ case 2: { if (parser->copline > (line_t)(ps[(1) - (7)].val.ival)) parser->copline = (line_t)(ps[(1) - (7)].val.ival); (yyval.opval) = block_end((ps[(2) - (7)].val.ival), (ps[(5) - (7)].val.opval)); - ;} + } break; case 16: #line 197 "perly.y" { (yyval.ival) = block_start(TRUE); - parser->parsed_sub = 0; ;} + parser->parsed_sub = 0; } break; case 17: @@ -131,18 +131,18 @@ case 2: { if (parser->copline > (line_t)(ps[(1) - (4)].val.ival)) parser->copline = (line_t)(ps[(1) - (4)].val.ival); (yyval.opval) = block_end((ps[(2) - (4)].val.ival), (ps[(3) - (4)].val.opval)); - ;} + } break; case 18: #line 209 "perly.y" { (yyval.ival) = block_start(FALSE); - parser->parsed_sub = 0; ;} + parser->parsed_sub = 0; } break; case 19: #line 215 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} + { (yyval.opval) = (OP*)NULL; } break; case 20: @@ -151,12 +151,12 @@ case 2: PL_pad_reset_pending = TRUE; if ((ps[(1) - (2)].val.opval) && (ps[(2) - (2)].val.opval)) PL_hints |= HINT_BLOCK_SCOPE; - ;} + } break; case 21: #line 226 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} + { (yyval.opval) = (OP*)NULL; } break; case 22: @@ -165,38 +165,38 @@ case 2: PL_pad_reset_pending = TRUE; if ((ps[(1) - (2)].val.opval) && (ps[(2) - (2)].val.opval)) PL_hints |= HINT_BLOCK_SCOPE; - ;} + } break; case 23: #line 237 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval) ? newSTATEOP(0, NULL, (ps[(1) - (1)].val.opval)) : NULL; - ;} + } break; case 24: #line 241 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 25: #line 245 "perly.y" { (yyval.opval) = newSTATEOP(SVf_UTF8 * (ps[(1) - (2)].val.pval)[strlen((ps[(1) - (2)].val.pval))+1], (ps[(1) - (2)].val.pval), (ps[(2) - (2)].val.opval)); - ;} + } break; case 26: #line 249 "perly.y" { (yyval.opval) = newSTATEOP(SVf_UTF8 * (ps[(1) - (2)].val.pval)[strlen((ps[(1) - (2)].val.pval))+1], (ps[(1) - (2)].val.pval), (ps[(2) - (2)].val.opval)); - ;} + } break; case 27: #line 256 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 28: @@ -209,7 +209,7 @@ case 2: pad_add_weakref(fmtcv); } parser->parsed_sub = 1; - ;} + } break; case 29: @@ -234,7 +234,7 @@ case 2: CvCLONE_on(PL_compcv); parser->in_my = 0; parser->in_my_stash = NULL; - ;} + } break; case 30: @@ -248,54 +248,99 @@ case 2: (yyval.opval) = (OP*)NULL; intro_my(); parser->parsed_sub = 1; - ;} + } break; case 31: #line 301 "perly.y" { + if ((ps[(2) - (3)].val.opval)->op_type == OP_CONST) { + const char *const name = + SvPV_nolen_const(((SVOP*)(ps[(2) - (3)].val.opval))->op_sv); + if (strEQ(name, "BEGIN") || strEQ(name, "END") + || strEQ(name, "INIT") || strEQ(name, "CHECK") + || strEQ(name, "UNITCHECK")) + CvSPECIAL_on(PL_compcv); + } + else + /* State subs inside anonymous subs need to be + clonable themselves. */ + if (CvANON(CvOUTSIDE(PL_compcv)) + || CvCLONE(CvOUTSIDE(PL_compcv)) + || !PadnameIsSTATE(PadlistNAMESARRAY(CvPADLIST( + CvOUTSIDE(PL_compcv) + ))[(ps[(2) - (3)].val.opval)->op_targ])) + CvCLONE_on(PL_compcv); + parser->in_my = 0; + parser->in_my_stash = NULL; + } + break; + + case 32: +#line 323 "perly.y" + { + OP *body; + if (parser->copline > (line_t)(ps[(8) - (10)].val.ival)) + parser->copline = (line_t)(ps[(8) - (10)].val.ival); + body = block_end((ps[(5) - (10)].val.ival), + op_append_list(OP_LINESEQ, (ps[(6) - (10)].val.opval), (ps[(9) - (10)].val.opval))); + + SvREFCNT_inc_simple_void(PL_compcv); + (ps[(2) - (10)].val.opval)->op_type == OP_CONST + ? newATTRSUB((ps[(3) - (10)].val.ival), (ps[(2) - (10)].val.opval), NULL, (ps[(7) - (10)].val.opval), body) + : newMYSUB((ps[(3) - (10)].val.ival), (ps[(2) - (10)].val.opval), NULL, (ps[(7) - (10)].val.opval), body) + ; + (yyval.opval) = (OP*)NULL; + intro_my(); + parser->parsed_sub = 1; + } + break; + + case 33: +#line 340 "perly.y" + { package((ps[(3) - (4)].val.opval)); if ((ps[(2) - (4)].val.opval)) package_version((ps[(2) - (4)].val.opval)); (yyval.opval) = (OP*)NULL; - ;} + } break; - case 32: -#line 308 "perly.y" - { CvSPECIAL_on(PL_compcv); /* It's a BEGIN {} */ ;} + case 34: +#line 347 "perly.y" + { CvSPECIAL_on(PL_compcv); /* It's a BEGIN {} */ } break; - case 33: -#line 310 "perly.y" + case 35: +#line 349 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); utilize((ps[(1) - (7)].val.ival), (ps[(2) - (7)].val.ival), (ps[(4) - (7)].val.opval), (ps[(5) - (7)].val.opval), (ps[(6) - (7)].val.opval)); parser->parsed_sub = 1; (yyval.opval) = (OP*)NULL; - ;} + } break; - case 34: -#line 317 "perly.y" + case 36: +#line 356 "perly.y" { (yyval.opval) = block_end((ps[(3) - (7)].val.ival), newCONDOP(0, (ps[(4) - (7)].val.opval), op_scope((ps[(6) - (7)].val.opval)), (ps[(7) - (7)].val.opval))); parser->copline = (line_t)(ps[(1) - (7)].val.ival); - ;} + } break; - case 35: -#line 323 "perly.y" + case 37: +#line 362 "perly.y" { (yyval.opval) = block_end((ps[(3) - (7)].val.ival), newCONDOP(0, (ps[(4) - (7)].val.opval), op_scope((ps[(6) - (7)].val.opval)), (ps[(7) - (7)].val.opval))); parser->copline = (line_t)(ps[(1) - (7)].val.ival); - ;} + } break; - case 36: -#line 329 "perly.y" + case 38: +#line 368 "perly.y" { const PADOFFSET offset = pad_findmy_pvs("$_", 0); (yyval.opval) = block_end((ps[(3) - (6)].val.ival), @@ -305,51 +350,51 @@ case 2: ? 0 : offset)); parser->copline = (line_t)(ps[(1) - (6)].val.ival); - ;} + } break; - case 37: -#line 340 "perly.y" - { (yyval.opval) = block_end((ps[(3) - (6)].val.ival), newWHENOP((ps[(4) - (6)].val.opval), op_scope((ps[(6) - (6)].val.opval)))); ;} + case 39: +#line 379 "perly.y" + { (yyval.opval) = block_end((ps[(3) - (6)].val.ival), newWHENOP((ps[(4) - (6)].val.opval), op_scope((ps[(6) - (6)].val.opval)))); } break; - case 38: -#line 342 "perly.y" - { (yyval.opval) = newWHENOP(0, op_scope((ps[(2) - (2)].val.opval))); ;} + case 40: +#line 381 "perly.y" + { (yyval.opval) = newWHENOP(0, op_scope((ps[(2) - (2)].val.opval))); } break; - case 39: -#line 344 "perly.y" + case 41: +#line 383 "perly.y" { (yyval.opval) = block_end((ps[(3) - (8)].val.ival), newWHILEOP(0, 1, (LOOP*)(OP*)NULL, (ps[(4) - (8)].val.opval), (ps[(7) - (8)].val.opval), (ps[(8) - (8)].val.opval), (ps[(6) - (8)].val.ival))); parser->copline = (line_t)(ps[(1) - (8)].val.ival); - ;} + } break; - case 40: -#line 351 "perly.y" + case 42: +#line 390 "perly.y" { (yyval.opval) = block_end((ps[(3) - (8)].val.ival), newWHILEOP(0, 1, (LOOP*)(OP*)NULL, (ps[(4) - (8)].val.opval), (ps[(7) - (8)].val.opval), (ps[(8) - (8)].val.opval), (ps[(6) - (8)].val.ival))); parser->copline = (line_t)(ps[(1) - (8)].val.ival); - ;} + } break; - case 41: -#line 358 "perly.y" - { parser->expect = XTERM; ;} + case 43: +#line 397 "perly.y" + { parser->expect = XTERM; } break; - case 42: -#line 360 "perly.y" - { parser->expect = XTERM; ;} + case 44: +#line 399 "perly.y" + { parser->expect = XTERM; } break; - case 43: -#line 363 "perly.y" + case 45: +#line 402 "perly.y" { OP *initop = (ps[(4) - (13)].val.opval); OP *forop = newWHILEOP(0, 1, (LOOP*)(OP*)NULL, @@ -363,33 +408,33 @@ case 2: PL_hints |= HINT_BLOCK_SCOPE; (yyval.opval) = block_end((ps[(3) - (13)].val.ival), forop); parser->copline = (line_t)(ps[(1) - (13)].val.ival); - ;} + } break; - case 44: -#line 378 "perly.y" + case 46: +#line 417 "perly.y" { (yyval.opval) = block_end((ps[(3) - (9)].val.ival), newFOROP(0, (ps[(4) - (9)].val.opval), (ps[(6) - (9)].val.opval), (ps[(8) - (9)].val.opval), (ps[(9) - (9)].val.opval))); parser->copline = (line_t)(ps[(1) - (9)].val.ival); - ;} + } break; - case 45: -#line 383 "perly.y" + case 47: +#line 422 "perly.y" { (yyval.opval) = block_end((ps[(4) - (8)].val.ival), newFOROP(0, op_lvalue((ps[(2) - (8)].val.opval), OP_ENTERLOOP), (ps[(5) - (8)].val.opval), (ps[(7) - (8)].val.opval), (ps[(8) - (8)].val.opval))); parser->copline = (line_t)(ps[(1) - (8)].val.ival); - ;} + } break; - case 46: -#line 389 "perly.y" - { parser->in_my = 0; (yyval.opval) = my((ps[(5) - (5)].val.opval)); ;} + case 48: +#line 428 "perly.y" + { parser->in_my = 0; (yyval.opval) = my((ps[(5) - (5)].val.opval)); } break; - case 47: -#line 391 "perly.y" + case 49: +#line 430 "perly.y" { (yyval.opval) = block_end( (ps[(4) - (11)].val.ival), @@ -401,76 +446,76 @@ case 2: (ps[(8) - (11)].val.opval), (ps[(10) - (11)].val.opval), (ps[(11) - (11)].val.opval)) ); parser->copline = (line_t)(ps[(1) - (11)].val.ival); - ;} + } break; - case 48: -#line 404 "perly.y" + case 50: +#line 443 "perly.y" { (yyval.opval) = block_end((ps[(5) - (9)].val.ival), newFOROP( 0, op_lvalue(newUNOP(OP_REFGEN, 0, (ps[(3) - (9)].val.opval)), OP_ENTERLOOP), (ps[(6) - (9)].val.opval), (ps[(8) - (9)].val.opval), (ps[(9) - (9)].val.opval))); parser->copline = (line_t)(ps[(1) - (9)].val.ival); - ;} + } break; - case 49: -#line 412 "perly.y" + case 51: +#line 451 "perly.y" { (yyval.opval) = block_end((ps[(3) - (7)].val.ival), newFOROP(0, (OP*)NULL, (ps[(4) - (7)].val.opval), (ps[(6) - (7)].val.opval), (ps[(7) - (7)].val.opval))); parser->copline = (line_t)(ps[(1) - (7)].val.ival); - ;} + } break; - case 50: -#line 418 "perly.y" + case 52: +#line 457 "perly.y" { /* a block is a loop that happens once */ (yyval.opval) = newWHILEOP(0, 1, (LOOP*)(OP*)NULL, (OP*)NULL, (ps[(1) - (2)].val.opval), (ps[(2) - (2)].val.opval), 0); - ;} + } break; - case 51: -#line 424 "perly.y" + case 53: +#line 463 "perly.y" { package((ps[(3) - (5)].val.opval)); if ((ps[(2) - (5)].val.opval)) { package_version((ps[(2) - (5)].val.opval)); } - ;} + } break; - case 52: -#line 431 "perly.y" + case 54: +#line 470 "perly.y" { /* a block is a loop that happens once */ (yyval.opval) = newWHILEOP(0, 1, (LOOP*)(OP*)NULL, (OP*)NULL, block_end((ps[(5) - (8)].val.ival), (ps[(7) - (8)].val.opval)), (OP*)NULL, 0); if (parser->copline > (line_t)(ps[(4) - (8)].val.ival)) parser->copline = (line_t)(ps[(4) - (8)].val.ival); - ;} + } break; - case 53: -#line 439 "perly.y" + case 55: +#line 478 "perly.y" { (yyval.opval) = (ps[(1) - (2)].val.opval); - ;} + } break; - case 54: -#line 443 "perly.y" + case 56: +#line 482 "perly.y" { (yyval.opval) = (OP*)NULL; parser->copline = NOLINE; - ;} + } break; - case 55: -#line 451 "perly.y" + case 57: +#line 490 "perly.y" { OP *list; if ((ps[(2) - (2)].val.opval)) { OP *term = (ps[(2) - (2)].val.opval); @@ -484,533 +529,513 @@ case 2: else parser->copline--; (yyval.opval) = newSTATEOP(0, NULL, op_convert_list(OP_FORMLINE, 0, list)); - ;} - break; - - case 56: -#line 468 "perly.y" - { (yyval.opval) = NULL; ;} - break; - - case 57: -#line 470 "perly.y" - { (yyval.opval) = op_unscope((ps[(2) - (3)].val.opval)); ;} + } break; case 58: -#line 475 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 507 "perly.y" + { (yyval.opval) = NULL; } break; case 59: -#line 477 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 509 "perly.y" + { (yyval.opval) = op_unscope((ps[(2) - (3)].val.opval)); } break; case 60: -#line 479 "perly.y" - { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); ;} +#line 514 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 61: -#line 481 "perly.y" - { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); ;} +#line 516 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 62: -#line 483 "perly.y" - { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, scalar((ps[(3) - (3)].val.opval)), (ps[(1) - (3)].val.opval)); ;} +#line 518 "perly.y" + { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); } break; case 63: -#line 485 "perly.y" - { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); ;} +#line 520 "perly.y" + { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); } break; case 64: -#line 487 "perly.y" - { (yyval.opval) = newFOROP(0, (OP*)NULL, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval), (OP*)NULL); - parser->copline = (line_t)(ps[(2) - (3)].val.ival); ;} +#line 522 "perly.y" + { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, scalar((ps[(3) - (3)].val.opval)), (ps[(1) - (3)].val.opval)); } break; case 65: -#line 490 "perly.y" - { (yyval.opval) = newWHENOP((ps[(3) - (3)].val.opval), op_scope((ps[(1) - (3)].val.opval))); ;} +#line 524 "perly.y" + { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); } break; case 66: -#line 495 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 526 "perly.y" + { (yyval.opval) = newFOROP(0, (OP*)NULL, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval), (OP*)NULL); + parser->copline = (line_t)(ps[(2) - (3)].val.ival); } break; case 67: -#line 497 "perly.y" +#line 529 "perly.y" + { (yyval.opval) = newWHENOP((ps[(3) - (3)].val.opval), op_scope((ps[(1) - (3)].val.opval))); } + break; + + case 68: +#line 534 "perly.y" + { (yyval.opval) = (OP*)NULL; } + break; + + case 69: +#line 536 "perly.y" { ((ps[(2) - (2)].val.opval))->op_flags |= OPf_PARENS; (yyval.opval) = op_scope((ps[(2) - (2)].val.opval)); - ;} + } break; - case 68: -#line 502 "perly.y" + case 70: +#line 541 "perly.y" { parser->copline = (line_t)(ps[(1) - (6)].val.ival); (yyval.opval) = newCONDOP(0, newSTATEOP(OPf_SPECIAL,NULL,(ps[(3) - (6)].val.opval)), op_scope((ps[(5) - (6)].val.opval)), (ps[(6) - (6)].val.opval)); PL_hints |= HINT_BLOCK_SCOPE; - ;} + } break; - case 69: -#line 512 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} + case 71: +#line 551 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; - case 70: -#line 514 "perly.y" - { (yyval.opval) = op_scope((ps[(2) - (2)].val.opval)); ;} + case 72: +#line 553 "perly.y" + { (yyval.opval) = op_scope((ps[(2) - (2)].val.opval)); } break; - case 71: -#line 519 "perly.y" + case 73: +#line 558 "perly.y" { (yyval.ival) = (PL_min_intro_pending && PL_max_intro_pending >= PL_min_intro_pending); - intro_my(); ;} - break; - - case 72: -#line 525 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} + intro_my(); } break; case 74: -#line 531 "perly.y" - { YYSTYPE tmplval; - (void)scan_num("1", &tmplval); - (yyval.opval) = tmplval.opval; ;} +#line 564 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 76: -#line 539 "perly.y" - { (yyval.opval) = invert(scalar((ps[(1) - (1)].val.opval))); ;} - break; - - case 77: -#line 544 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} +#line 570 "perly.y" + { YYSTYPE tmplval; + (void)scan_num("1", &tmplval); + (yyval.opval) = tmplval.opval; } break; case 78: -#line 548 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} +#line 578 "perly.y" + { (yyval.opval) = invert(scalar((ps[(1) - (1)].val.opval))); } break; case 79: -#line 552 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} +#line 583 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); } break; case 80: -#line 555 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 587 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); } break; case 81: -#line 556 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 591 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); } break; case 82: -#line 560 "perly.y" - { (yyval.ival) = start_subparse(FALSE, 0); - SAVEFREESV(PL_compcv); ;} +#line 594 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 83: -#line 566 "perly.y" - { (yyval.ival) = start_subparse(FALSE, CVf_ANON); - SAVEFREESV(PL_compcv); ;} +#line 595 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 84: -#line 571 "perly.y" - { (yyval.ival) = start_subparse(TRUE, 0); - SAVEFREESV(PL_compcv); ;} +#line 599 "perly.y" + { (yyval.ival) = start_subparse(FALSE, 0); + SAVEFREESV(PL_compcv); } break; - case 87: -#line 582 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} + case 85: +#line 605 "perly.y" + { (yyval.ival) = start_subparse(FALSE, CVf_ANON); + SAVEFREESV(PL_compcv); } break; - case 89: -#line 588 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} + case 86: +#line 610 "perly.y" + { (yyval.ival) = start_subparse(TRUE, 0); + SAVEFREESV(PL_compcv); } break; - case 90: -#line 590 "perly.y" - { (yyval.opval) = (ps[(2) - (2)].val.opval); ;} + case 89: +#line 621 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 91: -#line 592 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 627 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 92: -#line 597 "perly.y" - { (yyval.opval) = (ps[(2) - (2)].val.opval); ;} +#line 629 "perly.y" + { (yyval.opval) = (ps[(2) - (2)].val.opval); } break; case 93: -#line 599 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 631 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 94: -#line 603 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 636 "perly.y" + { (yyval.opval) = (ps[(2) - (2)].val.opval); } break; case 95: -#line 605 "perly.y" +#line 638 "perly.y" + { (yyval.opval) = (OP*)NULL; } + break; + + case 96: +#line 643 "perly.y" { - if (!FEATURE_SIGNATURES_IS_ENABLED) - Perl_croak(aTHX_ "Experimental " - "subroutine signatures not enabled"); + /* We shouldn't get here otherwise */ + assert(FEATURE_SIGNATURES_IS_ENABLED); + Perl_ck_warner_d(aTHX_ packWARN(WARN_EXPERIMENTAL__SIGNATURES), "The signatures feature is experimental"); (yyval.opval) = parse_subsignature(); - ;} + } break; - case 96: -#line 615 "perly.y" + case 97: +#line 653 "perly.y" { (yyval.opval) = op_append_list(OP_LINESEQ, (ps[(2) - (3)].val.opval), newSTATEOP(0, NULL, sawparens(newNULLLIST()))); - parser->expect = XBLOCK; - ;} - break; - - case 97: -#line 624 "perly.y" - { - if (parser->copline > (line_t)(ps[(3) - (5)].val.ival)) - parser->copline = (line_t)(ps[(3) - (5)].val.ival); - (yyval.opval) = block_end((ps[(1) - (5)].val.ival), - op_append_list(OP_LINESEQ, (ps[(2) - (5)].val.opval), (ps[(4) - (5)].val.opval))); - ;} - break; - - case 98: -#line 633 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} + parser->expect = XATTRBLOCK; + } break; case 99: -#line 634 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 662 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 100: -#line 639 "perly.y" - { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); ;} +#line 667 "perly.y" + { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); } break; case 101: -#line 641 "perly.y" - { (yyval.opval) = newLOGOP((ps[(2) - (3)].val.ival), 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); ;} +#line 669 "perly.y" + { (yyval.opval) = newLOGOP((ps[(2) - (3)].val.ival), 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); } break; case 102: -#line 643 "perly.y" - { (yyval.opval) = newLOGOP(OP_DOR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); ;} +#line 671 "perly.y" + { (yyval.opval) = newLOGOP(OP_DOR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); } break; case 104: -#line 649 "perly.y" - { (yyval.opval) = (ps[(1) - (2)].val.opval); ;} +#line 677 "perly.y" + { (yyval.opval) = (ps[(1) - (2)].val.opval); } break; case 105: -#line 651 "perly.y" - { +#line 679 "perly.y" + { OP* term = (ps[(3) - (3)].val.opval); (yyval.opval) = op_append_elem(OP_LIST, (ps[(1) - (3)].val.opval), term); - ;} + } break; case 107: -#line 660 "perly.y" +#line 688 "perly.y" { (yyval.opval) = op_convert_list((ps[(1) - (3)].val.ival), OPf_STACKED, op_prepend_elem(OP_LIST, newGVREF((ps[(1) - (3)].val.ival),(ps[(2) - (3)].val.opval)), (ps[(3) - (3)].val.opval)) ); - ;} + } break; case 108: -#line 664 "perly.y" +#line 692 "perly.y" { (yyval.opval) = op_convert_list((ps[(1) - (5)].val.ival), OPf_STACKED, op_prepend_elem(OP_LIST, newGVREF((ps[(1) - (5)].val.ival),(ps[(3) - (5)].val.opval)), (ps[(4) - (5)].val.opval)) ); - ;} + } break; case 109: -#line 668 "perly.y" +#line 696 "perly.y" { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, scalar((ps[(1) - (6)].val.opval)), (ps[(5) - (6)].val.opval)), newMETHOP(OP_METHOD, 0, (ps[(3) - (6)].val.opval)))); - ;} + } break; case 110: -#line 674 "perly.y" +#line 702 "perly.y" { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, scalar((ps[(1) - (3)].val.opval)), newMETHOP(OP_METHOD, 0, (ps[(3) - (3)].val.opval)))); - ;} + } break; case 111: -#line 679 "perly.y" +#line 707 "perly.y" { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, (ps[(2) - (3)].val.opval), (ps[(3) - (3)].val.opval)), newMETHOP(OP_METHOD, 0, (ps[(1) - (3)].val.opval)))); - ;} + } break; case 112: -#line 685 "perly.y" +#line 713 "perly.y" { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, (ps[(2) - (5)].val.opval), (ps[(4) - (5)].val.opval)), newMETHOP(OP_METHOD, 0, (ps[(1) - (5)].val.opval)))); - ;} + } break; case 113: -#line 691 "perly.y" - { (yyval.opval) = op_convert_list((ps[(1) - (2)].val.ival), 0, (ps[(2) - (2)].val.opval)); ;} +#line 719 "perly.y" + { (yyval.opval) = op_convert_list((ps[(1) - (2)].val.ival), 0, (ps[(2) - (2)].val.opval)); } break; case 114: -#line 693 "perly.y" - { (yyval.opval) = op_convert_list((ps[(1) - (4)].val.ival), 0, (ps[(3) - (4)].val.opval)); ;} +#line 721 "perly.y" + { (yyval.opval) = op_convert_list((ps[(1) - (4)].val.ival), 0, (ps[(3) - (4)].val.opval)); } break; case 115: -#line 695 "perly.y" +#line 723 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); - (yyval.opval) = newANONATTRSUB((ps[(2) - (3)].val.ival), 0, (OP*)NULL, (ps[(3) - (3)].val.opval)); ;} + (yyval.opval) = newANONATTRSUB((ps[(2) - (3)].val.ival), 0, (OP*)NULL, (ps[(3) - (3)].val.opval)); } break; case 116: -#line 698 "perly.y" +#line 726 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, (ps[(4) - (5)].val.opval), (ps[(5) - (5)].val.opval)), (ps[(1) - (5)].val.opval))); - ;} + } break; case 119: -#line 713 "perly.y" - { (yyval.opval) = newBINOP(OP_GELEM, 0, (ps[(1) - (5)].val.opval), scalar((ps[(3) - (5)].val.opval))); ;} +#line 741 "perly.y" + { (yyval.opval) = newBINOP(OP_GELEM, 0, (ps[(1) - (5)].val.opval), scalar((ps[(3) - (5)].val.opval))); } break; case 120: -#line 715 "perly.y" +#line 743 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, oopsAV((ps[(1) - (4)].val.opval)), scalar((ps[(3) - (4)].val.opval))); - ;} + } break; case 121: -#line 718 "perly.y" +#line 746 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, ref(newAVREF((ps[(1) - (5)].val.opval)),OP_RV2AV), scalar((ps[(4) - (5)].val.opval))); - ;} + } break; case 122: -#line 723 "perly.y" +#line 751 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, ref(newAVREF((ps[(1) - (4)].val.opval)),OP_RV2AV), scalar((ps[(3) - (4)].val.opval))); - ;} + } break; case 123: -#line 728 "perly.y" +#line 756 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, oopsHV((ps[(1) - (5)].val.opval)), jmaybe((ps[(3) - (5)].val.opval))); - ;} + } break; case 124: -#line 731 "perly.y" +#line 759 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, ref(newHVREF((ps[(1) - (6)].val.opval)),OP_RV2HV), - jmaybe((ps[(4) - (6)].val.opval))); ;} + jmaybe((ps[(4) - (6)].val.opval))); } break; case 125: -#line 735 "perly.y" +#line 763 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, ref(newHVREF((ps[(1) - (5)].val.opval)),OP_RV2HV), - jmaybe((ps[(3) - (5)].val.opval))); ;} + jmaybe((ps[(3) - (5)].val.opval))); } break; case 126: -#line 739 "perly.y" +#line 767 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, - newCVREF(0, scalar((ps[(1) - (4)].val.opval)))); ;} + newCVREF(0, scalar((ps[(1) - (4)].val.opval)))); } break; case 127: -#line 742 "perly.y" +#line 770 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[(4) - (5)].val.opval), - newCVREF(0, scalar((ps[(1) - (5)].val.opval))))); ;} + newCVREF(0, scalar((ps[(1) - (5)].val.opval))))); } break; case 128: -#line 747 "perly.y" +#line 775 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[(3) - (4)].val.opval), - newCVREF(0, scalar((ps[(1) - (4)].val.opval))))); ;} + newCVREF(0, scalar((ps[(1) - (4)].val.opval))))); } break; case 129: -#line 751 "perly.y" +#line 779 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, - newCVREF(0, scalar((ps[(1) - (3)].val.opval)))); ;} + newCVREF(0, scalar((ps[(1) - (3)].val.opval)))); } break; case 130: -#line 754 "perly.y" - { (yyval.opval) = newSLICEOP(0, (ps[(5) - (6)].val.opval), (ps[(2) - (6)].val.opval)); ;} +#line 782 "perly.y" + { (yyval.opval) = newSLICEOP(0, (ps[(5) - (6)].val.opval), (ps[(2) - (6)].val.opval)); } break; case 131: -#line 756 "perly.y" - { (yyval.opval) = newSLICEOP(0, (ps[(3) - (4)].val.opval), (ps[(1) - (4)].val.opval)); ;} +#line 784 "perly.y" + { (yyval.opval) = newSLICEOP(0, (ps[(3) - (4)].val.opval), (ps[(1) - (4)].val.opval)); } break; case 132: -#line 758 "perly.y" - { (yyval.opval) = newSLICEOP(0, (ps[(4) - (5)].val.opval), (OP*)NULL); ;} +#line 786 "perly.y" + { (yyval.opval) = newSLICEOP(0, (ps[(4) - (5)].val.opval), (OP*)NULL); } break; case 133: -#line 763 "perly.y" - { (yyval.opval) = newASSIGNOP(OPf_STACKED, (ps[(1) - (3)].val.opval), (ps[(2) - (3)].val.ival), (ps[(3) - (3)].val.opval)); ;} +#line 791 "perly.y" + { (yyval.opval) = newASSIGNOP(OPf_STACKED, (ps[(1) - (3)].val.opval), (ps[(2) - (3)].val.ival), (ps[(3) - (3)].val.opval)); } break; case 134: -#line 765 "perly.y" - { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); ;} +#line 793 "perly.y" + { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); } break; case 135: -#line 767 "perly.y" +#line 795 "perly.y" { if ((ps[(2) - (3)].val.ival) != OP_REPEAT) scalar((ps[(1) - (3)].val.opval)); (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, (ps[(1) - (3)].val.opval), scalar((ps[(3) - (3)].val.opval))); - ;} + } break; case 136: -#line 772 "perly.y" - { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); ;} +#line 800 "perly.y" + { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); } break; case 137: -#line 774 "perly.y" - { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); ;} +#line 802 "perly.y" + { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); } break; case 138: -#line 776 "perly.y" - { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); ;} +#line 804 "perly.y" + { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); } break; case 139: -#line 778 "perly.y" - { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); ;} +#line 806 "perly.y" + { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); } break; case 140: -#line 780 "perly.y" - { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); ;} +#line 808 "perly.y" + { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); } break; case 141: -#line 782 "perly.y" - { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); ;} +#line 810 "perly.y" + { (yyval.opval) = newBINOP((ps[(2) - (3)].val.ival), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); } break; case 142: -#line 784 "perly.y" - { (yyval.opval) = newRANGE((ps[(2) - (3)].val.ival), scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); ;} +#line 812 "perly.y" + { (yyval.opval) = newRANGE((ps[(2) - (3)].val.ival), scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); } break; case 143: -#line 786 "perly.y" - { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); ;} +#line 814 "perly.y" + { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); } break; case 144: -#line 788 "perly.y" - { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); ;} +#line 816 "perly.y" + { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); } break; case 145: -#line 790 "perly.y" - { (yyval.opval) = newLOGOP(OP_DOR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); ;} +#line 818 "perly.y" + { (yyval.opval) = newLOGOP(OP_DOR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); } break; case 146: -#line 792 "perly.y" - { (yyval.opval) = bind_match((ps[(2) - (3)].val.ival), (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); ;} +#line 820 "perly.y" + { (yyval.opval) = bind_match((ps[(2) - (3)].val.ival), (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); } break; case 147: -#line 797 "perly.y" - { (yyval.opval) = newUNOP(OP_NEGATE, 0, scalar((ps[(2) - (2)].val.opval))); ;} +#line 825 "perly.y" + { (yyval.opval) = newUNOP(OP_NEGATE, 0, scalar((ps[(2) - (2)].val.opval))); } break; case 148: -#line 799 "perly.y" - { (yyval.opval) = (ps[(2) - (2)].val.opval); ;} +#line 827 "perly.y" + { (yyval.opval) = (ps[(2) - (2)].val.opval); } break; case 149: -#line 802 "perly.y" - { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[(2) - (2)].val.opval))); ;} +#line 830 "perly.y" + { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[(2) - (2)].val.opval))); } break; case 150: -#line 804 "perly.y" - { (yyval.opval) = newUNOP(OP_COMPLEMENT, 0, scalar((ps[(2) - (2)].val.opval))); ;} +#line 832 "perly.y" + { (yyval.opval) = newUNOP(OP_COMPLEMENT, 0, scalar((ps[(2) - (2)].val.opval))); } break; case 151: -#line 806 "perly.y" +#line 834 "perly.y" { (yyval.opval) = newUNOP(OP_POSTINC, 0, - op_lvalue(scalar((ps[(1) - (2)].val.opval)), OP_POSTINC)); ;} + op_lvalue(scalar((ps[(1) - (2)].val.opval)), OP_POSTINC)); } break; case 152: -#line 809 "perly.y" +#line 837 "perly.y" { (yyval.opval) = newUNOP(OP_POSTDEC, 0, - op_lvalue(scalar((ps[(1) - (2)].val.opval)), OP_POSTDEC));;} + op_lvalue(scalar((ps[(1) - (2)].val.opval)), OP_POSTDEC));} break; case 153: -#line 812 "perly.y" +#line 840 "perly.y" { (yyval.opval) = op_convert_list(OP_JOIN, 0, op_append_elem( OP_LIST, @@ -1020,124 +1045,137 @@ case 2: )), (ps[(1) - (2)].val.opval) )); - ;} + } break; case 154: -#line 823 "perly.y" +#line 851 "perly.y" { (yyval.opval) = newUNOP(OP_PREINC, 0, - op_lvalue(scalar((ps[(2) - (2)].val.opval)), OP_PREINC)); ;} + op_lvalue(scalar((ps[(2) - (2)].val.opval)), OP_PREINC)); } break; case 155: -#line 826 "perly.y" +#line 854 "perly.y" { (yyval.opval) = newUNOP(OP_PREDEC, 0, - op_lvalue(scalar((ps[(2) - (2)].val.opval)), OP_PREDEC)); ;} + op_lvalue(scalar((ps[(2) - (2)].val.opval)), OP_PREDEC)); } break; case 156: -#line 833 "perly.y" - { (yyval.opval) = newANONLIST((ps[(2) - (3)].val.opval)); ;} +#line 861 "perly.y" + { (yyval.opval) = newANONLIST((ps[(2) - (3)].val.opval)); } break; case 157: -#line 835 "perly.y" - { (yyval.opval) = newANONLIST((OP*)NULL);;} +#line 863 "perly.y" + { (yyval.opval) = newANONLIST((OP*)NULL);} break; case 158: -#line 837 "perly.y" - { (yyval.opval) = newANONHASH((ps[(2) - (4)].val.opval)); ;} +#line 865 "perly.y" + { (yyval.opval) = newANONHASH((ps[(2) - (4)].val.opval)); } break; case 159: -#line 839 "perly.y" - { (yyval.opval) = newANONHASH((OP*)NULL); ;} +#line 867 "perly.y" + { (yyval.opval) = newANONHASH((OP*)NULL); } break; case 160: -#line 841 "perly.y" +#line 869 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); - (yyval.opval) = newANONATTRSUB((ps[(2) - (5)].val.ival), (ps[(3) - (5)].val.opval), (ps[(4) - (5)].val.opval), (ps[(5) - (5)].val.opval)); ;} + (yyval.opval) = newANONATTRSUB((ps[(2) - (5)].val.ival), (ps[(3) - (5)].val.opval), (ps[(4) - (5)].val.opval), (ps[(5) - (5)].val.opval)); } break; case 161: -#line 848 "perly.y" - { (yyval.opval) = dofile((ps[(2) - (2)].val.opval), (ps[(1) - (2)].val.ival));;} +#line 872 "perly.y" + { + OP *body; + if (parser->copline > (line_t)(ps[(6) - (8)].val.ival)) + parser->copline = (line_t)(ps[(6) - (8)].val.ival); + body = block_end((ps[(3) - (8)].val.ival), + op_append_list(OP_LINESEQ, (ps[(4) - (8)].val.opval), (ps[(7) - (8)].val.opval))); + SvREFCNT_inc_simple_void(PL_compcv); + (yyval.opval) = newANONATTRSUB((ps[(2) - (8)].val.ival), NULL, (ps[(5) - (8)].val.opval), body); + } break; case 162: -#line 850 "perly.y" - { (yyval.opval) = newUNOP(OP_NULL, OPf_SPECIAL, op_scope((ps[(2) - (2)].val.opval)));;} +#line 886 "perly.y" + { (yyval.opval) = dofile((ps[(2) - (2)].val.opval), (ps[(1) - (2)].val.ival));} break; - case 167: -#line 858 "perly.y" - { (yyval.opval) = newCONDOP(0, (ps[(1) - (5)].val.opval), (ps[(3) - (5)].val.opval), (ps[(5) - (5)].val.opval)); ;} + case 163: +#line 888 "perly.y" + { (yyval.opval) = newUNOP(OP_NULL, OPf_SPECIAL, op_scope((ps[(2) - (2)].val.opval)));} break; case 168: -#line 860 "perly.y" - { (yyval.opval) = newUNOP(OP_REFGEN, 0, (ps[(2) - (2)].val.opval)); ;} +#line 896 "perly.y" + { (yyval.opval) = newCONDOP(0, (ps[(1) - (5)].val.opval), (ps[(3) - (5)].val.opval), (ps[(5) - (5)].val.opval)); } break; case 169: -#line 862 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 898 "perly.y" + { (yyval.opval) = newUNOP(OP_REFGEN, 0, (ps[(2) - (2)].val.opval)); } break; case 170: -#line 864 "perly.y" - { (yyval.opval) = localize((ps[(2) - (2)].val.opval),(ps[(1) - (2)].val.ival)); ;} +#line 900 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 171: -#line 866 "perly.y" - { (yyval.opval) = sawparens((ps[(2) - (3)].val.opval)); ;} +#line 902 "perly.y" + { (yyval.opval) = localize((ps[(2) - (2)].val.opval),(ps[(1) - (2)].val.ival)); } break; case 172: -#line 868 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 904 "perly.y" + { (yyval.opval) = sawparens((ps[(2) - (3)].val.opval)); } break; case 173: -#line 870 "perly.y" - { (yyval.opval) = sawparens(newNULLLIST()); ;} +#line 906 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 174: -#line 872 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 908 "perly.y" + { (yyval.opval) = sawparens(newNULLLIST()); } break; case 175: -#line 874 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 910 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 176: -#line 876 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 912 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 177: -#line 878 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 914 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 178: -#line 880 "perly.y" - { (yyval.opval) = newUNOP(OP_AV2ARYLEN, 0, ref((ps[(1) - (1)].val.opval), OP_AV2ARYLEN));;} +#line 916 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 179: -#line 882 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 918 "perly.y" + { (yyval.opval) = newUNOP(OP_AV2ARYLEN, 0, ref((ps[(1) - (1)].val.opval), OP_AV2ARYLEN));} break; case 180: -#line 884 "perly.y" +#line 920 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } + break; + + case 181: +#line 922 "perly.y" { (yyval.opval) = op_prepend_elem(OP_ASLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_ASLICE, 0, @@ -1146,11 +1184,11 @@ case 2: if ((yyval.opval) && (ps[(1) - (4)].val.opval)) (yyval.opval)->op_private |= (ps[(1) - (4)].val.opval)->op_private & OPpSLICEWARNING; - ;} + } break; - case 181: -#line 894 "perly.y" + case 182: +#line 932 "perly.y" { (yyval.opval) = op_prepend_elem(OP_KVASLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_KVASLICE, 0, @@ -1159,11 +1197,11 @@ case 2: if ((yyval.opval) && (ps[(1) - (4)].val.opval)) (yyval.opval)->op_private |= (ps[(1) - (4)].val.opval)->op_private & OPpSLICEWARNING; - ;} + } break; - case 182: -#line 904 "perly.y" + case 183: +#line 942 "perly.y" { (yyval.opval) = op_prepend_elem(OP_HSLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_HSLICE, 0, @@ -1172,11 +1210,11 @@ case 2: if ((yyval.opval) && (ps[(1) - (5)].val.opval)) (yyval.opval)->op_private |= (ps[(1) - (5)].val.opval)->op_private & OPpSLICEWARNING; - ;} + } break; - case 183: -#line 914 "perly.y" + case 184: +#line 952 "perly.y" { (yyval.opval) = op_prepend_elem(OP_KVHSLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_KVHSLICE, 0, @@ -1185,157 +1223,157 @@ case 2: if ((yyval.opval) && (ps[(1) - (5)].val.opval)) (yyval.opval)->op_private |= (ps[(1) - (5)].val.opval)->op_private & OPpSLICEWARNING; - ;} - break; - - case 184: -#line 924 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} + } break; case 185: -#line 926 "perly.y" - { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, scalar((ps[(1) - (1)].val.opval))); ;} +#line 962 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 186: -#line 928 "perly.y" - { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (3)].val.opval))); - ;} +#line 964 "perly.y" + { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, scalar((ps[(1) - (1)].val.opval))); } break; case 187: -#line 931 "perly.y" +#line 966 "perly.y" + { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (3)].val.opval))); + } + break; + + case 188: +#line 969 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[(3) - (4)].val.opval), scalar((ps[(1) - (4)].val.opval)))); - ;} + } break; - case 188: -#line 936 "perly.y" + case 189: +#line 974 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, (ps[(3) - (3)].val.opval), scalar((ps[(2) - (3)].val.opval)))); - ;} - break; - - case 189: -#line 940 "perly.y" - { (yyval.opval) = newSVREF((ps[(1) - (4)].val.opval)); ;} + } break; case 190: -#line 942 "perly.y" - { (yyval.opval) = newAVREF((ps[(1) - (4)].val.opval)); ;} +#line 978 "perly.y" + { (yyval.opval) = newSVREF((ps[(1) - (4)].val.opval)); } break; case 191: -#line 944 "perly.y" - { (yyval.opval) = newHVREF((ps[(1) - (4)].val.opval)); ;} +#line 980 "perly.y" + { (yyval.opval) = newAVREF((ps[(1) - (4)].val.opval)); } break; case 192: -#line 946 "perly.y" - { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, - scalar(newCVREF((ps[(3) - (4)].val.ival),(ps[(1) - (4)].val.opval)))); ;} +#line 982 "perly.y" + { (yyval.opval) = newHVREF((ps[(1) - (4)].val.opval)); } break; case 193: -#line 949 "perly.y" - { (yyval.opval) = newGVREF(0,(ps[(1) - (4)].val.opval)); ;} +#line 984 "perly.y" + { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, + scalar(newCVREF((ps[(3) - (4)].val.ival),(ps[(1) - (4)].val.opval)))); } break; case 194: -#line 951 "perly.y" - { (yyval.opval) = newOP((ps[(1) - (1)].val.ival), OPf_SPECIAL); - PL_hints |= HINT_BLOCK_SCOPE; ;} +#line 987 "perly.y" + { (yyval.opval) = newGVREF(0,(ps[(1) - (4)].val.opval)); } break; case 195: -#line 954 "perly.y" - { (yyval.opval) = newLOOPEX((ps[(1) - (2)].val.ival),(ps[(2) - (2)].val.opval)); ;} +#line 989 "perly.y" + { (yyval.opval) = newOP((ps[(1) - (1)].val.ival), OPf_SPECIAL); + PL_hints |= HINT_BLOCK_SCOPE; } break; case 196: -#line 956 "perly.y" - { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[(2) - (2)].val.opval))); ;} +#line 992 "perly.y" + { (yyval.opval) = newLOOPEX((ps[(1) - (2)].val.ival),(ps[(2) - (2)].val.opval)); } break; case 197: -#line 958 "perly.y" - { (yyval.opval) = newOP((ps[(1) - (1)].val.ival), 0); ;} +#line 994 "perly.y" + { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[(2) - (2)].val.opval))); } break; case 198: -#line 960 "perly.y" - { (yyval.opval) = newUNOP((ps[(1) - (2)].val.ival), 0, (ps[(2) - (2)].val.opval)); ;} +#line 996 "perly.y" + { (yyval.opval) = newOP((ps[(1) - (1)].val.ival), 0); } break; case 199: -#line 962 "perly.y" - { (yyval.opval) = newUNOP((ps[(1) - (2)].val.ival), 0, (ps[(2) - (2)].val.opval)); ;} +#line 998 "perly.y" + { (yyval.opval) = newUNOP((ps[(1) - (2)].val.ival), 0, (ps[(2) - (2)].val.opval)); } break; case 200: -#line 964 "perly.y" - { (yyval.opval) = newOP(OP_REQUIRE, (ps[(1) - (1)].val.ival) ? OPf_SPECIAL : 0); ;} +#line 1000 "perly.y" + { (yyval.opval) = newUNOP((ps[(1) - (2)].val.ival), 0, (ps[(2) - (2)].val.opval)); } break; case 201: -#line 966 "perly.y" - { (yyval.opval) = newUNOP(OP_REQUIRE, (ps[(1) - (2)].val.ival) ? OPf_SPECIAL : 0, (ps[(2) - (2)].val.opval)); ;} +#line 1002 "perly.y" + { (yyval.opval) = newOP(OP_REQUIRE, (ps[(1) - (1)].val.ival) ? OPf_SPECIAL : 0); } break; case 202: -#line 968 "perly.y" - { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (1)].val.opval))); ;} +#line 1004 "perly.y" + { (yyval.opval) = newUNOP(OP_REQUIRE, (ps[(1) - (2)].val.ival) ? OPf_SPECIAL : 0, (ps[(2) - (2)].val.opval)); } break; case 203: -#line 970 "perly.y" - { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, - op_append_elem(OP_LIST, (ps[(2) - (2)].val.opval), scalar((ps[(1) - (2)].val.opval)))); ;} +#line 1006 "perly.y" + { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (1)].val.opval))); } break; case 204: -#line 973 "perly.y" - { (yyval.opval) = newOP((ps[(1) - (1)].val.ival), 0); ;} +#line 1008 "perly.y" + { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, + op_append_elem(OP_LIST, (ps[(2) - (2)].val.opval), scalar((ps[(1) - (2)].val.opval)))); } break; case 205: -#line 975 "perly.y" - { (yyval.opval) = newOP((ps[(1) - (3)].val.ival), 0);;} +#line 1011 "perly.y" + { (yyval.opval) = newOP((ps[(1) - (1)].val.ival), 0); } break; case 206: -#line 977 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 1013 "perly.y" + { (yyval.opval) = newOP((ps[(1) - (3)].val.ival), 0);} break; case 207: -#line 979 "perly.y" - { (yyval.opval) = (ps[(1) - (3)].val.opval); ;} +#line 1015 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 208: -#line 981 "perly.y" - { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (1)].val.opval))); ;} +#line 1017 "perly.y" + { (yyval.opval) = (ps[(1) - (3)].val.opval); } break; case 209: -#line 983 "perly.y" - { (yyval.opval) = ((ps[(1) - (3)].val.ival) == OP_NOT) - ? newUNOP((ps[(1) - (3)].val.ival), 0, newSVOP(OP_CONST, 0, newSViv(0))) - : newOP((ps[(1) - (3)].val.ival), OPf_SPECIAL); ;} +#line 1019 "perly.y" + { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (1)].val.opval))); } break; case 210: -#line 987 "perly.y" - { (yyval.opval) = newUNOP((ps[(1) - (4)].val.ival), 0, (ps[(3) - (4)].val.opval)); ;} +#line 1021 "perly.y" + { (yyval.opval) = ((ps[(1) - (3)].val.ival) == OP_NOT) + ? newUNOP((ps[(1) - (3)].val.ival), 0, newSVOP(OP_CONST, 0, newSViv(0))) + : newOP((ps[(1) - (3)].val.ival), OPf_SPECIAL); } break; case 211: -#line 989 "perly.y" +#line 1025 "perly.y" + { (yyval.opval) = newUNOP((ps[(1) - (4)].val.ival), 0, (ps[(3) - (4)].val.opval)); } + break; + + case 212: +#line 1027 "perly.y" { if ( (ps[(1) - (1)].val.opval)->op_type != OP_TRANS && (ps[(1) - (1)].val.opval)->op_type != OP_TRANSR @@ -1345,173 +1383,170 @@ case 2: SAVEFREESV(PL_compcv); } else (yyval.ival) = 0; - ;} + } break; - case 212: -#line 1000 "perly.y" - { (yyval.opval) = pmruntime((ps[(1) - (6)].val.opval), (ps[(4) - (6)].val.opval), (ps[(5) - (6)].val.opval), 1, (ps[(2) - (6)].val.ival)); ;} + case 213: +#line 1038 "perly.y" + { (yyval.opval) = pmruntime((ps[(1) - (6)].val.opval), (ps[(4) - (6)].val.opval), (ps[(5) - (6)].val.opval), 1, (ps[(2) - (6)].val.ival)); } break; - case 215: -#line 1004 "perly.y" + case 216: +#line 1042 "perly.y" { (yyval.opval) = newLISTOP(OP_DIE, 0, newOP(OP_PUSHMARK, 0), newSVOP(OP_CONST, 0, newSVpvs("Unimplemented"))); - ;} - break; - - case 217: -#line 1013 "perly.y" - { (yyval.opval) = my_attrs((ps[(2) - (3)].val.opval),(ps[(3) - (3)].val.opval)); ;} + } break; case 218: -#line 1015 "perly.y" - { (yyval.opval) = localize((ps[(2) - (2)].val.opval),(ps[(1) - (2)].val.ival)); ;} +#line 1051 "perly.y" + { (yyval.opval) = my_attrs((ps[(2) - (3)].val.opval),(ps[(3) - (3)].val.opval)); } break; case 219: -#line 1020 "perly.y" - { (yyval.opval) = sawparens((ps[(2) - (3)].val.opval)); ;} +#line 1053 "perly.y" + { (yyval.opval) = localize((ps[(2) - (2)].val.opval),(ps[(1) - (2)].val.ival)); } break; case 220: -#line 1022 "perly.y" - { (yyval.opval) = sawparens(newNULLLIST()); ;} +#line 1058 "perly.y" + { (yyval.opval) = sawparens((ps[(2) - (3)].val.opval)); } break; case 221: -#line 1025 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 1060 "perly.y" + { (yyval.opval) = sawparens(newNULLLIST()); } break; case 222: -#line 1027 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 1063 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 223: -#line 1029 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 1065 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 224: -#line 1034 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 1067 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 225: -#line 1036 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 1072 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 226: -#line 1040 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 1074 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 227: -#line 1042 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 1078 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 228: -#line 1046 "perly.y" - { (yyval.opval) = (OP*)NULL; ;} +#line 1080 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } break; case 229: -#line 1048 "perly.y" - { (yyval.opval) = (ps[(2) - (2)].val.opval); ;} +#line 1084 "perly.y" + { (yyval.opval) = (OP*)NULL; } break; case 230: -#line 1054 "perly.y" - { parser->in_my = 0; (yyval.opval) = my((ps[(1) - (1)].val.opval)); ;} +#line 1086 "perly.y" + { (yyval.opval) = (ps[(2) - (2)].val.opval); } break; - case 236: -#line 1067 "perly.y" - { (yyval.opval) = newCVREF((ps[(1) - (2)].val.ival),(ps[(2) - (2)].val.opval)); ;} + case 231: +#line 1092 "perly.y" + { parser->in_my = 0; (yyval.opval) = my((ps[(1) - (1)].val.opval)); } break; case 237: -#line 1071 "perly.y" - { (yyval.opval) = newSVREF((ps[(2) - (2)].val.opval)); ;} +#line 1105 "perly.y" + { (yyval.opval) = newCVREF((ps[(1) - (2)].val.ival),(ps[(2) - (2)].val.opval)); } break; case 238: -#line 1075 "perly.y" - { (yyval.opval) = newAVREF((ps[(2) - (2)].val.opval)); - if ((yyval.opval)) (yyval.opval)->op_private |= (ps[(1) - (2)].val.ival); - ;} +#line 1109 "perly.y" + { (yyval.opval) = newSVREF((ps[(2) - (2)].val.opval)); } break; case 239: -#line 1081 "perly.y" - { (yyval.opval) = newHVREF((ps[(2) - (2)].val.opval)); +#line 1113 "perly.y" + { (yyval.opval) = newAVREF((ps[(2) - (2)].val.opval)); if ((yyval.opval)) (yyval.opval)->op_private |= (ps[(1) - (2)].val.ival); - ;} + } break; case 240: -#line 1087 "perly.y" - { (yyval.opval) = newAVREF((ps[(2) - (2)].val.opval)); ;} +#line 1119 "perly.y" + { (yyval.opval) = newHVREF((ps[(2) - (2)].val.opval)); + if ((yyval.opval)) (yyval.opval)->op_private |= (ps[(1) - (2)].val.ival); + } break; case 241: -#line 1089 "perly.y" - { (yyval.opval) = newAVREF((ps[(1) - (4)].val.opval)); ;} +#line 1125 "perly.y" + { (yyval.opval) = newAVREF((ps[(2) - (2)].val.opval)); } break; case 242: -#line 1093 "perly.y" - { (yyval.opval) = newGVREF(0,(ps[(2) - (2)].val.opval)); ;} +#line 1127 "perly.y" + { (yyval.opval) = newAVREF((ps[(1) - (4)].val.opval)); } break; - case 244: -#line 1098 "perly.y" - { (yyval.opval) = newAVREF((ps[(1) - (3)].val.opval)); ;} + case 243: +#line 1131 "perly.y" + { (yyval.opval) = newGVREF(0,(ps[(2) - (2)].val.opval)); } break; - case 246: -#line 1103 "perly.y" - { (yyval.opval) = newHVREF((ps[(1) - (3)].val.opval)); ;} + case 245: +#line 1136 "perly.y" + { (yyval.opval) = newAVREF((ps[(1) - (3)].val.opval)); } break; - case 248: -#line 1108 "perly.y" - { (yyval.opval) = newGVREF(0,(ps[(1) - (3)].val.opval)); ;} + case 247: +#line 1141 "perly.y" + { (yyval.opval) = newHVREF((ps[(1) - (3)].val.opval)); } break; case 249: -#line 1113 "perly.y" - { (yyval.opval) = scalar((ps[(1) - (1)].val.opval)); ;} +#line 1146 "perly.y" + { (yyval.opval) = newGVREF(0,(ps[(1) - (3)].val.opval)); } break; case 250: -#line 1115 "perly.y" - { (yyval.opval) = scalar((ps[(1) - (1)].val.opval)); ;} +#line 1151 "perly.y" + { (yyval.opval) = scalar((ps[(1) - (1)].val.opval)); } break; case 251: -#line 1117 "perly.y" - { (yyval.opval) = op_scope((ps[(1) - (1)].val.opval)); ;} +#line 1153 "perly.y" + { (yyval.opval) = scalar((ps[(1) - (1)].val.opval)); } break; case 252: -#line 1120 "perly.y" - { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} +#line 1155 "perly.y" + { (yyval.opval) = op_scope((ps[(1) - (1)].val.opval)); } break; - -/* Line 1267 of yacc.c. */ + case 253: +#line 1158 "perly.y" + { (yyval.opval) = (ps[(1) - (1)].val.opval); } + break; default: break; /* Generated from: - * 81b73d4c51279b9e4fa0d1b9ab2f7c591e93f1b1ef1e34c64bbc4836629ce193 perly.y + * 12bc2d35e1af6b72fc94eb1621fe7f5c3e605bbacc097f6fd0e4598864ad9939 perly.y * d1d4df7b8e30ac9dede664af9179e6e5e7ddc7f2ad9c4eff9e2e5b32c9e16a6e regen_perly.pl * ex: set ro: */ @@ -5,27 +5,24 @@ */ #ifdef PERL_CORE -/* A Bison parser, made by GNU Bison 2.3. */ +/* A Bison parser, made by GNU Bison 2.7.12-4996. */ -/* Skeleton interface for Bison's Yacc-like parsers in C - - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify +/* Bison interface for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. */ + along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work @@ -36,10 +33,18 @@ special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. - + This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE @@ -128,6 +133,7 @@ ARROW = 337 }; #endif + /* Tokens. */ #define GRAMPROG 258 #define GRAMEXPR 259 @@ -211,8 +217,6 @@ #define ARROW 337 - - #ifdef PERL_IN_TOKE_C static bool S_is_opval_token(int type) { @@ -239,23 +243,39 @@ S_is_opval_token(int type) { #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { +/* Line 2053 of yacc.c */ + I32 ival; /* __DEFAULT__ (marker for regen_perly.pl; must always be 1st union member) */ char *pval; OP *opval; GV *gvval; -} -/* Line 1529 of yacc.c. */ - YYSTYPE; + + +/* Line 2053 of yacc.c */ +} YYSTYPE; +# define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 -# define YYSTYPE_IS_TRIVIAL 1 #endif +#ifdef YYPARSE_PARAM +#if defined __STDC__ || defined __cplusplus +int yyparse (void *YYPARSE_PARAM); +#else +int yyparse (); +#endif +#else /* ! YYPARSE_PARAM */ +#if defined __STDC__ || defined __cplusplus +int yyparse (void); +#else +int yyparse (); +#endif +#endif /* ! YYPARSE_PARAM */ /* Generated from: - * 81b73d4c51279b9e4fa0d1b9ab2f7c591e93f1b1ef1e34c64bbc4836629ce193 perly.y + * 12bc2d35e1af6b72fc94eb1621fe7f5c3e605bbacc097f6fd0e4598864ad9939 perly.y * d1d4df7b8e30ac9dede664af9179e6e5e7ddc7f2ad9c4eff9e2e5b32c9e16a6e regen_perly.pl * ex: set ro: */ @@ -6,16 +6,16 @@ #define YYFINAL 14 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 2783 +#define YYLAST 2881 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 105 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 78 /* YYNRULES -- Number of rules. */ -#define YYNRULES 252 +#define YYNRULES 253 /* YYNRULES -- Number of states. */ -#define YYNSTATES 501 +#define YYNSTATES 509 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 @@ -71,29 +71,29 @@ static const yytype_uint16 yyprhs[] = 0, 0, 3, 4, 9, 10, 14, 15, 19, 20, 24, 25, 29, 30, 34, 39, 47, 48, 53, 54, 55, 58, 59, 62, 64, 66, 69, 72, 74, 79, - 80, 88, 93, 94, 102, 110, 118, 125, 132, 135, - 144, 153, 154, 155, 169, 179, 188, 189, 201, 211, - 219, 222, 223, 232, 235, 237, 240, 241, 245, 247, - 249, 253, 257, 261, 265, 269, 273, 274, 277, 284, - 285, 288, 289, 290, 292, 293, 295, 297, 299, 301, - 303, 305, 306, 307, 308, 309, 311, 313, 314, 316, - 317, 320, 322, 325, 327, 328, 329, 333, 339, 341, - 343, 347, 351, 355, 357, 360, 364, 366, 370, 376, - 383, 387, 391, 397, 400, 405, 406, 412, 414, 416, - 422, 427, 433, 438, 444, 451, 457, 462, 468, 473, - 477, 484, 489, 495, 499, 503, 507, 511, 515, 519, - 523, 527, 531, 535, 539, 543, 547, 551, 554, 557, - 560, 563, 566, 569, 572, 575, 578, 582, 585, 590, - 594, 600, 603, 606, 608, 610, 612, 614, 620, 623, - 625, 628, 632, 634, 637, 639, 641, 643, 645, 647, - 649, 654, 659, 665, 671, 673, 675, 679, 684, 688, - 693, 698, 703, 708, 713, 715, 718, 721, 723, 726, - 729, 731, 734, 736, 739, 741, 745, 747, 751, 753, - 757, 762, 763, 770, 772, 774, 776, 778, 782, 785, - 789, 792, 794, 796, 798, 799, 801, 802, 804, 805, - 808, 810, 812, 814, 816, 818, 820, 823, 826, 829, - 832, 835, 840, 843, 845, 849, 851, 855, 857, 861, - 863, 865, 867 + 80, 88, 89, 100, 105, 106, 114, 122, 130, 137, + 144, 147, 156, 165, 166, 167, 181, 191, 200, 201, + 213, 223, 231, 234, 235, 244, 247, 249, 252, 253, + 257, 259, 261, 265, 269, 273, 277, 281, 285, 286, + 289, 296, 297, 300, 301, 302, 304, 305, 307, 309, + 311, 313, 315, 317, 318, 319, 320, 321, 323, 325, + 326, 328, 329, 332, 334, 337, 339, 340, 344, 346, + 348, 352, 356, 360, 362, 365, 369, 371, 375, 381, + 388, 392, 396, 402, 405, 410, 411, 417, 419, 421, + 427, 432, 438, 443, 449, 456, 462, 467, 473, 478, + 482, 489, 494, 500, 504, 508, 512, 516, 520, 524, + 528, 532, 536, 540, 544, 548, 552, 556, 559, 562, + 565, 568, 571, 574, 577, 580, 583, 587, 590, 595, + 599, 605, 614, 617, 620, 622, 624, 626, 628, 634, + 637, 639, 642, 646, 648, 651, 653, 655, 657, 659, + 661, 663, 668, 673, 679, 685, 687, 689, 693, 698, + 702, 707, 712, 717, 722, 727, 729, 732, 735, 737, + 740, 743, 745, 748, 750, 753, 755, 759, 761, 765, + 767, 771, 776, 777, 784, 786, 788, 790, 792, 796, + 799, 803, 806, 808, 810, 812, 813, 815, 816, 818, + 819, 822, 824, 826, 828, 830, 832, 834, 837, 840, + 843, 846, 849, 854, 857, 859, 863, 865, 869, 871, + 875, 877, 879, 881 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ @@ -105,87 +105,89 @@ static const yytype_int16 yyrhs[] = 8, 112, 118, -1, 9, 115, 118, 10, -1, 21, 115, 20, 74, 119, 20, 22, -1, -1, 9, 117, 118, 10, -1, -1, -1, 118, 120, -1, -1, 119, - 129, -1, 122, -1, 121, -1, 36, 122, -1, 36, - 121, -1, 35, -1, 37, 144, 141, 114, -1, -1, - 38, 145, 142, 123, 146, 147, 152, -1, 40, 23, - 23, 20, -1, -1, 41, 142, 124, 23, 23, 167, - 20, -1, 44, 103, 115, 138, 102, 116, 132, -1, - 45, 103, 115, 140, 102, 116, 132, -1, 50, 103, - 115, 138, 102, 116, -1, 51, 103, 115, 138, 102, - 116, -1, 52, 113, -1, 42, 103, 115, 136, 102, - 134, 116, 133, -1, 43, 103, 115, 137, 102, 134, - 116, 133, -1, -1, -1, 49, 103, 115, 139, 20, - 125, 136, 20, 126, 134, 139, 102, 116, -1, 49, - 70, 115, 170, 103, 138, 102, 116, 133, -1, 49, - 174, 103, 115, 138, 102, 116, 133, -1, -1, 49, - 93, 70, 115, 171, 127, 103, 138, 102, 116, 133, - -1, 49, 93, 172, 103, 115, 138, 102, 116, 133, - -1, 49, 103, 115, 138, 102, 116, 133, -1, 113, - 133, -1, -1, 40, 23, 23, 9, 115, 128, 118, - 10, -1, 131, 20, -1, 20, -1, 26, 130, -1, - -1, 73, 118, 74, -1, 1, -1, 153, -1, 153, - 44, 153, -1, 153, 45, 153, -1, 153, 42, 153, - -1, 153, 43, 137, -1, 153, 49, 153, -1, 153, - 51, 153, -1, -1, 46, 116, -1, 47, 103, 138, - 102, 116, 132, -1, -1, 48, 113, -1, -1, -1, - 131, -1, -1, 153, -1, 153, -1, 153, -1, 135, - -1, 137, -1, 23, -1, -1, -1, -1, -1, 23, - -1, 28, -1, -1, 26, -1, -1, 72, 26, -1, - 72, -1, 72, 26, -1, 72, -1, -1, -1, 103, - 150, 102, -1, 115, 149, 9, 118, 10, -1, 151, - -1, 20, -1, 153, 78, 153, -1, 153, 77, 153, - -1, 153, 76, 153, -1, 154, -1, 154, 80, -1, - 154, 80, 163, -1, 163, -1, 60, 182, 154, -1, - 58, 103, 182, 153, 102, -1, 163, 101, 157, 103, - 168, 102, -1, 163, 101, 157, -1, 24, 182, 167, - -1, 25, 182, 103, 168, 102, -1, 60, 167, -1, - 58, 103, 168, 102, -1, -1, 33, 143, 113, 156, - 167, -1, 24, -1, 174, -1, 181, 9, 153, 20, - 10, -1, 174, 11, 153, 12, -1, 163, 101, 11, - 153, 12, -1, 158, 11, 153, 12, -1, 174, 9, - 153, 20, 10, -1, 163, 101, 9, 153, 20, 10, - -1, 158, 9, 153, 20, 10, -1, 163, 101, 103, - 102, -1, 163, 101, 103, 153, 102, -1, 158, 103, - 153, 102, -1, 158, 103, 102, -1, 103, 153, 102, - 11, 153, 12, -1, 29, 11, 153, 12, -1, 103, - 102, 11, 153, 12, -1, 163, 81, 163, -1, 163, - 95, 163, -1, 163, 63, 163, -1, 163, 64, 163, - -1, 163, 89, 163, -1, 163, 61, 163, -1, 163, - 62, 163, -1, 163, 88, 163, -1, 163, 87, 163, - -1, 163, 54, 163, -1, 163, 86, 163, -1, 163, - 85, 163, -1, 163, 84, 163, -1, 163, 90, 163, - -1, 13, 163, -1, 14, 163, -1, 91, 163, -1, - 92, 163, -1, 163, 98, -1, 163, 97, -1, 163, - 96, -1, 100, 163, -1, 99, 163, -1, 11, 153, - 12, -1, 11, 12, -1, 67, 153, 20, 10, -1, - 67, 20, 10, -1, 39, 143, 146, 147, 151, -1, - 66, 163, -1, 66, 113, -1, 159, -1, 160, -1, - 161, -1, 162, -1, 163, 82, 163, 83, 163, -1, - 93, 163, -1, 165, -1, 69, 163, -1, 103, 153, - 102, -1, 29, -1, 103, 102, -1, 174, -1, 178, - -1, 176, -1, 175, -1, 177, -1, 158, -1, 179, - 11, 153, 12, -1, 180, 11, 153, 12, -1, 179, - 9, 153, 20, 10, -1, 180, 9, 153, 20, 10, - -1, 26, -1, 173, -1, 173, 103, 102, -1, 173, - 103, 153, 102, -1, 68, 145, 167, -1, 163, 101, - 15, 18, -1, 163, 101, 16, 18, -1, 163, 101, - 17, 18, -1, 163, 101, 19, 18, -1, 163, 101, - 18, 18, -1, 53, -1, 53, 163, -1, 79, 154, - -1, 59, -1, 59, 113, -1, 59, 163, -1, 71, - -1, 71, 163, -1, 32, -1, 32, 163, -1, 56, - -1, 56, 103, 102, -1, 30, -1, 30, 103, 102, - -1, 31, -1, 57, 103, 102, -1, 57, 103, 153, - 102, -1, -1, 27, 164, 103, 154, 169, 102, -1, - 23, -1, 155, -1, 55, -1, 34, -1, 70, 166, - 148, -1, 70, 166, -1, 103, 153, 102, -1, 103, - 102, -1, 174, -1, 176, -1, 175, -1, -1, 154, - -1, -1, 153, -1, -1, 104, 153, -1, 174, -1, - 174, -1, 175, -1, 176, -1, 171, -1, 173, -1, - 19, 182, -1, 15, 182, -1, 16, 182, -1, 17, - 182, -1, 65, 182, -1, 163, 101, 65, 18, -1, - 18, 182, -1, 175, -1, 163, 101, 16, -1, 176, - -1, 163, 101, 17, -1, 178, -1, 163, 101, 18, - -1, 23, -1, 174, -1, 113, -1, 28, -1 + 130, -1, 122, -1, 121, -1, 36, 122, -1, 36, + 121, -1, 35, -1, 37, 145, 142, 114, -1, -1, + 38, 146, 143, 123, 147, 148, 152, -1, -1, 38, + 146, 143, 124, 115, 150, 148, 9, 118, 10, -1, + 40, 23, 23, 20, -1, -1, 41, 143, 125, 23, + 23, 167, 20, -1, 44, 103, 115, 139, 102, 116, + 133, -1, 45, 103, 115, 141, 102, 116, 133, -1, + 50, 103, 115, 139, 102, 116, -1, 51, 103, 115, + 139, 102, 116, -1, 52, 113, -1, 42, 103, 115, + 137, 102, 135, 116, 134, -1, 43, 103, 115, 138, + 102, 135, 116, 134, -1, -1, -1, 49, 103, 115, + 140, 20, 126, 137, 20, 127, 135, 140, 102, 116, + -1, 49, 70, 115, 170, 103, 139, 102, 116, 134, + -1, 49, 174, 103, 115, 139, 102, 116, 134, -1, + -1, 49, 93, 70, 115, 171, 128, 103, 139, 102, + 116, 134, -1, 49, 93, 172, 103, 115, 139, 102, + 116, 134, -1, 49, 103, 115, 139, 102, 116, 134, + -1, 113, 134, -1, -1, 40, 23, 23, 9, 115, + 129, 118, 10, -1, 132, 20, -1, 20, -1, 26, + 131, -1, -1, 73, 118, 74, -1, 1, -1, 153, + -1, 153, 44, 153, -1, 153, 45, 153, -1, 153, + 42, 153, -1, 153, 43, 138, -1, 153, 49, 153, + -1, 153, 51, 153, -1, -1, 46, 116, -1, 47, + 103, 139, 102, 116, 133, -1, -1, 48, 113, -1, + -1, -1, 132, -1, -1, 153, -1, 153, -1, 153, + -1, 136, -1, 138, -1, 23, -1, -1, -1, -1, + -1, 23, -1, 28, -1, -1, 26, -1, -1, 72, + 26, -1, 72, -1, 72, 26, -1, 72, -1, -1, + 103, 151, 102, -1, 113, -1, 20, -1, 153, 78, + 153, -1, 153, 77, 153, -1, 153, 76, 153, -1, + 154, -1, 154, 80, -1, 154, 80, 163, -1, 163, + -1, 60, 182, 154, -1, 58, 103, 182, 153, 102, + -1, 163, 101, 157, 103, 168, 102, -1, 163, 101, + 157, -1, 24, 182, 167, -1, 25, 182, 103, 168, + 102, -1, 60, 167, -1, 58, 103, 168, 102, -1, + -1, 33, 144, 113, 156, 167, -1, 24, -1, 174, + -1, 181, 9, 153, 20, 10, -1, 174, 11, 153, + 12, -1, 163, 101, 11, 153, 12, -1, 158, 11, + 153, 12, -1, 174, 9, 153, 20, 10, -1, 163, + 101, 9, 153, 20, 10, -1, 158, 9, 153, 20, + 10, -1, 163, 101, 103, 102, -1, 163, 101, 103, + 153, 102, -1, 158, 103, 153, 102, -1, 158, 103, + 102, -1, 103, 153, 102, 11, 153, 12, -1, 29, + 11, 153, 12, -1, 103, 102, 11, 153, 12, -1, + 163, 81, 163, -1, 163, 95, 163, -1, 163, 63, + 163, -1, 163, 64, 163, -1, 163, 89, 163, -1, + 163, 61, 163, -1, 163, 62, 163, -1, 163, 88, + 163, -1, 163, 87, 163, -1, 163, 54, 163, -1, + 163, 86, 163, -1, 163, 85, 163, -1, 163, 84, + 163, -1, 163, 90, 163, -1, 13, 163, -1, 14, + 163, -1, 91, 163, -1, 92, 163, -1, 163, 98, + -1, 163, 97, -1, 163, 96, -1, 100, 163, -1, + 99, 163, -1, 11, 153, 12, -1, 11, 12, -1, + 67, 153, 20, 10, -1, 67, 20, 10, -1, 39, + 144, 147, 148, 113, -1, 39, 144, 115, 150, 148, + 9, 118, 10, -1, 66, 163, -1, 66, 113, -1, + 159, -1, 160, -1, 161, -1, 162, -1, 163, 82, + 163, 83, 163, -1, 93, 163, -1, 165, -1, 69, + 163, -1, 103, 153, 102, -1, 29, -1, 103, 102, + -1, 174, -1, 178, -1, 176, -1, 175, -1, 177, + -1, 158, -1, 179, 11, 153, 12, -1, 180, 11, + 153, 12, -1, 179, 9, 153, 20, 10, -1, 180, + 9, 153, 20, 10, -1, 26, -1, 173, -1, 173, + 103, 102, -1, 173, 103, 153, 102, -1, 68, 146, + 167, -1, 163, 101, 15, 18, -1, 163, 101, 16, + 18, -1, 163, 101, 17, 18, -1, 163, 101, 19, + 18, -1, 163, 101, 18, 18, -1, 53, -1, 53, + 163, -1, 79, 154, -1, 59, -1, 59, 113, -1, + 59, 163, -1, 71, -1, 71, 163, -1, 32, -1, + 32, 163, -1, 56, -1, 56, 103, 102, -1, 30, + -1, 30, 103, 102, -1, 31, -1, 57, 103, 102, + -1, 57, 103, 153, 102, -1, -1, 27, 164, 103, + 154, 169, 102, -1, 23, -1, 155, -1, 55, -1, + 34, -1, 70, 166, 149, -1, 70, 166, -1, 103, + 153, 102, -1, 103, 102, -1, 174, -1, 176, -1, + 175, -1, -1, 154, -1, -1, 153, -1, -1, 104, + 153, -1, 174, -1, 174, -1, 175, -1, 176, -1, + 171, -1, 173, -1, 19, 182, -1, 15, 182, -1, + 16, 182, -1, 17, 182, -1, 65, 182, -1, 163, + 101, 65, 18, -1, 18, 182, -1, 175, -1, 163, + 101, 16, -1, 176, -1, 163, 101, 17, -1, 178, + -1, 163, 101, 18, -1, 23, -1, 174, -1, 113, + -1, 28, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ @@ -194,33 +196,33 @@ static const yytype_uint16 yyrline[] = 0, 115, 115, 114, 125, 124, 134, 133, 146, 145, 158, 157, 170, 169, 181, 189, 197, 201, 209, 215, 216, 226, 227, 236, 240, 244, 248, 255, 257, 268, - 267, 300, 308, 307, 316, 322, 328, 339, 341, 343, - 350, 358, 360, 357, 377, 382, 389, 388, 403, 411, - 417, 424, 423, 438, 442, 450, 468, 469, 474, 476, - 478, 480, 482, 484, 486, 489, 495, 496, 501, 512, - 513, 519, 525, 526, 531, 534, 538, 543, 547, 551, - 555, 556, 560, 566, 571, 576, 577, 582, 583, 588, - 589, 591, 596, 598, 603, 605, 604, 623, 633, 634, - 638, 640, 642, 644, 648, 650, 655, 659, 663, 667, - 673, 678, 684, 690, 692, 695, 694, 705, 706, 710, - 714, 717, 722, 727, 730, 734, 738, 741, 746, 750, - 753, 755, 757, 762, 764, 766, 771, 773, 775, 777, - 779, 781, 783, 785, 787, 789, 791, 796, 798, 801, - 803, 805, 808, 811, 822, 825, 832, 834, 836, 838, - 840, 847, 849, 853, 854, 855, 856, 857, 859, 861, - 863, 865, 867, 869, 871, 873, 875, 877, 879, 881, - 883, 893, 903, 913, 923, 925, 927, 930, 935, 939, - 941, 943, 945, 948, 950, 953, 955, 957, 959, 961, - 963, 965, 967, 969, 972, 974, 976, 978, 980, 982, - 986, 989, 988, 1001, 1002, 1003, 1008, 1012, 1014, 1019, - 1021, 1024, 1026, 1028, 1033, 1035, 1040, 1041, 1046, 1047, - 1053, 1057, 1058, 1059, 1062, 1063, 1066, 1070, 1074, 1080, - 1086, 1088, 1092, 1096, 1097, 1101, 1102, 1106, 1107, 1112, - 1114, 1116, 1119 + 267, 301, 300, 339, 347, 346, 355, 361, 367, 378, + 380, 382, 389, 397, 399, 396, 416, 421, 428, 427, + 442, 450, 456, 463, 462, 477, 481, 489, 507, 508, + 513, 515, 517, 519, 521, 523, 525, 528, 534, 535, + 540, 551, 552, 558, 564, 565, 570, 573, 577, 582, + 586, 590, 594, 595, 599, 605, 610, 615, 616, 621, + 622, 627, 628, 630, 635, 637, 643, 642, 661, 662, + 666, 668, 670, 672, 676, 678, 683, 687, 691, 695, + 701, 706, 712, 718, 720, 723, 722, 733, 734, 738, + 742, 745, 750, 755, 758, 762, 766, 769, 774, 778, + 781, 783, 785, 790, 792, 794, 799, 801, 803, 805, + 807, 809, 811, 813, 815, 817, 819, 824, 826, 829, + 831, 833, 836, 839, 850, 853, 860, 862, 864, 866, + 868, 871, 885, 887, 891, 892, 893, 894, 895, 897, + 899, 901, 903, 905, 907, 909, 911, 913, 915, 917, + 919, 921, 931, 941, 951, 961, 963, 965, 968, 973, + 977, 979, 981, 983, 986, 988, 991, 993, 995, 997, + 999, 1001, 1003, 1005, 1007, 1010, 1012, 1014, 1016, 1018, + 1020, 1024, 1027, 1026, 1039, 1040, 1041, 1046, 1050, 1052, + 1057, 1059, 1062, 1064, 1066, 1071, 1073, 1078, 1079, 1084, + 1085, 1091, 1095, 1096, 1097, 1100, 1101, 1104, 1108, 1112, + 1118, 1124, 1126, 1130, 1134, 1135, 1139, 1140, 1144, 1145, + 1150, 1152, 1154, 1157 }; #endif -#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE +#if YYDEBUG || YYERROR_VERBOSE || 0 /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = @@ -239,19 +241,19 @@ static const char *const yytname[] = "ANDOP", "NOTOP", "','", "ASSIGNOP", "'?'", "':'", "DORDOR", "OROR", "ANDAND", "BITOROP", "BITANDOP", "SHIFTOP", "MATCHOP", "'!'", "'~'", "REFGEN", "UMINUS", "POWOP", "POSTJOIN", "POSTDEC", "POSTINC", "PREDEC", - "PREINC", "ARROW", "')'", "'('", "'/'", "$accept", "grammar", "@1", "@2", - "@3", "@4", "@5", "@6", "block", "formblock", "remember", "mblock", - "mremember", "stmtseq", "formstmtseq", "fullstmt", "labfullstmt", - "barestmt", "@7", "@8", "@9", "@10", "@11", "@12", "formline", "formarg", - "sideff", "else", "cont", "mintro", "nexpr", "texpr", "iexpr", "mexpr", - "mnexpr", "miexpr", "formname", "startsub", "startanonsub", - "startformsub", "subname", "proto", "subattrlist", "myattrlist", - "subsignature", "@13", "realsubbody", "optsubbody", "expr", "listexpr", - "listop", "@14", "method", "subscripted", "termbinop", "termunop", - "anonymous", "termdo", "term", "@15", "myattrterm", "myterm", + "PREINC", "ARROW", "')'", "'('", "'/'", "$accept", "grammar", "$@1", + "$@2", "$@3", "$@4", "$@5", "$@6", "block", "formblock", "remember", + "mblock", "mremember", "stmtseq", "formstmtseq", "fullstmt", + "labfullstmt", "barestmt", "$@7", "$@8", "$@9", "$@10", "$@11", "@12", + "$@13", "formline", "formarg", "sideff", "else", "cont", "mintro", + "nexpr", "texpr", "iexpr", "mexpr", "mnexpr", "miexpr", "formname", + "startsub", "startanonsub", "startformsub", "subname", "proto", + "subattrlist", "myattrlist", "subsignature", "@14", "optsubbody", "expr", + "listexpr", "listop", "@15", "method", "subscripted", "termbinop", + "termunop", "anonymous", "termdo", "term", "@16", "myattrterm", "myterm", "optlistexpr", "optexpr", "optrepl", "my_scalar", "my_var", "refgen_topic", "amper", "scalar", "ary", "hsh", "arylen", "star", - "sliceme", "kvslice", "gelem", "indirob", 0 + "sliceme", "kvslice", "gelem", "indirob", YY_NULL }; #endif @@ -280,29 +282,29 @@ static const yytype_uint8 yyr1[] = 0, 105, 107, 106, 108, 106, 109, 106, 110, 106, 111, 106, 112, 106, 113, 114, 115, 116, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, - 122, 122, 124, 122, 122, 122, 122, 122, 122, 122, - 122, 125, 126, 122, 122, 122, 127, 122, 122, 122, - 122, 128, 122, 122, 122, 129, 130, 130, 131, 131, - 131, 131, 131, 131, 131, 131, 132, 132, 132, 133, - 133, 134, 135, 135, 136, 136, 137, 138, 139, 140, - 141, 141, 142, 143, 144, 145, 145, 146, 146, 147, - 147, 147, 148, 148, 149, 150, 149, 151, 152, 152, + 122, 124, 122, 122, 125, 122, 122, 122, 122, 122, + 122, 122, 122, 126, 127, 122, 122, 122, 128, 122, + 122, 122, 122, 129, 122, 122, 122, 130, 131, 131, + 132, 132, 132, 132, 132, 132, 132, 132, 133, 133, + 133, 134, 134, 135, 136, 136, 137, 137, 138, 139, + 140, 141, 142, 142, 143, 144, 145, 146, 146, 147, + 147, 148, 148, 148, 149, 149, 151, 150, 152, 152, 153, 153, 153, 153, 154, 154, 154, 155, 155, 155, 155, 155, 155, 155, 155, 156, 155, 157, 157, 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 160, 160, 160, 160, 160, 160, 160, 160, 160, 161, 161, 161, 161, - 161, 162, 162, 163, 163, 163, 163, 163, 163, 163, + 161, 161, 162, 162, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, - 163, 164, 163, 163, 163, 163, 163, 165, 165, 166, - 166, 166, 166, 166, 167, 167, 168, 168, 169, 169, - 170, 171, 171, 171, 172, 172, 173, 174, 175, 176, - 177, 177, 178, 179, 179, 180, 180, 181, 181, 182, - 182, 182, 182 + 163, 163, 164, 163, 163, 163, 163, 163, 165, 165, + 166, 166, 166, 166, 166, 167, 167, 168, 168, 169, + 169, 170, 171, 171, 171, 172, 172, 173, 174, 175, + 176, 177, 177, 178, 179, 179, 180, 180, 181, 181, + 182, 182, 182, 182 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ @@ -311,99 +313,99 @@ static const yytype_uint8 yyr2[] = 0, 2, 0, 4, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 4, 7, 0, 4, 0, 0, 2, 0, 2, 1, 1, 2, 2, 1, 4, 0, - 7, 4, 0, 7, 7, 7, 6, 6, 2, 8, - 8, 0, 0, 13, 9, 8, 0, 11, 9, 7, - 2, 0, 8, 2, 1, 2, 0, 3, 1, 1, - 3, 3, 3, 3, 3, 3, 0, 2, 6, 0, - 2, 0, 0, 1, 0, 1, 1, 1, 1, 1, - 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, - 2, 1, 2, 1, 0, 0, 3, 5, 1, 1, + 7, 0, 10, 4, 0, 7, 7, 7, 6, 6, + 2, 8, 8, 0, 0, 13, 9, 8, 0, 11, + 9, 7, 2, 0, 8, 2, 1, 2, 0, 3, + 1, 1, 3, 3, 3, 3, 3, 3, 0, 2, + 6, 0, 2, 0, 0, 1, 0, 1, 1, 1, + 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, + 1, 0, 2, 1, 2, 1, 0, 3, 1, 1, 3, 3, 3, 1, 2, 3, 1, 3, 5, 6, 3, 3, 5, 2, 4, 0, 5, 1, 1, 5, 4, 5, 4, 5, 6, 5, 4, 5, 4, 3, 6, 4, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 4, 3, - 5, 2, 2, 1, 1, 1, 1, 5, 2, 1, - 2, 3, 1, 2, 1, 1, 1, 1, 1, 1, - 4, 4, 5, 5, 1, 1, 3, 4, 3, 4, - 4, 4, 4, 4, 1, 2, 2, 1, 2, 2, - 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, - 4, 0, 6, 1, 1, 1, 1, 3, 2, 3, - 2, 1, 1, 1, 0, 1, 0, 1, 0, 2, - 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, - 2, 4, 2, 1, 3, 1, 3, 1, 3, 1, - 1, 1, 1 + 5, 8, 2, 2, 1, 1, 1, 1, 5, 2, + 1, 2, 3, 1, 2, 1, 1, 1, 1, 1, + 1, 4, 4, 5, 5, 1, 1, 3, 4, 3, + 4, 4, 4, 4, 4, 1, 2, 2, 1, 2, + 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, + 3, 4, 0, 6, 1, 1, 1, 1, 3, 2, + 3, 2, 1, 1, 1, 0, 1, 0, 1, 0, + 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, + 2, 2, 4, 2, 1, 3, 1, 3, 1, 3, + 1, 1, 1, 1 }; -/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state - STATE-NUM when YYTABLE doesn't specify something else to do. Zero +/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. + Performed when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const yytype_uint8 yydefact[] = { - 0, 2, 4, 6, 8, 10, 12, 0, 16, 226, + 0, 2, 4, 6, 8, 10, 12, 0, 16, 227, 0, 0, 0, 19, 1, 19, 0, 0, 0, 0, - 0, 0, 0, 0, 213, 0, 0, 184, 211, 172, - 206, 208, 202, 83, 216, 83, 194, 215, 204, 0, - 0, 197, 224, 0, 0, 0, 0, 0, 0, 200, - 0, 0, 0, 0, 0, 0, 0, 227, 103, 214, - 179, 163, 164, 165, 166, 106, 169, 5, 185, 174, - 177, 176, 178, 175, 0, 0, 0, 16, 7, 58, - 54, 27, 84, 0, 0, 82, 0, 0, 0, 0, - 0, 0, 0, 0, 69, 9, 0, 59, 0, 11, - 24, 23, 0, 0, 157, 0, 147, 148, 249, 252, - 251, 250, 237, 238, 239, 242, 236, 224, 0, 0, - 0, 0, 203, 0, 87, 195, 0, 0, 226, 198, - 199, 249, 225, 113, 250, 0, 240, 162, 161, 0, - 0, 85, 86, 224, 170, 0, 218, 221, 223, 222, - 201, 196, 149, 150, 168, 155, 154, 173, 0, 0, + 0, 0, 0, 0, 214, 0, 0, 185, 212, 173, + 207, 209, 203, 85, 217, 85, 195, 216, 205, 0, + 0, 198, 225, 0, 0, 0, 0, 0, 0, 201, + 0, 0, 0, 0, 0, 0, 0, 228, 103, 215, + 180, 164, 165, 166, 167, 106, 170, 5, 186, 175, + 178, 177, 179, 176, 0, 0, 0, 16, 7, 60, + 56, 27, 86, 0, 0, 84, 0, 0, 0, 0, + 0, 0, 0, 0, 71, 9, 0, 61, 0, 11, + 24, 23, 0, 0, 157, 0, 147, 148, 250, 253, + 252, 251, 238, 239, 240, 243, 237, 225, 0, 0, + 0, 0, 204, 0, 89, 196, 0, 0, 227, 199, + 200, 250, 226, 113, 251, 0, 241, 163, 162, 0, + 0, 87, 88, 225, 171, 0, 219, 222, 224, 223, + 202, 197, 149, 150, 169, 155, 154, 174, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 153, 152, 151, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 19, 81, 82, 0, 32, 16, 16, - 16, 16, 16, 0, 16, 0, 16, 16, 38, 0, - 50, 53, 0, 0, 0, 0, 0, 0, 26, 25, - 20, 156, 111, 226, 0, 0, 207, 115, 88, 89, - 205, 209, 0, 0, 0, 107, 159, 0, 188, 220, - 0, 93, 217, 0, 171, 102, 101, 100, 105, 0, - 0, 129, 0, 142, 138, 139, 135, 136, 133, 0, - 145, 144, 143, 141, 140, 137, 146, 134, 0, 0, - 0, 244, 246, 248, 0, 117, 0, 0, 110, 118, - 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 80, 0, 29, 0, 0, 74, 0, 0, 0, 0, - 16, 234, 0, 235, 231, 232, 233, 0, 16, 0, - 0, 70, 62, 63, 76, 60, 61, 64, 65, 0, - 228, 131, 224, 91, 16, 210, 114, 0, 158, 219, - 92, 0, 0, 0, 122, 128, 0, 0, 0, 189, - 190, 191, 193, 192, 241, 126, 0, 226, 187, 0, - 120, 0, 180, 0, 181, 0, 14, 16, 28, 87, - 16, 31, 0, 0, 75, 0, 0, 77, 79, 0, - 0, 230, 0, 16, 73, 78, 0, 0, 59, 0, - 0, 0, 112, 0, 0, 116, 90, 94, 160, 108, - 132, 0, 125, 167, 0, 121, 127, 0, 123, 182, - 183, 119, 0, 89, 51, 224, 71, 71, 0, 0, - 0, 46, 0, 0, 41, 0, 0, 0, 229, 212, - 95, 0, 130, 124, 109, 0, 16, 19, 0, 0, - 0, 18, 66, 66, 0, 0, 0, 69, 74, 0, - 36, 37, 0, 19, 21, 99, 98, 30, 0, 33, - 69, 69, 19, 0, 0, 34, 35, 0, 0, 0, - 49, 0, 69, 96, 0, 0, 52, 39, 40, 0, - 67, 0, 69, 0, 69, 42, 45, 97, 0, 56, - 22, 17, 0, 44, 0, 48, 71, 15, 19, 55, - 0, 69, 0, 0, 66, 47, 0, 57, 68, 0, - 43 + 0, 0, 0, 19, 83, 84, 0, 34, 16, 16, + 16, 16, 16, 0, 16, 0, 16, 16, 40, 0, + 52, 55, 0, 0, 0, 0, 0, 0, 26, 25, + 20, 156, 111, 227, 0, 0, 208, 115, 90, 0, + 91, 206, 210, 0, 0, 0, 107, 159, 0, 189, + 221, 0, 95, 218, 0, 172, 102, 101, 100, 105, + 0, 0, 129, 0, 142, 138, 139, 135, 136, 133, + 0, 145, 144, 143, 141, 140, 137, 146, 134, 0, + 0, 0, 245, 247, 249, 0, 117, 0, 0, 110, + 118, 187, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 82, 0, 29, 0, 0, 76, 0, 0, 0, + 0, 16, 235, 0, 236, 232, 233, 234, 0, 16, + 0, 0, 72, 64, 65, 78, 62, 63, 66, 67, + 0, 229, 131, 225, 96, 91, 93, 0, 211, 114, + 0, 158, 220, 94, 0, 0, 0, 122, 128, 0, + 0, 0, 190, 191, 192, 194, 193, 242, 126, 0, + 227, 188, 0, 120, 0, 181, 0, 182, 0, 14, + 16, 28, 89, 16, 16, 33, 0, 0, 77, 0, + 0, 79, 81, 0, 0, 231, 0, 16, 75, 80, + 0, 0, 61, 0, 0, 0, 112, 0, 0, 116, + 0, 0, 92, 160, 108, 132, 0, 125, 168, 0, + 121, 127, 0, 123, 183, 184, 119, 0, 91, 0, + 53, 225, 73, 73, 0, 0, 0, 48, 0, 0, + 43, 0, 0, 0, 230, 213, 97, 19, 130, 124, + 109, 0, 0, 91, 19, 0, 0, 0, 18, 68, + 68, 0, 0, 0, 71, 76, 0, 38, 39, 0, + 21, 99, 98, 30, 0, 0, 35, 71, 71, 19, + 0, 0, 36, 37, 0, 0, 0, 51, 0, 71, + 161, 0, 19, 54, 41, 42, 0, 69, 0, 71, + 0, 71, 44, 47, 0, 58, 22, 0, 17, 0, + 46, 0, 50, 73, 15, 19, 57, 32, 0, 71, + 0, 0, 68, 49, 0, 59, 70, 0, 45 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - -1, 7, 8, 9, 10, 11, 12, 13, 110, 358, - 387, 432, 452, 102, 465, 220, 100, 101, 359, 294, - 438, 486, 435, 427, 480, 489, 96, 455, 210, 429, - 375, 363, 313, 366, 377, 369, 291, 197, 123, 194, - 143, 229, 324, 242, 421, 442, 388, 447, 97, 58, - 59, 322, 278, 60, 61, 62, 63, 64, 65, 119, - 66, 146, 133, 67, 384, 370, 301, 302, 68, 69, + -1, 7, 8, 9, 10, 11, 12, 13, 94, 361, + 15, 439, 459, 102, 471, 220, 100, 101, 362, 363, + 295, 445, 493, 442, 434, 486, 496, 96, 462, 210, + 436, 379, 367, 314, 370, 381, 373, 292, 197, 123, + 194, 143, 230, 327, 243, 325, 390, 453, 97, 58, + 59, 323, 279, 60, 61, 62, 63, 64, 65, 119, + 66, 146, 133, 67, 388, 374, 302, 303, 68, 69, 70, 71, 72, 73, 74, 75, 76, 112 }; @@ -412,282 +414,328 @@ static const yytype_int16 yydefgoto[] = #define YYPACT_NINF -419 static const yytype_int16 yypact[] = { - 441, -419, -419, -419, -419, -419, -419, 16, -419, 2569, - 10, 1362, 1269, -419, -419, -419, 1829, 2569, 2569, 521, - 521, 521, 521, 521, -419, 521, 521, -419, -419, 25, - -51, -419, 2569, -419, -419, -419, 2569, -419, -47, -32, - -25, 1736, 1643, 521, 1736, 1920, 9, 2569, 13, 2569, - 2569, 2569, 2569, 2569, 2569, 2569, 2011, 199, -14, -419, - 3, -419, -419, -419, -419, 2637, -419, -419, -21, 24, - 138, 184, -419, 87, 195, 310, 92, -419, -419, -419, - -419, -419, -419, 9, 68, -419, 1, 5, 19, 27, - -8, 61, 71, 10, 79, -419, 121, 1918, 1269, -419, - -419, -419, 608, 703, -419, 43, 775, 775, -419, -419, - -419, -419, -419, -419, -419, -419, -419, 2569, 76, 77, - 2569, 48, 1814, 10, 139, 2637, 90, 2104, 1643, -419, - 1814, 509, -14, -419, 430, 2569, -419, -419, 1814, 160, - 205, -419, -419, 2569, 1814, 2197, 136, -419, -419, -419, - 1814, -14, 775, 775, 775, 104, 104, 216, -37, 2569, - 2569, 2569, 2569, 2569, 2569, 2290, 2569, 2569, 2569, 2569, - 2569, 2569, 2569, 2569, 2569, 2569, 2569, 2569, 2569, 2569, - 2569, -419, -419, -419, 219, 2383, 2569, 2569, 2569, 2569, - 2569, 2569, 2569, -419, 209, -419, 210, -419, -419, -419, - -419, -419, -419, 7, -419, 143, -419, -419, -419, 10, - -419, -419, 2569, 2569, 2569, 2569, 2569, 2569, -419, -419, - -419, -419, -419, 2569, 2569, 62, -419, -419, -419, 167, - -419, -419, -27, 145, 2569, -14, -419, 253, -419, -419, - 194, 238, -419, 2569, 262, 200, 200, -419, 2637, 222, - 67, -419, 286, 1443, 1721, 296, 688, 593, 2637, 2592, - 400, 400, 479, 1533, 1628, 1774, 775, 775, 2569, 2569, - 442, 272, 273, 287, 297, -419, 298, 2476, 177, -419, - -419, 323, 225, 75, 265, 91, 277, 95, 290, 798, - -419, 302, -419, 18, 301, 2569, 2569, 2569, 2569, 312, - -419, -419, 227, -419, -419, -419, -419, 1455, -419, 2569, - 2569, -419, 199, -419, 199, 199, 199, 199, 199, 231, - -60, -419, 2569, 308, -419, -419, -419, 351, -419, -419, - -419, 100, 2569, 326, -419, -419, 2569, 306, 120, -419, - -419, -419, -419, -419, -419, -419, 356, 2569, -419, 330, - -419, 338, -419, 339, -419, 340, -419, -419, -419, 139, - -419, -419, 333, 263, 199, 267, 268, 199, -419, 276, - 270, -419, 271, -419, -419, -419, 285, 375, 269, 2569, - 294, 303, -419, 2569, 309, -419, -419, 295, -419, -419, - -419, 191, -419, 2682, 394, -419, -419, 311, -419, -419, - -419, -419, 388, 167, -419, 2569, -419, -419, 407, 407, - 2569, -419, 2569, 407, -419, 315, 407, 407, 199, -419, - -419, 410, -419, -419, -419, 346, 402, -419, 403, 407, - 407, -419, 108, 108, 334, 349, 335, 79, 2569, 407, - -419, -419, 354, -419, -419, -419, -419, -419, 893, -419, - 79, 79, -419, 407, 363, -419, -419, 407, 2569, 407, - -419, 447, 79, -419, 988, 28, -419, -419, -419, 1083, - -419, 2569, 79, 367, 79, -419, -419, -419, 449, 404, - -419, -419, 376, -419, 407, -419, -419, -419, -419, -419, - 407, 79, 1548, 1176, 108, -419, 378, -419, -419, 407, - -419 + 680, -419, -419, -419, -419, -419, -419, 28, -419, 2667, + 32, 1460, 1367, -419, -419, -419, 1927, 2667, 2667, 35, + 35, 35, 35, 35, -419, 35, 35, -419, -419, 38, + -18, -419, 2667, -419, -419, -419, 2667, -419, -8, 10, + 18, 1834, 1741, 35, 1834, 2018, 71, 2667, 2, 2667, + 2667, 2667, 2667, 2667, 2667, 2667, 2109, 3, 8, -419, + 1, -419, -419, -419, -419, 2735, -419, -419, 21, 48, + 124, 127, -419, 89, 138, 156, 105, -419, -419, -419, + -419, -419, -419, 71, 83, -419, 25, 36, 50, 54, + -10, 61, 65, 32, 104, -419, 151, 2293, 1367, -419, + -419, -419, 611, 706, -419, 97, 276, 276, -419, -419, + -419, -419, -419, -419, -419, -419, -419, 2667, 73, 76, + 2667, 86, 2094, 32, -13, 2735, 93, 2202, 1741, -419, + 2094, 512, 8, -419, 421, 2667, -419, -419, 2094, 186, + 53, -419, -419, 2667, 2094, 2295, 133, -419, -419, -419, + 2094, 8, 276, 276, 276, 380, 380, 195, -24, 2667, + 2667, 2667, 2667, 2667, 2667, 2388, 2667, 2667, 2667, 2667, + 2667, 2667, 2667, 2667, 2667, 2667, 2667, 2667, 2667, 2667, + 2667, -419, -419, -419, 101, 2481, 2667, 2667, 2667, 2667, + 2667, 2667, 2667, -419, 191, -419, 192, -419, -419, -419, + -419, -419, -419, 391, -419, 117, -419, -419, -419, 32, + -419, -419, 2667, 2667, 2667, 2667, 2667, 2667, -419, -419, + -419, -419, -419, 2667, 2667, 114, -419, -419, -419, 121, + 153, -419, -419, 281, 135, 2667, 8, -419, 228, -419, + -419, 340, 203, -419, 2667, 229, 163, 163, -419, 2735, + 173, 122, -419, 348, 1541, 2003, 1819, 439, 357, 2735, + 2690, 482, 482, 1631, 1726, 1912, 2187, 276, 276, 2667, + 2667, 420, 226, 234, 236, 237, -419, 238, 2574, 159, + -419, -419, 411, 182, 150, 250, 157, 278, 205, 289, + 801, -419, 242, 164, 57, 245, 2667, 2667, 2667, 2667, + 256, -419, -419, 187, -419, -419, -419, -419, 1553, -419, + 2667, 2667, -419, 3, -419, 3, 3, 3, 3, 3, + 197, -37, -419, 2667, -419, 153, 263, 32, -419, -419, + 418, -419, -419, -419, 209, 2667, 301, -419, -419, 2667, + 303, 219, -419, -419, -419, -419, -419, -419, -419, 450, + 2667, -419, 302, -419, 304, -419, 309, -419, 310, -419, + -419, -419, 299, -419, -419, -419, 306, 230, 3, 233, + 235, 3, -419, 239, 241, -419, 231, -419, -419, -419, + 240, 313, 273, 2667, 246, 251, -419, 2667, 260, -419, + 261, 329, -419, -419, -419, -419, 224, -419, 2780, 330, + -419, -419, 262, -419, -419, -419, -419, 332, 153, 121, + -419, 2667, -419, -419, 359, 359, 2667, -419, 2667, 359, + -419, 267, 359, 359, 3, -419, -419, -419, -419, -419, + -419, 311, 67, 153, -419, 366, 359, 359, -419, 55, + 55, 307, 320, 335, 104, 2667, 359, -419, -419, 896, + -419, -419, -419, -419, 425, 991, -419, 104, 104, -419, + 359, 342, -419, -419, 359, 2667, 359, -419, 426, 104, + -419, 11, -419, -419, -419, -419, 1086, -419, 2667, 104, + 354, 104, -419, -419, 437, 389, -419, 1181, -419, 365, + -419, 359, -419, -419, -419, -419, -419, -419, 359, 104, + 1646, 1274, 55, -419, 369, -419, -419, 359, -419 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -419, -419, -419, -419, -419, -419, -419, -419, -10, -419, - 17, -78, -419, -12, -419, 470, 387, 0, -419, -419, - -419, -419, -419, -419, -419, -419, -302, -418, -48, -389, - -419, 64, -187, -264, 8, -419, -419, 304, 468, -419, - 421, 146, 119, -419, -419, -419, 97, -419, -3, -33, - -419, -419, -419, -419, -419, -419, -419, -419, 82, -419, - -419, -419, -96, -118, -419, -419, 152, -419, 332, 38, - -44, -40, -419, -419, -419, -419, -419, 47 + -419, -419, -419, -419, -419, -419, -419, -419, 4, -419, + -56, -76, -419, -15, -419, 456, 376, 9, -419, -419, + -419, -419, -419, -419, -419, -419, -419, -306, -418, -30, + -404, -419, 34, -96, -246, -14, -419, -419, 295, 457, + -419, 408, 131, -322, -419, 91, -419, -419, -5, -35, + -419, -419, -419, -419, -419, -419, -419, -419, 225, -419, + -419, -419, -101, -127, -419, -419, 139, -419, 318, 13, + -42, -40, -419, -419, -419, -419, -419, 49 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which - number is the opposite. If zero, do what YYDEFACT says. - If YYTABLE_NINF, syntax error. */ -#define YYTABLE_NINF -248 + number is the opposite. If YYTABLE_NINF, syntax error. */ +#define YYTABLE_NINF -249 static const yytype_int16 yytable[] = { - 78, 94, 94, 103, 148, 374, 57, 19, 149, 132, - 233, 95, 163, 105, 164, 456, 14, 151, 430, 77, - 162, 222, 19, 20, 21, 15, 23, 360, 19, 20, - 21, 129, 141, 186, 137, 187, 120, 142, 361, 159, - 160, 161, 140, 376, 383, 380, 381, 238, 478, 159, - 160, 161, 121, 158, 479, 221, 126, 111, 111, 111, - 111, 111, 202, 111, 111, 244, 162, 113, 114, 115, - 116, 127, 117, 118, 321, 325, 498, 300, 128, 334, - 134, 111, 185, 208, 132, 203, 147, 350, 94, 135, - 136, 196, 94, 94, 193, 204, -247, 492, 219, 106, - 107, 192, 235, 352, 198, 319, 165, 354, 199, 365, - 132, 368, 390, 227, 122, 415, 145, 225, 125, 159, - 160, 161, 200, 130, 232, 57, 138, 209, 205, 144, - 201, 150, 395, 152, 153, 154, 155, 156, 159, 160, - 161, 211, 240, 159, 160, 161, 434, -243, 436, -243, - 226, 159, 160, 161, 453, 454, 245, 246, 247, 305, - 249, 250, 252, 306, 206, 228, 134, 159, 160, 161, - 236, 159, 160, 161, 207, 234, 159, 160, 161, 223, - 224, 289, 281, 282, 283, 284, 285, 286, 287, 288, - 374, 320, 230, -245, 473, -245, 159, 160, 161, 311, - -248, -248, -248, 422, 188, 184, 189, 482, 241, 312, - 314, 315, 316, 317, 318, 295, 296, 297, 298, 299, - 57, 307, 279, 309, 310, 237, 385, 243, 268, 397, - 269, 327, 290, 293, 270, 271, 272, 273, 274, 323, - 331, 304, 333, 275, 248, 349, 308, 326, 253, 254, - 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, - 265, 266, 267, 328, 330, 337, 338, 159, 160, 161, - 159, 160, 161, 332, 346, 159, 160, 161, 161, 94, - 347, 159, 160, 161, 276, 351, 19, 20, 21, 132, - 340, 341, 364, 314, 367, 314, 329, 353, 159, 160, - 161, 159, 160, 161, 378, 342, 367, 367, 111, 428, - 355, 212, 213, 214, 215, 343, 344, 372, 216, 190, - 217, 191, 277, 357, 362, 379, 394, 19, 305, 391, - 373, 433, 306, 382, 386, 437, 392, 371, 440, 441, - 398, 159, 160, 161, 57, 159, 160, 161, 399, 400, - 401, 450, 451, 159, 160, 161, 405, 167, -248, 169, - 170, 462, 159, 160, 161, 406, 159, 160, 161, 407, - 408, -77, 132, 410, 402, 470, 367, 404, 409, 472, - 418, 474, 159, 160, 161, 178, 179, 413, 335, 460, - 412, 180, 181, 182, 183, 414, 416, 184, 420, 159, - 160, 161, 467, 468, 423, 417, 491, 367, 425, 367, - 304, 419, 494, 424, 476, 448, 431, 439, 393, 443, - 444, 500, 445, 449, 483, 348, 485, 159, 160, 161, - -174, 464, 159, 160, 161, 364, 457, 459, 94, 186, - 469, 187, -174, 495, 1, 2, 3, 4, 5, 6, - -174, 77, 458, 389, 94, 367, 463, 19, 396, 94, - 339, 167, 168, 169, 170, 108, 471, 475, 367, 484, - 109, 487, -174, -174, -174, -174, 493, 488, 490, -174, - 499, -174, 99, 94, -174, 218, 175, 176, 177, 178, - 179, -174, -174, -174, -174, 180, 181, 182, 183, 292, - 496, 184, 461, 124, 195, 403, -174, -174, -174, -213, - -174, -174, -174, -174, -174, -174, -174, -174, -174, -174, - -174, -213, 426, 446, 411, -174, -174, -174, -174, -213, - 77, -174, -174, 0, -174, 303, 19, 0, 0, 0, - 167, 168, 169, 170, 108, 0, 0, 0, 0, 109, - 0, -213, -213, -213, -213, 0, 0, 0, -213, 0, - -213, 0, 0, -213, 0, 0, 176, 177, 178, 179, - -213, -213, -213, -213, 180, 181, 182, 183, 0, 0, - 184, 0, 0, 0, 0, -213, -213, -213, 0, -213, - -213, -213, -213, -213, -213, -213, -213, -213, -213, -213, - 0, 0, 0, 0, -213, -213, -213, -213, -13, 79, - -213, -213, 0, -213, 0, 0, 0, 77, 0, 16, - 0, 17, 18, 19, 20, 21, 22, 23, 80, 0, - 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, - 32, 33, 34, 81, 98, 82, 83, 35, 84, 85, - 86, 87, 88, 89, 0, 0, 169, 90, 91, 92, - 93, 36, 0, 37, 38, 39, 40, 41, 42, 0, - 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, - 0, 0, 0, 179, 0, 0, 0, 50, 180, 181, - 182, 183, 0, 0, 184, 0, 0, 0, 0, 51, - 52, 53, 0, -3, 79, 0, 0, 54, 55, 0, - 0, 56, 77, 0, 16, 0, 17, 18, 19, 20, - 21, 22, 23, 80, 0, 0, 24, 25, 26, 27, - 28, 0, 29, 30, 31, 32, 33, 34, 81, 98, - 82, 83, 35, 84, 85, 86, 87, 88, 89, 0, - 0, 0, 90, 91, 92, 93, 36, 0, 37, 38, - 39, 40, 41, 42, 0, 0, 0, 0, 43, 44, - 45, 46, 47, 48, 49, 0, 0, 0, 179, 0, - 0, 0, 50, 180, 181, 182, 183, 0, 0, 184, - 0, 0, 0, 0, 51, 52, 53, 0, 0, 79, - 0, 0, 54, 55, 0, 0, 56, 77, 356, 16, - 0, 17, 18, 19, 20, 21, 22, 23, 80, 0, - 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, - 32, 33, 34, 81, 98, 82, 83, 35, 84, 85, - 86, 87, 88, 89, 0, 0, 0, 90, 91, 92, - 93, 36, 0, 37, 38, 39, 40, 41, 42, 0, - 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, - 180, 181, 182, 183, 0, 0, 184, 50, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, - 52, 53, 0, 0, 79, 0, 0, 54, 55, 0, - 0, 56, 77, 466, 16, 0, 17, 18, 19, 20, - 21, 22, 23, 80, 0, 0, 24, 25, 26, 27, - 28, 0, 29, 30, 31, 32, 33, 34, 81, 98, - 82, 83, 35, 84, 85, 86, 87, 88, 89, 0, - 0, 0, 90, 91, 92, 93, 36, 0, 37, 38, - 39, 40, 41, 42, 0, 0, 0, 0, 43, 44, - 45, 46, 47, 48, 49, 0, 0, 0, 0, 0, - 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 51, 52, 53, 0, 0, 79, - 0, 0, 54, 55, 0, 0, 56, 77, 477, 16, - 0, 17, 18, 19, 20, 21, 22, 23, 80, 0, - 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, - 32, 33, 34, 81, 98, 82, 83, 35, 84, 85, - 86, 87, 88, 89, 0, 0, 0, 90, 91, 92, - 93, 36, 0, 37, 38, 39, 40, 41, 42, 0, - 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, - 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, - 52, 53, 0, 0, 79, 0, 0, 54, 55, 0, - 0, 56, 77, 481, 16, 0, 17, 18, 19, 20, - 21, 22, 23, 80, 0, 0, 24, 25, 26, 27, - 28, 0, 29, 30, 31, 32, 33, 34, 81, 98, - 82, 83, 35, 84, 85, 86, 87, 88, 89, 0, - 0, 0, 90, 91, 92, 93, 36, 0, 37, 38, - 39, 40, 41, 42, 0, 0, 0, 0, 43, 44, - 45, 46, 47, 48, 49, 0, 0, 0, 0, 0, - 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 51, 52, 53, 79, 0, 0, - 0, 0, 54, 55, 0, 77, 56, 16, 0, 17, + 103, 234, 378, 391, 57, 19, 148, 132, 149, 437, + 163, 105, 164, 228, 78, 151, 222, 19, 20, 21, + 95, 193, 463, 110, 110, 110, 110, 110, 14, 110, + 110, 484, 111, 111, 111, 111, 111, 485, 111, 111, + 140, 77, 239, 162, 77, 129, 110, 110, 137, 120, + 19, 158, 159, 160, 161, 134, 111, 186, 108, 187, + 202, 147, 380, 109, 384, 385, 364, 387, 229, 113, + 114, 115, 116, 238, 117, 118, 77, 365, 245, 159, + 160, 161, 132, 203, 506, 121, 432, 451, 162, 500, + -16, 135, 136, 204, 141, 126, 320, 208, -248, 142, + 236, 460, 461, 205, 165, 145, 196, 219, 132, 221, + 269, 454, 270, 127, 192, 225, 271, 272, 273, 274, + 275, 128, 233, 57, 185, 276, 322, 227, 198, 159, + 160, 161, 110, -244, 337, -244, -246, 421, -246, 199, + 241, 134, 296, 297, 298, 299, 300, 188, 308, 189, + 310, 311, 209, 200, 246, 247, 248, 201, 250, 251, + 253, 306, 353, 307, 206, 190, 277, 191, 207, 355, + 441, 211, 443, 159, 160, 161, 223, 235, 290, 224, + 282, 283, 284, 285, 286, 287, 288, 289, 226, 321, + 159, 160, 161, 336, 378, 231, 237, 280, 159, 160, + 161, 369, 352, 372, 278, 242, 244, 313, 315, 316, + 317, 318, 319, 312, 291, 294, 305, 357, 57, 480, + 309, 395, 389, 402, 324, 326, 159, 160, 161, 333, + 330, 400, 489, 159, 160, 161, 428, 329, 331, 334, + 335, 161, 106, 107, 343, 376, 19, 20, 21, 159, + 160, 161, 344, 383, 345, 346, 347, 122, 159, 160, + 161, 125, 350, 360, 340, 341, 130, -31, 366, 138, + 354, 19, 144, 349, 150, 110, 152, 153, 154, 155, + 156, 159, 160, 161, 111, 159, 160, 161, 132, 392, + 377, 368, 315, 371, 315, 159, 160, 161, 356, 386, + 159, 160, 161, 382, 407, 371, 371, 409, 410, 358, + 435, 397, 403, 375, 404, 212, 213, 214, 215, 405, + 406, 418, 216, 399, 217, 228, 159, 160, 161, 411, + 396, 393, 412, 420, 306, 413, 307, 414, 427, 440, + 429, 415, 419, 444, 416, 57, 447, 448, 422, 159, + 160, 161, 431, 423, 159, 160, 161, 159, 160, 161, + 457, 458, 425, 426, 430, 159, 160, 161, 438, 446, + 469, 180, 181, 182, 183, -79, 132, 184, 371, 159, + 160, 161, 424, 328, 477, 450, 456, 249, 479, 305, + 481, 254, 255, 256, 257, 258, 259, 260, 261, 262, + 263, 264, 265, 266, 267, 268, 19, 20, 21, 464, + 23, 371, 449, 371, 467, 499, 159, 160, 161, 455, + 169, -175, 502, 465, 159, 160, 161, 474, 475, 77, + 186, 508, 187, -175, 472, 19, 452, 466, 342, 483, + 368, -175, 332, 108, 476, 478, 482, 179, 109, 490, + 338, 492, 180, 181, 182, 183, 491, 487, 184, 494, + 371, 301, 495, -175, -175, -175, -175, 498, 99, 503, + -175, 507, -175, 371, 218, -175, -249, -249, -249, 468, + 501, 184, -175, -175, -175, -175, 504, 159, 160, 161, + 293, 195, 124, 408, 159, 160, 161, -175, -175, -175, + 433, -175, -175, -175, -175, -175, -175, -175, -175, -175, + -175, -175, -214, 351, 0, 417, -175, -175, -175, -175, + 394, 304, -175, -175, -214, -175, 159, 160, 161, 179, + 0, 0, -214, 0, 180, 181, 182, 183, 0, 0, + 184, 0, 0, 167, 168, 169, 170, 0, 0, 0, + 0, 0, 401, 0, -214, -214, -214, -214, 0, 0, + 0, -214, 0, -214, 398, 0, -214, 0, 175, 176, + 177, 178, 179, -214, -214, -214, -214, 180, 181, 182, + 183, 0, 0, 184, 0, 0, 0, 0, -214, -214, + -214, 0, -214, -214, -214, -214, -214, -214, -214, -214, + -214, -214, -214, 0, 0, 0, 0, -214, -214, -214, + -214, -13, 79, -214, -214, 0, -214, 0, 0, 0, + 77, 0, 16, 0, 17, 18, 19, 20, 21, 22, + 23, 80, 0, 0, 24, 25, 26, 27, 28, 0, + 29, 30, 31, 32, 33, 34, 81, 98, 82, 83, + 35, 84, 85, 86, 87, 88, 89, 0, 0, 0, + 90, 91, 92, 93, 36, 0, 37, 38, 39, 40, + 41, 42, 0, 0, 0, 0, 43, 44, 45, 46, + 47, 48, 49, 1, 2, 3, 4, 5, 6, 0, + 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 51, 52, 53, 0, -3, 79, 0, 0, + 54, 55, 0, 0, 56, 77, 0, 16, 0, 17, 18, 19, 20, 21, 22, 23, 80, 0, 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, 34, 81, 98, 82, 83, 35, 84, 85, 86, 87, 88, 89, 0, 0, 0, 90, 91, 92, 93, 36, 0, 37, 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, 0, 0, - 497, 0, 0, 0, 0, 50, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 53, - 79, 0, 0, 0, 0, 54, 55, 0, 77, 56, - 16, 0, 17, 18, 19, 20, 21, 22, 23, 80, - 0, 0, 24, 25, 26, 27, 28, 0, 29, 30, - 31, 32, 33, 34, 81, 98, 82, 83, 35, 84, - 85, 86, 87, 88, 89, 0, 0, 0, 90, 91, - 92, 93, 36, 0, 37, 38, 39, 40, 41, 42, - 0, 0, 0, 0, 43, 44, 45, 46, 47, 48, - 49, 0, 0, 0, 0, 0, 0, 0, 50, 0, + 0, 0, 79, 0, 0, 54, 55, 0, 0, 56, + 77, 359, 16, 0, 17, 18, 19, 20, 21, 22, + 23, 80, 0, 0, 24, 25, 26, 27, 28, 0, + 29, 30, 31, 32, 33, 34, 81, 98, 82, 83, + 35, 84, 85, 86, 87, 88, 89, 0, 0, 0, + 90, 91, 92, 93, 36, 0, 37, 38, 39, 40, + 41, 42, 0, 0, 0, 0, 43, 44, 45, 46, + 47, 48, 49, 0, 0, 0, 0, 0, 0, 0, + 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 51, 52, 53, 0, 0, 79, 0, 0, + 54, 55, 0, 0, 56, 77, 470, 16, 0, 17, + 18, 19, 20, 21, 22, 23, 80, 0, 0, 24, + 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, + 34, 81, 98, 82, 83, 35, 84, 85, 86, 87, + 88, 89, 0, 0, 0, 90, 91, 92, 93, 36, + 0, 37, 38, 39, 40, 41, 42, 0, 0, 0, + 0, 43, 44, 45, 46, 47, 48, 49, 0, 0, + 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 51, 52, 53, + 0, 0, 79, 0, 0, 54, 55, 0, 0, 56, + 77, 473, 16, 0, 17, 18, 19, 20, 21, 22, + 23, 80, 0, 0, 24, 25, 26, 27, 28, 0, + 29, 30, 31, 32, 33, 34, 81, 98, 82, 83, + 35, 84, 85, 86, 87, 88, 89, 0, 0, 0, + 90, 91, 92, 93, 36, 0, 37, 38, 39, 40, + 41, 42, 0, 0, 0, 0, 43, 44, 45, 46, + 47, 48, 49, 0, 0, 0, 0, 0, 0, 0, + 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 51, 52, 53, 0, 0, 79, 0, 0, + 54, 55, 0, 0, 56, 77, 488, 16, 0, 17, + 18, 19, 20, 21, 22, 23, 80, 0, 0, 24, + 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, + 34, 81, 98, 82, 83, 35, 84, 85, 86, 87, + 88, 89, 0, 0, 0, 90, 91, 92, 93, 36, + 0, 37, 38, 39, 40, 41, 42, 0, 0, 0, + 0, 43, 44, 45, 46, 47, 48, 49, 0, 0, + 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 51, 52, 53, + 0, 0, 79, 0, 0, 54, 55, 0, 0, 56, + 77, 497, 16, 0, 17, 18, 19, 20, 21, 22, + 23, 80, 0, 0, 24, 25, 26, 27, 28, 0, + 29, 30, 31, 32, 33, 34, 81, 98, 82, 83, + 35, 84, 85, 86, 87, 88, 89, 0, 0, 0, + 90, 91, 92, 93, 36, 0, 37, 38, 39, 40, + 41, 42, 0, 0, 0, 0, 43, 44, 45, 46, + 47, 48, 49, 0, 0, 0, 0, 0, 0, 0, + 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 51, 52, 53, 79, 0, 0, 0, 0, + 54, 55, 0, 77, 56, 16, 0, 17, 18, 19, + 20, 21, 22, 23, 80, 0, 0, 24, 25, 26, + 27, 28, 0, 29, 30, 31, 32, 33, 34, 81, + 98, 82, 83, 35, 84, 85, 86, 87, 88, 89, + 0, 0, 0, 90, 91, 92, 93, 36, 0, 37, + 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, + 44, 45, 46, 47, 48, 49, 0, 0, 505, 0, + 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 51, 52, 53, 79, 0, + 0, 0, 0, 54, 55, 0, 77, 56, 16, 0, + 17, 18, 19, 20, 21, 22, 23, 80, 0, 0, + 24, 25, 26, 27, 28, 0, 29, 30, 31, 32, + 33, 34, 81, 98, 82, 83, 35, 84, 85, 86, + 87, 88, 89, 0, 0, 0, 90, 91, 92, 93, + 36, 0, 37, 38, 39, 40, 41, 42, 0, 0, + 0, 0, 43, 44, 45, 46, 47, 48, 49, 0, + 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, + 53, 79, 0, 0, 0, 0, 54, 55, 0, 77, + 56, 16, 0, 17, 18, 19, 20, 21, 22, 23, + 80, 0, 0, 24, 25, 26, 27, 28, 0, 29, + 30, 31, 32, 33, 34, 81, 0, 82, 83, 35, + 84, 85, 86, 87, 88, 89, 0, 0, 0, 90, + 91, 92, 93, 36, 0, 37, 38, 39, 40, 41, + 42, 0, 0, 0, 0, 43, 44, 45, 46, 47, + 48, 49, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 51, 52, 53, 79, 0, 0, 0, 0, 54, 55, - 0, 77, 56, 16, 0, 17, 18, 19, 20, 21, - 22, 23, 80, 0, 0, 24, 25, 26, 27, 28, - 0, 29, 30, 31, 32, 33, 34, 81, 0, 82, - 83, 35, 84, 85, 86, 87, 88, 89, 0, 0, - 0, 90, 91, 92, 93, 36, 0, 37, 38, 39, - 40, 41, 42, 0, 0, 0, 0, 43, 44, 45, - 46, 47, 48, 49, 0, 0, 0, 0, 0, 0, - 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 51, 52, 53, 79, 0, 0, 0, - 0, 54, 55, 0, 0, 56, 16, 0, 17, 18, - 19, 20, 21, 22, 23, -72, 0, 0, 24, 25, - 26, 27, 28, 0, 29, 30, 31, 32, 33, 34, - 0, 0, 0, 0, 35, 0, 0, -248, 0, 0, - 0, 0, 0, 0, 167, 168, 169, 170, 36, 0, - 37, 38, 39, 40, 41, 42, 0, 0, 0, 0, - 43, 44, 45, 46, 47, 48, 49, 173, 174, 175, - 176, 177, 178, 179, 50, 0, 0, 0, 180, 181, - 182, 183, 0, 0, 184, 0, 51, 52, 53, 79, - 0, 0, 0, 0, 54, 55, 0, 0, 56, 16, - 0, 17, 18, 19, 20, 21, 22, 23, 0, 0, - 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, - 32, 33, 34, 0, 0, 0, 0, 35, 0, 0, - 0, 0, 0, 0, 167, 168, 169, 170, 0, 0, - 0, 36, 0, 37, 38, 39, 40, 41, 42, 0, - 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, - 0, 177, 178, 179, 0, 0, 0, 50, 180, 181, - 182, 183, 0, 0, 184, 0, 0, 0, 0, 51, - 52, 53, 0, 0, 0, 0, 0, 54, 55, 0, - -72, 56, 77, 0, 16, 0, 17, 18, 19, 20, - 21, 22, 23, 0, 0, 0, 131, 25, 26, 27, - 28, 109, 29, 30, 31, 32, 33, 34, 0, 0, - 0, 0, 35, 0, 0, 0, 0, 0, 0, 167, - 168, 169, 170, 0, 0, 0, 36, 0, 37, 38, + 0, 51, 52, 53, 79, 0, 0, 0, 0, 54, + 55, 0, 0, 56, 16, 0, 17, 18, 19, 20, + 21, 22, 23, -74, 0, 0, 24, 25, 26, 27, + 28, 0, 29, 30, 31, 32, 33, 34, 0, 0, + 0, 0, 35, 0, 0, -249, 0, 0, 0, 0, + 0, 0, 167, 168, 169, 170, 36, 0, 37, 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, 44, - 45, 46, 47, 48, 49, 0, 0, 178, 179, 0, - 0, 0, 50, 180, 181, 182, 183, 0, 0, 184, - 0, 0, 0, 0, 51, 52, 53, 0, 0, 0, - 0, 0, 54, 55, 0, 77, 56, 16, 0, 17, + 45, 46, 47, 48, 49, 173, 174, 175, 176, 177, + 178, 179, 50, 0, 0, 0, 180, 181, 182, 183, + 0, 0, 184, 0, 51, 52, 53, 79, 0, 0, + 0, 0, 54, 55, 0, 0, 56, 16, 0, 17, 18, 19, 20, 21, 22, 23, 0, 0, 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, 34, 0, 0, 0, 0, 35, 0, 0, 0, 0, - 0, 0, -248, 0, 169, 170, 0, 0, 0, 36, + 0, 0, 167, 168, 169, 170, 0, 0, 0, 36, 0, 37, 38, 39, 40, 41, 42, 0, 0, 0, - 0, 43, 44, 45, 46, 47, 48, 49, 0, 0, + 0, 43, 44, 45, 46, 47, 48, 49, 176, 177, 178, 179, 0, 0, 0, 50, 180, 181, 182, 183, 0, 0, 184, 0, 0, 0, 0, 51, 52, 53, - 0, 0, 0, 0, 0, 54, 55, 169, 170, 56, - 16, 104, 17, 18, 19, 20, 21, 22, 23, 0, + 0, 0, 0, 0, 0, 54, 55, 0, -74, 56, + 77, 0, 16, 0, 17, 18, 19, 20, 21, 22, + 23, 0, 0, 0, 131, 25, 26, 27, 28, 109, + 29, 30, 31, 32, 33, 34, 0, 0, 0, 0, + 35, 0, 0, 0, 0, 0, 0, 167, 168, 169, + 170, 0, 0, 0, 36, 0, 37, 38, 39, 40, + 41, 42, 0, 0, 0, 0, 43, 44, 45, 46, + 47, 48, 49, 0, 177, 178, 179, 0, 0, 0, + 50, 180, 181, 182, 183, 0, 0, 184, 0, 0, + 0, 0, 51, 52, 53, 0, 0, 0, 0, 0, + 54, 55, 0, 77, 56, 16, 0, 17, 18, 19, + 20, 21, 22, 23, 0, 0, 0, 24, 25, 26, + 27, 28, 0, 29, 30, 31, 32, 33, 34, 0, + 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, + 167, -249, 169, 170, 0, 0, 0, 36, 0, 37, + 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, + 44, 45, 46, 47, 48, 49, 0, 0, 178, 179, + 0, 0, 0, 50, 180, 181, 182, 183, 0, 0, + 184, 0, 0, 0, 0, 51, 52, 53, 0, 0, + 0, 0, 0, 54, 55, 0, 0, 56, 16, 104, + 17, 18, 19, 20, 21, 22, 23, 0, 0, 0, + 24, 25, 26, 27, 28, 0, 29, 30, 31, 32, + 33, 34, 0, 0, 0, 0, 35, 0, 0, 0, + 0, 0, 0, 167, 168, 169, 170, 0, 0, 0, + 36, 0, 37, 38, 39, 40, 41, 42, 0, 0, + 0, 0, 43, 44, 45, 46, 47, 48, 49, 0, + 0, 178, 179, 0, 0, 0, 50, 180, 181, 182, + 183, 0, 0, 184, 0, 0, 0, 0, 51, 52, + 53, 0, 0, 0, 0, 0, 54, 55, 0, 16, + 56, 17, 18, 19, 20, 21, 22, 23, 139, 0, + 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, + 32, 33, 34, 0, 0, 0, 0, 35, 0, 0, + 0, 0, 0, 0, -249, 0, 169, 170, 0, 0, + 0, 36, 0, 37, 38, 39, 40, 41, 42, 0, + 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, + 0, 0, 178, 179, 0, 0, 0, 50, 180, 181, + 182, 183, 0, 0, 184, 0, 0, 0, 0, 51, + 52, 53, 0, 0, 0, 0, 0, 54, 55, 0, + 16, 56, 17, 18, 19, 20, 21, 22, 23, 0, 0, 0, 24, 25, 26, 27, 28, 0, 29, 30, - 31, 32, 33, 34, 179, 0, 0, 0, 35, 180, - 181, 182, 183, 0, 0, 184, 0, 169, 170, 0, + 31, 32, 33, 34, 0, 0, 0, 0, 35, 0, + 0, 0, 0, 0, 0, 0, 0, 169, 170, 0, 0, 0, 36, 0, 37, 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, 0, 0, 178, 179, 0, 0, 0, 50, 180, 181, 182, 183, 0, 0, 184, 0, 0, 0, 0, 51, 52, 53, 0, 0, 0, 0, 0, 54, 55, - 0, 16, 56, 17, 18, 19, 20, 21, 22, 23, - 139, 0, 0, 24, 25, 26, 27, 28, 0, 29, - 30, 31, 32, 33, 34, 0, 0, 0, 0, 35, - 212, 213, 214, 215, 0, 0, 0, 216, 0, 217, - 0, 0, 0, 36, 0, 37, 38, 39, 40, 41, - 42, 0, 0, 0, 0, 43, 44, 45, 46, 47, - 48, 49, 0, 0, 159, 160, 161, 0, 0, 50, + 0, 157, 56, 16, 0, 17, 18, 19, 20, 21, + 22, 23, 0, 0, 0, 24, 25, 26, 27, 28, + 0, 29, 30, 31, 32, 33, 34, 0, 0, 0, + 0, 35, 0, 0, 0, 0, 0, 0, 0, 0, + 169, 170, 0, 0, 0, 36, 0, 37, 38, 39, + 40, 41, 42, 0, 0, 0, 0, 43, 44, 45, + 46, 47, 48, 49, 0, 0, 0, 179, 0, 0, + 0, 50, 180, 181, 182, 183, 0, 0, 184, 0, + 0, 0, 0, 51, 52, 53, 0, 0, 0, 0, + 0, 54, 55, 0, 232, 56, 16, 0, 17, 18, + 19, 20, 21, 22, 23, 0, 0, 0, 24, 25, + 26, 27, 28, 0, 29, 30, 31, 32, 33, 34, + 0, 0, 0, 0, 35, 212, 213, 214, 215, 0, + 0, 0, 216, 0, 217, 0, 0, 0, 36, 0, + 37, 38, 39, 40, 41, 42, 0, 0, 0, 0, + 43, 44, 45, 46, 47, 48, 49, 0, 0, 159, + 160, 161, 0, 0, 50, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 51, 52, 53, 0, + 0, 0, 0, 0, 54, 55, 0, 240, 56, 16, + 0, 17, 18, 19, 20, 21, 22, 23, 0, 0, + 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, + 32, 33, 34, 0, 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 51, 52, 53, 0, 0, 0, 0, 0, 54, - 55, 0, 16, 56, 17, 18, 19, 20, 21, 22, + 0, 36, 0, 37, 38, 39, 40, 41, 42, 0, + 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, + 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, + 52, 53, 0, 0, 0, 0, 0, 54, 55, 0, + 252, 56, 16, 0, 17, 18, 19, 20, 21, 22, 23, 0, 0, 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, 34, 0, 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -696,7 +744,7 @@ static const yytype_int16 yytable[] = 47, 48, 49, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 53, 0, 0, 0, 0, 0, - 54, 55, 0, 157, 56, 16, 0, 17, 18, 19, + 54, 55, 0, 281, 56, 16, 0, 17, 18, 19, 20, 21, 22, 23, 0, 0, 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, 34, 0, 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, @@ -705,272 +753,288 @@ static const yytype_int16 yytable[] = 44, 45, 46, 47, 48, 49, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 53, 0, 0, - 0, 0, 0, 54, 55, 0, 231, 56, 16, 0, + 0, 0, 0, 54, 55, 0, 348, 56, 16, 0, 17, 18, 19, 20, 21, 22, 23, 0, 0, 0, 24, 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, 34, 0, 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 37, 38, 39, 40, 41, 42, 0, 0, 0, 0, 43, 44, 45, 46, 47, 48, 49, 0, - 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, - 53, 0, 0, 0, 0, 0, 54, 55, 0, 239, - 56, 16, 0, 17, 18, 19, 20, 21, 22, 23, - 0, 0, 0, 24, 25, 26, 27, 28, 0, 29, - 30, 31, 32, 33, 34, 0, 0, 0, 0, 35, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 36, 0, 37, 38, 39, 40, 41, - 42, 0, 0, 0, 0, 43, 44, 45, 46, 47, - 48, 49, 0, 0, 0, 0, 0, 0, 0, 50, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 51, 52, 53, 0, 0, 0, 0, 0, 54, - 55, 0, 251, 56, 16, 0, 17, 18, 19, 20, - 21, 22, 23, 0, 0, 0, 24, 25, 26, 27, - 28, 0, 29, 30, 31, 32, 33, 34, 0, 0, - 0, 0, 35, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 36, 0, 37, 38, - 39, 40, 41, 42, 0, 0, 0, 0, 43, 44, - 45, 46, 47, 48, 49, 0, 0, 0, 0, 0, - 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 51, 52, 53, 0, 0, 0, - 0, 0, 54, 55, 0, 280, 56, 16, 0, 17, - 18, 19, 20, 21, 22, 23, 0, 0, 0, 24, - 25, 26, 27, 28, 0, 29, 30, 31, 32, 33, - 34, 0, 0, 0, 0, 35, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, - 0, 37, 38, 39, 40, 41, 42, 0, 0, 0, - 0, 43, 44, 45, 46, 47, 48, 49, 0, 0, - 0, 0, 0, 0, 0, 50, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 51, 52, 53, - 0, 0, 0, 0, 0, 54, 55, 0, 345, 56, - 16, 0, 17, 18, 19, 20, 21, 22, 23, 0, - 0, 0, 24, 25, 26, 27, 28, 0, 29, 30, - 31, 32, 33, 34, 0, 0, 0, 0, 35, 0, + 0, 0, 0, 0, 166, 0, 50, 0, 0, 0, + 0, 167, 168, 169, 170, 0, 0, 0, 51, 52, + 53, 0, 0, 0, 0, 0, 54, 55, 0, 0, + 56, 171, 172, 339, 173, 174, 175, 176, 177, 178, + 179, 0, 0, 0, 0, 180, 181, 182, 183, 166, + 0, 184, 0, 0, 0, 0, 167, 168, 169, 170, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 36, 0, 37, 38, 39, 40, 41, 42, - 0, 0, 0, 0, 43, 44, 45, 46, 47, 48, - 49, 0, 0, 0, 0, 0, 166, 0, 50, 0, - 0, 0, 0, 167, 168, 169, 170, 0, 0, 0, - 51, 52, 53, 0, 0, 0, 0, 0, 54, 55, - 0, 0, 56, 171, 172, 336, 173, 174, 175, 176, - 177, 178, 179, 0, 0, 0, 0, 180, 181, 182, - 183, 166, 0, 184, 0, 0, 0, 0, 167, 168, - 169, 170, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 171, 172, - 0, 173, 174, 175, 176, 177, 178, 179, 0, 0, - 0, 0, 180, 181, 182, 183, 166, 0, 184, 0, - 0, 0, 0, 167, 168, 169, 170, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 171, 172, 0, 173, + 174, 175, 176, 177, 178, 179, 0, 0, 0, 0, + 180, 181, 182, 183, 166, 0, 184, 0, 0, 0, + 0, 167, 168, 169, 170, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 172, 0, 173, 174, 175, 176, - 177, 178, 179, 0, 0, 0, 0, 180, 181, 182, - 183, 0, 0, 184 + 0, 0, 172, 0, 173, 174, 175, 176, 177, 178, + 179, 0, 0, 0, 0, 180, 181, 182, 183, 0, + 0, 184 }; +#define yypact_value_is_default(Yystate) \ + (!!((Yystate) == (-419))) + +#define yytable_value_is_error(Yytable_value) \ + (!!((Yytable_value) == (-249))) + static const yytype_int16 yycheck[] = { - 10, 11, 12, 15, 48, 307, 9, 15, 48, 42, - 128, 11, 9, 16, 11, 433, 0, 50, 407, 9, - 80, 117, 15, 16, 17, 8, 19, 9, 15, 16, - 17, 41, 23, 9, 44, 11, 11, 28, 20, 76, - 77, 78, 45, 307, 104, 309, 310, 143, 20, 76, - 77, 78, 103, 56, 26, 12, 103, 19, 20, 21, - 22, 23, 70, 25, 26, 102, 80, 20, 21, 22, - 23, 103, 25, 26, 12, 102, 494, 70, 103, 12, - 42, 43, 103, 93, 117, 93, 48, 12, 98, 42, - 43, 23, 102, 103, 77, 103, 9, 486, 98, 17, - 18, 9, 135, 12, 103, 223, 103, 12, 103, 296, - 143, 298, 12, 123, 32, 379, 103, 120, 36, 76, - 77, 78, 103, 41, 127, 128, 44, 48, 90, 47, - 103, 49, 12, 51, 52, 53, 54, 55, 76, 77, - 78, 20, 145, 76, 77, 78, 410, 9, 412, 11, - 102, 76, 77, 78, 46, 47, 159, 160, 161, 203, - 163, 164, 165, 203, 103, 26, 128, 76, 77, 78, - 10, 76, 77, 78, 103, 128, 76, 77, 78, 103, - 103, 193, 185, 186, 187, 188, 189, 190, 191, 192, - 492, 224, 102, 9, 458, 11, 76, 77, 78, 209, - 96, 97, 98, 12, 9, 101, 11, 471, 72, 212, - 213, 214, 215, 216, 217, 198, 199, 200, 201, 202, - 223, 204, 184, 206, 207, 20, 322, 11, 9, 347, - 11, 234, 23, 23, 15, 16, 17, 18, 19, 72, - 243, 203, 20, 24, 162, 20, 103, 102, 166, 167, - 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, - 178, 179, 180, 10, 26, 268, 269, 76, 77, 78, - 76, 77, 78, 11, 277, 76, 77, 78, 78, 289, - 103, 76, 77, 78, 65, 20, 15, 16, 17, 322, - 18, 18, 295, 296, 297, 298, 102, 20, 76, 77, - 78, 76, 77, 78, 307, 18, 309, 310, 270, 405, - 20, 42, 43, 44, 45, 18, 18, 300, 49, 9, - 51, 11, 103, 21, 23, 308, 20, 15, 372, 332, - 103, 409, 372, 102, 26, 413, 10, 299, 416, 417, - 10, 76, 77, 78, 347, 76, 77, 78, 10, 10, - 10, 429, 430, 76, 77, 78, 23, 61, 62, 63, - 64, 439, 76, 77, 78, 102, 76, 77, 78, 102, - 102, 102, 405, 103, 357, 453, 379, 360, 102, 457, - 383, 459, 76, 77, 78, 89, 90, 102, 102, 437, - 373, 95, 96, 97, 98, 20, 102, 101, 103, 76, - 77, 78, 450, 451, 10, 102, 484, 410, 20, 412, - 372, 102, 490, 102, 462, 427, 9, 102, 336, 9, - 74, 499, 20, 20, 472, 102, 474, 76, 77, 78, - 0, 443, 76, 77, 78, 438, 102, 102, 448, 9, - 452, 11, 12, 491, 3, 4, 5, 6, 7, 8, - 20, 9, 103, 102, 464, 458, 102, 15, 102, 469, - 18, 61, 62, 63, 64, 23, 103, 20, 471, 102, - 28, 22, 42, 43, 44, 45, 488, 73, 102, 49, - 102, 51, 12, 493, 54, 98, 86, 87, 88, 89, - 90, 61, 62, 63, 64, 95, 96, 97, 98, 195, - 492, 101, 438, 35, 83, 359, 76, 77, 78, 0, - 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - 90, 12, 403, 426, 372, 95, 96, 97, 98, 20, - 9, 101, 102, -1, 104, 203, 15, -1, -1, -1, - 61, 62, 63, 64, 23, -1, -1, -1, -1, 28, - -1, 42, 43, 44, 45, -1, -1, -1, 49, -1, - 51, -1, -1, 54, -1, -1, 87, 88, 89, 90, - 61, 62, 63, 64, 95, 96, 97, 98, -1, -1, - 101, -1, -1, -1, -1, 76, 77, 78, -1, 80, - 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, - -1, -1, -1, -1, 95, 96, 97, 98, 0, 1, - 101, 102, -1, 104, -1, -1, -1, 9, -1, 11, - -1, 13, 14, 15, 16, 17, 18, 19, 20, -1, - -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, -1, -1, 63, 49, 50, 51, - 52, 53, -1, 55, 56, 57, 58, 59, 60, -1, - -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, - -1, -1, -1, 90, -1, -1, -1, 79, 95, 96, - 97, 98, -1, -1, 101, -1, -1, -1, -1, 91, - 92, 93, -1, 0, 1, -1, -1, 99, 100, -1, - -1, 103, 9, -1, 11, -1, 13, 14, 15, 16, - 17, 18, 19, 20, -1, -1, 23, 24, 25, 26, - 27, -1, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, - -1, -1, 49, 50, 51, 52, 53, -1, 55, 56, - 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, - 67, 68, 69, 70, 71, -1, -1, -1, 90, -1, - -1, -1, 79, 95, 96, 97, 98, -1, -1, 101, - -1, -1, -1, -1, 91, 92, 93, -1, -1, 1, - -1, -1, 99, 100, -1, -1, 103, 9, 10, 11, - -1, 13, 14, 15, 16, 17, 18, 19, 20, -1, - -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, -1, -1, -1, 49, 50, 51, - 52, 53, -1, 55, 56, 57, 58, 59, 60, -1, - -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, - 95, 96, 97, 98, -1, -1, 101, 79, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, - 92, 93, -1, -1, 1, -1, -1, 99, 100, -1, - -1, 103, 9, 10, 11, -1, 13, 14, 15, 16, - 17, 18, 19, 20, -1, -1, 23, 24, 25, 26, - 27, -1, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, - -1, -1, 49, 50, 51, 52, 53, -1, 55, 56, - 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, - 67, 68, 69, 70, 71, -1, -1, -1, -1, -1, - -1, -1, 79, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 91, 92, 93, -1, -1, 1, - -1, -1, 99, 100, -1, -1, 103, 9, 10, 11, - -1, 13, 14, 15, 16, 17, 18, 19, 20, -1, - -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, - 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, - 42, 43, 44, 45, -1, -1, -1, 49, 50, 51, - 52, 53, -1, 55, 56, 57, 58, 59, 60, -1, - -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, - -1, -1, -1, -1, -1, -1, -1, 79, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, - 92, 93, -1, -1, 1, -1, -1, 99, 100, -1, - -1, 103, 9, 10, 11, -1, 13, 14, 15, 16, - 17, 18, 19, 20, -1, -1, 23, 24, 25, 26, - 27, -1, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, - -1, -1, 49, 50, 51, 52, 53, -1, 55, 56, - 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, - 67, 68, 69, 70, 71, -1, -1, -1, -1, -1, - -1, -1, 79, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 91, 92, 93, 1, -1, -1, - -1, -1, 99, 100, -1, 9, 103, 11, -1, 13, + 15, 128, 308, 325, 9, 15, 48, 42, 48, 413, + 9, 16, 11, 26, 10, 50, 117, 15, 16, 17, + 11, 77, 440, 19, 20, 21, 22, 23, 0, 25, + 26, 20, 19, 20, 21, 22, 23, 26, 25, 26, + 45, 9, 143, 80, 9, 41, 42, 43, 44, 11, + 15, 56, 76, 77, 78, 42, 43, 9, 23, 11, + 70, 48, 308, 28, 310, 311, 9, 104, 124, 20, + 21, 22, 23, 20, 25, 26, 9, 20, 102, 76, + 77, 78, 117, 93, 502, 103, 408, 20, 80, 493, + 103, 42, 43, 103, 23, 103, 223, 93, 9, 28, + 135, 46, 47, 90, 103, 103, 23, 98, 143, 12, + 9, 433, 11, 103, 9, 120, 15, 16, 17, 18, + 19, 103, 127, 128, 103, 24, 12, 123, 103, 76, + 77, 78, 128, 9, 12, 11, 9, 383, 11, 103, + 145, 128, 198, 199, 200, 201, 202, 9, 204, 11, + 206, 207, 48, 103, 159, 160, 161, 103, 163, 164, + 165, 203, 12, 203, 103, 9, 65, 11, 103, 12, + 416, 20, 418, 76, 77, 78, 103, 128, 193, 103, + 185, 186, 187, 188, 189, 190, 191, 192, 102, 224, + 76, 77, 78, 20, 500, 102, 10, 184, 76, 77, + 78, 297, 20, 299, 103, 72, 11, 212, 213, 214, + 215, 216, 217, 209, 23, 23, 203, 12, 223, 465, + 103, 12, 323, 350, 103, 72, 76, 77, 78, 26, + 235, 12, 478, 76, 77, 78, 12, 102, 10, 244, + 11, 78, 17, 18, 18, 301, 15, 16, 17, 76, + 77, 78, 18, 309, 18, 18, 18, 32, 76, 77, + 78, 36, 103, 21, 269, 270, 41, 103, 23, 44, + 20, 15, 47, 278, 49, 271, 51, 52, 53, 54, + 55, 76, 77, 78, 271, 76, 77, 78, 323, 26, + 103, 296, 297, 298, 299, 76, 77, 78, 20, 102, + 76, 77, 78, 308, 360, 310, 311, 363, 364, 20, + 411, 10, 10, 300, 10, 42, 43, 44, 45, 10, + 10, 377, 49, 20, 51, 26, 76, 77, 78, 23, + 335, 327, 102, 20, 376, 102, 376, 102, 9, 415, + 10, 102, 102, 419, 103, 350, 422, 423, 102, 76, + 77, 78, 20, 102, 76, 77, 78, 76, 77, 78, + 436, 437, 102, 102, 102, 76, 77, 78, 9, 102, + 446, 95, 96, 97, 98, 102, 411, 101, 383, 76, + 77, 78, 387, 102, 460, 74, 20, 162, 464, 376, + 466, 166, 167, 168, 169, 170, 171, 172, 173, 174, + 175, 176, 177, 178, 179, 180, 15, 16, 17, 102, + 19, 416, 427, 418, 444, 491, 76, 77, 78, 434, + 63, 0, 498, 103, 76, 77, 78, 457, 458, 9, + 9, 507, 11, 12, 9, 15, 432, 102, 18, 469, + 445, 20, 102, 23, 459, 103, 20, 90, 28, 479, + 102, 481, 95, 96, 97, 98, 102, 472, 101, 22, + 465, 70, 73, 42, 43, 44, 45, 102, 12, 499, + 49, 102, 51, 478, 98, 54, 96, 97, 98, 445, + 495, 101, 61, 62, 63, 64, 500, 76, 77, 78, + 195, 83, 35, 362, 76, 77, 78, 76, 77, 78, + 409, 80, 81, 82, 83, 84, 85, 86, 87, 88, + 89, 90, 0, 102, -1, 376, 95, 96, 97, 98, + 102, 203, 101, 102, 12, 104, 76, 77, 78, 90, + -1, -1, 20, -1, 95, 96, 97, 98, -1, -1, + 101, -1, -1, 61, 62, 63, 64, -1, -1, -1, + -1, -1, 102, -1, 42, 43, 44, 45, -1, -1, + -1, 49, -1, 51, 339, -1, 54, -1, 86, 87, + 88, 89, 90, 61, 62, 63, 64, 95, 96, 97, + 98, -1, -1, 101, -1, -1, -1, -1, 76, 77, + 78, -1, 80, 81, 82, 83, 84, 85, 86, 87, + 88, 89, 90, -1, -1, -1, -1, 95, 96, 97, + 98, 0, 1, 101, 102, -1, 104, -1, -1, -1, + 9, -1, 11, -1, 13, 14, 15, 16, 17, 18, + 19, 20, -1, -1, 23, 24, 25, 26, 27, -1, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, + 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, + 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, + 69, 70, 71, 3, 4, 5, 6, 7, 8, -1, + 79, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 91, 92, 93, -1, 0, 1, -1, -1, + 99, 100, -1, -1, 103, 9, -1, 11, -1, 13, 14, 15, 16, 17, 18, 19, 20, -1, -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, -1, -1, - 74, -1, -1, -1, -1, 79, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 79, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, 92, 93, - 1, -1, -1, -1, -1, 99, 100, -1, 9, 103, - 11, -1, 13, 14, 15, 16, 17, 18, 19, 20, - -1, -1, 23, 24, 25, 26, 27, -1, 29, 30, - 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, -1, -1, -1, 49, 50, - 51, 52, 53, -1, 55, 56, 57, 58, 59, 60, - -1, -1, -1, -1, 65, 66, 67, 68, 69, 70, - 71, -1, -1, -1, -1, -1, -1, -1, 79, -1, + -1, -1, 1, -1, -1, 99, 100, -1, -1, 103, + 9, 10, 11, -1, 13, 14, 15, 16, 17, 18, + 19, 20, -1, -1, 23, 24, 25, 26, 27, -1, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, + 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, + 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, + 69, 70, 71, -1, -1, -1, -1, -1, -1, -1, + 79, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 91, 92, 93, -1, -1, 1, -1, -1, + 99, 100, -1, -1, 103, 9, 10, 11, -1, 13, + 14, 15, 16, 17, 18, 19, 20, -1, -1, 23, + 24, 25, 26, 27, -1, 29, 30, 31, 32, 33, + 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, + 44, 45, -1, -1, -1, 49, 50, 51, 52, 53, + -1, 55, 56, 57, 58, 59, 60, -1, -1, -1, + -1, 65, 66, 67, 68, 69, 70, 71, -1, -1, + -1, -1, -1, -1, -1, 79, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 91, 92, 93, + -1, -1, 1, -1, -1, 99, 100, -1, -1, 103, + 9, 10, 11, -1, 13, 14, 15, 16, 17, 18, + 19, 20, -1, -1, 23, 24, 25, 26, 27, -1, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, + 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, + 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, + 69, 70, 71, -1, -1, -1, -1, -1, -1, -1, + 79, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 91, 92, 93, -1, -1, 1, -1, -1, + 99, 100, -1, -1, 103, 9, 10, 11, -1, 13, + 14, 15, 16, 17, 18, 19, 20, -1, -1, 23, + 24, 25, 26, 27, -1, 29, 30, 31, 32, 33, + 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, + 44, 45, -1, -1, -1, 49, 50, 51, 52, 53, + -1, 55, 56, 57, 58, 59, 60, -1, -1, -1, + -1, 65, 66, 67, 68, 69, 70, 71, -1, -1, + -1, -1, -1, -1, -1, 79, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 91, 92, 93, + -1, -1, 1, -1, -1, 99, 100, -1, -1, 103, + 9, 10, 11, -1, 13, 14, 15, 16, 17, 18, + 19, 20, -1, -1, 23, 24, 25, 26, 27, -1, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 42, 43, 44, 45, -1, -1, -1, + 49, 50, 51, 52, 53, -1, 55, 56, 57, 58, + 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, + 69, 70, 71, -1, -1, -1, -1, -1, -1, -1, + 79, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 91, 92, 93, 1, -1, -1, -1, -1, + 99, 100, -1, 9, 103, 11, -1, 13, 14, 15, + 16, 17, 18, 19, 20, -1, -1, 23, 24, 25, + 26, 27, -1, 29, 30, 31, 32, 33, 34, 35, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + -1, -1, -1, 49, 50, 51, 52, 53, -1, 55, + 56, 57, 58, 59, 60, -1, -1, -1, -1, 65, + 66, 67, 68, 69, 70, 71, -1, -1, 74, -1, + -1, -1, -1, 79, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 91, 92, 93, 1, -1, + -1, -1, -1, 99, 100, -1, 9, 103, 11, -1, + 13, 14, 15, 16, 17, 18, 19, 20, -1, -1, + 23, 24, 25, 26, 27, -1, 29, 30, 31, 32, + 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, + 43, 44, 45, -1, -1, -1, 49, 50, 51, 52, + 53, -1, 55, 56, 57, 58, 59, 60, -1, -1, + -1, -1, 65, 66, 67, 68, 69, 70, 71, -1, + -1, -1, -1, -1, -1, -1, 79, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 91, 92, + 93, 1, -1, -1, -1, -1, 99, 100, -1, 9, + 103, 11, -1, 13, 14, 15, 16, 17, 18, 19, + 20, -1, -1, 23, 24, 25, 26, 27, -1, 29, + 30, 31, 32, 33, 34, 35, -1, 37, 38, 39, + 40, 41, 42, 43, 44, 45, -1, -1, -1, 49, + 50, 51, 52, 53, -1, 55, 56, 57, 58, 59, + 60, -1, -1, -1, -1, 65, 66, 67, 68, 69, + 70, 71, -1, -1, -1, -1, -1, -1, -1, 79, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 91, 92, 93, 1, -1, -1, -1, -1, 99, 100, - -1, 9, 103, 11, -1, 13, 14, 15, 16, 17, - 18, 19, 20, -1, -1, 23, 24, 25, 26, 27, - -1, 29, 30, 31, 32, 33, 34, 35, -1, 37, - 38, 39, 40, 41, 42, 43, 44, 45, -1, -1, - -1, 49, 50, 51, 52, 53, -1, 55, 56, 57, - 58, 59, 60, -1, -1, -1, -1, 65, 66, 67, - 68, 69, 70, 71, -1, -1, -1, -1, -1, -1, - -1, 79, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 91, 92, 93, 1, -1, -1, -1, - -1, 99, 100, -1, -1, 103, 11, -1, 13, 14, - 15, 16, 17, 18, 19, 20, -1, -1, 23, 24, - 25, 26, 27, -1, 29, 30, 31, 32, 33, 34, - -1, -1, -1, -1, 39, -1, -1, 54, -1, -1, - -1, -1, -1, -1, 61, 62, 63, 64, 53, -1, - 55, 56, 57, 58, 59, 60, -1, -1, -1, -1, - 65, 66, 67, 68, 69, 70, 71, 84, 85, 86, - 87, 88, 89, 90, 79, -1, -1, -1, 95, 96, - 97, 98, -1, -1, 101, -1, 91, 92, 93, 1, - -1, -1, -1, -1, 99, 100, -1, -1, 103, 11, - -1, 13, 14, 15, 16, 17, 18, 19, -1, -1, - -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, - 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, - -1, -1, -1, -1, 61, 62, 63, 64, -1, -1, - -1, 53, -1, 55, 56, 57, 58, 59, 60, -1, - -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, - -1, 88, 89, 90, -1, -1, -1, 79, 95, 96, - 97, 98, -1, -1, 101, -1, -1, -1, -1, 91, - 92, 93, -1, -1, -1, -1, -1, 99, 100, -1, - 102, 103, 9, -1, 11, -1, 13, 14, 15, 16, - 17, 18, 19, -1, -1, -1, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, -1, -1, - -1, -1, 39, -1, -1, -1, -1, -1, -1, 61, - 62, 63, 64, -1, -1, -1, 53, -1, 55, 56, + -1, 91, 92, 93, 1, -1, -1, -1, -1, 99, + 100, -1, -1, 103, 11, -1, 13, 14, 15, 16, + 17, 18, 19, 20, -1, -1, 23, 24, 25, 26, + 27, -1, 29, 30, 31, 32, 33, 34, -1, -1, + -1, -1, 39, -1, -1, 54, -1, -1, -1, -1, + -1, -1, 61, 62, 63, 64, 53, -1, 55, 56, 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, - 67, 68, 69, 70, 71, -1, -1, 89, 90, -1, - -1, -1, 79, 95, 96, 97, 98, -1, -1, 101, - -1, -1, -1, -1, 91, 92, 93, -1, -1, -1, - -1, -1, 99, 100, -1, 9, 103, 11, -1, 13, + 67, 68, 69, 70, 71, 84, 85, 86, 87, 88, + 89, 90, 79, -1, -1, -1, 95, 96, 97, 98, + -1, -1, 101, -1, 91, 92, 93, 1, -1, -1, + -1, -1, 99, 100, -1, -1, 103, 11, -1, 13, 14, 15, 16, 17, 18, 19, -1, -1, -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, -1, -1, - -1, -1, 61, -1, 63, 64, -1, -1, -1, 53, + -1, -1, 61, 62, 63, 64, -1, -1, -1, 53, -1, 55, 56, 57, 58, 59, 60, -1, -1, -1, - -1, 65, 66, 67, 68, 69, 70, 71, -1, -1, + -1, 65, 66, 67, 68, 69, 70, 71, 87, 88, 89, 90, -1, -1, -1, 79, 95, 96, 97, 98, -1, -1, 101, -1, -1, -1, -1, 91, 92, 93, - -1, -1, -1, -1, -1, 99, 100, 63, 64, 103, - 11, 12, 13, 14, 15, 16, 17, 18, 19, -1, + -1, -1, -1, -1, -1, 99, 100, -1, 102, 103, + 9, -1, 11, -1, 13, 14, 15, 16, 17, 18, + 19, -1, -1, -1, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, + 39, -1, -1, -1, -1, -1, -1, 61, 62, 63, + 64, -1, -1, -1, 53, -1, 55, 56, 57, 58, + 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, + 69, 70, 71, -1, 88, 89, 90, -1, -1, -1, + 79, 95, 96, 97, 98, -1, -1, 101, -1, -1, + -1, -1, 91, 92, 93, -1, -1, -1, -1, -1, + 99, 100, -1, 9, 103, 11, -1, 13, 14, 15, + 16, 17, 18, 19, -1, -1, -1, 23, 24, 25, + 26, 27, -1, 29, 30, 31, 32, 33, 34, -1, + -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, + 61, 62, 63, 64, -1, -1, -1, 53, -1, 55, + 56, 57, 58, 59, 60, -1, -1, -1, -1, 65, + 66, 67, 68, 69, 70, 71, -1, -1, 89, 90, + -1, -1, -1, 79, 95, 96, 97, 98, -1, -1, + 101, -1, -1, -1, -1, 91, 92, 93, -1, -1, + -1, -1, -1, 99, 100, -1, -1, 103, 11, 12, + 13, 14, 15, 16, 17, 18, 19, -1, -1, -1, + 23, 24, 25, 26, 27, -1, 29, 30, 31, 32, + 33, 34, -1, -1, -1, -1, 39, -1, -1, -1, + -1, -1, -1, 61, 62, 63, 64, -1, -1, -1, + 53, -1, 55, 56, 57, 58, 59, 60, -1, -1, + -1, -1, 65, 66, 67, 68, 69, 70, 71, -1, + -1, 89, 90, -1, -1, -1, 79, 95, 96, 97, + 98, -1, -1, 101, -1, -1, -1, -1, 91, 92, + 93, -1, -1, -1, -1, -1, 99, 100, -1, 11, + 103, 13, 14, 15, 16, 17, 18, 19, 20, -1, + -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, + 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, + -1, -1, -1, -1, 61, -1, 63, 64, -1, -1, + -1, 53, -1, 55, 56, 57, 58, 59, 60, -1, + -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, + -1, -1, 89, 90, -1, -1, -1, 79, 95, 96, + 97, 98, -1, -1, 101, -1, -1, -1, -1, 91, + 92, 93, -1, -1, -1, -1, -1, 99, 100, -1, + 11, 103, 13, 14, 15, 16, 17, 18, 19, -1, -1, -1, 23, 24, 25, 26, 27, -1, 29, 30, - 31, 32, 33, 34, 90, -1, -1, -1, 39, 95, - 96, 97, 98, -1, -1, 101, -1, 63, 64, -1, + 31, 32, 33, 34, -1, -1, -1, -1, 39, -1, + -1, -1, -1, -1, -1, -1, -1, 63, 64, -1, -1, -1, 53, -1, 55, 56, 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, -1, -1, 89, 90, -1, -1, -1, 79, 95, 96, 97, 98, -1, -1, 101, -1, -1, -1, -1, 91, 92, 93, -1, -1, -1, -1, -1, 99, 100, - -1, 11, 103, 13, 14, 15, 16, 17, 18, 19, - 20, -1, -1, 23, 24, 25, 26, 27, -1, 29, - 30, 31, 32, 33, 34, -1, -1, -1, -1, 39, - 42, 43, 44, 45, -1, -1, -1, 49, -1, 51, - -1, -1, -1, 53, -1, 55, 56, 57, 58, 59, - 60, -1, -1, -1, -1, 65, 66, 67, 68, 69, - 70, 71, -1, -1, 76, 77, 78, -1, -1, 79, + -1, 102, 103, 11, -1, 13, 14, 15, 16, 17, + 18, 19, -1, -1, -1, 23, 24, 25, 26, 27, + -1, 29, 30, 31, 32, 33, 34, -1, -1, -1, + -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, + 63, 64, -1, -1, -1, 53, -1, 55, 56, 57, + 58, 59, 60, -1, -1, -1, -1, 65, 66, 67, + 68, 69, 70, 71, -1, -1, -1, 90, -1, -1, + -1, 79, 95, 96, 97, 98, -1, -1, 101, -1, + -1, -1, -1, 91, 92, 93, -1, -1, -1, -1, + -1, 99, 100, -1, 102, 103, 11, -1, 13, 14, + 15, 16, 17, 18, 19, -1, -1, -1, 23, 24, + 25, 26, 27, -1, 29, 30, 31, 32, 33, 34, + -1, -1, -1, -1, 39, 42, 43, 44, 45, -1, + -1, -1, 49, -1, 51, -1, -1, -1, 53, -1, + 55, 56, 57, 58, 59, 60, -1, -1, -1, -1, + 65, 66, 67, 68, 69, 70, 71, -1, -1, 76, + 77, 78, -1, -1, 79, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 91, 92, 93, -1, + -1, -1, -1, -1, 99, 100, -1, 102, 103, 11, + -1, 13, 14, 15, 16, 17, 18, 19, -1, -1, + -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, + 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 91, 92, 93, -1, -1, -1, -1, -1, 99, - 100, -1, 11, 103, 13, 14, 15, 16, 17, 18, + -1, 53, -1, 55, 56, 57, 58, 59, 60, -1, + -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, + -1, -1, -1, -1, -1, -1, -1, 79, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, + 92, 93, -1, -1, -1, -1, -1, 99, 100, -1, + 102, 103, 11, -1, 13, 14, 15, 16, 17, 18, 19, -1, -1, -1, 23, 24, 25, 26, 27, -1, 29, 30, 31, 32, 33, 34, -1, -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, @@ -995,58 +1059,21 @@ static const yytype_int16 yycheck[] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 53, -1, 55, 56, 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, -1, - -1, -1, -1, -1, -1, -1, 79, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 91, 92, - 93, -1, -1, -1, -1, -1, 99, 100, -1, 102, - 103, 11, -1, 13, 14, 15, 16, 17, 18, 19, - -1, -1, -1, 23, 24, 25, 26, 27, -1, 29, - 30, 31, 32, 33, 34, -1, -1, -1, -1, 39, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 53, -1, 55, 56, 57, 58, 59, - 60, -1, -1, -1, -1, 65, 66, 67, 68, 69, - 70, 71, -1, -1, -1, -1, -1, -1, -1, 79, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 91, 92, 93, -1, -1, -1, -1, -1, 99, - 100, -1, 102, 103, 11, -1, 13, 14, 15, 16, - 17, 18, 19, -1, -1, -1, 23, 24, 25, 26, - 27, -1, 29, 30, 31, 32, 33, 34, -1, -1, - -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 53, -1, 55, 56, - 57, 58, 59, 60, -1, -1, -1, -1, 65, 66, - 67, 68, 69, 70, 71, -1, -1, -1, -1, -1, - -1, -1, 79, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 91, 92, 93, -1, -1, -1, - -1, -1, 99, 100, -1, 102, 103, 11, -1, 13, - 14, 15, 16, 17, 18, 19, -1, -1, -1, 23, - 24, 25, 26, 27, -1, 29, 30, 31, 32, 33, - 34, -1, -1, -1, -1, 39, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 53, - -1, 55, 56, 57, 58, 59, 60, -1, -1, -1, - -1, 65, 66, 67, 68, 69, 70, 71, -1, -1, - -1, -1, -1, -1, -1, 79, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 91, 92, 93, - -1, -1, -1, -1, -1, 99, 100, -1, 102, 103, - 11, -1, 13, 14, 15, 16, 17, 18, 19, -1, - -1, -1, 23, 24, 25, 26, 27, -1, 29, 30, - 31, 32, 33, 34, -1, -1, -1, -1, 39, -1, + -1, -1, -1, -1, 54, -1, 79, -1, -1, -1, + -1, 61, 62, 63, 64, -1, -1, -1, 91, 92, + 93, -1, -1, -1, -1, -1, 99, 100, -1, -1, + 103, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, -1, -1, -1, -1, 95, 96, 97, 98, 54, + -1, 101, -1, -1, -1, -1, 61, 62, 63, 64, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 53, -1, 55, 56, 57, 58, 59, 60, - -1, -1, -1, -1, 65, 66, 67, 68, 69, 70, - 71, -1, -1, -1, -1, -1, 54, -1, 79, -1, - -1, -1, -1, 61, 62, 63, 64, -1, -1, -1, - 91, 92, 93, -1, -1, -1, -1, -1, 99, 100, - -1, -1, 103, 81, 82, 83, 84, 85, 86, 87, - 88, 89, 90, -1, -1, -1, -1, 95, 96, 97, - 98, 54, -1, 101, -1, -1, -1, -1, 61, 62, - 63, 64, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 81, 82, - -1, 84, 85, 86, 87, 88, 89, 90, -1, -1, - -1, -1, 95, 96, 97, 98, 54, -1, 101, -1, - -1, -1, -1, 61, 62, 63, 64, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 81, 82, -1, 84, + 85, 86, 87, 88, 89, 90, -1, -1, -1, -1, + 95, 96, 97, 98, 54, -1, 101, -1, -1, -1, + -1, 61, 62, 63, 64, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 82, -1, 84, 85, 86, 87, - 88, 89, 90, -1, -1, -1, -1, 95, 96, 97, - 98, -1, -1, 101 + -1, -1, 82, -1, 84, 85, 86, 87, 88, 89, + 90, -1, -1, -1, -1, 95, 96, 97, 98, -1, + -1, 101 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing @@ -1062,48 +1089,48 @@ static const yytype_uint8 yystos[] = 158, 159, 160, 161, 162, 163, 165, 168, 173, 174, 175, 176, 177, 178, 179, 180, 181, 9, 113, 1, 20, 35, 37, 38, 40, 41, 42, 43, 44, 45, - 49, 50, 51, 52, 113, 122, 131, 153, 36, 120, + 49, 50, 51, 52, 113, 122, 132, 153, 36, 120, 121, 122, 118, 118, 12, 153, 163, 163, 23, 28, 113, 174, 182, 182, 182, 182, 182, 182, 182, 164, - 11, 103, 163, 143, 143, 163, 103, 103, 103, 113, + 11, 103, 163, 144, 144, 163, 103, 103, 103, 113, 163, 23, 154, 167, 174, 182, 182, 113, 163, 20, - 153, 23, 28, 145, 163, 103, 166, 174, 175, 176, + 153, 23, 28, 146, 163, 103, 166, 174, 175, 176, 163, 154, 163, 163, 163, 163, 163, 102, 153, 76, 77, 78, 80, 9, 11, 103, 54, 61, 62, 63, 64, 81, 82, 84, 85, 86, 87, 88, 89, 90, 95, 96, 97, 98, 101, 103, 9, 11, 9, 11, - 9, 11, 9, 115, 144, 145, 23, 142, 103, 103, + 9, 11, 9, 115, 145, 146, 23, 143, 103, 103, 103, 103, 70, 93, 103, 174, 103, 103, 113, 48, - 133, 20, 42, 43, 44, 45, 49, 51, 121, 122, - 120, 12, 167, 103, 103, 153, 102, 113, 26, 146, - 102, 102, 153, 168, 182, 154, 10, 20, 167, 102, - 153, 72, 148, 11, 102, 153, 153, 153, 163, 153, - 153, 102, 153, 163, 163, 163, 163, 163, 163, 163, - 163, 163, 163, 163, 163, 163, 163, 163, 9, 11, - 15, 16, 17, 18, 19, 24, 65, 103, 157, 174, - 102, 153, 153, 153, 153, 153, 153, 153, 153, 118, - 23, 141, 142, 23, 124, 115, 115, 115, 115, 115, - 70, 171, 172, 173, 174, 175, 176, 115, 103, 115, - 115, 113, 153, 137, 153, 153, 153, 153, 153, 168, - 154, 12, 156, 72, 147, 102, 102, 153, 10, 102, - 26, 153, 11, 20, 12, 102, 83, 153, 153, 18, - 18, 18, 18, 18, 18, 102, 153, 103, 102, 20, - 12, 20, 12, 20, 12, 20, 10, 21, 114, 123, - 9, 20, 23, 136, 153, 137, 138, 153, 137, 140, - 170, 174, 115, 103, 131, 135, 138, 139, 153, 115, - 138, 138, 102, 104, 169, 167, 26, 115, 151, 102, - 12, 153, 10, 163, 20, 12, 102, 168, 10, 10, - 10, 10, 115, 146, 115, 23, 102, 102, 102, 102, - 103, 171, 115, 102, 20, 138, 102, 102, 153, 102, - 103, 149, 12, 10, 102, 20, 147, 128, 167, 134, - 134, 9, 116, 116, 138, 127, 138, 116, 125, 102, - 116, 116, 150, 9, 74, 20, 151, 152, 118, 20, - 116, 116, 117, 46, 47, 132, 132, 102, 103, 102, - 133, 136, 116, 102, 118, 119, 10, 133, 133, 118, - 116, 103, 116, 138, 116, 20, 133, 10, 20, 26, - 129, 10, 138, 133, 102, 133, 126, 22, 73, 130, - 102, 116, 134, 118, 116, 133, 139, 74, 132, 102, - 116 + 134, 20, 42, 43, 44, 45, 49, 51, 121, 122, + 120, 12, 167, 103, 103, 153, 102, 113, 26, 115, + 147, 102, 102, 153, 168, 182, 154, 10, 20, 167, + 102, 153, 72, 149, 11, 102, 153, 153, 153, 163, + 153, 153, 102, 153, 163, 163, 163, 163, 163, 163, + 163, 163, 163, 163, 163, 163, 163, 163, 163, 9, + 11, 15, 16, 17, 18, 19, 24, 65, 103, 157, + 174, 102, 153, 153, 153, 153, 153, 153, 153, 153, + 118, 23, 142, 143, 23, 125, 115, 115, 115, 115, + 115, 70, 171, 172, 173, 174, 175, 176, 115, 103, + 115, 115, 113, 153, 138, 153, 153, 153, 153, 153, + 168, 154, 12, 156, 103, 150, 72, 148, 102, 102, + 153, 10, 102, 26, 153, 11, 20, 12, 102, 83, + 153, 153, 18, 18, 18, 18, 18, 18, 102, 153, + 103, 102, 20, 12, 20, 12, 20, 12, 20, 10, + 21, 114, 123, 124, 9, 20, 23, 137, 153, 138, + 139, 153, 138, 141, 170, 174, 115, 103, 132, 136, + 139, 140, 153, 115, 139, 139, 102, 104, 169, 167, + 151, 148, 26, 113, 102, 12, 153, 10, 163, 20, + 12, 102, 168, 10, 10, 10, 10, 115, 147, 115, + 115, 23, 102, 102, 102, 102, 103, 171, 115, 102, + 20, 139, 102, 102, 153, 102, 102, 9, 12, 10, + 102, 20, 148, 150, 129, 167, 135, 135, 9, 116, + 116, 139, 128, 139, 116, 126, 102, 116, 116, 118, + 74, 20, 113, 152, 148, 118, 20, 116, 116, 117, + 46, 47, 133, 133, 102, 103, 102, 134, 137, 116, + 10, 119, 9, 10, 134, 134, 118, 116, 103, 116, + 139, 116, 20, 134, 20, 26, 130, 118, 10, 139, + 134, 102, 134, 127, 22, 73, 131, 10, 102, 116, + 135, 118, 116, 134, 140, 74, 133, 102, 116 }; typedef enum { @@ -1127,22 +1154,22 @@ static const toketypes yy_type_tab[] = toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, - toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, - toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_opval, toketype_ival, toketype_opval, - toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, - toketype_opval, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_opval, - toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, - toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_ival, - toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, - toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, - toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, + toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, + toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_opval, toketype_ival, + toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, + toketype_opval, toketype_opval, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, + toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_ival, + toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, + toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_opval, + toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, + toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval }; /* Generated from: - * 81b73d4c51279b9e4fa0d1b9ab2f7c591e93f1b1ef1e34c64bbc4836629ce193 perly.y + * 12bc2d35e1af6b72fc94eb1621fe7f5c3e605bbacc097f6fd0e4598864ad9939 perly.y * d1d4df7b8e30ac9dede664af9179e6e5e7ddc7f2ad9c4eff9e2e5b32c9e16a6e regen_perly.pl * ex: set ro: */ @@ -74,7 +74,7 @@ %type <opval> formname subname proto optsubbody cont my_scalar my_var %type <opval> refgen_topic formblock %type <opval> subattrlist myattrlist myattrterm myterm -%type <opval> realsubbody subsignature termbinop termunop anonymous termdo +%type <opval> subsignature termbinop termunop anonymous termdo %type <opval> formstmtseq formline formarg %nonassoc <ival> PREC_LOW @@ -297,6 +297,45 @@ barestmt: PLUGSTMT intro_my(); parser->parsed_sub = 1; } + | SUB subname startsub + { + if ($2->op_type == OP_CONST) { + const char *const name = + SvPV_nolen_const(((SVOP*)$2)->op_sv); + if (strEQ(name, "BEGIN") || strEQ(name, "END") + || strEQ(name, "INIT") || strEQ(name, "CHECK") + || strEQ(name, "UNITCHECK")) + CvSPECIAL_on(PL_compcv); + } + else + /* State subs inside anonymous subs need to be + clonable themselves. */ + if (CvANON(CvOUTSIDE(PL_compcv)) + || CvCLONE(CvOUTSIDE(PL_compcv)) + || !PadnameIsSTATE(PadlistNAMESARRAY(CvPADLIST( + CvOUTSIDE(PL_compcv) + ))[$2->op_targ])) + CvCLONE_on(PL_compcv); + parser->in_my = 0; + parser->in_my_stash = NULL; + } + remember subsignature subattrlist '{' stmtseq '}' + { + OP *body; + if (parser->copline > (line_t)$8) + parser->copline = (line_t)$8; + body = block_end($5, + op_append_list(OP_LINESEQ, $6, $9)); + + SvREFCNT_inc_simple_void(PL_compcv); + $2->op_type == OP_CONST + ? newATTRSUB($3, $2, NULL, $7, body) + : newMYSUB($3, $2, NULL, $7, body) + ; + $$ = (OP*)NULL; + intro_my(); + parser->parsed_sub = 1; + } | PACKAGE WORD WORD ';' { package($3); @@ -599,13 +638,12 @@ myattrlist: COLONATTR THING { $$ = (OP*)NULL; } ; -/* Optional subroutine signature */ -subsignature: /* NULL */ { $$ = (OP*)NULL; } - | '(' +/* Subroutine signature */ +subsignature: '(' { - if (!FEATURE_SIGNATURES_IS_ENABLED) - Perl_croak(aTHX_ "Experimental " - "subroutine signatures not enabled"); + /* We shouldn't get here otherwise */ + assert(FEATURE_SIGNATURES_IS_ENABLED); + Perl_ck_warner_d(aTHX_ packWARN(WARN_EXPERIMENTAL__SIGNATURES), "The signatures feature is experimental"); @@ -615,22 +653,12 @@ subsignature: /* NULL */ { $$ = (OP*)NULL; } { $$ = op_append_list(OP_LINESEQ, $<opval>2, newSTATEOP(0, NULL, sawparens(newNULLLIST()))); - parser->expect = XBLOCK; - } - ; - -/* Subroutine body - block with optional signature */ -realsubbody: remember subsignature '{' stmtseq '}' - { - if (parser->copline > (line_t)$3) - parser->copline = (line_t)$3; - $$ = block_end($1, - op_append_list(OP_LINESEQ, $2, $4)); + parser->expect = XATTRBLOCK; } ; /* Optional subroutine body, for named subroutine declaration */ -optsubbody: realsubbody { $$ = $1; } +optsubbody: block | ';' { $$ = (OP*)NULL; } ; @@ -648,7 +676,7 @@ expr : expr ANDOP expr listexpr: listexpr ',' { $$ = $1; } | listexpr ',' term - { + { OP* term = $3; $$ = op_append_elem(OP_LIST, $1, term); } @@ -837,9 +865,19 @@ anonymous: '[' expr ']' { $$ = newANONHASH($2); } | HASHBRACK ';' '}' %prec '(' /* { } (';' by tokener) */ { $$ = newANONHASH((OP*)NULL); } - | ANONSUB startanonsub proto subattrlist realsubbody %prec '(' + | ANONSUB startanonsub proto subattrlist block %prec '(' { SvREFCNT_inc_simple_void(PL_compcv); $$ = newANONATTRSUB($2, $3, $4, $5); } + | ANONSUB startanonsub remember subsignature subattrlist '{' stmtseq '}' %prec '(' + { + OP *body; + if (parser->copline > (line_t)$6) + parser->copline = (line_t)$6; + body = block_end($3, + op_append_list(OP_LINESEQ, $4, $7)); + SvREFCNT_inc_simple_void(PL_compcv); + $$ = newANONATTRSUB($2, NULL, $5, body); + } ; diff --git a/t/op/signatures.t b/t/op/signatures.t index a1e3bff181..e1c3140fd8 100644 --- a/t/op/signatures.t +++ b/t/op/signatures.t @@ -6,14 +6,6 @@ BEGIN { set_up_inc('../lib'); } -eval "#line 8 foo\nsub t004 :method (\$a) { }"; -is $@, "Experimental subroutine signatures not enabled at foo line 8\.\n", - "error when not enabled"; - -eval "#line 8 foo\nsub t005 (\$) (\$a) { }"; -is $@, "Experimental subroutine signatures not enabled at foo line 8\.\n", - "error when not enabled"; - no warnings "illegalproto"; our $a = 123; @@ -1135,7 +1127,7 @@ is eval("\$t103->(456, 789, 987)"), undef; like $@, qr/\AToo many arguments for subroutine at \(eval \d+\) line 1\.\n\z/; is $a, 123; -my $t118 = sub :prototype($) ($a) { $a || "z" }; +my $t118 = sub ($a) :prototype($) { $a || "z" }; is prototype($t118), "\$"; is eval("\$t118->()"), undef; like $@, qr/\AToo few arguments for subroutine at \(eval \d+\) line 1\.\n\z/; @@ -1201,7 +1193,7 @@ is eval("t132(sub { \"x\".(\$_[1] // sub{\$_[0]})->(\$_[0]).\"x\" }, 789)"), like $@, qr/\AToo many arguments for subroutine at \(eval \d+\) line 1\.\n\z/; is $a, 123; -sub t104 :method ($a) { $a || "z" } +sub t104($a) :method { $a || "z" } is prototype(\&t104), undef; is eval("t104()"), undef; like $@, qr/\AToo few arguments for subroutine at \(eval \d+\) line 1\.\n\z/; @@ -1213,7 +1205,7 @@ is eval("t104(456, 789, 987)"), undef; like $@, qr/\AToo many arguments for subroutine at \(eval \d+\) line 1\.\n\z/; is $a, 123; -sub t105 :prototype($) ($a) { $a || "z" } +sub t105($a) :prototype($) { $a || "z" } is prototype(\&t105), "\$"; is eval("t105()"), undef; like $@, qr/\ANot enough arguments for main::t105 /; @@ -1225,7 +1217,7 @@ is eval("t105(456, 789, 987)"), undef; like $@, qr/\AToo many arguments for main::t105 at \(eval \d+\) line 1, near/; is $a, 123; -sub t106 :prototype(@) ($a) { $a || "z" } +sub t106($a) :prototype(@) { $a || "z" } is prototype(\&t106), "\@"; is eval("t106()"), undef; like $@, qr/\AToo few arguments for subroutine at \(eval \d+\) line 1\.\n\z/; @@ -1237,10 +1229,10 @@ is eval("t106(456, 789, 987)"), undef; like $@, qr/\AToo many arguments for subroutine at \(eval \d+\) line 1\.\n\z/; is $a, 123; -eval "#line 8 foo\nsub t107 (\$a) :method { }"; +eval "#line 8 foo\nsub t107 :method (\$a) { }"; isnt $@, ""; -eval "#line 8 foo\nsub t108 (\$a) :prototype(\$) { }"; +eval "#line 8 foo\nsub t108 :prototype(\$) (\$a) { }"; isnt $@, ""; sub t109 { } |