diff options
author | Zefram <zefram@fysh.org> | 2010-10-24 03:13:39 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-25 12:29:47 -0700 |
commit | 8359b381d0e4b7d1489abafb919f3c2a465401a4 (patch) | |
tree | 50b3187c01fbea29c0ffe65bda449ef0419a690d | |
parent | 94bf0465170f13a4a3114b27d564dc2287d466b2 (diff) | |
download | perl-8359b381d0e4b7d1489abafb919f3c2a465401a4.tar.gz |
function to parse unlabelled statement
New API function parse_barestmt() parses a pure statement, with no label,
and returns just the statement's core ops, not attaching a state op.
-rw-r--r-- | embed.fnc | 1 | ||||
-rw-r--r-- | embed.h | 1 | ||||
-rw-r--r-- | ext/XS-APItest/APItest.xs | 2 | ||||
-rw-r--r-- | ext/XS-APItest/t/stmtasexpr.t | 12 | ||||
-rw-r--r-- | ext/XS-APItest/t/swaptwostmts.t | 46 | ||||
-rw-r--r-- | global.sym | 1 | ||||
-rw-r--r-- | perly.act | 788 | ||||
-rw-r--r-- | perly.h | 298 | ||||
-rw-r--r-- | perly.tab | 1560 | ||||
-rw-r--r-- | perly.y | 14 | ||||
-rw-r--r-- | proto.h | 1 | ||||
-rw-r--r-- | toke.c | 42 |
12 files changed, 1442 insertions, 1324 deletions
@@ -624,6 +624,7 @@ AMpd |I32 |lex_read_unichar|U32 flags AMpd |void |lex_read_space |U32 flags : Public parser API AMpd |OP* |parse_block |U32 flags +AMpd |OP* |parse_barestmt |U32 flags AMpd |OP* |parse_fullstmt |U32 flags AMpd |OP* |parse_stmtseq |U32 flags : Used in various files @@ -376,6 +376,7 @@ #define pack_cat(a,b,c,d,e,f,g) Perl_pack_cat(aTHX_ a,b,c,d,e,f,g) #define packlist(a,b,c,d,e) Perl_packlist(aTHX_ a,b,c,d,e) #define pad_findmy(a,b,c) Perl_pad_findmy(aTHX_ a,b,c) +#define parse_barestmt(a) Perl_parse_barestmt(aTHX_ a) #define parse_block(a) Perl_parse_block(aTHX_ a) #define parse_fullstmt(a) Perl_parse_fullstmt(aTHX_ a) #define parse_stmtseq(a) Perl_parse_stmtseq(aTHX_ a) diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs index 99c96d96bd..5be2c36f12 100644 --- a/ext/XS-APItest/APItest.xs +++ b/ext/XS-APItest/APItest.xs @@ -763,7 +763,7 @@ static OP *THX_parse_keyword_scopelessblock(pTHX) #define parse_keyword_stmtasexpr() THX_parse_keyword_stmtasexpr(aTHX) static OP *THX_parse_keyword_stmtasexpr(pTHX) { - OP *o = parse_fullstmt(0); + OP *o = parse_barestmt(0); o = op_prepend_elem(OP_LINESEQ, newOP(OP_ENTER, 0), o); o->op_type = OP_LEAVE; o->op_ppaddr = PL_ppaddr[OP_LEAVE]; diff --git a/ext/XS-APItest/t/stmtasexpr.t b/ext/XS-APItest/t/stmtasexpr.t index 44aae8a271..ebd9d07cfb 100644 --- a/ext/XS-APItest/t/stmtasexpr.t +++ b/ext/XS-APItest/t/stmtasexpr.t @@ -1,7 +1,7 @@ use warnings; use strict; -use Test::More tests => 8; +use Test::More tests => 10; BEGIN { $^H |= 0x20000; } @@ -48,4 +48,14 @@ eval q{ is $@, ""; is $t, "abcde"; +$t = ""; +eval q{ + use XS::APItest qw(stmtasexpr); + $t .= "a"; + $t .= "b" . stmtasexpr x: "c"; . "d"; + $t .= "e"; +}; +isnt $@, ""; +is $t, ""; + 1; diff --git a/ext/XS-APItest/t/swaptwostmts.t b/ext/XS-APItest/t/swaptwostmts.t index 155ff62577..c726fccf74 100644 --- a/ext/XS-APItest/t/swaptwostmts.t +++ b/ext/XS-APItest/t/swaptwostmts.t @@ -1,7 +1,7 @@ use warnings; use strict; -use Test::More tests => 26; +use Test::More tests => 32; BEGIN { $^H |= 0x20000; } @@ -181,4 +181,48 @@ eval q{ is $@, ""; is $t, "acbd"; +$t = ""; +eval q{ + use XS::APItest qw(swaptwostmts); + $t .= "a"; + swaptwostmts + x: + $t .= "b"; + z: + $t .= "c"; + $t .= "d"; +}; +is $@, ""; +is $t, "acbd"; + +$t = ""; +eval q{ + use XS::APItest qw(swaptwostmts); + $t .= "a"; + goto x; + $t .= "b"; + swaptwostmts + x: + $t .= "c"; + $t .= "d"; + $t .= "e"; +}; +is $@, ""; +is $t, "ace"; + +$t = ""; +eval q{ + use XS::APItest qw(swaptwostmts); + $t .= "a"; + goto x; + $t .= "b"; + swaptwostmts + $t .= "c"; + x: + $t .= "d"; + $t .= "e"; +}; +is $@, ""; +is $t, "adce"; + 1; diff --git a/global.sym b/global.sym index a5319b5f7c..52eda8fa4d 100644 --- a/global.sym +++ b/global.sym @@ -421,6 +421,7 @@ Perl_pack_cat Perl_packlist Perl_pad_findmy Perl_pad_push +Perl_parse_barestmt Perl_parse_block Perl_parse_fullstmt Perl_parse_stmtseq @@ -49,18 +49,36 @@ case 2: case 8: #line 173 "perly.y" { + PL_pad_reset_pending = TRUE; PL_eval_root = (ps[(3) - (3)].val.opval); (yyval.ival) = 0; + yyunlex(); + parser->yychar = YYEOF; ;} break; case 9: -#line 182 "perly.y" - { (yyval.ival) = (ps[(1) - (2)].val.ival); newPROG(block_end((ps[(1) - (2)].val.ival),(ps[(2) - (2)].val.opval))); ;} +#line 181 "perly.y" + { + parser->expect = XSTATE; + ;} break; case 10: -#line 187 "perly.y" +#line 185 "perly.y" + { + PL_eval_root = (ps[(3) - (3)].val.opval); + (yyval.ival) = 0; + ;} + break; + + case 11: +#line 194 "perly.y" + { (yyval.ival) = (ps[(1) - (2)].val.ival); newPROG(block_end((ps[(1) - (2)].val.ival),(ps[(2) - (2)].val.opval))); ;} + break; + + case 12: +#line 199 "perly.y" { if (PL_parser->copline > (line_t)IVAL((ps[(1) - (4)].val.i_tkval))) PL_parser->copline = (line_t)IVAL((ps[(1) - (4)].val.i_tkval)); (yyval.opval) = block_end((ps[(2) - (4)].val.ival), (ps[(3) - (4)].val.opval)); @@ -69,25 +87,25 @@ case 2: ;} break; - case 11: -#line 196 "perly.y" + case 13: +#line 208 "perly.y" { (yyval.ival) = block_start(TRUE); ;} break; - case 12: -#line 200 "perly.y" + case 14: +#line 212 "perly.y" { (yyval.ival) = (I32) Perl_allocmy(aTHX_ STR_WITH_LEN("$_"), 0); ;} break; - case 13: -#line 204 "perly.y" + case 15: +#line 216 "perly.y" { PL_parser->expect = XSTATE; (yyval.ival) = block_start(TRUE); ;} break; - case 14: -#line 211 "perly.y" + case 16: +#line 223 "perly.y" { if (PL_parser->copline > (line_t)IVAL((ps[(1) - (4)].val.i_tkval))) PL_parser->copline = (line_t)IVAL((ps[(1) - (4)].val.i_tkval)); (yyval.opval) = block_end((ps[(2) - (4)].val.ival), (ps[(3) - (4)].val.opval)); @@ -96,18 +114,18 @@ case 2: ;} break; - case 15: -#line 220 "perly.y" + case 17: +#line 232 "perly.y" { (yyval.ival) = block_start(FALSE); ;} break; - case 16: -#line 225 "perly.y" + case 18: +#line 237 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 17: -#line 227 "perly.y" + case 19: +#line 239 "perly.y" { (yyval.opval) = op_append_list(OP_LINESEQ, (ps[(1) - (2)].val.opval), (ps[(2) - (2)].val.opval)); PL_pad_reset_pending = TRUE; if ((ps[(1) - (2)].val.opval) && (ps[(2) - (2)].val.opval)) @@ -115,8 +133,8 @@ case 2: ;} break; - case 18: -#line 236 "perly.y" + case 20: +#line 248 "perly.y" { if (PVAL((ps[(1) - (2)].val.p_tkval)) || (ps[(2) - (2)].val.opval)) { (yyval.opval) = newSTATEOP(0, PVAL((ps[(1) - (2)].val.p_tkval)), (ps[(2) - (2)].val.opval)); @@ -128,21 +146,21 @@ case 2: ;} break; - case 19: -#line 249 "perly.y" + case 21: +#line 261 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 20: -#line 251 "perly.y" + case 22: +#line 263 "perly.y" { (yyval.opval) = newOP(OP_NULL,0); TOKEN_GETMAD((ps[(1) - (1)].val.i_tkval),(yyval.opval),'p'); ;} break; - case 21: -#line 256 "perly.y" + case 23: +#line 268 "perly.y" { CV *fmtcv = PL_compcv; SvREFCNT_inc_simple_void(PL_compcv); @@ -162,8 +180,8 @@ case 2: ;} break; - case 22: -#line 274 "perly.y" + case 24: +#line 286 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); #ifdef MAD @@ -186,8 +204,8 @@ case 2: ;} break; - case 23: -#line 295 "perly.y" + case 25: +#line 307 "perly.y" { /* Unimplemented "my sub foo { }" */ SvREFCNT_inc_simple_void(PL_compcv); @@ -201,8 +219,8 @@ case 2: ;} break; - case 24: -#line 307 "perly.y" + case 26: +#line 319 "perly.y" { #ifdef MAD (yyval.opval) = package((ps[(3) - (4)].val.opval)); @@ -219,13 +237,13 @@ case 2: ;} break; - case 25: -#line 322 "perly.y" + case 27: +#line 334 "perly.y" { CvSPECIAL_on(PL_compcv); /* It's a BEGIN {} */ ;} break; - case 26: -#line 324 "perly.y" + case 28: +#line 336 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); #ifdef MAD @@ -242,8 +260,8 @@ case 2: ;} break; - case 27: -#line 339 "perly.y" + case 29: +#line 351 "perly.y" { (yyval.opval) = block_end((ps[(3) - (7)].val.ival), newCONDOP(0, (ps[(4) - (7)].val.opval), scope((ps[(6) - (7)].val.opval)), (ps[(7) - (7)].val.opval))); TOKEN_GETMAD((ps[(1) - (7)].val.i_tkval),(yyval.opval),'I'); @@ -253,8 +271,8 @@ case 2: ;} break; - case 28: -#line 347 "perly.y" + case 30: +#line 359 "perly.y" { (yyval.opval) = block_end((ps[(3) - (7)].val.ival), newCONDOP(0, (ps[(4) - (7)].val.opval), scope((ps[(6) - (7)].val.opval)), (ps[(7) - (7)].val.opval))); TOKEN_GETMAD((ps[(1) - (7)].val.i_tkval),(yyval.opval),'I'); @@ -264,8 +282,8 @@ case 2: ;} break; - case 29: -#line 355 "perly.y" + case 31: +#line 367 "perly.y" { (yyval.opval) = block_end((ps[(3) - (7)].val.ival), newGIVENOP((ps[(5) - (7)].val.opval), scope((ps[(7) - (7)].val.opval)), (PADOFFSET)(ps[(4) - (7)].val.ival))); @@ -273,18 +291,18 @@ case 2: ;} break; - case 30: -#line 361 "perly.y" + case 32: +#line 373 "perly.y" { (yyval.opval) = block_end((ps[(3) - (6)].val.ival), newWHENOP((ps[(4) - (6)].val.opval), scope((ps[(6) - (6)].val.opval)))); ;} break; - case 31: -#line 363 "perly.y" + case 33: +#line 375 "perly.y" { (yyval.opval) = newWHENOP(0, scope((ps[(2) - (2)].val.opval))); ;} break; - case 32: -#line 365 "perly.y" + case 34: +#line 377 "perly.y" { (yyval.opval) = block_end((ps[(3) - (8)].val.ival), newWHILEOP(0, 1, (LOOP*)(OP*)NULL, @@ -296,8 +314,8 @@ case 2: ;} break; - case 33: -#line 375 "perly.y" + case 35: +#line 387 "perly.y" { (yyval.opval) = block_end((ps[(3) - (8)].val.ival), newWHILEOP(0, 1, (LOOP*)(OP*)NULL, @@ -309,8 +327,8 @@ case 2: ;} break; - case 34: -#line 386 "perly.y" + case 36: +#line 398 "perly.y" { OP *initop = IF_MAD((ps[(4) - (11)].val.opval) ? (ps[(4) - (11)].val.opval) : newOP(OP_NULL, 0), (ps[(4) - (11)].val.opval)); OP *forop = newWHILEOP(0, 1, (LOOP*)(OP*)NULL, @@ -332,8 +350,8 @@ case 2: ;} break; - case 35: -#line 406 "perly.y" + case 37: +#line 418 "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))); TOKEN_GETMAD((ps[(1) - (9)].val.i_tkval),(yyval.opval),'W'); @@ -344,8 +362,8 @@ case 2: ;} break; - case 36: -#line 415 "perly.y" + case 38: +#line 427 "perly.y" { (yyval.opval) = block_end((ps[(4) - (8)].val.ival), newFOROP(0, mod((ps[(2) - (8)].val.opval), OP_ENTERLOOP), (ps[(5) - (8)].val.opval), (ps[(7) - (8)].val.opval), (ps[(8) - (8)].val.opval))); @@ -356,8 +374,8 @@ case 2: ;} break; - case 37: -#line 424 "perly.y" + case 39: +#line 436 "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))); @@ -368,8 +386,8 @@ case 2: ;} break; - case 38: -#line 433 "perly.y" + case 40: +#line 445 "perly.y" { /* a block is a loop that happens once */ (yyval.opval) = newWHILEOP(0, 1, (LOOP*)(OP*)NULL, @@ -378,8 +396,8 @@ case 2: ;} break; - case 39: -#line 440 "perly.y" + case 41: +#line 452 "perly.y" { int save_3_latefree = (ps[(3) - (5)].val.opval)->op_latefree; (ps[(3) - (5)].val.opval)->op_latefree = 1; @@ -394,8 +412,8 @@ case 2: ;} break; - case 40: -#line 453 "perly.y" + case 42: +#line 465 "perly.y" { /* a block is a loop that happens once */ (yyval.opval) = newWHILEOP(0, 1, (LOOP*)(OP*)NULL, @@ -410,8 +428,8 @@ case 2: ;} break; - case 41: -#line 466 "perly.y" + case 43: +#line 478 "perly.y" { PL_parser->expect = XSTATE; (yyval.opval) = (ps[(1) - (2)].val.opval); @@ -419,8 +437,8 @@ case 2: ;} break; - case 42: -#line 472 "perly.y" + case 44: +#line 484 "perly.y" { PL_parser->expect = XSTATE; (yyval.opval) = IF_MAD(newOP(OP_NULL, 0), (OP*)NULL); @@ -429,71 +447,71 @@ case 2: ;} break; - case 43: -#line 482 "perly.y" + case 45: +#line 494 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 44: -#line 484 "perly.y" + case 46: +#line 496 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 45: -#line 486 "perly.y" + case 47: +#line 498 "perly.y" { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'i'); ;} break; - case 46: -#line 490 "perly.y" + case 48: +#line 502 "perly.y" { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'i'); ;} break; - case 47: -#line 494 "perly.y" + case 49: +#line 506 "perly.y" { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, scalar((ps[(3) - (3)].val.opval)), (ps[(1) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'w'); ;} break; - case 48: -#line 498 "perly.y" + case 50: +#line 510 "perly.y" { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'w'); ;} break; - case 49: -#line 502 "perly.y" + case 51: +#line 514 "perly.y" { (yyval.opval) = newFOROP(0, (OP*)NULL, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval), (OP*)NULL); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'w'); PL_parser->copline = (line_t)IVAL((ps[(2) - (3)].val.i_tkval)); ;} break; - case 50: -#line 507 "perly.y" + case 52: +#line 519 "perly.y" { (yyval.opval) = newWHENOP((ps[(3) - (3)].val.opval), scope((ps[(1) - (3)].val.opval))); ;} break; - case 51: -#line 512 "perly.y" + case 53: +#line 524 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 52: -#line 514 "perly.y" + case 54: +#line 526 "perly.y" { ((ps[(2) - (2)].val.opval))->op_flags |= OPf_PARENS; (yyval.opval) = scope((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 53: -#line 518 "perly.y" + case 55: +#line 530 "perly.y" { PL_parser->copline = (line_t)IVAL((ps[(1) - (6)].val.i_tkval)); (yyval.opval) = newCONDOP(0, newSTATEOP(OPf_SPECIAL,NULL,(ps[(3) - (6)].val.opval)), scope((ps[(5) - (6)].val.opval)), (ps[(6) - (6)].val.opval)); PL_hints |= HINT_BLOCK_SCOPE; @@ -503,59 +521,59 @@ case 2: ;} break; - case 54: -#line 529 "perly.y" + case 56: +#line 541 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 55: -#line 531 "perly.y" + case 57: +#line 543 "perly.y" { (yyval.opval) = scope((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 56: -#line 538 "perly.y" + case 58: +#line 550 "perly.y" { (yyval.ival) = (PL_min_intro_pending && PL_max_intro_pending >= PL_min_intro_pending); intro_my(); ;} break; - case 57: -#line 544 "perly.y" + case 59: +#line 556 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 59: -#line 550 "perly.y" + case 61: +#line 562 "perly.y" { YYSTYPE tmplval; (void)scan_num("1", &tmplval); (yyval.opval) = tmplval.opval; ;} break; - case 61: -#line 558 "perly.y" + case 63: +#line 570 "perly.y" { (yyval.opval) = invert(scalar((ps[(1) - (1)].val.opval))); ;} break; - case 62: -#line 563 "perly.y" + case 64: +#line 575 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} break; - case 63: -#line 567 "perly.y" + case 65: +#line 579 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} break; - case 64: -#line 571 "perly.y" + case 66: +#line 583 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} break; - case 65: -#line 576 "perly.y" + case 67: +#line 588 "perly.y" { #ifdef MAD YYSTYPE tmplval; @@ -567,36 +585,36 @@ case 2: ;} break; - case 67: -#line 588 "perly.y" + case 69: +#line 600 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 68: -#line 589 "perly.y" + case 70: +#line 601 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 69: -#line 593 "perly.y" + case 71: +#line 605 "perly.y" { (yyval.ival) = start_subparse(FALSE, 0); SAVEFREESV(PL_compcv); ;} break; - case 70: -#line 599 "perly.y" + case 72: +#line 611 "perly.y" { (yyval.ival) = start_subparse(FALSE, CVf_ANON); SAVEFREESV(PL_compcv); ;} break; - case 71: -#line 604 "perly.y" + case 73: +#line 616 "perly.y" { (yyval.ival) = start_subparse(TRUE, 0); SAVEFREESV(PL_compcv); ;} break; - case 72: -#line 609 "perly.y" + case 74: +#line 621 "perly.y" { const char *const name = SvPV_nolen_const(((SVOP*)(ps[(1) - (1)].val.opval))->op_sv); if (strEQ(name, "BEGIN") || strEQ(name, "END") || strEQ(name, "INIT") || strEQ(name, "CHECK") @@ -605,25 +623,25 @@ case 2: (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 73: -#line 619 "perly.y" + case 75: +#line 631 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 75: -#line 625 "perly.y" + case 77: +#line 637 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 76: -#line 627 "perly.y" + case 78: +#line 639 "perly.y" { (yyval.opval) = (ps[(2) - (2)].val.opval); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),':'); ;} break; - case 77: -#line 631 "perly.y" + case 79: +#line 643 "perly.y" { (yyval.opval) = IF_MAD( newOP(OP_NULL, 0), (OP*)NULL @@ -632,15 +650,15 @@ case 2: ;} break; - case 78: -#line 641 "perly.y" + case 80: +#line 653 "perly.y" { (yyval.opval) = (ps[(2) - (2)].val.opval); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),':'); ;} break; - case 79: -#line 645 "perly.y" + case 81: +#line 657 "perly.y" { (yyval.opval) = IF_MAD( newOP(OP_NULL, 0), (OP*)NULL @@ -649,13 +667,13 @@ case 2: ;} break; - case 80: -#line 654 "perly.y" + case 82: +#line 666 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 81: -#line 655 "perly.y" + case 83: +#line 667 "perly.y" { (yyval.opval) = IF_MAD( newOP(OP_NULL,0), (OP*)NULL @@ -665,29 +683,29 @@ case 2: ;} break; - case 82: -#line 666 "perly.y" + case 84: +#line 678 "perly.y" { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 83: -#line 670 "perly.y" + case 85: +#line 682 "perly.y" { (yyval.opval) = newLOGOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 84: -#line 674 "perly.y" + case 86: +#line 686 "perly.y" { (yyval.opval) = newLOGOP(OP_DOR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 86: -#line 682 "perly.y" + case 88: +#line 694 "perly.y" { #ifdef MAD OP* op = newNULLLIST(); @@ -699,8 +717,8 @@ case 2: ;} break; - case 87: -#line 692 "perly.y" + case 89: +#line 704 "perly.y" { OP* term = (ps[(3) - (3)].val.opval); DO_MAD( @@ -711,16 +729,16 @@ case 2: ;} break; - case 89: -#line 705 "perly.y" + case 91: +#line 717 "perly.y" { (yyval.opval) = convert(IVAL((ps[(1) - (3)].val.i_tkval)), OPf_STACKED, op_prepend_elem(OP_LIST, newGVREF(IVAL((ps[(1) - (3)].val.i_tkval)),(ps[(2) - (3)].val.opval)), (ps[(3) - (3)].val.opval)) ); TOKEN_GETMAD((ps[(1) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 90: -#line 710 "perly.y" + case 92: +#line 722 "perly.y" { (yyval.opval) = convert(IVAL((ps[(1) - (5)].val.i_tkval)), OPf_STACKED, op_prepend_elem(OP_LIST, newGVREF(IVAL((ps[(1) - (5)].val.i_tkval)),(ps[(3) - (5)].val.opval)), (ps[(4) - (5)].val.opval)) ); TOKEN_GETMAD((ps[(1) - (5)].val.i_tkval),(yyval.opval),'o'); @@ -729,8 +747,8 @@ case 2: ;} break; - case 91: -#line 717 "perly.y" + case 93: +#line 729 "perly.y" { (yyval.opval) = convert(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)), @@ -741,8 +759,8 @@ case 2: ;} break; - case 92: -#line 726 "perly.y" + case 94: +#line 738 "perly.y" { (yyval.opval) = convert(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, scalar((ps[(1) - (3)].val.opval)), newUNOP(OP_METHOD, 0, (ps[(3) - (3)].val.opval)))); @@ -750,8 +768,8 @@ case 2: ;} break; - case 93: -#line 732 "perly.y" + case 95: +#line 744 "perly.y" { (yyval.opval) = convert(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, (ps[(2) - (3)].val.opval), (ps[(3) - (3)].val.opval)), @@ -759,8 +777,8 @@ case 2: ;} break; - case 94: -#line 738 "perly.y" + case 96: +#line 750 "perly.y" { (yyval.opval) = convert(OP_ENTERSUB, OPf_STACKED, op_append_elem(OP_LIST, op_prepend_elem(OP_LIST, (ps[(2) - (5)].val.opval), (ps[(4) - (5)].val.opval)), @@ -770,15 +788,15 @@ case 2: ;} break; - case 95: -#line 746 "perly.y" + case 97: +#line 758 "perly.y" { (yyval.opval) = convert(IVAL((ps[(1) - (2)].val.i_tkval)), 0, (ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 96: -#line 750 "perly.y" + case 98: +#line 762 "perly.y" { (yyval.opval) = convert(IVAL((ps[(1) - (4)].val.i_tkval)), 0, (ps[(3) - (4)].val.opval)); TOKEN_GETMAD((ps[(1) - (4)].val.i_tkval),(yyval.opval),'o'); TOKEN_GETMAD((ps[(2) - (4)].val.i_tkval),(yyval.opval),'('); @@ -786,22 +804,22 @@ case 2: ;} break; - case 97: -#line 756 "perly.y" + case 99: +#line 768 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); (yyval.opval) = newANONATTRSUB((ps[(2) - (3)].val.ival), 0, (OP*)NULL, (ps[(3) - (3)].val.opval)); ;} break; - case 98: -#line 759 "perly.y" + case 100: +#line 771 "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 101: -#line 774 "perly.y" + case 103: +#line 786 "perly.y" { (yyval.opval) = newBINOP(OP_GELEM, 0, (ps[(1) - (5)].val.opval), scalar((ps[(3) - (5)].val.opval))); PL_parser->expect = XOPERATOR; TOKEN_GETMAD((ps[(2) - (5)].val.i_tkval),(yyval.opval),'{'); @@ -810,16 +828,16 @@ case 2: ;} break; - case 102: -#line 781 "perly.y" + case 104: +#line 793 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, oopsAV((ps[(1) - (4)].val.opval)), scalar((ps[(3) - (4)].val.opval))); TOKEN_GETMAD((ps[(2) - (4)].val.i_tkval),(yyval.opval),'['); TOKEN_GETMAD((ps[(4) - (4)].val.i_tkval),(yyval.opval),']'); ;} break; - case 103: -#line 786 "perly.y" + case 105: +#line 798 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, ref(newAVREF((ps[(1) - (5)].val.opval)),OP_RV2AV), scalar((ps[(4) - (5)].val.opval))); @@ -829,8 +847,8 @@ case 2: ;} break; - case 104: -#line 794 "perly.y" + case 106: +#line 806 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, ref(newAVREF((ps[(1) - (4)].val.opval)),OP_RV2AV), scalar((ps[(3) - (4)].val.opval))); @@ -839,8 +857,8 @@ case 2: ;} break; - case 105: -#line 801 "perly.y" + case 107: +#line 813 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, oopsHV((ps[(1) - (5)].val.opval)), jmaybe((ps[(3) - (5)].val.opval))); PL_parser->expect = XOPERATOR; TOKEN_GETMAD((ps[(2) - (5)].val.i_tkval),(yyval.opval),'{'); @@ -849,8 +867,8 @@ case 2: ;} break; - case 106: -#line 808 "perly.y" + case 108: +#line 820 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, ref(newHVREF((ps[(1) - (6)].val.opval)),OP_RV2HV), jmaybe((ps[(4) - (6)].val.opval))); @@ -862,8 +880,8 @@ case 2: ;} break; - case 107: -#line 818 "perly.y" + case 109: +#line 830 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, ref(newHVREF((ps[(1) - (5)].val.opval)),OP_RV2HV), jmaybe((ps[(3) - (5)].val.opval))); @@ -874,8 +892,8 @@ case 2: ;} break; - case 108: -#line 827 "perly.y" + case 110: +#line 839 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, newCVREF(0, scalar((ps[(1) - (4)].val.opval)))); TOKEN_GETMAD((ps[(2) - (4)].val.i_tkval),(yyval.opval),'a'); @@ -884,8 +902,8 @@ case 2: ;} break; - case 109: -#line 834 "perly.y" + case 111: +#line 846 "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))))); @@ -895,8 +913,8 @@ case 2: ;} break; - case 110: -#line 843 "perly.y" + case 112: +#line 855 "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))))); @@ -905,8 +923,8 @@ case 2: ;} break; - case 111: -#line 850 "perly.y" + case 113: +#line 862 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, newCVREF(0, scalar((ps[(1) - (3)].val.opval)))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'('); @@ -914,8 +932,8 @@ case 2: ;} break; - case 112: -#line 856 "perly.y" + case 114: +#line 868 "perly.y" { (yyval.opval) = newSLICEOP(0, (ps[(5) - (6)].val.opval), (ps[(2) - (6)].val.opval)); TOKEN_GETMAD((ps[(1) - (6)].val.i_tkval),(yyval.opval),'('); TOKEN_GETMAD((ps[(3) - (6)].val.i_tkval),(yyval.opval),')'); @@ -924,16 +942,16 @@ case 2: ;} break; - case 113: -#line 863 "perly.y" + case 115: +#line 875 "perly.y" { (yyval.opval) = newSLICEOP(0, (ps[(3) - (4)].val.opval), (ps[(1) - (4)].val.opval)); TOKEN_GETMAD((ps[(2) - (4)].val.i_tkval),(yyval.opval),'['); TOKEN_GETMAD((ps[(4) - (4)].val.i_tkval),(yyval.opval),']'); ;} break; - case 114: -#line 868 "perly.y" + case 116: +#line 880 "perly.y" { (yyval.opval) = newSLICEOP(0, (ps[(4) - (5)].val.opval), (OP*)NULL); TOKEN_GETMAD((ps[(1) - (5)].val.i_tkval),(yyval.opval),'('); TOKEN_GETMAD((ps[(2) - (5)].val.i_tkval),(yyval.opval),')'); @@ -942,22 +960,22 @@ case 2: ;} break; - case 115: -#line 878 "perly.y" + case 117: +#line 890 "perly.y" { (yyval.opval) = newASSIGNOP(OPf_STACKED, (ps[(1) - (3)].val.opval), IVAL((ps[(2) - (3)].val.i_tkval)), (ps[(3) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 116: -#line 882 "perly.y" + case 118: +#line 894 "perly.y" { (yyval.opval) = newBINOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 117: -#line 886 "perly.y" + case 119: +#line 898 "perly.y" { if (IVAL((ps[(2) - (3)].val.i_tkval)) != OP_REPEAT) scalar((ps[(1) - (3)].val.opval)); (yyval.opval) = newBINOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, (ps[(1) - (3)].val.opval), scalar((ps[(3) - (3)].val.opval))); @@ -965,50 +983,50 @@ case 2: ;} break; - case 118: -#line 892 "perly.y" + case 120: +#line 904 "perly.y" { (yyval.opval) = newBINOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 119: -#line 896 "perly.y" + case 121: +#line 908 "perly.y" { (yyval.opval) = newBINOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 120: -#line 900 "perly.y" + case 122: +#line 912 "perly.y" { (yyval.opval) = newBINOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 121: -#line 904 "perly.y" + case 123: +#line 916 "perly.y" { (yyval.opval) = newBINOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 122: -#line 908 "perly.y" + case 124: +#line 920 "perly.y" { (yyval.opval) = newBINOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 123: -#line 912 "perly.y" + case 125: +#line 924 "perly.y" { (yyval.opval) = newBINOP(IVAL((ps[(2) - (3)].val.i_tkval)), 0, scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 124: -#line 916 "perly.y" + case 126: +#line 928 "perly.y" { (yyval.opval) = newRANGE(IVAL((ps[(2) - (3)].val.i_tkval)), scalar((ps[(1) - (3)].val.opval)), scalar((ps[(3) - (3)].val.opval))); DO_MAD({ @@ -1022,29 +1040,29 @@ case 2: ;} break; - case 125: -#line 928 "perly.y" + case 127: +#line 940 "perly.y" { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 126: -#line 932 "perly.y" + case 128: +#line 944 "perly.y" { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 127: -#line 936 "perly.y" + case 129: +#line 948 "perly.y" { (yyval.opval) = newLOGOP(OP_DOR, 0, (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 128: -#line 940 "perly.y" + case 130: +#line 952 "perly.y" { (yyval.opval) = bind_match(IVAL((ps[(2) - (3)].val.i_tkval)), (ps[(1) - (3)].val.opval), (ps[(3) - (3)].val.opval)); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval), ((yyval.opval)->op_type == OP_NOT @@ -1053,15 +1071,15 @@ case 2: ;} break; - case 129: -#line 950 "perly.y" + case 131: +#line 962 "perly.y" { (yyval.opval) = newUNOP(OP_NEGATE, 0, scalar((ps[(2) - (2)].val.opval))); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 130: -#line 954 "perly.y" + case 132: +#line 966 "perly.y" { (yyval.opval) = IF_MAD( newUNOP(OP_NULL, 0, (ps[(2) - (2)].val.opval)), (ps[(2) - (2)].val.opval) @@ -1070,70 +1088,70 @@ case 2: ;} break; - case 131: -#line 961 "perly.y" + case 133: +#line 973 "perly.y" { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[(2) - (2)].val.opval))); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 132: -#line 965 "perly.y" + case 134: +#line 977 "perly.y" { (yyval.opval) = newUNOP(OP_COMPLEMENT, 0, scalar((ps[(2) - (2)].val.opval))); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 133: -#line 969 "perly.y" + case 135: +#line 981 "perly.y" { (yyval.opval) = newUNOP(OP_POSTINC, 0, mod(scalar((ps[(1) - (2)].val.opval)), OP_POSTINC)); TOKEN_GETMAD((ps[(2) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 134: -#line 974 "perly.y" + case 136: +#line 986 "perly.y" { (yyval.opval) = newUNOP(OP_POSTDEC, 0, mod(scalar((ps[(1) - (2)].val.opval)), OP_POSTDEC)); TOKEN_GETMAD((ps[(2) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 135: -#line 979 "perly.y" + case 137: +#line 991 "perly.y" { (yyval.opval) = newUNOP(OP_PREINC, 0, mod(scalar((ps[(2) - (2)].val.opval)), OP_PREINC)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 136: -#line 984 "perly.y" + case 138: +#line 996 "perly.y" { (yyval.opval) = newUNOP(OP_PREDEC, 0, mod(scalar((ps[(2) - (2)].val.opval)), OP_PREDEC)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 137: -#line 993 "perly.y" + case 139: +#line 1005 "perly.y" { (yyval.opval) = newANONLIST((ps[(2) - (3)].val.opval)); TOKEN_GETMAD((ps[(1) - (3)].val.i_tkval),(yyval.opval),'['); TOKEN_GETMAD((ps[(3) - (3)].val.i_tkval),(yyval.opval),']'); ;} break; - case 138: -#line 998 "perly.y" + case 140: +#line 1010 "perly.y" { (yyval.opval) = newANONLIST((OP*)NULL); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'['); TOKEN_GETMAD((ps[(2) - (2)].val.i_tkval),(yyval.opval),']'); ;} break; - case 139: -#line 1003 "perly.y" + case 141: +#line 1015 "perly.y" { (yyval.opval) = newANONHASH((ps[(2) - (4)].val.opval)); TOKEN_GETMAD((ps[(1) - (4)].val.i_tkval),(yyval.opval),'{'); TOKEN_GETMAD((ps[(3) - (4)].val.i_tkval),(yyval.opval),';'); @@ -1141,8 +1159,8 @@ case 2: ;} break; - case 140: -#line 1009 "perly.y" + case 142: +#line 1021 "perly.y" { (yyval.opval) = newANONHASH((OP*)NULL); TOKEN_GETMAD((ps[(1) - (3)].val.i_tkval),(yyval.opval),'{'); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),';'); @@ -1150,8 +1168,8 @@ case 2: ;} break; - case 141: -#line 1015 "perly.y" + case 143: +#line 1027 "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)); TOKEN_GETMAD((ps[(1) - (5)].val.i_tkval),(yyval.opval),'o'); @@ -1160,22 +1178,22 @@ case 2: ;} break; - case 142: -#line 1026 "perly.y" + case 144: +#line 1038 "perly.y" { (yyval.opval) = dofile((ps[(2) - (2)].val.opval), IVAL((ps[(1) - (2)].val.i_tkval))); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 143: -#line 1030 "perly.y" + case 145: +#line 1042 "perly.y" { (yyval.opval) = newUNOP(OP_NULL, OPf_SPECIAL, scope((ps[(2) - (2)].val.opval))); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'D'); ;} break; - case 144: -#line 1034 "perly.y" + case 146: +#line 1046 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED, op_prepend_elem(OP_LIST, @@ -1189,8 +1207,8 @@ case 2: ;} break; - case 145: -#line 1046 "perly.y" + case 147: +#line 1058 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED, op_append_elem(OP_LIST, @@ -1205,8 +1223,8 @@ case 2: ;} break; - case 146: -#line 1059 "perly.y" + case 148: +#line 1071 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED, op_prepend_elem(OP_LIST, scalar(newCVREF(0,scalar((ps[(2) - (4)].val.opval)))), (OP*)NULL)); dep(); @@ -1216,8 +1234,8 @@ case 2: ;} break; - case 147: -#line 1067 "perly.y" + case 149: +#line 1079 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED, op_prepend_elem(OP_LIST, (ps[(4) - (5)].val.opval), @@ -1228,86 +1246,86 @@ case 2: ;} break; - case 152: -#line 1083 "perly.y" + case 154: +#line 1095 "perly.y" { (yyval.opval) = newCONDOP(0, (ps[(1) - (5)].val.opval), (ps[(3) - (5)].val.opval), (ps[(5) - (5)].val.opval)); TOKEN_GETMAD((ps[(2) - (5)].val.i_tkval),(yyval.opval),'?'); TOKEN_GETMAD((ps[(4) - (5)].val.i_tkval),(yyval.opval),':'); ;} break; - case 153: -#line 1088 "perly.y" + case 155: +#line 1100 "perly.y" { (yyval.opval) = newUNOP(OP_REFGEN, 0, mod((ps[(2) - (2)].val.opval),OP_REFGEN)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 154: -#line 1092 "perly.y" + case 156: +#line 1104 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 155: -#line 1094 "perly.y" + case 157: +#line 1106 "perly.y" { (yyval.opval) = localize((ps[(2) - (2)].val.opval),IVAL((ps[(1) - (2)].val.i_tkval))); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'k'); ;} break; - case 156: -#line 1098 "perly.y" + case 158: +#line 1110 "perly.y" { (yyval.opval) = sawparens(IF_MAD(newUNOP(OP_NULL,0,(ps[(2) - (3)].val.opval)), (ps[(2) - (3)].val.opval))); TOKEN_GETMAD((ps[(1) - (3)].val.i_tkval),(yyval.opval),'('); TOKEN_GETMAD((ps[(3) - (3)].val.i_tkval),(yyval.opval),')'); ;} break; - case 157: -#line 1103 "perly.y" + case 159: +#line 1115 "perly.y" { (yyval.opval) = IF_MAD(newUNOP(OP_NULL,0,(ps[(1) - (1)].val.opval)), (ps[(1) - (1)].val.opval)); ;} break; - case 158: -#line 1105 "perly.y" + case 160: +#line 1117 "perly.y" { (yyval.opval) = sawparens(newNULLLIST()); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'('); TOKEN_GETMAD((ps[(2) - (2)].val.i_tkval),(yyval.opval),')'); ;} break; - case 159: -#line 1110 "perly.y" + case 161: +#line 1122 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 160: -#line 1112 "perly.y" + case 162: +#line 1124 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 161: -#line 1114 "perly.y" + case 163: +#line 1126 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 162: -#line 1116 "perly.y" + case 164: +#line 1128 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 163: -#line 1118 "perly.y" + case 165: +#line 1130 "perly.y" { (yyval.opval) = newUNOP(OP_AV2ARYLEN, 0, ref((ps[(1) - (1)].val.opval), OP_AV2ARYLEN));;} break; - case 164: -#line 1120 "perly.y" + case 166: +#line 1132 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 165: -#line 1122 "perly.y" + case 167: +#line 1134 "perly.y" { (yyval.opval) = op_prepend_elem(OP_ASLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_ASLICE, 0, @@ -1318,8 +1336,8 @@ case 2: ;} break; - case 166: -#line 1131 "perly.y" + case 168: +#line 1143 "perly.y" { (yyval.opval) = op_prepend_elem(OP_HSLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_HSLICE, 0, @@ -1332,26 +1350,26 @@ case 2: ;} break; - case 167: -#line 1142 "perly.y" + case 169: +#line 1154 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 168: -#line 1144 "perly.y" + case 170: +#line 1156 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, scalar((ps[(1) - (1)].val.opval))); ;} break; - case 169: -#line 1146 "perly.y" + case 171: +#line 1158 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (3)].val.opval))); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'('); TOKEN_GETMAD((ps[(3) - (3)].val.i_tkval),(yyval.opval),')'); ;} break; - case 170: -#line 1151 "perly.y" + case 172: +#line 1163 "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)))); @@ -1366,91 +1384,91 @@ case 2: ;} break; - case 171: -#line 1164 "perly.y" + case 173: +#line 1176 "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)))); TOKEN_GETMAD((ps[(1) - (3)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 172: -#line 1169 "perly.y" + case 174: +#line 1181 "perly.y" { (yyval.opval) = newOP(IVAL((ps[(1) - (1)].val.i_tkval)), OPf_SPECIAL); PL_hints |= HINT_BLOCK_SCOPE; TOKEN_GETMAD((ps[(1) - (1)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 173: -#line 1174 "perly.y" + case 175: +#line 1186 "perly.y" { (yyval.opval) = newLOOPEX(IVAL((ps[(1) - (2)].val.i_tkval)),(ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 174: -#line 1178 "perly.y" + case 176: +#line 1190 "perly.y" { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[(2) - (2)].val.opval))); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 175: -#line 1182 "perly.y" + case 177: +#line 1194 "perly.y" { (yyval.opval) = newOP(IVAL((ps[(1) - (1)].val.i_tkval)), 0); TOKEN_GETMAD((ps[(1) - (1)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 176: -#line 1186 "perly.y" + case 178: +#line 1198 "perly.y" { (yyval.opval) = newUNOP(IVAL((ps[(1) - (2)].val.i_tkval)), 0, (ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 177: -#line 1190 "perly.y" + case 179: +#line 1202 "perly.y" { (yyval.opval) = newUNOP(IVAL((ps[(1) - (2)].val.i_tkval)), 0, (ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 178: -#line 1194 "perly.y" + case 180: +#line 1206 "perly.y" { (yyval.opval) = newOP(OP_REQUIRE, (ps[(1) - (1)].val.i_tkval) ? OPf_SPECIAL : 0); TOKEN_GETMAD((ps[(1) - (1)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 179: -#line 1198 "perly.y" + case 181: +#line 1210 "perly.y" { (yyval.opval) = newUNOP(OP_REQUIRE, (ps[(1) - (2)].val.i_tkval) ? OPf_SPECIAL : 0, (ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 180: -#line 1202 "perly.y" + case 182: +#line 1214 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (1)].val.opval))); ;} break; - case 181: -#line 1204 "perly.y" + case 183: +#line 1216 "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 182: -#line 1207 "perly.y" + case 184: +#line 1219 "perly.y" { (yyval.opval) = newOP(IVAL((ps[(1) - (1)].val.i_tkval)), 0); TOKEN_GETMAD((ps[(1) - (1)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 183: -#line 1211 "perly.y" + case 185: +#line 1223 "perly.y" { (yyval.opval) = newOP(IVAL((ps[(1) - (3)].val.i_tkval)), 0); TOKEN_GETMAD((ps[(1) - (3)].val.i_tkval),(yyval.opval),'o'); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),(yyval.opval),'('); @@ -1458,14 +1476,14 @@ case 2: ;} break; - case 184: -#line 1217 "perly.y" + case 186: +#line 1229 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (1)].val.opval))); ;} break; - case 185: -#line 1220 "perly.y" + case 187: +#line 1232 "perly.y" { (yyval.opval) = (IVAL((ps[(1) - (3)].val.i_tkval)) == OP_NOT) ? newUNOP(IVAL((ps[(1) - (3)].val.i_tkval)), 0, newSVOP(OP_CONST, 0, newSViv(0))) : newOP(IVAL((ps[(1) - (3)].val.i_tkval)), OPf_SPECIAL); @@ -1476,8 +1494,8 @@ case 2: ;} break; - case 186: -#line 1229 "perly.y" + case 188: +#line 1241 "perly.y" { (yyval.opval) = newUNOP(IVAL((ps[(1) - (4)].val.i_tkval)), 0, (ps[(3) - (4)].val.opval)); TOKEN_GETMAD((ps[(1) - (4)].val.i_tkval),(yyval.opval),'o'); TOKEN_GETMAD((ps[(2) - (4)].val.i_tkval),(yyval.opval),'('); @@ -1485,16 +1503,16 @@ case 2: ;} break; - case 187: -#line 1235 "perly.y" + case 189: +#line 1247 "perly.y" { (yyval.opval) = pmruntime((ps[(1) - (4)].val.opval), (ps[(3) - (4)].val.opval), 1); TOKEN_GETMAD((ps[(2) - (4)].val.i_tkval),(yyval.opval),'('); TOKEN_GETMAD((ps[(4) - (4)].val.i_tkval),(yyval.opval),')'); ;} break; - case 190: -#line 1242 "perly.y" + case 192: +#line 1254 "perly.y" { (yyval.opval) = newLISTOP(OP_DIE, 0, newOP(OP_PUSHMARK, 0), newSVOP(OP_CONST, 0, newSVpvs("Unimplemented"))); @@ -1502,8 +1520,8 @@ case 2: ;} break; - case 192: -#line 1252 "perly.y" + case 194: +#line 1264 "perly.y" { (yyval.opval) = my_attrs((ps[(2) - (3)].val.opval),(ps[(3) - (3)].val.opval)); DO_MAD( token_getmad((ps[(1) - (3)].val.i_tkval),(yyval.opval),'d'); @@ -1513,143 +1531,143 @@ case 2: ;} break; - case 193: -#line 1260 "perly.y" + case 195: +#line 1272 "perly.y" { (yyval.opval) = localize((ps[(2) - (2)].val.opval),IVAL((ps[(1) - (2)].val.i_tkval))); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'d'); ;} break; - case 194: -#line 1267 "perly.y" + case 196: +#line 1279 "perly.y" { (yyval.opval) = sawparens((ps[(2) - (3)].val.opval)); TOKEN_GETMAD((ps[(1) - (3)].val.i_tkval),(yyval.opval),'('); TOKEN_GETMAD((ps[(3) - (3)].val.i_tkval),(yyval.opval),')'); ;} break; - case 195: -#line 1272 "perly.y" + case 197: +#line 1284 "perly.y" { (yyval.opval) = sawparens(newNULLLIST()); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'('); TOKEN_GETMAD((ps[(2) - (2)].val.i_tkval),(yyval.opval),')'); ;} break; - case 196: -#line 1277 "perly.y" + case 198: +#line 1289 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 197: -#line 1279 "perly.y" + case 199: +#line 1291 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 198: -#line 1281 "perly.y" + case 200: +#line 1293 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 199: -#line 1286 "perly.y" + case 201: +#line 1298 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 200: -#line 1288 "perly.y" + case 202: +#line 1300 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 201: -#line 1292 "perly.y" + case 203: +#line 1304 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 202: -#line 1294 "perly.y" + case 204: +#line 1306 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 203: -#line 1298 "perly.y" + case 205: +#line 1310 "perly.y" { (yyval.i_tkval) = (ps[(1) - (1)].val.i_tkval); ;} break; - case 204: -#line 1300 "perly.y" + case 206: +#line 1312 "perly.y" { munge_qwlist_to_paren_list((ps[(1) - (1)].val.opval)); ;} break; - case 205: -#line 1302 "perly.y" + case 207: +#line 1314 "perly.y" { (yyval.i_tkval) = (ps[(3) - (3)].val.i_tkval); ;} break; - case 206: -#line 1308 "perly.y" + case 208: +#line 1320 "perly.y" { PL_parser->in_my = 0; (yyval.opval) = my((ps[(1) - (1)].val.opval)); ;} break; - case 207: -#line 1312 "perly.y" + case 209: +#line 1324 "perly.y" { (yyval.opval) = newCVREF(IVAL((ps[(1) - (2)].val.i_tkval)),(ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'&'); ;} break; - case 208: -#line 1318 "perly.y" + case 210: +#line 1330 "perly.y" { (yyval.opval) = newSVREF((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'$'); ;} break; - case 209: -#line 1324 "perly.y" + case 211: +#line 1336 "perly.y" { (yyval.opval) = newAVREF((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'@'); ;} break; - case 210: -#line 1330 "perly.y" + case 212: +#line 1342 "perly.y" { (yyval.opval) = newHVREF((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'%'); ;} break; - case 211: -#line 1336 "perly.y" + case 213: +#line 1348 "perly.y" { (yyval.opval) = newAVREF((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'l'); ;} break; - case 212: -#line 1342 "perly.y" + case 214: +#line 1354 "perly.y" { (yyval.opval) = newGVREF(0,(ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'*'); ;} break; - case 213: -#line 1349 "perly.y" + case 215: +#line 1361 "perly.y" { (yyval.opval) = scalar((ps[(1) - (1)].val.opval)); ;} break; - case 214: -#line 1351 "perly.y" + case 216: +#line 1363 "perly.y" { (yyval.opval) = scalar((ps[(1) - (1)].val.opval)); ;} break; - case 215: -#line 1353 "perly.y" + case 217: +#line 1365 "perly.y" { (yyval.opval) = scope((ps[(1) - (1)].val.opval)); ;} break; - case 216: -#line 1356 "perly.y" + case 218: +#line 1368 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; @@ -42,159 +42,161 @@ enum yytokentype { GRAMPROG = 258, GRAMBLOCK = 259, - GRAMFULLSTMT = 260, - GRAMSTMTSEQ = 261, - WORD = 262, - METHOD = 263, - FUNCMETH = 264, - THING = 265, - PMFUNC = 266, - PRIVATEREF = 267, - QWLIST = 268, - FUNC0SUB = 269, - UNIOPSUB = 270, - LSTOPSUB = 271, - PLUGEXPR = 272, - PLUGSTMT = 273, - LABEL = 274, - FORMAT = 275, - SUB = 276, - ANONSUB = 277, - PACKAGE = 278, - USE = 279, - WHILE = 280, - UNTIL = 281, - IF = 282, - UNLESS = 283, - ELSE = 284, - ELSIF = 285, - CONTINUE = 286, - FOR = 287, - GIVEN = 288, - WHEN = 289, - DEFAULT = 290, - LOOPEX = 291, - DOTDOT = 292, - YADAYADA = 293, - FUNC0 = 294, - FUNC1 = 295, - FUNC = 296, - UNIOP = 297, - LSTOP = 298, - RELOP = 299, - EQOP = 300, - MULOP = 301, - ADDOP = 302, - DOLSHARP = 303, - DO = 304, - HASHBRACK = 305, - NOAMP = 306, - LOCAL = 307, - MY = 308, - MYSUB = 309, - REQUIRE = 310, - COLONATTR = 311, - PREC_LOW = 312, - DOROP = 313, - OROP = 314, - ANDOP = 315, - NOTOP = 316, - ASSIGNOP = 317, - DORDOR = 318, - OROR = 319, - ANDAND = 320, - BITOROP = 321, - BITANDOP = 322, - SHIFTOP = 323, - MATCHOP = 324, - REFGEN = 325, - UMINUS = 326, - POWOP = 327, - POSTDEC = 328, - POSTINC = 329, - PREDEC = 330, - PREINC = 331, - ARROW = 332, - PEG = 333 + GRAMBARESTMT = 260, + GRAMFULLSTMT = 261, + GRAMSTMTSEQ = 262, + WORD = 263, + METHOD = 264, + FUNCMETH = 265, + THING = 266, + PMFUNC = 267, + PRIVATEREF = 268, + QWLIST = 269, + FUNC0SUB = 270, + UNIOPSUB = 271, + LSTOPSUB = 272, + PLUGEXPR = 273, + PLUGSTMT = 274, + LABEL = 275, + FORMAT = 276, + SUB = 277, + ANONSUB = 278, + PACKAGE = 279, + USE = 280, + WHILE = 281, + UNTIL = 282, + IF = 283, + UNLESS = 284, + ELSE = 285, + ELSIF = 286, + CONTINUE = 287, + FOR = 288, + GIVEN = 289, + WHEN = 290, + DEFAULT = 291, + LOOPEX = 292, + DOTDOT = 293, + YADAYADA = 294, + FUNC0 = 295, + FUNC1 = 296, + FUNC = 297, + UNIOP = 298, + LSTOP = 299, + RELOP = 300, + EQOP = 301, + MULOP = 302, + ADDOP = 303, + DOLSHARP = 304, + DO = 305, + HASHBRACK = 306, + NOAMP = 307, + LOCAL = 308, + MY = 309, + MYSUB = 310, + REQUIRE = 311, + COLONATTR = 312, + PREC_LOW = 313, + DOROP = 314, + OROP = 315, + ANDOP = 316, + NOTOP = 317, + ASSIGNOP = 318, + DORDOR = 319, + OROR = 320, + ANDAND = 321, + BITOROP = 322, + BITANDOP = 323, + SHIFTOP = 324, + MATCHOP = 325, + REFGEN = 326, + UMINUS = 327, + POWOP = 328, + POSTDEC = 329, + POSTINC = 330, + PREDEC = 331, + PREINC = 332, + ARROW = 333, + PEG = 334 }; #endif /* Tokens. */ #define GRAMPROG 258 #define GRAMBLOCK 259 -#define GRAMFULLSTMT 260 -#define GRAMSTMTSEQ 261 -#define WORD 262 -#define METHOD 263 -#define FUNCMETH 264 -#define THING 265 -#define PMFUNC 266 -#define PRIVATEREF 267 -#define QWLIST 268 -#define FUNC0SUB 269 -#define UNIOPSUB 270 -#define LSTOPSUB 271 -#define PLUGEXPR 272 -#define PLUGSTMT 273 -#define LABEL 274 -#define FORMAT 275 -#define SUB 276 -#define ANONSUB 277 -#define PACKAGE 278 -#define USE 279 -#define WHILE 280 -#define UNTIL 281 -#define IF 282 -#define UNLESS 283 -#define ELSE 284 -#define ELSIF 285 -#define CONTINUE 286 -#define FOR 287 -#define GIVEN 288 -#define WHEN 289 -#define DEFAULT 290 -#define LOOPEX 291 -#define DOTDOT 292 -#define YADAYADA 293 -#define FUNC0 294 -#define FUNC1 295 -#define FUNC 296 -#define UNIOP 297 -#define LSTOP 298 -#define RELOP 299 -#define EQOP 300 -#define MULOP 301 -#define ADDOP 302 -#define DOLSHARP 303 -#define DO 304 -#define HASHBRACK 305 -#define NOAMP 306 -#define LOCAL 307 -#define MY 308 -#define MYSUB 309 -#define REQUIRE 310 -#define COLONATTR 311 -#define PREC_LOW 312 -#define DOROP 313 -#define OROP 314 -#define ANDOP 315 -#define NOTOP 316 -#define ASSIGNOP 317 -#define DORDOR 318 -#define OROR 319 -#define ANDAND 320 -#define BITOROP 321 -#define BITANDOP 322 -#define SHIFTOP 323 -#define MATCHOP 324 -#define REFGEN 325 -#define UMINUS 326 -#define POWOP 327 -#define POSTDEC 328 -#define POSTINC 329 -#define PREDEC 330 -#define PREINC 331 -#define ARROW 332 -#define PEG 333 +#define GRAMBARESTMT 260 +#define GRAMFULLSTMT 261 +#define GRAMSTMTSEQ 262 +#define WORD 263 +#define METHOD 264 +#define FUNCMETH 265 +#define THING 266 +#define PMFUNC 267 +#define PRIVATEREF 268 +#define QWLIST 269 +#define FUNC0SUB 270 +#define UNIOPSUB 271 +#define LSTOPSUB 272 +#define PLUGEXPR 273 +#define PLUGSTMT 274 +#define LABEL 275 +#define FORMAT 276 +#define SUB 277 +#define ANONSUB 278 +#define PACKAGE 279 +#define USE 280 +#define WHILE 281 +#define UNTIL 282 +#define IF 283 +#define UNLESS 284 +#define ELSE 285 +#define ELSIF 286 +#define CONTINUE 287 +#define FOR 288 +#define GIVEN 289 +#define WHEN 290 +#define DEFAULT 291 +#define LOOPEX 292 +#define DOTDOT 293 +#define YADAYADA 294 +#define FUNC0 295 +#define FUNC1 296 +#define FUNC 297 +#define UNIOP 298 +#define LSTOP 299 +#define RELOP 300 +#define EQOP 301 +#define MULOP 302 +#define ADDOP 303 +#define DOLSHARP 304 +#define DO 305 +#define HASHBRACK 306 +#define NOAMP 307 +#define LOCAL 308 +#define MY 309 +#define MYSUB 310 +#define REQUIRE 311 +#define COLONATTR 312 +#define PREC_LOW 313 +#define DOROP 314 +#define OROP 315 +#define ANDOP 316 +#define NOTOP 317 +#define ASSIGNOP 318 +#define DORDOR 319 +#define OROR 320 +#define ANDAND 321 +#define BITOROP 322 +#define BITANDOP 323 +#define SHIFTOP 324 +#define MATCHOP 325 +#define REFGEN 326 +#define UMINUS 327 +#define POWOP 328 +#define POSTDEC 329 +#define POSTINC 330 +#define PREDEC 331 +#define PREINC 332 +#define ARROW 333 +#define PEG 334 @@ -1,19 +1,19 @@ -#define YYFINAL 11 +#define YYFINAL 13 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 2180 +#define YYLAST 2112 /* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 98 +#define YYNTOKENS 99 /* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 62 +#define YYNNTS 63 /* YYNRULES -- Number of rules. */ -#define YYNRULES 216 +#define YYNRULES 218 /* YYNRULES -- Number of states. */ -#define YYNSTATES 438 +#define YYNSTATES 441 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 -#define YYMAXUTOK 333 +#define YYMAXUTOK 334 #define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) @@ -24,16 +24,16 @@ static const yytype_uint8 yytranslate[] = 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 85, 2, 2, 13, 15, 17, 2, - 96, 95, 16, 12, 74, 11, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 77, 18, - 2, 2, 2, 76, 14, 2, 2, 2, 2, 2, + 2, 2, 2, 86, 2, 2, 14, 16, 18, 2, + 97, 96, 17, 13, 75, 12, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 78, 19, + 2, 2, 2, 77, 15, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 9, 2, 10, 2, 2, 2, 2, 2, 2, + 2, 10, 2, 11, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 7, 2, 8, 86, 2, 2, 2, + 2, 2, 2, 8, 2, 9, 87, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -47,14 +47,14 @@ static const yytype_uint8 yytranslate[] = 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, - 5, 6, 19, 20, 21, 22, 23, 24, 25, 26, + 5, 6, 7, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 75, 78, 79, - 80, 81, 82, 83, 84, 87, 88, 89, 90, 91, - 92, 93, 94, 97 + 67, 68, 69, 70, 71, 72, 73, 74, 76, 79, + 80, 81, 82, 83, 84, 85, 88, 89, 90, 91, + 92, 93, 94, 95, 98 }; #if YYDEBUG @@ -63,134 +63,135 @@ static const yytype_uint8 yytranslate[] = static const yytype_uint16 yyprhs[] = { 0, 0, 3, 6, 7, 11, 12, 16, 17, 21, - 24, 29, 30, 31, 32, 37, 38, 39, 42, 45, - 47, 49, 54, 61, 68, 73, 74, 82, 90, 98, - 106, 113, 116, 125, 134, 146, 156, 165, 173, 176, - 177, 186, 189, 191, 193, 195, 199, 203, 207, 211, - 215, 219, 220, 223, 230, 231, 234, 235, 236, 238, - 239, 241, 243, 245, 247, 249, 250, 252, 254, 255, - 256, 257, 258, 260, 261, 263, 264, 267, 269, 272, - 274, 276, 278, 282, 286, 290, 292, 295, 299, 301, - 305, 311, 318, 322, 326, 332, 335, 340, 341, 347, - 349, 351, 357, 362, 368, 373, 379, 386, 392, 397, - 403, 408, 412, 419, 424, 430, 434, 438, 442, 446, - 450, 454, 458, 462, 466, 470, 474, 478, 482, 486, - 489, 492, 495, 498, 501, 504, 507, 510, 514, 517, - 522, 526, 532, 535, 538, 543, 549, 554, 560, 562, - 564, 566, 568, 574, 577, 579, 582, 586, 588, 591, - 593, 595, 597, 599, 601, 603, 608, 614, 616, 618, - 622, 627, 631, 633, 636, 639, 641, 644, 647, 649, - 652, 654, 657, 659, 663, 665, 669, 674, 679, 681, - 683, 685, 687, 691, 694, 698, 701, 703, 705, 707, - 708, 710, 711, 713, 715, 716, 720, 722, 725, 728, - 731, 734, 737, 740, 742, 744, 746 + 22, 26, 29, 34, 35, 36, 37, 42, 43, 44, + 47, 50, 52, 54, 59, 66, 73, 78, 79, 87, + 95, 103, 111, 118, 121, 130, 139, 151, 161, 170, + 178, 181, 182, 191, 194, 196, 198, 200, 204, 208, + 212, 216, 220, 224, 225, 228, 235, 236, 239, 240, + 241, 243, 244, 246, 248, 250, 252, 254, 255, 257, + 259, 260, 261, 262, 263, 265, 266, 268, 269, 272, + 274, 277, 279, 281, 283, 287, 291, 295, 297, 300, + 304, 306, 310, 316, 323, 327, 331, 337, 340, 345, + 346, 352, 354, 356, 362, 367, 373, 378, 384, 391, + 397, 402, 408, 413, 417, 424, 429, 435, 439, 443, + 447, 451, 455, 459, 463, 467, 471, 475, 479, 483, + 487, 491, 494, 497, 500, 503, 506, 509, 512, 515, + 519, 522, 527, 531, 537, 540, 543, 548, 554, 559, + 565, 567, 569, 571, 573, 579, 582, 584, 587, 591, + 593, 596, 598, 600, 602, 604, 606, 608, 613, 619, + 621, 623, 627, 632, 636, 638, 641, 644, 646, 649, + 652, 654, 657, 659, 662, 664, 668, 670, 674, 679, + 684, 686, 688, 690, 692, 696, 699, 703, 706, 708, + 710, 712, 713, 715, 716, 718, 720, 721, 725, 727, + 730, 733, 736, 739, 742, 745, 747, 749, 751 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yytype_int16 yyrhs[] = { - 99, 0, -1, 3, 103, -1, -1, 4, 100, 104, - -1, -1, 5, 101, 111, -1, -1, 6, 102, 110, - -1, 107, 110, -1, 7, 105, 110, 8, -1, -1, - -1, -1, 7, 109, 110, 8, -1, -1, -1, 110, - 111, -1, 125, 112, -1, 30, -1, 97, -1, 32, - 129, 126, 104, -1, 33, 127, 130, 131, 132, 134, - -1, 66, 127, 130, 131, 132, 134, -1, 35, 19, - 19, 18, -1, -1, 36, 127, 113, 19, 19, 148, - 18, -1, 39, 150, 105, 122, 95, 108, 116, -1, - 40, 150, 105, 124, 95, 108, 116, -1, 45, 150, - 105, 106, 122, 95, 108, -1, 46, 150, 105, 122, - 95, 108, -1, 47, 104, -1, 37, 150, 105, 120, - 95, 118, 108, 117, -1, 38, 150, 105, 121, 95, - 118, 108, 117, -1, 44, 150, 105, 123, 18, 120, - 18, 118, 123, 95, 108, -1, 44, 65, 105, 152, - 150, 122, 95, 108, 117, -1, 44, 154, 150, 105, - 122, 95, 108, 117, -1, 44, 150, 105, 122, 95, - 108, 117, -1, 104, 117, -1, -1, 35, 19, 19, - 7, 105, 114, 110, 8, -1, 115, 18, -1, 18, - -1, 1, -1, 135, -1, 135, 39, 135, -1, 135, - 40, 135, -1, 135, 37, 135, -1, 135, 38, 121, - -1, 135, 44, 135, -1, 135, 46, 135, -1, -1, - 41, 108, -1, 42, 150, 122, 95, 108, 116, -1, - -1, 43, 104, -1, -1, -1, 115, -1, -1, 135, - -1, 135, -1, 135, -1, 119, -1, 121, -1, -1, - 31, -1, 19, -1, -1, -1, -1, -1, 19, -1, - -1, 22, -1, -1, 68, 22, -1, 68, -1, 68, - 22, -1, 68, -1, 104, -1, 18, -1, 135, 72, - 135, -1, 135, 71, 135, -1, 135, 70, 135, -1, - 136, -1, 136, 74, -1, 136, 74, 145, -1, 145, - -1, 55, 159, 136, -1, 53, 96, 159, 135, 95, - -1, 145, 94, 139, 150, 149, 95, -1, 145, 94, - 139, -1, 20, 159, 148, -1, 21, 159, 96, 149, - 95, -1, 55, 148, -1, 53, 96, 149, 95, -1, - -1, 28, 128, 104, 138, 148, -1, 20, -1, 154, - -1, 158, 7, 135, 18, 8, -1, 154, 9, 135, - 10, -1, 145, 94, 9, 135, 10, -1, 140, 9, - 135, 10, -1, 154, 7, 135, 18, 8, -1, 145, - 94, 7, 135, 18, 8, -1, 140, 7, 135, 18, - 8, -1, 145, 94, 96, 95, -1, 145, 94, 96, - 135, 95, -1, 140, 150, 135, 95, -1, 140, 150, - 95, -1, 96, 135, 95, 9, 135, 10, -1, 25, - 9, 135, 10, -1, 96, 95, 9, 135, 10, -1, - 145, 75, 145, -1, 145, 89, 145, -1, 145, 58, - 145, -1, 145, 59, 145, -1, 145, 83, 145, -1, - 145, 56, 145, -1, 145, 57, 145, -1, 145, 82, - 145, -1, 145, 81, 145, -1, 145, 49, 145, -1, - 145, 80, 145, -1, 145, 79, 145, -1, 145, 78, - 145, -1, 145, 84, 145, -1, 11, 145, -1, 12, - 145, -1, 85, 145, -1, 86, 145, -1, 145, 91, - -1, 145, 90, -1, 93, 145, -1, 92, 145, -1, - 9, 135, 10, -1, 9, 10, -1, 62, 135, 18, - 8, -1, 62, 18, 8, -1, 34, 128, 131, 132, - 104, -1, 61, 145, -1, 61, 104, -1, 61, 19, - 150, 95, -1, 61, 19, 150, 135, 95, -1, 61, - 154, 150, 95, -1, 61, 154, 150, 135, 95, -1, - 141, -1, 142, -1, 143, -1, 144, -1, 145, 76, - 145, 77, 145, -1, 87, 145, -1, 146, -1, 64, - 145, -1, 96, 135, 95, -1, 25, -1, 96, 95, - -1, 154, -1, 158, -1, 156, -1, 155, -1, 157, - -1, 140, -1, 155, 9, 135, 10, -1, 155, 7, - 135, 18, 8, -1, 22, -1, 153, -1, 153, 150, - 95, -1, 153, 150, 135, 95, -1, 63, 19, 148, - -1, 48, -1, 48, 145, -1, 73, 136, -1, 54, - -1, 54, 104, -1, 54, 145, -1, 67, -1, 67, - 145, -1, 27, -1, 27, 145, -1, 51, -1, 51, - 96, 95, -1, 26, -1, 52, 96, 95, -1, 52, - 96, 135, 95, -1, 23, 96, 136, 95, -1, 19, - -1, 137, -1, 50, -1, 29, -1, 65, 147, 133, - -1, 65, 147, -1, 96, 135, 95, -1, 96, 95, - -1, 154, -1, 156, -1, 155, -1, -1, 136, -1, - -1, 135, -1, 96, -1, -1, 25, 151, 96, -1, - 154, -1, 17, 159, -1, 13, 159, -1, 14, 159, - -1, 15, 159, -1, 60, 159, -1, 16, 159, -1, - 19, -1, 154, -1, 104, -1, 24, -1 + 100, 0, -1, 3, 105, -1, -1, 4, 101, 106, + -1, -1, 5, 102, 114, -1, -1, 6, 103, 113, + -1, -1, 7, 104, 112, -1, 109, 112, -1, 8, + 107, 112, 9, -1, -1, -1, -1, 8, 111, 112, + 9, -1, -1, -1, 112, 113, -1, 127, 114, -1, + 31, -1, 98, -1, 33, 131, 128, 106, -1, 34, + 129, 132, 133, 134, 136, -1, 67, 129, 132, 133, + 134, 136, -1, 36, 20, 20, 19, -1, -1, 37, + 129, 115, 20, 20, 150, 19, -1, 40, 152, 107, + 124, 96, 110, 118, -1, 41, 152, 107, 126, 96, + 110, 118, -1, 46, 152, 107, 108, 124, 96, 110, + -1, 47, 152, 107, 124, 96, 110, -1, 48, 106, + -1, 38, 152, 107, 122, 96, 120, 110, 119, -1, + 39, 152, 107, 123, 96, 120, 110, 119, -1, 45, + 152, 107, 125, 19, 122, 19, 120, 125, 96, 110, + -1, 45, 66, 107, 154, 152, 124, 96, 110, 119, + -1, 45, 156, 152, 107, 124, 96, 110, 119, -1, + 45, 152, 107, 124, 96, 110, 119, -1, 106, 119, + -1, -1, 36, 20, 20, 8, 107, 116, 112, 9, + -1, 117, 19, -1, 19, -1, 1, -1, 137, -1, + 137, 40, 137, -1, 137, 41, 137, -1, 137, 38, + 137, -1, 137, 39, 123, -1, 137, 45, 137, -1, + 137, 47, 137, -1, -1, 42, 110, -1, 43, 152, + 124, 96, 110, 118, -1, -1, 44, 106, -1, -1, + -1, 117, -1, -1, 137, -1, 137, -1, 137, -1, + 121, -1, 123, -1, -1, 32, -1, 20, -1, -1, + -1, -1, -1, 20, -1, -1, 23, -1, -1, 69, + 23, -1, 69, -1, 69, 23, -1, 69, -1, 106, + -1, 19, -1, 137, 73, 137, -1, 137, 72, 137, + -1, 137, 71, 137, -1, 138, -1, 138, 75, -1, + 138, 75, 147, -1, 147, -1, 56, 161, 138, -1, + 54, 97, 161, 137, 96, -1, 147, 95, 141, 152, + 151, 96, -1, 147, 95, 141, -1, 21, 161, 150, + -1, 22, 161, 97, 151, 96, -1, 56, 150, -1, + 54, 97, 151, 96, -1, -1, 29, 130, 106, 140, + 150, -1, 21, -1, 156, -1, 160, 8, 137, 19, + 9, -1, 156, 10, 137, 11, -1, 147, 95, 10, + 137, 11, -1, 142, 10, 137, 11, -1, 156, 8, + 137, 19, 9, -1, 147, 95, 8, 137, 19, 9, + -1, 142, 8, 137, 19, 9, -1, 147, 95, 97, + 96, -1, 147, 95, 97, 137, 96, -1, 142, 152, + 137, 96, -1, 142, 152, 96, -1, 97, 137, 96, + 10, 137, 11, -1, 26, 10, 137, 11, -1, 97, + 96, 10, 137, 11, -1, 147, 76, 147, -1, 147, + 90, 147, -1, 147, 59, 147, -1, 147, 60, 147, + -1, 147, 84, 147, -1, 147, 57, 147, -1, 147, + 58, 147, -1, 147, 83, 147, -1, 147, 82, 147, + -1, 147, 50, 147, -1, 147, 81, 147, -1, 147, + 80, 147, -1, 147, 79, 147, -1, 147, 85, 147, + -1, 12, 147, -1, 13, 147, -1, 86, 147, -1, + 87, 147, -1, 147, 92, -1, 147, 91, -1, 94, + 147, -1, 93, 147, -1, 10, 137, 11, -1, 10, + 11, -1, 63, 137, 19, 9, -1, 63, 19, 9, + -1, 35, 130, 133, 134, 106, -1, 62, 147, -1, + 62, 106, -1, 62, 20, 152, 96, -1, 62, 20, + 152, 137, 96, -1, 62, 156, 152, 96, -1, 62, + 156, 152, 137, 96, -1, 143, -1, 144, -1, 145, + -1, 146, -1, 147, 77, 147, 78, 147, -1, 88, + 147, -1, 148, -1, 65, 147, -1, 97, 137, 96, + -1, 26, -1, 97, 96, -1, 156, -1, 160, -1, + 158, -1, 157, -1, 159, -1, 142, -1, 157, 10, + 137, 11, -1, 157, 8, 137, 19, 9, -1, 23, + -1, 155, -1, 155, 152, 96, -1, 155, 152, 137, + 96, -1, 64, 20, 150, -1, 49, -1, 49, 147, + -1, 74, 138, -1, 55, -1, 55, 106, -1, 55, + 147, -1, 68, -1, 68, 147, -1, 28, -1, 28, + 147, -1, 52, -1, 52, 97, 96, -1, 27, -1, + 53, 97, 96, -1, 53, 97, 137, 96, -1, 24, + 97, 138, 96, -1, 20, -1, 139, -1, 51, -1, + 30, -1, 66, 149, 135, -1, 66, 149, -1, 97, + 137, 96, -1, 97, 96, -1, 156, -1, 158, -1, + 157, -1, -1, 138, -1, -1, 137, -1, 97, -1, + -1, 26, 153, 97, -1, 156, -1, 18, 161, -1, + 14, 161, -1, 15, 161, -1, 16, 161, -1, 61, + 161, -1, 17, 161, -1, 20, -1, 156, -1, 106, + -1, 25, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 142, 142, 145, 144, 157, 156, 169, 168, 180, - 186, 196, 200, 204, 210, 220, 225, 226, 235, 248, - 250, 255, 273, 294, 306, 322, 321, 338, 346, 354, - 360, 362, 364, 374, 384, 405, 414, 423, 432, 440, - 439, 465, 471, 481, 483, 485, 489, 493, 497, 501, - 506, 512, 513, 517, 529, 530, 538, 544, 545, 550, - 553, 557, 562, 566, 570, 576, 585, 588, 589, 593, - 599, 604, 609, 619, 620, 625, 626, 630, 640, 644, - 654, 655, 665, 669, 673, 677, 681, 691, 700, 704, - 709, 716, 725, 731, 737, 745, 749, 756, 755, 766, - 767, 771, 780, 785, 793, 800, 807, 817, 826, 833, - 842, 849, 855, 862, 867, 877, 881, 885, 891, 895, - 899, 903, 907, 911, 915, 927, 931, 935, 939, 949, - 953, 960, 964, 968, 973, 978, 983, 992, 997, 1002, - 1008, 1014, 1025, 1029, 1033, 1045, 1058, 1066, 1078, 1079, - 1080, 1081, 1082, 1087, 1091, 1093, 1097, 1102, 1104, 1109, - 1111, 1113, 1115, 1117, 1119, 1121, 1130, 1141, 1143, 1145, - 1150, 1163, 1168, 1173, 1177, 1181, 1185, 1189, 1193, 1197, - 1201, 1203, 1206, 1210, 1216, 1219, 1228, 1234, 1239, 1240, - 1241, 1247, 1251, 1259, 1266, 1271, 1276, 1278, 1280, 1285, - 1287, 1292, 1293, 1297, 1300, 1299, 1307, 1311, 1317, 1323, - 1329, 1335, 1341, 1348, 1350, 1352, 1355 + 0, 142, 142, 145, 144, 157, 156, 169, 168, 181, + 180, 192, 198, 208, 212, 216, 222, 232, 237, 238, + 247, 260, 262, 267, 285, 306, 318, 334, 333, 350, + 358, 366, 372, 374, 376, 386, 396, 417, 426, 435, + 444, 452, 451, 477, 483, 493, 495, 497, 501, 505, + 509, 513, 518, 524, 525, 529, 541, 542, 550, 556, + 557, 562, 565, 569, 574, 578, 582, 588, 597, 600, + 601, 605, 611, 616, 621, 631, 632, 637, 638, 642, + 652, 656, 666, 667, 677, 681, 685, 689, 693, 703, + 712, 716, 721, 728, 737, 743, 749, 757, 761, 768, + 767, 778, 779, 783, 792, 797, 805, 812, 819, 829, + 838, 845, 854, 861, 867, 874, 879, 889, 893, 897, + 903, 907, 911, 915, 919, 923, 927, 939, 943, 947, + 951, 961, 965, 972, 976, 980, 985, 990, 995, 1004, + 1009, 1014, 1020, 1026, 1037, 1041, 1045, 1057, 1070, 1078, + 1090, 1091, 1092, 1093, 1094, 1099, 1103, 1105, 1109, 1114, + 1116, 1121, 1123, 1125, 1127, 1129, 1131, 1133, 1142, 1153, + 1155, 1157, 1162, 1175, 1180, 1185, 1189, 1193, 1197, 1201, + 1205, 1209, 1213, 1215, 1218, 1222, 1228, 1231, 1240, 1246, + 1251, 1252, 1253, 1259, 1263, 1271, 1278, 1283, 1288, 1290, + 1292, 1297, 1299, 1304, 1305, 1309, 1312, 1311, 1319, 1323, + 1329, 1335, 1341, 1347, 1353, 1360, 1362, 1364, 1367 }; #endif @@ -199,29 +200,29 @@ static const yytype_uint16 yyrline[] = First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { - "$end", "error", "$undefined", "GRAMPROG", "GRAMBLOCK", "GRAMFULLSTMT", - "GRAMSTMTSEQ", "'{'", "'}'", "'['", "']'", "'-'", "'+'", "'$'", "'@'", - "'%'", "'*'", "'&'", "';'", "WORD", "METHOD", "FUNCMETH", "THING", - "PMFUNC", "PRIVATEREF", "QWLIST", "FUNC0SUB", "UNIOPSUB", "LSTOPSUB", - "PLUGEXPR", "PLUGSTMT", "LABEL", "FORMAT", "SUB", "ANONSUB", "PACKAGE", - "USE", "WHILE", "UNTIL", "IF", "UNLESS", "ELSE", "ELSIF", "CONTINUE", - "FOR", "GIVEN", "WHEN", "DEFAULT", "LOOPEX", "DOTDOT", "YADAYADA", - "FUNC0", "FUNC1", "FUNC", "UNIOP", "LSTOP", "RELOP", "EQOP", "MULOP", - "ADDOP", "DOLSHARP", "DO", "HASHBRACK", "NOAMP", "LOCAL", "MY", "MYSUB", - "REQUIRE", "COLONATTR", "PREC_LOW", "DOROP", "OROP", "ANDOP", "NOTOP", - "','", "ASSIGNOP", "'?'", "':'", "DORDOR", "OROR", "ANDAND", "BITOROP", - "BITANDOP", "SHIFTOP", "MATCHOP", "'!'", "'~'", "REFGEN", "UMINUS", - "POWOP", "POSTDEC", "POSTINC", "PREDEC", "PREINC", "ARROW", "')'", "'('", - "PEG", "$accept", "grammar", "@1", "@2", "@3", "prog", "block", - "remember", "mydefsv", "progstart", "mblock", "mremember", "stmtseq", - "fullstmt", "barestmt", "@4", "@5", "sideff", "else", "cont", "mintro", - "nexpr", "texpr", "iexpr", "mexpr", "mnexpr", "miexpr", "label", - "formname", "startsub", "startanonsub", "startformsub", "subname", - "proto", "subattrlist", "myattrlist", "subbody", "expr", "argexpr", - "listop", "@6", "method", "subscripted", "termbinop", "termunop", - "anonymous", "termdo", "term", "myattrterm", "myterm", "listexpr", - "listexprcom", "lpar_or_qw", "@7", "my_scalar", "amper", "scalar", "ary", - "hsh", "arylen", "star", "indirob", 0 + "$end", "error", "$undefined", "GRAMPROG", "GRAMBLOCK", "GRAMBARESTMT", + "GRAMFULLSTMT", "GRAMSTMTSEQ", "'{'", "'}'", "'['", "']'", "'-'", "'+'", + "'$'", "'@'", "'%'", "'*'", "'&'", "';'", "WORD", "METHOD", "FUNCMETH", + "THING", "PMFUNC", "PRIVATEREF", "QWLIST", "FUNC0SUB", "UNIOPSUB", + "LSTOPSUB", "PLUGEXPR", "PLUGSTMT", "LABEL", "FORMAT", "SUB", "ANONSUB", + "PACKAGE", "USE", "WHILE", "UNTIL", "IF", "UNLESS", "ELSE", "ELSIF", + "CONTINUE", "FOR", "GIVEN", "WHEN", "DEFAULT", "LOOPEX", "DOTDOT", + "YADAYADA", "FUNC0", "FUNC1", "FUNC", "UNIOP", "LSTOP", "RELOP", "EQOP", + "MULOP", "ADDOP", "DOLSHARP", "DO", "HASHBRACK", "NOAMP", "LOCAL", "MY", + "MYSUB", "REQUIRE", "COLONATTR", "PREC_LOW", "DOROP", "OROP", "ANDOP", + "NOTOP", "','", "ASSIGNOP", "'?'", "':'", "DORDOR", "OROR", "ANDAND", + "BITOROP", "BITANDOP", "SHIFTOP", "MATCHOP", "'!'", "'~'", "REFGEN", + "UMINUS", "POWOP", "POSTDEC", "POSTINC", "PREDEC", "PREINC", "ARROW", + "')'", "'('", "PEG", "$accept", "grammar", "@1", "@2", "@3", "@4", + "prog", "block", "remember", "mydefsv", "progstart", "mblock", + "mremember", "stmtseq", "fullstmt", "barestmt", "@5", "@6", "sideff", + "else", "cont", "mintro", "nexpr", "texpr", "iexpr", "mexpr", "mnexpr", + "miexpr", "label", "formname", "startsub", "startanonsub", + "startformsub", "subname", "proto", "subattrlist", "myattrlist", + "subbody", "expr", "argexpr", "listop", "@7", "method", "subscripted", + "termbinop", "termunop", "anonymous", "termdo", "term", "myattrterm", + "myterm", "listexpr", "listexprcom", "lpar_or_qw", "@8", "my_scalar", + "amper", "scalar", "ary", "hsh", "arylen", "star", "indirob", 0 }; #endif @@ -230,71 +231,71 @@ static const char *const yytname[] = token YYLEX-NUM. */ static const yytype_uint16 yytoknum[] = { - 0, 256, 257, 258, 259, 260, 261, 123, 125, 91, - 93, 45, 43, 36, 64, 37, 42, 38, 59, 262, + 0, 256, 257, 258, 259, 260, 261, 262, 123, 125, + 91, 93, 45, 43, 36, 64, 37, 42, 38, 59, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, - 313, 314, 315, 316, 44, 317, 63, 58, 318, 319, - 320, 321, 322, 323, 324, 33, 126, 325, 326, 327, - 328, 329, 330, 331, 332, 41, 40, 333 + 313, 314, 315, 316, 317, 44, 318, 63, 58, 319, + 320, 321, 322, 323, 324, 325, 33, 126, 326, 327, + 328, 329, 330, 331, 332, 333, 41, 40, 334 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint8 yyr1[] = { - 0, 98, 99, 100, 99, 101, 99, 102, 99, 103, - 104, 105, 106, 107, 108, 109, 110, 110, 111, 112, - 112, 112, 112, 112, 112, 113, 112, 112, 112, 112, - 112, 112, 112, 112, 112, 112, 112, 112, 112, 114, - 112, 112, 112, 115, 115, 115, 115, 115, 115, 115, - 115, 116, 116, 116, 117, 117, 118, 119, 119, 120, - 120, 121, 122, 123, 124, 125, 125, 126, 126, 127, - 128, 129, 130, 131, 131, 132, 132, 132, 133, 133, - 134, 134, 135, 135, 135, 135, 136, 136, 136, 137, - 137, 137, 137, 137, 137, 137, 137, 138, 137, 139, - 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, - 140, 140, 140, 140, 140, 141, 141, 141, 141, 141, - 141, 141, 141, 141, 141, 141, 141, 141, 141, 142, + 0, 99, 100, 101, 100, 102, 100, 103, 100, 104, + 100, 105, 106, 107, 108, 109, 110, 111, 112, 112, + 113, 114, 114, 114, 114, 114, 114, 115, 114, 114, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 116, 114, 114, 114, 117, 117, 117, 117, 117, + 117, 117, 117, 118, 118, 118, 119, 119, 120, 121, + 121, 122, 122, 123, 124, 125, 126, 127, 127, 128, + 128, 129, 130, 131, 132, 133, 133, 134, 134, 134, + 135, 135, 136, 136, 137, 137, 137, 137, 138, 138, + 138, 139, 139, 139, 139, 139, 139, 139, 139, 140, + 139, 141, 141, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 143, 143, 143, - 143, 143, 144, 144, 144, 144, 144, 144, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 146, 146, 147, 147, 147, 147, 147, 148, - 148, 149, 149, 150, 151, 150, 152, 153, 154, 155, - 156, 157, 158, 159, 159, 159, 159 + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 144, 144, 144, 144, 144, 144, 144, 144, 145, + 145, 145, 145, 145, 146, 146, 146, 146, 146, 146, + 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, + 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, + 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, + 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, + 147, 147, 147, 147, 148, 148, 149, 149, 149, 149, + 149, 150, 150, 151, 151, 152, 153, 152, 154, 155, + 156, 157, 158, 159, 160, 161, 161, 161, 161 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const yytype_uint8 yyr2[] = { - 0, 2, 2, 0, 3, 0, 3, 0, 3, 2, - 4, 0, 0, 0, 4, 0, 0, 2, 2, 1, - 1, 4, 6, 6, 4, 0, 7, 7, 7, 7, - 6, 2, 8, 8, 11, 9, 8, 7, 2, 0, - 8, 2, 1, 1, 1, 3, 3, 3, 3, 3, - 3, 0, 2, 6, 0, 2, 0, 0, 1, 0, - 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, - 0, 0, 1, 0, 1, 0, 2, 1, 2, 1, - 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, 3, 2, 4, - 3, 5, 2, 2, 4, 5, 4, 5, 1, 1, - 1, 1, 5, 2, 1, 2, 3, 1, 2, 1, - 1, 1, 1, 1, 1, 4, 5, 1, 1, 3, - 4, 3, 1, 2, 2, 1, 2, 2, 1, 2, - 1, 2, 1, 3, 1, 3, 4, 4, 1, 1, - 1, 1, 3, 2, 3, 2, 1, 1, 1, 0, - 1, 0, 1, 1, 0, 3, 1, 2, 2, 2, - 2, 2, 2, 1, 1, 1, 1 + 0, 2, 2, 0, 3, 0, 3, 0, 3, 0, + 3, 2, 4, 0, 0, 0, 4, 0, 0, 2, + 2, 1, 1, 4, 6, 6, 4, 0, 7, 7, + 7, 7, 6, 2, 8, 8, 11, 9, 8, 7, + 2, 0, 8, 2, 1, 1, 1, 3, 3, 3, + 3, 3, 3, 0, 2, 6, 0, 2, 0, 0, + 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, + 0, 0, 0, 0, 1, 0, 1, 0, 2, 1, + 2, 1, 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, 3, + 2, 4, 3, 5, 2, 2, 4, 5, 4, 5, + 1, 1, 1, 1, 5, 2, 1, 2, 3, 1, + 2, 1, 1, 1, 1, 1, 1, 4, 5, 1, + 1, 3, 4, 3, 1, 2, 2, 1, 2, 2, + 1, 2, 1, 2, 1, 3, 1, 3, 4, 4, + 1, 1, 1, 1, 3, 2, 3, 2, 1, 1, + 1, 0, 1, 0, 1, 1, 0, 3, 1, 2, + 2, 2, 2, 2, 2, 1, 1, 1, 1 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state @@ -302,626 +303,615 @@ static const yytype_uint8 yyr2[] = means the default is an error. */ static const yytype_uint8 yydefact[] = { - 0, 13, 3, 5, 7, 0, 2, 16, 0, 65, - 16, 1, 65, 11, 4, 66, 6, 0, 65, 17, - 16, 43, 0, 0, 0, 0, 0, 0, 0, 0, - 42, 188, 0, 0, 167, 0, 157, 184, 180, 70, - 191, 19, 71, 69, 70, 0, 69, 0, 0, 0, - 0, 0, 0, 0, 0, 172, 190, 182, 0, 0, - 175, 199, 0, 0, 0, 0, 0, 0, 69, 178, - 0, 0, 0, 0, 0, 0, 0, 20, 54, 18, - 0, 44, 85, 189, 164, 148, 149, 150, 151, 88, - 154, 168, 159, 162, 161, 163, 160, 65, 138, 0, - 129, 130, 213, 216, 215, 214, 208, 209, 210, 212, - 207, 199, 0, 0, 0, 181, 0, 68, 0, 73, - 0, 25, 204, 203, 11, 11, 11, 11, 11, 11, - 0, 11, 11, 31, 173, 0, 0, 201, 176, 177, - 213, 200, 95, 214, 0, 211, 188, 143, 142, 159, - 0, 0, 199, 155, 0, 193, 196, 198, 197, 0, - 179, 174, 131, 132, 153, 136, 135, 158, 0, 0, - 38, 41, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 86, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 15, 3, 5, 7, 9, 0, 2, 18, 0, + 0, 67, 18, 1, 67, 13, 4, 45, 0, 0, + 0, 0, 0, 0, 0, 0, 44, 190, 0, 0, + 169, 0, 159, 186, 182, 72, 193, 21, 73, 71, + 72, 0, 71, 0, 0, 0, 0, 0, 0, 0, + 0, 174, 192, 184, 0, 0, 177, 201, 0, 0, + 0, 0, 0, 0, 71, 180, 0, 0, 0, 0, + 0, 0, 0, 22, 56, 6, 0, 46, 87, 191, + 166, 150, 151, 152, 153, 90, 156, 170, 161, 164, + 163, 165, 162, 68, 8, 0, 67, 19, 18, 140, + 0, 131, 132, 215, 218, 217, 216, 210, 211, 212, + 214, 209, 201, 0, 0, 0, 183, 0, 70, 0, + 75, 0, 27, 206, 205, 13, 13, 13, 13, 13, + 13, 0, 13, 13, 33, 175, 0, 0, 203, 178, + 179, 215, 202, 97, 216, 0, 213, 190, 145, 144, + 161, 0, 0, 201, 157, 0, 195, 198, 200, 199, + 0, 181, 176, 133, 134, 155, 138, 137, 160, 0, + 0, 40, 43, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 134, 133, 0, 0, 0, 0, 0, 0, 0, 10, - 137, 93, 201, 0, 0, 97, 67, 0, 72, 73, - 74, 75, 0, 0, 0, 59, 0, 0, 0, 0, - 0, 11, 12, 0, 183, 185, 0, 202, 0, 0, - 89, 0, 0, 140, 0, 171, 195, 0, 79, 192, - 73, 0, 156, 55, 47, 48, 61, 45, 46, 49, - 50, 84, 83, 82, 87, 0, 0, 111, 0, 124, - 120, 121, 117, 118, 115, 0, 127, 126, 125, 123, - 122, 119, 128, 116, 0, 0, 99, 0, 92, 100, - 169, 0, 0, 0, 0, 0, 0, 0, 187, 113, - 199, 21, 75, 77, 0, 11, 24, 0, 205, 0, - 60, 0, 0, 62, 64, 0, 0, 206, 58, 63, - 0, 0, 44, 0, 0, 0, 186, 96, 0, 144, - 0, 146, 0, 139, 194, 78, 75, 0, 0, 0, - 104, 110, 0, 0, 0, 108, 0, 201, 170, 0, - 102, 0, 165, 0, 94, 98, 0, 76, 141, 39, - 199, 56, 56, 0, 0, 0, 0, 59, 0, 0, - 0, 90, 145, 147, 0, 114, 0, 107, 152, 0, - 103, 109, 0, 105, 166, 101, 81, 80, 22, 16, - 0, 0, 0, 15, 51, 51, 0, 54, 0, 0, - 0, 30, 23, 112, 106, 91, 65, 26, 54, 54, - 16, 0, 0, 27, 28, 0, 37, 56, 54, 29, - 40, 32, 33, 65, 52, 0, 54, 0, 36, 14, - 0, 35, 0, 0, 0, 51, 34, 53 + 0, 136, 135, 0, 0, 0, 0, 0, 0, 0, + 20, 67, 139, 95, 203, 0, 0, 99, 69, 0, + 74, 75, 76, 77, 0, 0, 0, 61, 0, 0, + 0, 0, 0, 13, 14, 0, 185, 187, 0, 204, + 0, 0, 91, 0, 0, 142, 0, 173, 197, 0, + 81, 194, 75, 0, 158, 57, 49, 50, 63, 47, + 48, 51, 52, 86, 85, 84, 89, 0, 0, 113, + 0, 126, 122, 123, 119, 120, 117, 0, 129, 128, + 127, 125, 124, 121, 130, 118, 0, 0, 101, 0, + 94, 102, 171, 0, 0, 0, 0, 0, 0, 12, + 0, 189, 115, 201, 23, 77, 79, 0, 13, 26, + 0, 207, 0, 62, 0, 0, 64, 66, 0, 0, + 208, 60, 65, 0, 0, 46, 0, 0, 0, 188, + 98, 0, 146, 0, 148, 0, 141, 196, 80, 77, + 0, 0, 0, 106, 112, 0, 0, 0, 110, 0, + 203, 172, 0, 104, 0, 167, 0, 96, 100, 0, + 78, 143, 41, 201, 58, 58, 0, 0, 0, 0, + 61, 0, 0, 0, 92, 147, 149, 0, 116, 0, + 109, 154, 0, 105, 111, 0, 107, 168, 103, 83, + 82, 24, 18, 0, 0, 0, 17, 53, 53, 0, + 56, 0, 0, 0, 32, 25, 114, 108, 93, 67, + 28, 56, 56, 18, 0, 0, 29, 30, 0, 39, + 58, 56, 31, 42, 34, 35, 67, 54, 0, 56, + 0, 38, 16, 0, 37, 0, 0, 0, 53, 36, + 55 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - -1, 5, 8, 9, 10, 6, 104, 20, 324, 7, - 394, 410, 12, 19, 79, 223, 389, 318, 413, 170, - 391, 319, 309, 255, 312, 321, 315, 17, 217, 118, - 116, 117, 219, 221, 304, 249, 388, 313, 82, 83, - 300, 288, 84, 85, 86, 87, 88, 89, 90, 155, - 142, 238, 124, 224, 316, 91, 92, 93, 94, 95, - 96, 106 + -1, 6, 9, 10, 11, 12, 7, 105, 98, 327, + 8, 397, 413, 14, 97, 75, 225, 392, 76, 416, + 171, 394, 322, 312, 257, 315, 324, 318, 95, 219, + 119, 117, 118, 221, 223, 307, 251, 391, 316, 78, + 79, 303, 290, 80, 81, 82, 83, 84, 85, 86, + 156, 143, 240, 125, 226, 319, 87, 88, 89, 90, + 91, 92, 107 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -350 +#define YYPACT_NINF -372 static const yytype_int16 yypact[] = { - 337, -350, -350, -350, -350, 2, -350, -350, 3, 29, - -350, -350, 13, -350, -350, -350, -350, 433, 93, -350, - -350, -350, 1029, 1905, 1905, 497, 497, 497, 497, 497, - -350, -350, 497, 497, -350, -24, 68, -350, 1905, -350, - -350, -350, -350, -350, -350, 86, -350, -1, -1, -1, - -1, 79, -1, -1, 3, 1905, -350, 5, 22, 37, - 793, 705, 497, 881, 1115, 120, 1905, 7, -350, 1905, - 1905, 1905, 1905, 1905, 1905, 1905, 1201, -350, 106, -350, - 135, 703, 94, -350, 44, -350, -350, -350, -350, 2008, - -350, -1, 170, 193, -350, -350, 178, 23, -350, 38, - 129, 129, -350, -350, -350, -350, -350, -350, -350, -350, - -350, 1905, 84, 1905, 1905, 190, 3, 175, 185, 207, - 216, -350, -350, -350, -350, -350, -350, -350, -350, -350, - -1, -350, -350, -350, 2008, 146, 1289, 705, -350, 190, - 1965, 94, -350, 942, 1905, -350, -1, -350, 190, 82, - 239, 111, 1905, 190, 1377, 174, -350, -350, -350, 185, - 190, 94, 129, 129, 129, 237, 237, 242, 253, 3, - -350, -350, 1905, 1905, 1905, 1905, 1905, 1905, 1905, 1905, - 1905, 1905, 1905, 1905, 1465, 1905, 1905, 1905, 1905, 1905, - 1905, 1905, 1905, 1905, 1905, 1905, 1905, 1905, 1905, 1905, - -350, -350, 58, 1553, 1905, 1905, 1905, 1905, 1905, -350, - -350, -350, 1905, 74, 51, -350, -350, 3, -350, 207, - -350, 187, 95, 246, 160, 1905, 1905, 1905, 1905, 251, - 527, -350, -350, 1905, -350, -350, 304, 313, 188, 1905, - 94, 1641, 1729, -350, 280, -350, -350, 321, 271, -350, - 207, 1905, 289, -350, 313, -350, 313, 313, 313, 313, - 313, 230, 230, -350, 2008, 156, 56, -350, 419, 2086, - 323, 515, 201, 418, 2008, 277, 306, 306, 476, 255, - 600, 314, 129, 129, 1905, 1905, -350, 1817, -1, -350, - -350, 513, 166, 60, 189, 64, 245, 215, -350, -350, - 1905, -350, 187, 307, 3, -350, -350, 328, -350, 275, - 313, 282, 299, 313, -350, 316, -1, -350, -350, -350, - 340, 384, 206, 1905, 1905, 341, -350, -350, 576, -350, - 590, -350, 602, -350, -350, -350, 187, 75, 1905, 324, - -350, -350, 1905, 248, 80, -350, 666, 1905, -350, 401, - -350, 410, -350, 429, -350, -350, 192, -350, -350, -350, - 1905, -350, -350, 431, 431, 1905, 431, 1905, 344, 346, - 431, -350, -350, -350, 192, -350, 161, -350, 2047, 435, - -350, -350, 362, -350, -350, -350, -350, -350, -350, -350, - 446, 431, 431, -350, 173, 173, 379, 106, 457, 431, - 431, -350, -350, -350, -350, -350, 48, -350, 106, 106, - -350, 431, -1, -350, -350, 431, -350, -350, 106, -350, - -350, -350, -350, 165, -350, 1905, 106, 615, -350, -350, - 387, -350, 397, 431, 431, 173, -350, -350 + 799, -372, -372, -372, -372, -372, 34, -372, -372, 33, + 411, 12, -372, -372, 29, -372, -372, -372, 1002, 1878, + 1878, 322, 322, 322, 322, 322, -372, -372, 322, 322, + -372, -44, 44, -372, 1878, -372, -372, -372, -372, -372, + -372, 68, -372, -6, -6, -6, -6, 16, -6, -6, + 33, 1878, -372, -4, 1, 9, 766, 678, 322, 854, + 1088, 87, 1878, 22, -372, 1878, 1878, 1878, 1878, 1878, + 1878, 1878, 1174, -372, 79, -372, 101, 1086, 58, -372, + -3, -372, -372, -372, -372, 1939, -372, -6, 192, 202, + -372, -372, 128, -372, -372, 411, 46, -372, -372, -372, + 28, 183, 183, -372, -372, -372, -372, -372, -372, -372, + -372, -372, 1878, 47, 1878, 1878, 447, 33, 123, 129, + 127, 139, -372, -372, -372, -372, -372, -372, -372, -372, + -372, -6, -372, -372, -372, 1939, 64, 1262, 678, -372, + 447, 314, 58, -372, 915, 1878, -372, -6, -372, 447, + 14, 163, 173, 1878, 447, 1350, 119, -372, -372, -372, + 129, 447, 58, 183, 183, 183, 39, 39, 179, 136, + 33, -372, -372, 1878, 1878, 1878, 1878, 1878, 1878, 1878, + 1878, 1878, 1878, 1878, 1878, 1438, 1878, 1878, 1878, 1878, + 1878, 1878, 1878, 1878, 1878, 1878, 1878, 1878, 1878, 1878, + 1878, -372, -372, 11, 1526, 1878, 1878, 1878, 1878, 1878, + -372, 19, -372, -372, 1878, -17, 45, -372, -372, 33, + -372, 127, -372, 134, 41, 195, 122, 1878, 1878, 1878, + 1878, 209, 500, -372, -372, 1878, -372, -372, 245, 110, + 120, 1878, 58, 1614, 1702, -372, 215, -372, -372, 304, + 204, -372, 127, 1878, 226, -372, 110, -372, 110, 110, + 110, 110, 110, 164, 164, -372, 1939, 230, 75, -372, + 415, 2017, 987, 751, 399, 624, 1939, 1900, 488, 488, + 575, 664, 886, 536, 183, 183, 1878, 1878, -372, 1790, + -6, -372, -372, 486, 272, 81, 296, 114, 382, -372, + 142, -372, -372, 1878, -372, 134, 219, 33, -372, -372, + 234, -372, 154, 110, 184, 189, 110, -372, 196, -6, + -372, -372, -372, 203, 281, 266, 1878, 1878, 212, -372, + -372, 639, -372, 665, -372, 727, -372, -372, -372, 134, + 168, 1878, 311, -372, -372, 1878, 398, 210, -372, 741, + 1878, -372, 312, -372, 317, -372, 320, -372, -372, 76, + -372, -372, -372, 1878, -372, -372, 326, 326, 1878, 326, + 1878, 239, 250, 326, -372, -372, -372, 76, -372, 224, + -372, 1978, 339, -372, -372, 253, -372, -372, -372, -372, + -372, -372, -372, 331, 326, 326, -372, 5, 5, 255, + 79, 337, 326, 326, -372, -372, -372, -372, -372, 65, + -372, 79, 79, -372, 326, -6, -372, -372, 326, -372, + -372, 79, -372, -372, -372, -372, 71, -372, 1878, 79, + 588, -372, -372, 261, -372, 262, 326, 326, 5, -372, + -372 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -350, -350, -350, -350, -350, -350, -5, -89, -350, -350, - -194, -350, -9, 492, -350, -350, -350, 486, -349, -122, - -337, -350, 138, 43, -224, 88, -350, -350, -350, 30, - 467, -350, 354, -125, -295, -350, 143, -17, -38, -350, - -350, -350, -350, -350, -350, -350, -350, 234, -350, -350, - -107, -204, -34, -350, -350, -350, 1, 455, 456, -350, - -350, 55 + -372, -372, -372, -372, -372, -372, -372, 7, -57, -372, + -372, -189, -372, -11, 352, 270, -372, -372, -229, -371, + -102, -361, -372, 8, 0, -217, -60, -372, -372, -372, + 13, 342, -372, 223, -188, -274, -372, 2, -10, -31, + -372, -372, -372, -372, -372, -372, -372, -372, 70, -372, + -372, -110, -208, -35, -372, -372, -372, 265, 325, 344, + -372, -372, 133 }; /* 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 -189 +#define YYTABLE_NINF -191 static const yytype_int16 yytable[] = { - 81, 18, 11, 14, 211, 99, 320, 356, 297, 325, - 13, 97, 78, -9, 125, 126, 127, 129, 131, 132, - 25, 26, 27, 141, 122, 392, 105, 105, 105, 105, - 105, 209, 161, 105, 105, 225, 226, 227, 228, 229, - 230, 374, 232, 233, 15, 245, 414, 151, 210, 133, - 184, 182, 130, 183, 15, 138, 420, 203, 147, 168, - 15, 299, 143, 105, 149, 284, 340, 285, 156, 122, - 350, 25, 113, 141, 352, 213, 121, 114, 286, 15, - 427, 107, 108, 109, 110, 375, 437, 111, 112, 204, - 380, 205, 25, -8, 302, 123, 231, 214, 159, 368, - 369, 135, 305, 154, 122, 120, 240, 122, 178, 179, - 180, 215, 241, 306, 141, 242, 144, 145, 136, 236, - 237, 178, 179, 180, 15, 336, 178, 179, 180, 244, - 178, 179, 180, 137, 178, 179, 180, 247, 143, 152, - 123, 396, 323, 382, 128, 178, 179, 180, 181, 169, - 178, 179, 180, 171, 287, 254, 256, 257, 258, 259, - 260, 261, 262, 263, 253, 265, 266, 268, 181, 298, - 395, 403, 397, 429, 339, 123, 401, 204, 123, 205, - 212, 178, 179, 180, 349, 208, 291, 292, 293, 294, - 295, 296, 239, 355, 216, 237, 15, 408, 409, 13, - 206, 430, 207, 289, 218, 418, 419, 351, 310, 256, - 386, 256, 301, 322, 411, 412, 359, 424, 199, 200, - 201, 426, 328, 202, 330, 332, 178, 179, 180, 220, - 317, 178, 179, 180, 337, 222, 178, 179, 180, 435, - 436, 234, 248, 172, 173, 174, 175, 243, 188, 189, - 176, 251, 177, 390, 347, 303, 308, 100, 101, 178, - 179, 180, 141, 353, 25, 307, 379, 343, 344, 311, - 346, 314, 115, 197, 198, 416, 178, 179, 180, 199, - 200, 201, 365, 327, 202, 198, 421, 422, 333, 134, - 199, 200, 201, 335, 139, 202, 428, 148, 338, 358, - 153, -62, 180, 160, 431, 162, 163, 164, 165, 166, - 354, 186, 187, 188, 189, 178, 179, 180, 178, 179, - 180, 376, 141, 178, 179, 180, 185, -189, -189, 357, - 237, 202, 377, 186, 187, 188, 189, 196, 197, 198, - 1, 2, 3, 4, 199, 200, 201, 360, 252, 202, - 310, 387, 190, 191, 342, 192, 193, 194, 195, 196, - 197, 198, 186, 187, 188, 189, 199, 200, 201, 387, - 361, 202, 188, 189, 178, 179, 180, 362, 425, -189, - 406, 188, 189, 178, 179, 180, 194, 195, 196, 197, - 198, 178, 179, 180, 363, 199, 200, 201, 198, 326, - 202, 423, 367, 199, 200, 201, 197, 198, 202, 383, - 81, 364, 199, 200, 201, 264, 334, 202, 384, 269, - 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, - 280, 281, 282, 283, 21, 366, 370, 385, 393, 399, - 13, 400, 22, 404, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 405, 36, 37, - 38, 39, 40, 41, 407, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 415, 417, 188, 51, 52, 53, - 54, 55, 433, 56, 57, 58, 59, 60, 61, 178, - 179, 180, 434, 62, 63, 64, 65, 66, 67, 68, - 69, 16, 198, 80, 13, 398, 70, 199, 200, 201, - 25, 119, 202, 250, 341, 432, 102, 402, 71, 72, - 73, 103, 157, 158, 0, 74, 75, 0, 21, 76, - 77, 0, 186, 187, 188, 189, 22, 0, 23, 24, - 25, 26, 27, 28, 29, -57, 31, 32, 33, 34, - 35, 0, 36, 37, 38, 39, 40, 195, 196, 197, - 198, 44, 0, 0, 0, 199, 200, 201, 0, 0, - 202, 186, -189, 188, 189, 55, 378, 56, 57, 58, - 59, 60, 61, 178, 179, 180, 0, 62, 63, 64, - 65, 66, 67, 0, 69, 0, 0, 0, 197, 198, - 70, 0, 0, 0, 199, 200, 201, 0, 348, 202, - 0, 0, 71, 72, 73, 0, 21, 0, 0, 74, - 75, 0, 0, 76, 22, 0, 23, 24, 25, 26, - 27, 28, 29, 0, 31, 32, 33, 34, 35, 0, - 36, 37, 38, 39, 40, 0, 178, 179, 180, 44, - 0, 0, 0, 0, 0, 0, 186, 187, 188, 189, - 178, 179, 180, 55, 0, 56, 57, 58, 59, 60, - 61, 371, 178, 179, 180, 62, 63, 64, 65, 66, - 67, 0, 69, 197, 198, 372, 0, 0, 70, 199, - 200, 201, 0, 0, 202, 0, 0, 373, 0, 0, - 71, 72, 73, 0, 0, 0, 0, 74, 75, 0, - -57, 76, 13, 0, 22, 0, 23, 24, 25, 26, - 27, 28, 29, 0, 140, 32, 33, 34, 35, 103, - 36, 37, 38, 39, 40, 0, 178, 179, 180, 44, - 172, 173, 174, 175, 0, 0, 0, 176, 0, 177, - 0, 0, 0, 55, 0, 56, 57, 58, 59, 60, - 61, 381, 0, 0, 0, 62, 63, 64, 65, 66, - 67, 0, 69, 178, 179, 180, 0, 0, 70, 0, + 77, 96, 213, 321, 395, 183, 300, 184, 100, 126, + 127, 128, 130, 132, 133, 323, 16, 74, 328, 286, + 123, 287, 205, 123, 206, 21, 142, 417, 299, -11, + 21, 359, 288, 305, 13, 162, 21, 22, 23, 212, + 123, 15, 123, 247, 93, 185, -10, 414, 415, 308, + 152, 93, 204, 114, 115, 122, 302, 134, 182, 430, + 309, 93, 169, 139, 339, 377, 148, 440, 227, 228, + 229, 230, 231, 232, 423, 234, 235, 160, 93, 301, + 432, 142, 129, 215, 15, 77, 343, 211, 121, 101, + 102, 124, 353, 136, 124, 389, 233, 93, 137, 179, + 180, 181, 74, 93, 116, 216, 138, 153, 289, 371, + 372, 124, 243, 124, 242, 244, 179, 180, 181, 155, + 172, 135, 142, 170, 217, 355, 140, 238, 239, 149, + -191, -191, 154, 182, 203, 161, 209, 163, 164, 165, + 166, 167, 385, 218, 214, 249, 179, 180, 181, 220, + 222, 399, 179, 180, 181, 108, 109, 110, 111, 224, + 236, 112, 113, 256, 258, 259, 260, 261, 262, 263, + 264, 265, 245, 267, 268, 270, 326, 255, 398, 378, + 400, 179, 180, 181, 404, 179, 180, 181, 250, 253, + 145, 146, 246, 358, 293, 294, 295, 296, 297, 298, + 205, 321, 206, 306, 239, 411, 412, 179, 180, 181, + 207, 433, 208, 421, 422, 310, 330, 313, 258, 311, + 258, 383, 325, 21, 336, 427, 304, 338, 314, 429, + 317, 331, 254, 333, 335, 406, 341, 181, 357, 179, + 180, 181, 360, 340, 179, 180, 181, 438, 439, 342, + 364, 362, 266, 393, 363, 350, 271, 272, 273, 274, + 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, + 285, 241, 142, 200, 201, 202, 346, 347, 203, 349, + 365, 179, 180, 181, 368, 366, 106, 106, 106, 106, + 106, 352, 367, 106, 106, 179, 180, 181, 419, 369, + 370, 179, 180, 181, 173, 174, 175, 176, 373, 424, + 425, 177, 131, 178, 361, 354, 179, 180, 181, 431, + 380, 386, 144, 106, 150, -190, 387, 434, 157, 388, + 15, 379, 142, -190, 396, 402, 21, 179, 180, 181, + 239, 329, 103, 179, 180, 181, 403, 104, 407, 408, + 410, 418, -190, -190, -190, -190, 420, 436, 437, -190, + 313, -190, -64, 94, -190, 210, 390, 179, 180, 181, + 435, -190, -190, -190, -190, 179, 180, 181, 401, 405, + 428, 409, 120, 252, 390, -190, -190, -190, 158, -190, + -190, -190, -190, -190, -190, -190, -190, -190, -190, -190, + 337, 356, 426, 144, -190, -190, -190, 159, 0, -190, + -190, 0, 17, 0, 0, 381, 0, 382, 0, 15, + 77, 18, 0, 19, 20, 21, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 0, 32, 33, 34, + 35, 36, 37, 0, 38, 39, 40, 41, 42, 43, + 44, 45, 46, 179, 180, 181, 47, 48, 49, 50, + 51, 0, 52, 53, 54, 55, 56, 57, 291, 179, + 180, 181, 58, 59, 60, 61, 62, 63, 64, 65, + 0, 0, 0, 0, 199, 66, 179, 180, 181, 200, + 201, 202, 0, 0, 203, 0, 320, 67, 68, 69, + 0, 17, 0, 0, 70, 71, 189, 190, 72, 73, + 18, 344, 19, 20, 21, 22, 23, 24, 25, -59, + 27, 28, 29, 30, 31, 0, 32, 33, 34, 35, + 36, 198, 199, 0, 0, 40, 0, 200, 201, 202, + 0, 0, 203, 0, 0, 187, 188, 189, 190, 51, + 0, 52, 53, 54, 55, 56, 57, 179, 180, 181, + 0, 58, 59, 60, 61, 62, 63, 0, 65, 195, + 196, 197, 198, 199, 66, 0, 0, 0, 200, 201, + 202, 0, 351, 203, 0, 0, 67, 68, 69, 17, + 0, 0, 0, 70, 71, 189, 190, 72, 18, 0, + 19, 20, 21, 22, 23, 24, 25, 0, 27, 28, + 29, 30, 31, 0, 32, 33, 34, 35, 36, 0, + 0, 199, 0, 40, 0, 0, 200, 201, 202, 0, + 0, 203, 187, 188, 189, 190, 0, 51, 0, 52, + 53, 54, 55, 56, 57, 0, 0, 0, 0, 58, + 59, 60, 61, 62, 63, 0, 65, 196, 197, 198, + 199, 0, 66, 0, 0, 200, 201, 202, 0, 0, + 203, 0, 0, 0, 67, 68, 69, 0, 0, 0, + 0, 70, 71, 189, -59, 72, 15, 0, 18, 0, + 19, 20, 21, 22, 23, 24, 25, 0, 141, 28, + 29, 30, 31, 104, 32, 33, 34, 35, 36, 199, + 179, 180, 181, 40, 200, 201, 202, 0, 0, 203, + 0, 187, 188, 189, 190, 0, 0, 51, 0, 52, + 53, 54, 55, 56, 57, 374, 179, 180, 181, 58, + 59, 60, 61, 62, 63, 0, 65, 197, 198, 199, + 0, 0, 66, 0, 200, 201, 202, 0, 0, 203, + 0, 375, 0, 0, 67, 68, 69, 0, 0, 0, + 0, 70, 71, 0, 15, 72, 18, 0, 19, 20, + 21, 22, 23, 24, 25, 0, 27, 28, 29, 30, + 31, 0, 32, 33, 34, 35, 36, 0, 179, 180, + 181, 40, 1, 2, 3, 4, 5, 0, 187, -191, + 189, 190, 179, 180, 181, 51, 0, 52, 53, 54, + 55, 56, 57, 376, 0, 0, 0, 58, 59, 60, + 61, 62, 63, 0, 65, 198, 199, 384, 0, 0, + 66, 200, 201, 202, 0, 0, 203, 0, 0, 0, + 0, 0, 67, 68, 69, 0, 0, 0, 0, 70, + 71, 0, 15, 72, 18, 0, 19, 20, 21, 22, + 23, 24, 25, 0, 147, 28, 29, 30, 31, 0, + 32, 33, 34, 35, 36, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 71, 72, 73, 0, 0, 0, 0, 74, 75, 0, - 13, 76, 22, 0, 23, 24, 25, 26, 27, 28, - 29, 0, 31, 32, 33, 34, 35, 0, 36, 37, - 38, 39, 40, 0, 0, 0, 0, 44, 0, 0, + 0, 0, 0, 51, 0, 52, 53, 54, 55, 56, + 57, 0, 0, 0, 0, 58, 59, 60, 61, 62, + 63, 0, 65, 205, 0, 206, -161, 0, 66, 0, + 0, 0, 0, 0, -161, 0, 0, 0, 0, 0, + 67, 68, 69, 187, 188, 189, 190, 70, 71, 0, + 0, 72, 0, -161, -161, -161, -161, 0, 0, 0, + -161, 0, -161, 0, 0, -161, 0, 0, 0, 0, + 198, 199, -161, -161, -161, -161, 200, 201, 202, 0, + 0, 203, 0, 0, 0, 0, -161, -161, -161, 0, + -161, -161, -161, -161, -161, -161, -161, -161, -161, -161, + -161, 0, 0, 0, 0, -161, -161, -161, 0, 0, + -161, -161, 18, 99, 19, 20, 21, 22, 23, 24, + 25, 0, 27, 28, 29, 30, 31, 0, 32, 33, + 34, 35, 36, 0, 0, 0, 0, 40, 0, 0, + 0, 0, 0, 0, -191, 0, 189, 190, 0, 0, + 0, 51, 0, 52, 53, 54, 55, 56, 57, 0, + 0, 0, 0, 58, 59, 60, 61, 62, 63, 0, + 65, 198, 199, 0, 0, 0, 66, 200, 201, 202, + 0, 0, 203, 0, 0, 0, 0, 0, 67, 68, + 69, 0, 0, 0, 0, 70, 71, 0, 18, 72, + 19, 20, 21, 22, 23, 24, 25, 151, 27, 28, + 29, 30, 31, 0, 32, 33, 34, 35, 36, 0, + 0, 0, 0, 40, 173, 174, 175, 176, 0, 0, + 0, 177, 0, 178, 0, 0, 0, 51, 0, 52, + 53, 54, 55, 56, 57, 0, 0, 0, 0, 58, + 59, 60, 61, 62, 63, 0, 65, 179, 180, 181, + 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 67, 68, 69, 0, 0, 0, + 0, 70, 71, 0, 18, 72, 19, 20, 21, 22, + 23, 24, 25, 0, 27, 28, 29, 30, 31, 0, + 32, 33, 34, 35, 36, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 55, 0, 56, 57, 58, 59, 60, 61, 0, - 0, 0, 0, 62, 63, 64, 65, 66, 67, 0, - 69, 0, 0, 0, 0, 0, 70, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 71, 72, - 73, 0, 0, 0, 0, 74, 75, 0, 13, 76, - 22, 0, 23, 24, 25, 26, 27, 28, 29, 0, - 146, 32, 33, 34, 35, 0, 36, 37, 38, 39, - 40, 0, 0, 0, 0, 44, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, - 0, 56, 57, 58, 59, 60, 61, 0, 0, 0, - 0, 62, 63, 64, 65, 66, 67, 0, 69, 204, - 0, 205, -159, 0, 70, 0, 0, 0, 0, 0, - -159, 0, 0, 0, 0, 0, 71, 72, 73, 0, - 0, 0, 0, 74, 75, 0, 0, 76, 0, -159, - -159, -159, -159, 0, 0, 0, -159, 0, -159, 0, - 0, -159, 0, 0, 0, 0, 0, 0, -159, -159, - -159, -159, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, -159, -159, -159, 0, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, 0, 0, 0, - 0, -159, -159, -159, 0, 0, -159, -159, 22, 98, - 23, 24, 25, 26, 27, 28, 29, 0, 31, 32, - 33, 34, 35, 0, 36, 37, 38, 39, 40, 0, - 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 55, 0, 56, - 57, 58, 59, 60, 61, 0, 0, 0, 0, 62, - 63, 64, 65, 66, 67, 0, 69, 0, 0, 0, - 0, 0, 70, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 71, 72, 73, 0, 0, 0, - 0, 74, 75, 0, 22, 76, 23, 24, 25, 26, - 27, 28, 29, 150, 31, 32, 33, 34, 35, 0, - 36, 37, 38, 39, 40, 0, 0, 0, 0, 44, + 0, 0, 0, 51, 0, 52, 53, 54, 55, 56, + 57, 0, 0, 0, 0, 58, 59, 60, 61, 62, + 63, 0, 65, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 55, 0, 56, 57, 58, 59, 60, - 61, 0, 0, 0, 0, 62, 63, 64, 65, 66, - 67, 0, 69, 0, 0, 0, 0, 0, 70, 0, + 67, 68, 69, 0, 0, 0, 0, 70, 71, 0, + 168, 72, 18, 0, 19, 20, 21, 22, 23, 24, + 25, 0, 27, 28, 29, 30, 31, 0, 32, 33, + 34, 35, 36, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 71, 72, 73, 0, 0, 0, 0, 74, 75, 0, - 22, 76, 23, 24, 25, 26, 27, 28, 29, 0, - 31, 32, 33, 34, 35, 0, 36, 37, 38, 39, - 40, 0, 0, 0, 0, 44, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, - 0, 56, 57, 58, 59, 60, 61, 0, 0, 0, - 0, 62, 63, 64, 65, 66, 67, 0, 69, 0, - 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 71, 72, 73, 0, - 0, 0, 0, 74, 75, 0, 167, 76, 22, 0, - 23, 24, 25, 26, 27, 28, 29, 0, 31, 32, - 33, 34, 35, 0, 36, 37, 38, 39, 40, 0, - 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 55, 0, 56, - 57, 58, 59, 60, 61, 0, 0, 0, 0, 62, - 63, 64, 65, 66, 67, 0, 69, 0, 0, 0, - 0, 0, 70, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 71, 72, 73, 0, 0, 0, - 0, 74, 75, 0, 235, 76, 22, 0, 23, 24, - 25, 26, 27, 28, 29, 0, 31, 32, 33, 34, - 35, 0, 36, 37, 38, 39, 40, 0, 0, 0, - 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 55, 0, 56, 57, 58, - 59, 60, 61, 0, 0, 0, 0, 62, 63, 64, - 65, 66, 67, 0, 69, 0, 0, 0, 0, 0, - 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 71, 72, 73, 0, 0, 0, 0, 74, - 75, 0, 246, 76, 22, 0, 23, 24, 25, 26, - 27, 28, 29, 0, 31, 32, 33, 34, 35, 0, - 36, 37, 38, 39, 40, 0, 0, 0, 0, 44, + 0, 51, 0, 52, 53, 54, 55, 56, 57, 0, + 0, 0, 0, 58, 59, 60, 61, 62, 63, 0, + 65, 0, 0, 0, 0, 0, 66, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 67, 68, + 69, 0, 0, 0, 0, 70, 71, 0, 237, 72, + 18, 0, 19, 20, 21, 22, 23, 24, 25, 0, + 27, 28, 29, 30, 31, 0, 32, 33, 34, 35, + 36, 0, 0, 0, 0, 40, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, + 0, 52, 53, 54, 55, 56, 57, 0, 0, 0, + 0, 58, 59, 60, 61, 62, 63, 0, 65, 0, + 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 67, 68, 69, 0, + 0, 0, 0, 70, 71, 0, 248, 72, 18, 0, + 19, 20, 21, 22, 23, 24, 25, 0, 27, 28, + 29, 30, 31, 0, 32, 33, 34, 35, 36, 0, + 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 51, 0, 52, + 53, 54, 55, 56, 57, 0, 0, 0, 0, 58, + 59, 60, 61, 62, 63, 0, 65, 0, 0, 0, + 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 67, 68, 69, 0, 0, 0, + 0, 70, 71, 0, 269, 72, 18, 0, 19, 20, + 21, 22, 23, 24, 25, 0, 27, 28, 29, 30, + 31, 0, 32, 33, 34, 35, 36, 0, 0, 0, + 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 51, 0, 52, 53, 54, + 55, 56, 57, 0, 0, 0, 0, 58, 59, 60, + 61, 62, 63, 0, 65, 0, 0, 0, 0, 0, + 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 67, 68, 69, 0, 0, 0, 0, 70, + 71, 0, 292, 72, 18, 0, 19, 20, 21, 22, + 23, 24, 25, 0, 27, 28, 29, 30, 31, 0, + 32, 33, 34, 35, 36, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 55, 0, 56, 57, 58, 59, 60, - 61, 0, 0, 0, 0, 62, 63, 64, 65, 66, - 67, 0, 69, 0, 0, 0, 0, 0, 70, 0, + 0, 0, 0, 51, 0, 52, 53, 54, 55, 56, + 57, 0, 0, 0, 0, 58, 59, 60, 61, 62, + 63, 0, 65, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 71, 72, 73, 0, 0, 0, 0, 74, 75, 0, - 267, 76, 22, 0, 23, 24, 25, 26, 27, 28, - 29, 0, 31, 32, 33, 34, 35, 0, 36, 37, - 38, 39, 40, 0, 0, 0, 0, 44, 0, 0, + 67, 68, 69, 0, 0, 0, 0, 70, 71, 0, + 332, 72, 18, 0, 19, 20, 21, 22, 23, 24, + 25, 0, 27, 28, 29, 30, 31, 0, 32, 33, + 34, 35, 36, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 55, 0, 56, 57, 58, 59, 60, 61, 0, - 0, 0, 0, 62, 63, 64, 65, 66, 67, 0, - 69, 0, 0, 0, 0, 0, 70, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 71, 72, - 73, 0, 0, 0, 0, 74, 75, 0, 290, 76, - 22, 0, 23, 24, 25, 26, 27, 28, 29, 0, - 31, 32, 33, 34, 35, 0, 36, 37, 38, 39, - 40, 0, 0, 0, 0, 44, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, - 0, 56, 57, 58, 59, 60, 61, 0, 0, 0, - 0, 62, 63, 64, 65, 66, 67, 0, 69, 0, - 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 71, 72, 73, 0, - 0, 0, 0, 74, 75, 0, 329, 76, 22, 0, - 23, 24, 25, 26, 27, 28, 29, 0, 31, 32, - 33, 34, 35, 0, 36, 37, 38, 39, 40, 0, - 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 55, 0, 56, - 57, 58, 59, 60, 61, 0, 0, 0, 0, 62, - 63, 64, 65, 66, 67, 0, 69, 0, 0, 0, - 0, 0, 70, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 71, 72, 73, 0, 0, 0, - 0, 74, 75, 0, 331, 76, 22, 0, 23, 24, - 25, 26, 27, 28, 29, 0, 31, 32, 33, 34, - 35, 0, 36, 37, 38, 39, 40, 0, 0, 0, - 0, 44, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 55, 0, 56, 57, 58, - 59, 60, 61, 0, 0, 0, 0, 62, 63, 64, - 65, 66, 67, 0, 69, 0, 0, 0, 0, 0, - 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 71, 72, 73, 0, 0, 0, 0, 74, - 75, 0, 345, 76, 22, 0, 23, 24, 25, 26, - 27, 28, 29, 0, 31, 32, 33, 34, 35, 0, - 36, 37, 38, 39, 40, 0, 0, 0, 0, 44, + 0, 51, 0, 52, 53, 54, 55, 56, 57, 0, + 0, 0, 0, 58, 59, 60, 61, 62, 63, 0, + 65, 0, 0, 0, 0, 0, 66, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 67, 68, + 69, 0, 0, 0, 0, 70, 71, 0, 334, 72, + 18, 0, 19, 20, 21, 22, 23, 24, 25, 0, + 27, 28, 29, 30, 31, 0, 32, 33, 34, 35, + 36, 0, 0, 0, 0, 40, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, + 0, 52, 53, 54, 55, 56, 57, 0, 0, 0, + 0, 58, 59, 60, 61, 62, 63, 0, 65, 0, + 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 67, 68, 69, 0, + 0, 0, 0, 70, 71, 0, 348, 72, 18, 0, + 19, 20, 21, 22, 23, 24, 25, 0, 27, 28, + 29, 30, 31, 0, 32, 33, 34, 35, 36, 0, + 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 51, 0, 52, + 53, 54, 55, 56, 57, 0, 0, 0, 0, 58, + 59, 60, 61, 62, 63, 0, 65, 0, 0, 0, + 186, 0, 66, 0, 0, 0, 0, 187, 188, 189, + 190, 0, 0, 0, 67, 68, 69, 0, 0, 0, + 0, 70, 71, 0, 0, 72, 191, 192, 345, 193, + 194, 195, 196, 197, 198, 199, 0, 0, 0, 186, + 200, 201, 202, 0, 0, 203, 187, 188, 189, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 55, 0, 56, 57, 58, 59, 60, - 61, 0, 0, 0, 0, 62, 63, 64, 65, 66, - 67, 0, 69, 0, 0, -188, 0, 0, 70, 0, - 0, 0, 0, -188, 0, 0, 0, 0, 0, 0, - 71, 72, 73, 0, 0, 0, 0, 74, 75, 0, - 0, 76, -188, -188, -188, -188, 0, 0, 0, -188, - 0, -188, 0, 0, -188, 0, 0, 0, 0, 0, - 0, -188, -188, -188, -188, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, -188, -188, -188, 0, -188, - -188, -188, -188, -188, -188, -188, -188, -188, -188, -188, - 0, 0, 0, 0, -188, -188, -188, 185, 0, -188, - -188, 0, 0, 0, 186, 187, 188, 189, 0, 0, + 0, 0, 0, 0, 0, 191, 192, 0, 193, 194, + 195, 196, 197, 198, 199, 0, 0, 0, 186, 200, + 201, 202, 0, 0, 203, 187, 188, 189, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 190, 191, 0, 192, 193, 194, 195, - 196, 197, 198, 0, 0, 0, 185, 199, 200, 201, - 0, 0, 202, 186, 187, 188, 189, 0, 0, 0, + 0, 0, 0, 0, 0, 192, 0, 193, 194, 195, + 196, 197, 198, 199, 0, 0, 0, -191, 200, 201, + 202, 0, 0, 203, 187, 188, 189, 190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 191, 0, 192, 193, 194, 195, 196, - 197, 198, 0, 0, 0, -189, 199, 200, 201, 0, - 0, 202, 186, 187, 188, 189, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 192, 193, 194, 195, 196, 197, - 198, 0, 0, 0, 0, 199, 200, 201, 0, 0, - 202 + 0, 0, 0, 0, 0, 0, 193, 194, 195, 196, + 197, 198, 199, 0, 0, 0, 0, 200, 201, 202, + 0, 0, 203 }; static const yytype_int16 yycheck[] = { - 17, 10, 0, 8, 111, 22, 230, 302, 212, 233, - 7, 20, 17, 0, 48, 49, 50, 51, 52, 53, - 13, 14, 15, 61, 25, 362, 25, 26, 27, 28, - 29, 8, 70, 32, 33, 124, 125, 126, 127, 128, - 129, 336, 131, 132, 31, 152, 395, 64, 10, 54, - 84, 7, 51, 9, 31, 60, 8, 91, 63, 76, - 31, 10, 61, 62, 63, 7, 10, 9, 67, 25, - 10, 13, 96, 111, 10, 113, 46, 9, 20, 31, - 417, 26, 27, 28, 29, 10, 435, 32, 33, 7, - 10, 9, 13, 0, 219, 96, 130, 114, 68, 323, - 324, 96, 7, 96, 25, 19, 144, 25, 70, 71, - 72, 116, 146, 18, 152, 149, 61, 62, 96, 136, - 137, 70, 71, 72, 31, 250, 70, 71, 72, 18, - 70, 71, 72, 96, 70, 71, 72, 154, 137, 19, - 96, 365, 231, 347, 65, 70, 71, 72, 74, 43, - 70, 71, 72, 18, 96, 172, 173, 174, 175, 176, - 177, 178, 179, 180, 169, 182, 183, 184, 74, 95, - 364, 10, 366, 8, 18, 96, 370, 7, 96, 9, - 96, 70, 71, 72, 18, 7, 203, 204, 205, 206, - 207, 208, 137, 300, 19, 212, 31, 391, 392, 7, - 7, 425, 9, 202, 19, 399, 400, 18, 225, 226, - 18, 228, 217, 230, 41, 42, 305, 411, 89, 90, - 91, 415, 239, 94, 241, 242, 70, 71, 72, 22, - 229, 70, 71, 72, 251, 19, 70, 71, 72, 433, - 434, 95, 68, 37, 38, 39, 40, 8, 58, 59, - 44, 9, 46, 360, 288, 68, 96, 23, 24, 70, - 71, 72, 300, 18, 13, 19, 18, 284, 285, 226, - 287, 228, 38, 83, 84, 397, 70, 71, 72, 89, - 90, 91, 316, 95, 94, 84, 408, 409, 8, 55, - 89, 90, 91, 22, 60, 94, 418, 63, 9, 304, - 66, 95, 72, 69, 426, 71, 72, 73, 74, 75, - 95, 56, 57, 58, 59, 70, 71, 72, 70, 71, - 72, 338, 360, 70, 71, 72, 49, 90, 91, 22, - 347, 94, 8, 56, 57, 58, 59, 82, 83, 84, - 3, 4, 5, 6, 89, 90, 91, 19, 95, 94, - 367, 356, 75, 76, 77, 78, 79, 80, 81, 82, - 83, 84, 56, 57, 58, 59, 89, 90, 91, 374, - 95, 94, 58, 59, 70, 71, 72, 95, 412, 56, - 389, 58, 59, 70, 71, 72, 80, 81, 82, 83, - 84, 70, 71, 72, 95, 89, 90, 91, 84, 95, - 94, 410, 18, 89, 90, 91, 83, 84, 94, 8, - 427, 95, 89, 90, 91, 181, 95, 94, 8, 185, - 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, - 196, 197, 198, 199, 1, 95, 95, 8, 7, 95, - 7, 95, 9, 8, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 20, 21, 22, 23, 95, 25, 26, - 27, 28, 29, 30, 18, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 95, 18, 58, 44, 45, 46, - 47, 48, 95, 50, 51, 52, 53, 54, 55, 70, - 71, 72, 95, 60, 61, 62, 63, 64, 65, 66, - 67, 9, 84, 17, 7, 367, 73, 89, 90, 91, - 13, 44, 94, 159, 95, 427, 19, 374, 85, 86, - 87, 24, 67, 67, -1, 92, 93, -1, 1, 96, - 97, -1, 56, 57, 58, 59, 9, -1, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, - 23, -1, 25, 26, 27, 28, 29, 81, 82, 83, - 84, 34, -1, -1, -1, 89, 90, 91, -1, -1, - 94, 56, 57, 58, 59, 48, 342, 50, 51, 52, - 53, 54, 55, 70, 71, 72, -1, 60, 61, 62, - 63, 64, 65, -1, 67, -1, -1, -1, 83, 84, - 73, -1, -1, -1, 89, 90, 91, -1, 95, 94, - -1, -1, 85, 86, 87, -1, 1, -1, -1, 92, - 93, -1, -1, 96, 9, -1, 11, 12, 13, 14, - 15, 16, 17, -1, 19, 20, 21, 22, 23, -1, - 25, 26, 27, 28, 29, -1, 70, 71, 72, 34, - -1, -1, -1, -1, -1, -1, 56, 57, 58, 59, - 70, 71, 72, 48, -1, 50, 51, 52, 53, 54, - 55, 95, 70, 71, 72, 60, 61, 62, 63, 64, - 65, -1, 67, 83, 84, 95, -1, -1, 73, 89, - 90, 91, -1, -1, 94, -1, -1, 95, -1, -1, - 85, 86, 87, -1, -1, -1, -1, 92, 93, -1, - 95, 96, 7, -1, 9, -1, 11, 12, 13, 14, - 15, 16, 17, -1, 19, 20, 21, 22, 23, 24, - 25, 26, 27, 28, 29, -1, 70, 71, 72, 34, - 37, 38, 39, 40, -1, -1, -1, 44, -1, 46, - -1, -1, -1, 48, -1, 50, 51, 52, 53, 54, - 55, 95, -1, -1, -1, 60, 61, 62, 63, 64, - 65, -1, 67, 70, 71, 72, -1, -1, 73, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 85, 86, 87, -1, -1, -1, -1, 92, 93, -1, - 7, 96, 9, -1, 11, 12, 13, 14, 15, 16, - 17, -1, 19, 20, 21, 22, 23, -1, 25, 26, - 27, 28, 29, -1, -1, -1, -1, 34, -1, -1, + 10, 12, 112, 232, 365, 8, 214, 10, 18, 44, + 45, 46, 47, 48, 49, 232, 9, 10, 235, 8, + 26, 10, 8, 26, 10, 14, 57, 398, 9, 0, + 14, 305, 21, 221, 0, 66, 14, 15, 16, 11, + 26, 8, 26, 153, 32, 80, 0, 42, 43, 8, + 60, 32, 87, 97, 10, 42, 11, 50, 75, 420, + 19, 32, 72, 56, 252, 339, 59, 438, 125, 126, + 127, 128, 129, 130, 9, 132, 133, 64, 32, 96, + 9, 112, 66, 114, 8, 95, 11, 98, 20, 19, + 20, 97, 11, 97, 97, 19, 131, 32, 97, 71, + 72, 73, 95, 32, 34, 115, 97, 20, 97, 326, + 327, 97, 147, 97, 145, 150, 71, 72, 73, 97, + 19, 51, 153, 44, 117, 11, 56, 137, 138, 59, + 91, 92, 62, 75, 95, 65, 8, 67, 68, 69, + 70, 71, 350, 20, 97, 155, 71, 72, 73, 20, + 23, 368, 71, 72, 73, 22, 23, 24, 25, 20, + 96, 28, 29, 173, 174, 175, 176, 177, 178, 179, + 180, 181, 9, 183, 184, 185, 233, 170, 367, 11, + 369, 71, 72, 73, 373, 71, 72, 73, 69, 10, + 57, 58, 19, 303, 204, 205, 206, 207, 208, 209, + 8, 430, 10, 69, 214, 394, 395, 71, 72, 73, + 8, 428, 10, 402, 403, 20, 96, 227, 228, 97, + 230, 11, 232, 14, 9, 414, 219, 23, 228, 418, + 230, 241, 96, 243, 244, 11, 10, 73, 96, 71, + 72, 73, 23, 253, 71, 72, 73, 436, 437, 19, + 96, 308, 182, 363, 20, 290, 186, 187, 188, 189, + 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, + 200, 138, 303, 90, 91, 92, 286, 287, 95, 289, + 96, 71, 72, 73, 319, 96, 21, 22, 23, 24, + 25, 19, 96, 28, 29, 71, 72, 73, 400, 96, + 19, 71, 72, 73, 38, 39, 40, 41, 96, 411, + 412, 45, 47, 47, 307, 19, 71, 72, 73, 421, + 9, 9, 57, 58, 59, 11, 9, 429, 63, 9, + 8, 341, 363, 19, 8, 96, 14, 71, 72, 73, + 350, 96, 20, 71, 72, 73, 96, 25, 9, 96, + 19, 96, 38, 39, 40, 41, 19, 96, 96, 45, + 370, 47, 96, 11, 50, 95, 359, 71, 72, 73, + 430, 57, 58, 59, 60, 71, 72, 73, 370, 377, + 415, 392, 40, 160, 377, 71, 72, 73, 63, 75, + 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, + 96, 19, 413, 138, 90, 91, 92, 63, -1, 95, + 96, -1, 1, -1, -1, 345, -1, 19, -1, 8, + 430, 10, -1, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 23, 24, -1, 26, 27, 28, + 29, 30, 31, -1, 33, 34, 35, 36, 37, 38, + 39, 40, 41, 71, 72, 73, 45, 46, 47, 48, + 49, -1, 51, 52, 53, 54, 55, 56, 203, 71, + 72, 73, 61, 62, 63, 64, 65, 66, 67, 68, + -1, -1, -1, -1, 85, 74, 71, 72, 73, 90, + 91, 92, -1, -1, 95, -1, 231, 86, 87, 88, + -1, 1, -1, -1, 93, 94, 59, 60, 97, 98, + 10, 96, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, -1, 26, 27, 28, 29, + 30, 84, 85, -1, -1, 35, -1, 90, 91, 92, + -1, -1, 95, -1, -1, 57, 58, 59, 60, 49, + -1, 51, 52, 53, 54, 55, 56, 71, 72, 73, + -1, 61, 62, 63, 64, 65, 66, -1, 68, 81, + 82, 83, 84, 85, 74, -1, -1, -1, 90, 91, + 92, -1, 96, 95, -1, -1, 86, 87, 88, 1, + -1, -1, -1, 93, 94, 59, 60, 97, 10, -1, + 12, 13, 14, 15, 16, 17, 18, -1, 20, 21, + 22, 23, 24, -1, 26, 27, 28, 29, 30, -1, + -1, 85, -1, 35, -1, -1, 90, 91, 92, -1, + -1, 95, 57, 58, 59, 60, -1, 49, -1, 51, + 52, 53, 54, 55, 56, -1, -1, -1, -1, 61, + 62, 63, 64, 65, 66, -1, 68, 82, 83, 84, + 85, -1, 74, -1, -1, 90, 91, 92, -1, -1, + 95, -1, -1, -1, 86, 87, 88, -1, -1, -1, + -1, 93, 94, 59, 96, 97, 8, -1, 10, -1, + 12, 13, 14, 15, 16, 17, 18, -1, 20, 21, + 22, 23, 24, 25, 26, 27, 28, 29, 30, 85, + 71, 72, 73, 35, 90, 91, 92, -1, -1, 95, + -1, 57, 58, 59, 60, -1, -1, 49, -1, 51, + 52, 53, 54, 55, 56, 96, 71, 72, 73, 61, + 62, 63, 64, 65, 66, -1, 68, 83, 84, 85, + -1, -1, 74, -1, 90, 91, 92, -1, -1, 95, + -1, 96, -1, -1, 86, 87, 88, -1, -1, -1, + -1, 93, 94, -1, 8, 97, 10, -1, 12, 13, + 14, 15, 16, 17, 18, -1, 20, 21, 22, 23, + 24, -1, 26, 27, 28, 29, 30, -1, 71, 72, + 73, 35, 3, 4, 5, 6, 7, -1, 57, 58, + 59, 60, 71, 72, 73, 49, -1, 51, 52, 53, + 54, 55, 56, 96, -1, -1, -1, 61, 62, 63, + 64, 65, 66, -1, 68, 84, 85, 96, -1, -1, + 74, 90, 91, 92, -1, -1, 95, -1, -1, -1, + -1, -1, 86, 87, 88, -1, -1, -1, -1, 93, + 94, -1, 8, 97, 10, -1, 12, 13, 14, 15, + 16, 17, 18, -1, 20, 21, 22, 23, 24, -1, + 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 48, -1, 50, 51, 52, 53, 54, 55, -1, - -1, -1, -1, 60, 61, 62, 63, 64, 65, -1, - 67, -1, -1, -1, -1, -1, 73, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 85, 86, - 87, -1, -1, -1, -1, 92, 93, -1, 7, 96, - 9, -1, 11, 12, 13, 14, 15, 16, 17, -1, - 19, 20, 21, 22, 23, -1, 25, 26, 27, 28, - 29, -1, -1, -1, -1, 34, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 48, - -1, 50, 51, 52, 53, 54, 55, -1, -1, -1, - -1, 60, 61, 62, 63, 64, 65, -1, 67, 7, - -1, 9, 10, -1, 73, -1, -1, -1, -1, -1, - 18, -1, -1, -1, -1, -1, 85, 86, 87, -1, - -1, -1, -1, 92, 93, -1, -1, 96, -1, 37, - 38, 39, 40, -1, -1, -1, 44, -1, 46, -1, - -1, 49, -1, -1, -1, -1, -1, -1, 56, 57, - 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 70, 71, 72, -1, 74, 75, 76, 77, - 78, 79, 80, 81, 82, 83, 84, -1, -1, -1, - -1, 89, 90, 91, -1, -1, 94, 95, 9, 10, - 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, - 21, 22, 23, -1, 25, 26, 27, 28, 29, -1, - -1, -1, -1, 34, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 48, -1, 50, - 51, 52, 53, 54, 55, -1, -1, -1, -1, 60, - 61, 62, 63, 64, 65, -1, 67, -1, -1, -1, - -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 85, 86, 87, -1, -1, -1, - -1, 92, 93, -1, 9, 96, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, -1, - 25, 26, 27, 28, 29, -1, -1, -1, -1, 34, + -1, -1, -1, 49, -1, 51, 52, 53, 54, 55, + 56, -1, -1, -1, -1, 61, 62, 63, 64, 65, + 66, -1, 68, 8, -1, 10, 11, -1, 74, -1, + -1, -1, -1, -1, 19, -1, -1, -1, -1, -1, + 86, 87, 88, 57, 58, 59, 60, 93, 94, -1, + -1, 97, -1, 38, 39, 40, 41, -1, -1, -1, + 45, -1, 47, -1, -1, 50, -1, -1, -1, -1, + 84, 85, 57, 58, 59, 60, 90, 91, 92, -1, + -1, 95, -1, -1, -1, -1, 71, 72, 73, -1, + 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + 85, -1, -1, -1, -1, 90, 91, 92, -1, -1, + 95, 96, 10, 11, 12, 13, 14, 15, 16, 17, + 18, -1, 20, 21, 22, 23, 24, -1, 26, 27, + 28, 29, 30, -1, -1, -1, -1, 35, -1, -1, + -1, -1, -1, -1, 57, -1, 59, 60, -1, -1, + -1, 49, -1, 51, 52, 53, 54, 55, 56, -1, + -1, -1, -1, 61, 62, 63, 64, 65, 66, -1, + 68, 84, 85, -1, -1, -1, 74, 90, 91, 92, + -1, -1, 95, -1, -1, -1, -1, -1, 86, 87, + 88, -1, -1, -1, -1, 93, 94, -1, 10, 97, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 23, 24, -1, 26, 27, 28, 29, 30, -1, + -1, -1, -1, 35, 38, 39, 40, 41, -1, -1, + -1, 45, -1, 47, -1, -1, -1, 49, -1, 51, + 52, 53, 54, 55, 56, -1, -1, -1, -1, 61, + 62, 63, 64, 65, 66, -1, 68, 71, 72, 73, + -1, -1, 74, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 86, 87, 88, -1, -1, -1, + -1, 93, 94, -1, 10, 97, 12, 13, 14, 15, + 16, 17, 18, -1, 20, 21, 22, 23, 24, -1, + 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 48, -1, 50, 51, 52, 53, 54, - 55, -1, -1, -1, -1, 60, 61, 62, 63, 64, - 65, -1, 67, -1, -1, -1, -1, -1, 73, -1, + -1, -1, -1, 49, -1, 51, 52, 53, 54, 55, + 56, -1, -1, -1, -1, 61, 62, 63, 64, 65, + 66, -1, 68, -1, -1, -1, -1, -1, 74, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 85, 86, 87, -1, -1, -1, -1, 92, 93, -1, - 9, 96, 11, 12, 13, 14, 15, 16, 17, -1, - 19, 20, 21, 22, 23, -1, 25, 26, 27, 28, - 29, -1, -1, -1, -1, 34, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 48, - -1, 50, 51, 52, 53, 54, 55, -1, -1, -1, - -1, 60, 61, 62, 63, 64, 65, -1, 67, -1, - -1, -1, -1, -1, 73, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 85, 86, 87, -1, - -1, -1, -1, 92, 93, -1, 95, 96, 9, -1, - 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, - 21, 22, 23, -1, 25, 26, 27, 28, 29, -1, - -1, -1, -1, 34, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 48, -1, 50, - 51, 52, 53, 54, 55, -1, -1, -1, -1, 60, - 61, 62, 63, 64, 65, -1, 67, -1, -1, -1, - -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 85, 86, 87, -1, -1, -1, - -1, 92, 93, -1, 95, 96, 9, -1, 11, 12, - 13, 14, 15, 16, 17, -1, 19, 20, 21, 22, - 23, -1, 25, 26, 27, 28, 29, -1, -1, -1, - -1, 34, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 48, -1, 50, 51, 52, - 53, 54, 55, -1, -1, -1, -1, 60, 61, 62, - 63, 64, 65, -1, 67, -1, -1, -1, -1, -1, - 73, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 85, 86, 87, -1, -1, -1, -1, 92, - 93, -1, 95, 96, 9, -1, 11, 12, 13, 14, - 15, 16, 17, -1, 19, 20, 21, 22, 23, -1, - 25, 26, 27, 28, 29, -1, -1, -1, -1, 34, + 86, 87, 88, -1, -1, -1, -1, 93, 94, -1, + 96, 97, 10, -1, 12, 13, 14, 15, 16, 17, + 18, -1, 20, 21, 22, 23, 24, -1, 26, 27, + 28, 29, 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 48, -1, 50, 51, 52, 53, 54, - 55, -1, -1, -1, -1, 60, 61, 62, 63, 64, - 65, -1, 67, -1, -1, -1, -1, -1, 73, -1, + -1, 49, -1, 51, 52, 53, 54, 55, 56, -1, + -1, -1, -1, 61, 62, 63, 64, 65, 66, -1, + 68, -1, -1, -1, -1, -1, 74, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 86, 87, + 88, -1, -1, -1, -1, 93, 94, -1, 96, 97, + 10, -1, 12, 13, 14, 15, 16, 17, 18, -1, + 20, 21, 22, 23, 24, -1, 26, 27, 28, 29, + 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 49, + -1, 51, 52, 53, 54, 55, 56, -1, -1, -1, + -1, 61, 62, 63, 64, 65, 66, -1, 68, -1, + -1, -1, -1, -1, 74, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 86, 87, 88, -1, + -1, -1, -1, 93, 94, -1, 96, 97, 10, -1, + 12, 13, 14, 15, 16, 17, 18, -1, 20, 21, + 22, 23, 24, -1, 26, 27, 28, 29, 30, -1, + -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 49, -1, 51, + 52, 53, 54, 55, 56, -1, -1, -1, -1, 61, + 62, 63, 64, 65, 66, -1, 68, -1, -1, -1, + -1, -1, 74, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 86, 87, 88, -1, -1, -1, + -1, 93, 94, -1, 96, 97, 10, -1, 12, 13, + 14, 15, 16, 17, 18, -1, 20, 21, 22, 23, + 24, -1, 26, 27, 28, 29, 30, -1, -1, -1, + -1, 35, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 49, -1, 51, 52, 53, + 54, 55, 56, -1, -1, -1, -1, 61, 62, 63, + 64, 65, 66, -1, 68, -1, -1, -1, -1, -1, + 74, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 86, 87, 88, -1, -1, -1, -1, 93, + 94, -1, 96, 97, 10, -1, 12, 13, 14, 15, + 16, 17, 18, -1, 20, 21, 22, 23, 24, -1, + 26, 27, 28, 29, 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 85, 86, 87, -1, -1, -1, -1, 92, 93, -1, - 95, 96, 9, -1, 11, 12, 13, 14, 15, 16, - 17, -1, 19, 20, 21, 22, 23, -1, 25, 26, - 27, 28, 29, -1, -1, -1, -1, 34, -1, -1, + -1, -1, -1, 49, -1, 51, 52, 53, 54, 55, + 56, -1, -1, -1, -1, 61, 62, 63, 64, 65, + 66, -1, 68, -1, -1, -1, -1, -1, 74, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 48, -1, 50, 51, 52, 53, 54, 55, -1, - -1, -1, -1, 60, 61, 62, 63, 64, 65, -1, - 67, -1, -1, -1, -1, -1, 73, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 85, 86, - 87, -1, -1, -1, -1, 92, 93, -1, 95, 96, - 9, -1, 11, 12, 13, 14, 15, 16, 17, -1, - 19, 20, 21, 22, 23, -1, 25, 26, 27, 28, - 29, -1, -1, -1, -1, 34, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 48, - -1, 50, 51, 52, 53, 54, 55, -1, -1, -1, - -1, 60, 61, 62, 63, 64, 65, -1, 67, -1, - -1, -1, -1, -1, 73, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 85, 86, 87, -1, - -1, -1, -1, 92, 93, -1, 95, 96, 9, -1, - 11, 12, 13, 14, 15, 16, 17, -1, 19, 20, - 21, 22, 23, -1, 25, 26, 27, 28, 29, -1, - -1, -1, -1, 34, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 48, -1, 50, - 51, 52, 53, 54, 55, -1, -1, -1, -1, 60, - 61, 62, 63, 64, 65, -1, 67, -1, -1, -1, - -1, -1, 73, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 85, 86, 87, -1, -1, -1, - -1, 92, 93, -1, 95, 96, 9, -1, 11, 12, - 13, 14, 15, 16, 17, -1, 19, 20, 21, 22, - 23, -1, 25, 26, 27, 28, 29, -1, -1, -1, - -1, 34, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 48, -1, 50, 51, 52, - 53, 54, 55, -1, -1, -1, -1, 60, 61, 62, - 63, 64, 65, -1, 67, -1, -1, -1, -1, -1, - 73, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 85, 86, 87, -1, -1, -1, -1, 92, - 93, -1, 95, 96, 9, -1, 11, 12, 13, 14, - 15, 16, 17, -1, 19, 20, 21, 22, 23, -1, - 25, 26, 27, 28, 29, -1, -1, -1, -1, 34, + 86, 87, 88, -1, -1, -1, -1, 93, 94, -1, + 96, 97, 10, -1, 12, 13, 14, 15, 16, 17, + 18, -1, 20, 21, 22, 23, 24, -1, 26, 27, + 28, 29, 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 48, -1, 50, 51, 52, 53, 54, - 55, -1, -1, -1, -1, 60, 61, 62, 63, 64, - 65, -1, 67, -1, -1, 10, -1, -1, 73, -1, - -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, - 85, 86, 87, -1, -1, -1, -1, 92, 93, -1, - -1, 96, 37, 38, 39, 40, -1, -1, -1, 44, - -1, 46, -1, -1, 49, -1, -1, -1, -1, -1, - -1, 56, 57, 58, 59, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 70, 71, 72, -1, 74, - 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, - -1, -1, -1, -1, 89, 90, 91, 49, -1, 94, - 95, -1, -1, -1, 56, 57, 58, 59, -1, -1, + -1, 49, -1, 51, 52, 53, 54, 55, 56, -1, + -1, -1, -1, 61, 62, 63, 64, 65, 66, -1, + 68, -1, -1, -1, -1, -1, 74, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 86, 87, + 88, -1, -1, -1, -1, 93, 94, -1, 96, 97, + 10, -1, 12, 13, 14, 15, 16, 17, 18, -1, + 20, 21, 22, 23, 24, -1, 26, 27, 28, 29, + 30, -1, -1, -1, -1, 35, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 49, + -1, 51, 52, 53, 54, 55, 56, -1, -1, -1, + -1, 61, 62, 63, 64, 65, 66, -1, 68, -1, + -1, -1, -1, -1, 74, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 86, 87, 88, -1, + -1, -1, -1, 93, 94, -1, 96, 97, 10, -1, + 12, 13, 14, 15, 16, 17, 18, -1, 20, 21, + 22, 23, 24, -1, 26, 27, 28, 29, 30, -1, + -1, -1, -1, 35, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 49, -1, 51, + 52, 53, 54, 55, 56, -1, -1, -1, -1, 61, + 62, 63, 64, 65, 66, -1, 68, -1, -1, -1, + 50, -1, 74, -1, -1, -1, -1, 57, 58, 59, + 60, -1, -1, -1, 86, 87, 88, -1, -1, -1, + -1, 93, 94, -1, -1, 97, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, -1, -1, -1, 50, + 90, 91, 92, -1, -1, 95, 57, 58, 59, 60, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 75, 76, -1, 78, 79, 80, 81, - 82, 83, 84, -1, -1, -1, 49, 89, 90, 91, - -1, -1, 94, 56, 57, 58, 59, -1, -1, -1, + -1, -1, -1, -1, -1, 76, 77, -1, 79, 80, + 81, 82, 83, 84, 85, -1, -1, -1, 50, 90, + 91, 92, -1, -1, 95, 57, 58, 59, 60, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 76, -1, 78, 79, 80, 81, 82, - 83, 84, -1, -1, -1, 49, 89, 90, 91, -1, - -1, 94, 56, 57, 58, 59, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 77, -1, 79, 80, 81, + 82, 83, 84, 85, -1, -1, -1, 50, 90, 91, + 92, -1, -1, 95, 57, 58, 59, 60, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 78, 79, 80, 81, 82, 83, - 84, -1, -1, -1, -1, 89, 90, 91, -1, -1, - 94 + -1, -1, -1, -1, -1, -1, 79, 80, 81, 82, + 83, 84, 85, -1, -1, -1, -1, 90, 91, 92, + -1, -1, 95 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const yytype_uint8 yystos[] = { - 0, 3, 4, 5, 6, 99, 103, 107, 100, 101, - 102, 0, 110, 7, 104, 31, 111, 125, 110, 111, - 105, 1, 9, 11, 12, 13, 14, 15, 16, 17, - 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, - 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, - 40, 44, 45, 46, 47, 48, 50, 51, 52, 53, - 54, 55, 60, 61, 62, 63, 64, 65, 66, 67, - 73, 85, 86, 87, 92, 93, 96, 97, 104, 112, - 115, 135, 136, 137, 140, 141, 142, 143, 144, 145, - 146, 153, 154, 155, 156, 157, 158, 110, 10, 135, - 145, 145, 19, 24, 104, 154, 159, 159, 159, 159, - 159, 159, 159, 96, 9, 145, 128, 129, 127, 128, - 19, 127, 25, 96, 150, 150, 150, 150, 65, 150, - 154, 150, 150, 104, 145, 96, 96, 96, 104, 145, - 19, 136, 148, 154, 159, 159, 19, 104, 145, 154, - 18, 135, 19, 145, 96, 147, 154, 155, 156, 127, - 145, 136, 145, 145, 145, 145, 145, 95, 135, 43, - 117, 18, 37, 38, 39, 40, 44, 46, 70, 71, - 72, 74, 7, 9, 150, 49, 56, 57, 58, 59, - 75, 76, 78, 79, 80, 81, 82, 83, 84, 89, - 90, 91, 94, 150, 7, 9, 7, 9, 7, 8, - 10, 148, 96, 136, 135, 104, 19, 126, 19, 130, - 22, 131, 19, 113, 151, 105, 105, 105, 105, 105, - 105, 150, 105, 105, 95, 95, 135, 135, 149, 159, - 136, 150, 150, 8, 18, 148, 95, 135, 68, 133, - 130, 9, 95, 104, 135, 121, 135, 135, 135, 135, - 135, 135, 135, 135, 145, 135, 135, 95, 135, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 7, 9, 20, 96, 139, 154, - 95, 135, 135, 135, 135, 135, 135, 149, 95, 10, - 138, 104, 131, 68, 132, 7, 18, 19, 96, 120, - 135, 121, 122, 135, 121, 124, 152, 154, 115, 119, - 122, 123, 135, 105, 106, 122, 95, 95, 135, 95, - 135, 95, 135, 8, 95, 22, 131, 135, 9, 18, - 10, 95, 77, 135, 135, 95, 135, 150, 95, 18, - 10, 18, 10, 18, 95, 148, 132, 22, 104, 105, - 19, 95, 95, 95, 95, 150, 95, 18, 122, 122, - 95, 95, 95, 95, 132, 10, 135, 8, 145, 18, - 10, 95, 149, 8, 8, 8, 18, 104, 134, 114, - 148, 118, 118, 7, 108, 108, 122, 108, 120, 95, - 95, 108, 134, 10, 8, 95, 110, 18, 108, 108, - 109, 41, 42, 116, 116, 95, 117, 18, 108, 108, - 8, 117, 117, 110, 108, 150, 108, 118, 117, 8, - 122, 117, 123, 95, 95, 108, 108, 116 + 0, 3, 4, 5, 6, 7, 100, 105, 109, 101, + 102, 103, 104, 0, 112, 8, 106, 1, 10, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + 23, 24, 26, 27, 28, 29, 30, 31, 33, 34, + 35, 36, 37, 38, 39, 40, 41, 45, 46, 47, + 48, 49, 51, 52, 53, 54, 55, 56, 61, 62, + 63, 64, 65, 66, 67, 68, 74, 86, 87, 88, + 93, 94, 97, 98, 106, 114, 117, 137, 138, 139, + 142, 143, 144, 145, 146, 147, 148, 155, 156, 157, + 158, 159, 160, 32, 113, 127, 112, 113, 107, 11, + 137, 147, 147, 20, 25, 106, 156, 161, 161, 161, + 161, 161, 161, 161, 97, 10, 147, 130, 131, 129, + 130, 20, 129, 26, 97, 152, 152, 152, 152, 66, + 152, 156, 152, 152, 106, 147, 97, 97, 97, 106, + 147, 20, 138, 150, 156, 161, 161, 20, 106, 147, + 156, 19, 137, 20, 147, 97, 149, 156, 157, 158, + 129, 147, 138, 147, 147, 147, 147, 147, 96, 137, + 44, 119, 19, 38, 39, 40, 41, 45, 47, 71, + 72, 73, 75, 8, 10, 152, 50, 57, 58, 59, + 60, 76, 77, 79, 80, 81, 82, 83, 84, 85, + 90, 91, 92, 95, 152, 8, 10, 8, 10, 8, + 114, 112, 11, 150, 97, 138, 137, 106, 20, 128, + 20, 132, 23, 133, 20, 115, 153, 107, 107, 107, + 107, 107, 107, 152, 107, 107, 96, 96, 137, 137, + 151, 161, 138, 152, 152, 9, 19, 150, 96, 137, + 69, 135, 132, 10, 96, 106, 137, 123, 137, 137, + 137, 137, 137, 137, 137, 137, 147, 137, 137, 96, + 137, 147, 147, 147, 147, 147, 147, 147, 147, 147, + 147, 147, 147, 147, 147, 147, 8, 10, 21, 97, + 141, 156, 96, 137, 137, 137, 137, 137, 137, 9, + 151, 96, 11, 140, 106, 133, 69, 134, 8, 19, + 20, 97, 122, 137, 123, 124, 137, 123, 126, 154, + 156, 117, 121, 124, 125, 137, 107, 108, 124, 96, + 96, 137, 96, 137, 96, 137, 9, 96, 23, 133, + 137, 10, 19, 11, 96, 78, 137, 137, 96, 137, + 152, 96, 19, 11, 19, 11, 19, 96, 150, 134, + 23, 106, 107, 20, 96, 96, 96, 96, 152, 96, + 19, 124, 124, 96, 96, 96, 96, 134, 11, 137, + 9, 147, 19, 11, 96, 151, 9, 9, 9, 19, + 106, 136, 116, 150, 120, 120, 8, 110, 110, 124, + 110, 122, 96, 96, 110, 136, 11, 9, 96, 112, + 19, 110, 110, 111, 42, 43, 118, 118, 96, 119, + 19, 110, 110, 9, 119, 119, 112, 110, 152, 110, + 120, 119, 9, 124, 119, 125, 96, 96, 110, 110, + 118 }; typedef enum { @@ -932,26 +922,26 @@ typedef enum { static const toketypes yy_type_tab[] = { toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, - toketype_ival, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, - toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, + toketype_ival, toketype_ival, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, + toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, - toketype_opval, toketype_opval, toketype_p_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, + toketype_opval, toketype_opval, toketype_opval, toketype_p_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, - toketype_i_tkval, toketype_i_tkval, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, + toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, 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_i_tkval, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_opval, - toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_ival, toketype_opval, - toketype_opval, toketype_opval, toketype_ival, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_ival, - toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_p_tkval, - toketype_opval, toketype_ival, toketype_ival, toketype_ival, toketype_opval, - 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_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, + toketype_ival, toketype_ival, toketype_i_tkval, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, + toketype_ival, toketype_opval, toketype_ival, toketype_ival, toketype_ival, toketype_opval, + toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_ival, toketype_opval, + toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, + toketype_opval, toketype_p_tkval, toketype_opval, toketype_ival, toketype_ival, + toketype_ival, toketype_opval, 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_i_tkval, 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_i_tkval, toketype_ival, toketype_opval, + toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval }; @@ -69,7 +69,7 @@ #endif } -%token <ival> GRAMPROG GRAMBLOCK GRAMFULLSTMT GRAMSTMTSEQ +%token <ival> GRAMPROG GRAMBLOCK GRAMBARESTMT GRAMFULLSTMT GRAMSTMTSEQ %token <i_tkval> '{' '}' '[' ']' '-' '+' '$' '@' '%' '*' '&' ';' @@ -153,6 +153,18 @@ grammar : GRAMPROG prog yyunlex(); parser->yychar = YYEOF; } + | GRAMBARESTMT + { + parser->expect = XSTATE; + } + barestmt + { + PL_pad_reset_pending = TRUE; + PL_eval_root = $3; + $$ = 0; + yyunlex(); + parser->yychar = YYEOF; + } | GRAMFULLSTMT { parser->expect = XSTATE; @@ -2765,6 +2765,7 @@ PERL_CALLCONV void Perl_pad_undef(pTHX_ CV* cv) #define PERL_ARGS_ASSERT_PAD_UNDEF \ assert(cv) +PERL_CALLCONV OP* Perl_parse_barestmt(pTHX_ U32 flags); PERL_CALLCONV OP* Perl_parse_block(pTHX_ U32 flags); PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags); PERL_CALLCONV OP* Perl_parse_stmtseq(pTHX_ U32 flags); @@ -14036,11 +14036,49 @@ Perl_parse_block(pTHX_ U32 flags) } /* +=for apidoc Amx|OP *|parse_barestmt|U32 flags + +Parse a single unadorned Perl statement. This may be a normal imperative +statement or a declaration that has compile-time effect. It does not +include any label or other affixture. It is up to the caller to ensure +that the dynamic parser state (L</PL_parser> et al) is correctly set to +reflect the source of the code to be parsed and the lexical context for +the statement. + +The op tree representing the statement is returned. This may be a +null pointer if the statement is null, for example if it was actually +a subroutine definition (which has compile-time side effects). If not +null, it will be ops directly implementing the statement, suitable to +pass to L</newSTATEOP>. It will not normally include a C<nextstate> or +equivalent op (except for those embedded in a scope contained entirely +within the statement). + +If an error occurs in parsing or compilation, in most cases a valid op +tree (most likely null) is returned anyway. The error is reflected in +the parser state, normally resulting in a single exception at the top +level of parsing which covers all the compilation errors that occurred. +Some compilation errors, however, will throw an exception immediately. + +The I<flags> parameter is reserved for future use, and must always +be zero. + +=cut +*/ + +OP * +Perl_parse_barestmt(pTHX_ U32 flags) +{ + if (flags) + Perl_croak(aTHX_ "Parsing code internal error (%s)", "parse_barestmt"); + return parse_recdescent_for_op(GRAMBARESTMT); +} + +/* =for apidoc Amx|OP *|parse_fullstmt|U32 flags Parse a single complete Perl statement. This may be a normal imperative -statement, including optional label, or a declaration that has -compile-time effect. It is up to the caller to ensure that the dynamic +statement or a declaration that has compile-time effect, and may include +an optional label. It is up to the caller to ensure that the dynamic parser state (L</PL_parser> et al) is correctly set to reflect the source of the code to be parsed and the lexical context for the statement. |