diff options
author | Zefram <zefram@fysh.org> | 2010-10-04 10:26:42 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-10-04 10:26:42 +0200 |
commit | 07ffcb738e9467df21e3d33604cf09c125e7ff52 (patch) | |
tree | 4d9f19d1b037c0559de25681d55a3a2f7569e2ce | |
parent | ad97526782cdd5392f99d55127e22a7eb5ea9851 (diff) | |
download | perl-07ffcb738e9467df21e3d33604cf09c125e7ff52.tar.gz |
[PATCH] function to parse Perl statement sequence
New API function parse_stmtseq() parses a sequence of statements, up to
closing brace or EOF.
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | embed.fnc | 1 | ||||
-rw-r--r-- | embed.h | 1 | ||||
-rw-r--r-- | ext/XS-APItest/APItest.pm | 2 | ||||
-rw-r--r-- | ext/XS-APItest/APItest.xs | 18 | ||||
-rw-r--r-- | ext/XS-APItest/t/looprest.t | 87 | ||||
-rw-r--r-- | global.sym | 1 | ||||
-rw-r--r-- | perly.act | 851 | ||||
-rw-r--r-- | perly.h | 290 | ||||
-rw-r--r-- | perly.tab | 1611 | ||||
-rw-r--r-- | perly.y | 29 | ||||
-rw-r--r-- | proto.h | 1 | ||||
-rw-r--r-- | toke.c | 46 |
13 files changed, 1585 insertions, 1354 deletions
@@ -3355,6 +3355,7 @@ ext/XS-APItest/t/grok.t XS::APItest: tests for grok* functions ext/XS-APItest/t/hash.t XS::APItest: tests for hash related APIs ext/XS-APItest/t/keyword_multiline.t test keyword plugin parsing across lines ext/XS-APItest/t/keyword_plugin.t test keyword plugin mechanism +ext/XS-APItest/t/looprest.t test recursive descent statement-sequence parsing ext/XS-APItest/t/Markers.pm Helper for ./blockhooks.t ext/XS-APItest/t/my_cxt.t XS::APItest: test MY_CXT interface ext/XS-APItest/t/my_exit.t XS::APItest: test my_exit @@ -630,6 +630,7 @@ AMpd |I32 |lex_read_unichar|U32 flags AMpd |void |lex_read_space |U32 flags : Public parser API AMpd |OP* |parse_fullstmt |U32 flags +AMpd |OP* |parse_stmtseq |U32 flags : Used in various files Ap |void |op_null |NN OP* o : FIXME. Used by Data::Alias @@ -367,6 +367,7 @@ #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_fullstmt(a) Perl_parse_fullstmt(aTHX_ a) +#define parse_stmtseq(a) Perl_parse_stmtseq(aTHX_ a) #define pmop_dump(a) Perl_pmop_dump(aTHX_ a) #define pop_scope() Perl_pop_scope(aTHX) #define pregcomp(a,b) Perl_pregcomp(aTHX_ a,b) diff --git a/ext/XS-APItest/APItest.pm b/ext/XS-APItest/APItest.pm index 474d528fb4..bb95682372 100644 --- a/ext/XS-APItest/APItest.pm +++ b/ext/XS-APItest/APItest.pm @@ -36,7 +36,7 @@ sub import { } } foreach (keys %{$exports||{}}) { - next unless /\A(?:rpn|calcrpn|stufftest|swaptwostmts)\z/; + next unless /\A(?:rpn|calcrpn|stufftest|swaptwostmts|looprest)\z/; $^H{"XS::APItest/$_"} = 1; delete $exports->{$_}; } diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs index 67c27380dc..4b3d470328 100644 --- a/ext/XS-APItest/APItest.xs +++ b/ext/XS-APItest/APItest.xs @@ -381,7 +381,7 @@ my_rpeep (pTHX_ OP *o) (SvFLAGS(sv) & (SVf_IOK|SVf_NOK|SVf_POK|SVp_IOK|SVp_NOK|SVp_POK))) static SV *hintkey_rpn_sv, *hintkey_calcrpn_sv, *hintkey_stufftest_sv; -static SV *hintkey_swaptwostmts_sv; +static SV *hintkey_swaptwostmts_sv, *hintkey_looprest_sv; static int (*next_keyword_plugin)(pTHX_ char *, STRLEN, OP **); /* low-level parser helpers */ @@ -553,6 +553,17 @@ static OP *THX_parse_keyword_swaptwostmts(pTHX) return !a ? b : !b ? a : newLISTOP(OP_LINESEQ, 0, b, a); } +#define parse_keyword_looprest() THX_parse_keyword_looprest(aTHX) +static OP *THX_parse_keyword_looprest(pTHX) +{ + I32 condline; + OP *body; + condline = CopLINE(PL_curcop); + body = parse_stmtseq(0); + return newWHILEOP(0, 1, NULL, condline, newSVOP(OP_CONST, 0, &PL_sv_yes), + body, NULL, 1); +} + /* plugin glue */ #define keyword_active(hintkey_sv) THX_keyword_active(aTHX_ hintkey_sv) @@ -585,6 +596,10 @@ static int my_keyword_plugin(pTHX_ keyword_active(hintkey_swaptwostmts_sv)) { *op_ptr = parse_keyword_swaptwostmts(); return KEYWORD_PLUGIN_STMT; + } else if(keyword_len == 8 && strnEQ(keyword_ptr, "looprest", 8) && + keyword_active(hintkey_looprest_sv)) { + *op_ptr = parse_keyword_looprest(); + return KEYWORD_PLUGIN_STMT; } else { return next_keyword_plugin(aTHX_ keyword_ptr, keyword_len, op_ptr); } @@ -1544,6 +1559,7 @@ BOOT: hintkey_calcrpn_sv = newSVpvs_share("XS::APItest/calcrpn"); hintkey_stufftest_sv = newSVpvs_share("XS::APItest/stufftest"); hintkey_swaptwostmts_sv = newSVpvs_share("XS::APItest/swaptwostmts"); + hintkey_looprest_sv = newSVpvs_share("XS::APItest/looprest"); next_keyword_plugin = PL_keyword_plugin; PL_keyword_plugin = my_keyword_plugin; } diff --git a/ext/XS-APItest/t/looprest.t b/ext/XS-APItest/t/looprest.t new file mode 100644 index 0000000000..0881ca043b --- /dev/null +++ b/ext/XS-APItest/t/looprest.t @@ -0,0 +1,87 @@ +use warnings; +use strict; + +use Test::More tests => 10; + +BEGIN { $^H |= 0x20000; } + +my $t; + +$t = ""; +eval q{ + use XS::APItest qw(looprest); + do { + $t .= "a"; + looprest + $t .= "b"; + last unless length($t) < 5; + $t .= "c"; + }; + $t .= "d"; +}; +is $@, ""; +is $t, "abcbcbd"; + +$t = ""; +eval q{ + use XS::APItest qw(looprest); + $t .= "a"; + looprest + $t .= "b"; + last unless length($t) < 5; + $t .= "c"; +}; +is $@, ""; +is $t, "abcbcb"; + +$t = ""; +eval q[ + use XS::APItest qw(looprest); + do { + $t .= "a"; + looprest + $t .= "b"; + last unless length($t) < 5; + $t .= "c"; +]; +isnt $@, ""; +is $t, ""; + +$t = ""; +eval q[ + use XS::APItest qw(looprest); + $t .= "a"; + looprest + $t .= "b"; + last unless length($t) < 5; + $t .= "c"; + }; +]; +isnt $@, ""; +is $t, ""; + +$t = ""; +eval q{ + use XS::APItest qw(looprest); + my $x = "a"; + $t .= $x; + do { + no warnings "misc"; + $t .= $x; + my $x = "b"; + $t .= $x; + looprest + $t .= $x; + my $x = "c"; + $t .= $x; + last unless length($t) < 7; + $t .= $x; + my $x = "d"; + $t .= $x; + }; + $t .= $x; +}; +is $@, ""; +is $t, "aabbccdbca"; + +1; diff --git a/global.sym b/global.sym index ffd2249add..152f4b962c 100644 --- a/global.sym +++ b/global.sym @@ -413,6 +413,7 @@ Perl_packlist Perl_pad_findmy Perl_pad_push Perl_parse_fullstmt +Perl_parse_stmtseq perl_alloc perl_construct perl_destruct @@ -14,12 +14,47 @@ case 2: break; case 4: +#line 154 "perly.y" + { + parser->expect = XSTATE; + ;} + break; + + case 5: #line 158 "perly.y" + { + PL_eval_root = (ps[(3) - (4)].val.opval); + (yyval.ival) = 0; + ;} + break; + + case 6: +#line 165 "perly.y" + { + assert(parser->yychar == YYEMPTY); + assert(parser->bufptr != SvPVX(parser->linestr)); + assert(parser->bufptr[-1] == '}'); + parser->bufptr--; + parser->lex_brackstack[parser->lex_brackets++] = + XSTATE; + parser->expect = XSTATE; + parser->yychar = YYEOF; + (yyval.ival) = 0; + ;} + break; + + case 7: +#line 177 "perly.y" + { (yyval.ival) = 0; ;} + break; + + case 8: +#line 183 "perly.y" { (yyval.ival) = (ps[(1) - (2)].val.ival); newPROG(block_end((ps[(1) - (2)].val.ival),(ps[(2) - (2)].val.opval))); ;} break; - case 5: -#line 163 "perly.y" + case 9: +#line 188 "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)); @@ -28,25 +63,25 @@ case 2: ;} break; - case 6: -#line 172 "perly.y" + case 10: +#line 197 "perly.y" { (yyval.ival) = block_start(TRUE); ;} break; - case 7: -#line 176 "perly.y" + case 11: +#line 201 "perly.y" { (yyval.ival) = (I32) Perl_allocmy(aTHX_ STR_WITH_LEN("$_"), 0); ;} break; - case 8: -#line 180 "perly.y" + case 12: +#line 205 "perly.y" { PL_parser->expect = XSTATE; (yyval.ival) = block_start(TRUE); ;} break; - case 9: -#line 187 "perly.y" + case 13: +#line 212 "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)); @@ -55,18 +90,18 @@ case 2: ;} break; - case 10: -#line 196 "perly.y" + case 14: +#line 221 "perly.y" { (yyval.ival) = block_start(FALSE); ;} break; - case 11: -#line 201 "perly.y" + case 15: +#line 226 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 12: -#line 203 "perly.y" + case 16: +#line 228 "perly.y" { (yyval.opval) = IF_MAD( append_list(OP_LINESEQ, @@ -75,8 +110,8 @@ case 2: ;} break; - case 13: -#line 210 "perly.y" + case 17: +#line 235 "perly.y" { (yyval.opval) = append_list(OP_LINESEQ, (LISTOP*)(ps[(1) - (2)].val.opval), (LISTOP*)(ps[(2) - (2)].val.opval)); PL_pad_reset_pending = TRUE; @@ -85,37 +120,37 @@ case 2: ;} break; - case 14: -#line 220 "perly.y" + case 18: +#line 245 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 15: -#line 222 "perly.y" + case 19: +#line 247 "perly.y" { PL_pad_reset_pending = TRUE; (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 16: -#line 230 "perly.y" + case 20: +#line 255 "perly.y" { (yyval.opval) = newSTATEOP(0, PVAL((ps[(1) - (2)].val.p_tkval)), (ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.p_tkval),((LISTOP*)(yyval.opval))->op_first,'L'); ;} break; - case 18: -#line 234 "perly.y" + case 22: +#line 259 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 19: -#line 236 "perly.y" + case 23: +#line 261 "perly.y" { (yyval.opval) = newSTATEOP(0, PVAL((ps[(1) - (2)].val.p_tkval)), (ps[(2) - (2)].val.opval)); ;} break; - case 20: -#line 238 "perly.y" + case 24: +#line 263 "perly.y" { if (PVAL((ps[(1) - (2)].val.p_tkval))) { (yyval.opval) = newSTATEOP(0, PVAL((ps[(1) - (2)].val.p_tkval)), newOP(OP_NULL, 0)); @@ -134,8 +169,8 @@ case 2: ;} break; - case 21: -#line 255 "perly.y" + case 25: +#line 280 "perly.y" { (yyval.opval) = newSTATEOP(0, PVAL((ps[(1) - (3)].val.p_tkval)), (ps[(2) - (3)].val.opval)); PL_parser->expect = XSTATE; @@ -153,84 +188,84 @@ case 2: ;} break; - case 22: -#line 271 "perly.y" + case 26: +#line 296 "perly.y" { (yyval.opval) = newSTATEOP(0, NULL, newWHILEOP(0, 1, (LOOP*)(OP*)NULL, NOLINE, (OP*)NULL, (ps[(1) - (1)].val.opval), (OP*)NULL, 0)); ;} break; - case 23: -#line 276 "perly.y" + case 27: +#line 301 "perly.y" { (yyval.opval) = newSTATEOP(0, PVAL((ps[(1) - (2)].val.p_tkval)), (ps[(2) - (2)].val.opval)); ;} break; - case 24: -#line 281 "perly.y" + case 28: +#line 306 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 25: -#line 283 "perly.y" + case 29: +#line 308 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 26: -#line 285 "perly.y" + case 30: +#line 310 "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 27: -#line 289 "perly.y" + case 31: +#line 314 "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 28: -#line 293 "perly.y" + case 32: +#line 318 "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 29: -#line 297 "perly.y" + case 33: +#line 322 "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 30: -#line 301 "perly.y" + case 34: +#line 326 "perly.y" { (yyval.opval) = newFOROP(0, NULL, (line_t)IVAL((ps[(2) - (3)].val.i_tkval)), (OP*)NULL, (ps[(3) - (3)].val.opval), (ps[(1) - (3)].val.opval), (OP*)NULL); TOKEN_GETMAD((ps[(2) - (3)].val.i_tkval),((LISTOP*)(yyval.opval))->op_first->op_sibling,'w'); ;} break; - case 31: -#line 306 "perly.y" + case 35: +#line 331 "perly.y" { (yyval.opval) = newWHENOP((ps[(3) - (3)].val.opval), scope((ps[(1) - (3)].val.opval))); ;} break; - case 32: -#line 311 "perly.y" + case 36: +#line 336 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 33: -#line 313 "perly.y" + case 37: +#line 338 "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 34: -#line 317 "perly.y" + case 38: +#line 342 "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; @@ -240,8 +275,8 @@ case 2: ;} break; - case 35: -#line 328 "perly.y" + case 39: +#line 353 "perly.y" { PL_parser->copline = (line_t)IVAL((ps[(1) - (7)].val.i_tkval)); (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))); @@ -251,8 +286,8 @@ case 2: ;} break; - case 36: -#line 336 "perly.y" + case 40: +#line 361 "perly.y" { PL_parser->copline = (line_t)IVAL((ps[(1) - (7)].val.i_tkval)); (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))); @@ -262,31 +297,31 @@ case 2: ;} break; - case 37: -#line 347 "perly.y" + case 41: +#line 372 "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 38: -#line 350 "perly.y" + case 42: +#line 375 "perly.y" { (yyval.opval) = newWHENOP(0, scope((ps[(2) - (2)].val.opval))); ;} break; - case 39: -#line 355 "perly.y" + case 43: +#line 380 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 40: -#line 357 "perly.y" + case 44: +#line 382 "perly.y" { (yyval.opval) = scope((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'o'); ;} break; - case 41: -#line 364 "perly.y" + case 45: +#line 389 "perly.y" { OP *innerop; PL_parser->copline = (line_t)IVAL((ps[(2) - (9)].val.i_tkval)); (yyval.opval) = block_end((ps[(4) - (9)].val.ival), @@ -300,8 +335,8 @@ case 2: ;} break; - case 42: -#line 377 "perly.y" + case 46: +#line 402 "perly.y" { OP *innerop; PL_parser->copline = (line_t)IVAL((ps[(2) - (9)].val.i_tkval)); (yyval.opval) = block_end((ps[(4) - (9)].val.ival), @@ -315,8 +350,8 @@ case 2: ;} break; - case 43: -#line 389 "perly.y" + case 47: +#line 414 "perly.y" { OP *innerop; (yyval.opval) = block_end((ps[(4) - (10)].val.ival), innerop = newFOROP(0, PVAL((ps[(1) - (10)].val.p_tkval)), (line_t)IVAL((ps[(2) - (10)].val.i_tkval)), @@ -329,8 +364,8 @@ case 2: ;} break; - case 44: -#line 400 "perly.y" + case 48: +#line 425 "perly.y" { OP *innerop; (yyval.opval) = block_end((ps[(5) - (9)].val.ival), innerop = newFOROP(0, PVAL((ps[(1) - (9)].val.p_tkval)), (line_t)IVAL((ps[(2) - (9)].val.i_tkval)), @@ -342,8 +377,8 @@ case 2: ;} break; - case 45: -#line 410 "perly.y" + case 49: +#line 435 "perly.y" { OP *innerop; (yyval.opval) = block_end((ps[(4) - (8)].val.ival), innerop = newFOROP(0, PVAL((ps[(1) - (8)].val.p_tkval)), (line_t)IVAL((ps[(2) - (8)].val.i_tkval)), @@ -355,8 +390,8 @@ case 2: ;} break; - case 46: -#line 422 "perly.y" + case 50: +#line 447 "perly.y" { OP *forop; PL_parser->copline = (line_t)IVAL((ps[(2) - (12)].val.i_tkval)); forop = newSTATEOP(0, PVAL((ps[(1) - (12)].val.p_tkval)), @@ -388,16 +423,16 @@ case 2: (yyval.opval) = block_end((ps[(4) - (12)].val.ival), forop); ;} break; - case 47: -#line 452 "perly.y" + case 51: +#line 477 "perly.y" { (yyval.opval) = newSTATEOP(0, PVAL((ps[(1) - (3)].val.p_tkval)), newWHILEOP(0, 1, (LOOP*)(OP*)NULL, NOLINE, (OP*)NULL, (ps[(2) - (3)].val.opval), (ps[(3) - (3)].val.opval), 0)); TOKEN_GETMAD((ps[(1) - (3)].val.p_tkval),((LISTOP*)(yyval.opval))->op_first,'L'); ;} break; - case 48: -#line 460 "perly.y" + case 52: +#line 485 "perly.y" { PL_parser->copline = (line_t) IVAL((ps[(2) - (8)].val.i_tkval)); (yyval.opval) = block_end((ps[(4) - (8)].val.ival), newSTATEOP(0, PVAL((ps[(1) - (8)].val.p_tkval)), @@ -405,47 +440,47 @@ case 2: (PADOFFSET) (ps[(5) - (8)].val.ival)) )); ;} break; - case 49: -#line 469 "perly.y" + case 53: +#line 494 "perly.y" { (yyval.ival) = (PL_min_intro_pending && PL_max_intro_pending >= PL_min_intro_pending); intro_my(); ;} break; - case 50: -#line 475 "perly.y" + case 54: +#line 500 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 52: -#line 481 "perly.y" + case 56: +#line 506 "perly.y" { YYSTYPE tmplval; (void)scan_num("1", &tmplval); (yyval.opval) = tmplval.opval; ;} break; - case 54: -#line 489 "perly.y" + case 58: +#line 514 "perly.y" { (yyval.opval) = invert(scalar((ps[(1) - (1)].val.opval))); ;} break; - case 55: -#line 494 "perly.y" + case 59: +#line 519 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} break; - case 56: -#line 498 "perly.y" + case 60: +#line 523 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} break; - case 57: -#line 502 "perly.y" + case 61: +#line 527 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); intro_my(); ;} break; - case 58: -#line 507 "perly.y" + case 62: +#line 532 "perly.y" { #ifdef MAD YYSTYPE tmplval; @@ -457,45 +492,45 @@ case 2: ;} break; - case 60: -#line 521 "perly.y" + case 64: +#line 546 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 61: -#line 523 "perly.y" + case 65: +#line 548 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 62: -#line 525 "perly.y" + case 66: +#line 550 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 63: -#line 527 "perly.y" + case 67: +#line 552 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 64: -#line 529 "perly.y" + case 68: +#line 554 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 65: -#line 534 "perly.y" + case 69: +#line 559 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 66: -#line 538 "perly.y" + case 70: +#line 563 "perly.y" { (yyval.opval) = newOP(OP_NULL,0); TOKEN_GETMAD((ps[(1) - (1)].val.i_tkval),(yyval.opval),'p'); ;} break; - case 67: -#line 544 "perly.y" + case 71: +#line 569 "perly.y" { CV *fmtcv = PL_compcv; SvREFCNT_inc_simple_void(PL_compcv); @@ -515,18 +550,18 @@ case 2: ;} break; - case 68: -#line 563 "perly.y" + case 72: +#line 588 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 69: -#line 564 "perly.y" + case 73: +#line 589 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 70: -#line 569 "perly.y" + case 74: +#line 594 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); #ifdef MAD (yyval.opval) = newMYSUB((ps[(2) - (6)].val.ival), (ps[(3) - (6)].val.opval), (ps[(4) - (6)].val.opval), (ps[(5) - (6)].val.opval), (ps[(6) - (6)].val.opval)); @@ -538,8 +573,8 @@ case 2: ;} break; - case 71: -#line 582 "perly.y" + case 75: +#line 607 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); #ifdef MAD { @@ -561,26 +596,26 @@ case 2: ;} break; - case 72: -#line 604 "perly.y" + case 76: +#line 629 "perly.y" { (yyval.ival) = start_subparse(FALSE, 0); SAVEFREESV(PL_compcv); ;} break; - case 73: -#line 610 "perly.y" + case 77: +#line 635 "perly.y" { (yyval.ival) = start_subparse(FALSE, CVf_ANON); SAVEFREESV(PL_compcv); ;} break; - case 74: -#line 615 "perly.y" + case 78: +#line 640 "perly.y" { (yyval.ival) = start_subparse(TRUE, 0); SAVEFREESV(PL_compcv); ;} break; - case 75: -#line 620 "perly.y" + case 79: +#line 645 "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") @@ -589,25 +624,25 @@ case 2: (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 76: -#line 630 "perly.y" + case 80: +#line 655 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 78: -#line 636 "perly.y" + case 82: +#line 661 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 79: -#line 638 "perly.y" + case 83: +#line 663 "perly.y" { (yyval.opval) = (ps[(2) - (2)].val.opval); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),':'); ;} break; - case 80: -#line 642 "perly.y" + case 84: +#line 667 "perly.y" { (yyval.opval) = IF_MAD( newOP(OP_NULL, 0), (OP*)NULL @@ -616,15 +651,15 @@ case 2: ;} break; - case 81: -#line 652 "perly.y" + case 85: +#line 677 "perly.y" { (yyval.opval) = (ps[(2) - (2)].val.opval); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),':'); ;} break; - case 82: -#line 656 "perly.y" + case 86: +#line 681 "perly.y" { (yyval.opval) = IF_MAD( newOP(OP_NULL, 0), (OP*)NULL @@ -633,13 +668,13 @@ case 2: ;} break; - case 83: -#line 665 "perly.y" + case 87: +#line 690 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 84: -#line 666 "perly.y" + case 88: +#line 691 "perly.y" { (yyval.opval) = IF_MAD( newOP(OP_NULL,0), (OP*)NULL @@ -649,8 +684,8 @@ case 2: ;} break; - case 85: -#line 676 "perly.y" + case 89: +#line 701 "perly.y" { #ifdef MAD (yyval.opval) = package((ps[(3) - (4)].val.opval)); @@ -667,8 +702,8 @@ case 2: ;} break; - case 86: -#line 693 "perly.y" + case 90: +#line 718 "perly.y" { int save_3_latefree = (ps[(3) - (5)].val.opval)->op_latefree; (ps[(3) - (5)].val.opval)->op_latefree = 1; @@ -683,8 +718,8 @@ case 2: ;} break; - case 87: -#line 706 "perly.y" + case 91: +#line 731 "perly.y" { if (PL_parser->copline > (line_t)IVAL((ps[(4) - (8)].val.i_tkval))) PL_parser->copline = (line_t)IVAL((ps[(4) - (8)].val.i_tkval)); (yyval.opval) = block_end((ps[(5) - (8)].val.ival), (ps[(7) - (8)].val.opval)); @@ -696,13 +731,13 @@ case 2: ;} break; - case 88: -#line 718 "perly.y" + case 92: +#line 743 "perly.y" { CvSPECIAL_on(PL_compcv); /* It's a BEGIN {} */ ;} break; - case 89: -#line 720 "perly.y" + case 93: +#line 745 "perly.y" { SvREFCNT_inc_simple_void(PL_compcv); #ifdef MAD (yyval.opval) = utilize(IVAL((ps[(1) - (7)].val.i_tkval)), (ps[(2) - (7)].val.ival), (ps[(4) - (7)].val.opval), (ps[(5) - (7)].val.opval), (ps[(6) - (7)].val.opval)); @@ -718,29 +753,29 @@ case 2: ;} break; - case 90: -#line 737 "perly.y" + case 94: +#line 762 "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 91: -#line 741 "perly.y" + case 95: +#line 766 "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 92: -#line 745 "perly.y" + case 96: +#line 770 "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 94: -#line 753 "perly.y" + case 98: +#line 778 "perly.y" { #ifdef MAD OP* op = newNULLLIST(); @@ -752,8 +787,8 @@ case 2: ;} break; - case 95: -#line 763 "perly.y" + case 99: +#line 788 "perly.y" { OP* term = (ps[(3) - (3)].val.opval); DO_MAD( @@ -764,16 +799,16 @@ case 2: ;} break; - case 97: -#line 776 "perly.y" + case 101: +#line 801 "perly.y" { (yyval.opval) = convert(IVAL((ps[(1) - (3)].val.i_tkval)), OPf_STACKED, 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 98: -#line 781 "perly.y" + case 102: +#line 806 "perly.y" { (yyval.opval) = convert(IVAL((ps[(1) - (5)].val.i_tkval)), OPf_STACKED, 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'); @@ -782,8 +817,8 @@ case 2: ;} break; - case 99: -#line 788 "perly.y" + case 103: +#line 813 "perly.y" { (yyval.opval) = convert(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, prepend_elem(OP_LIST, scalar((ps[(1) - (6)].val.opval)), (ps[(5) - (6)].val.opval)), @@ -794,8 +829,8 @@ case 2: ;} break; - case 100: -#line 797 "perly.y" + case 104: +#line 822 "perly.y" { (yyval.opval) = convert(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, scalar((ps[(1) - (3)].val.opval)), newUNOP(OP_METHOD, 0, (ps[(3) - (3)].val.opval)))); @@ -803,8 +838,8 @@ case 2: ;} break; - case 101: -#line 803 "perly.y" + case 105: +#line 828 "perly.y" { (yyval.opval) = convert(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, prepend_elem(OP_LIST, (ps[(2) - (3)].val.opval), (ps[(3) - (3)].val.opval)), @@ -812,8 +847,8 @@ case 2: ;} break; - case 102: -#line 809 "perly.y" + case 106: +#line 834 "perly.y" { (yyval.opval) = convert(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, prepend_elem(OP_LIST, (ps[(2) - (5)].val.opval), (ps[(4) - (5)].val.opval)), @@ -823,15 +858,15 @@ case 2: ;} break; - case 103: -#line 817 "perly.y" + case 107: +#line 842 "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 104: -#line 821 "perly.y" + case 108: +#line 846 "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),'('); @@ -839,22 +874,22 @@ case 2: ;} break; - case 105: -#line 827 "perly.y" + case 109: +#line 852 "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 106: -#line 830 "perly.y" + case 110: +#line 855 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, prepend_elem(OP_LIST, (ps[(4) - (5)].val.opval), (ps[(5) - (5)].val.opval)), (ps[(1) - (5)].val.opval))); ;} break; - case 109: -#line 845 "perly.y" + case 113: +#line 870 "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),'{'); @@ -863,16 +898,16 @@ case 2: ;} break; - case 110: -#line 852 "perly.y" + case 114: +#line 877 "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 111: -#line 857 "perly.y" + case 115: +#line 882 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, ref(newAVREF((ps[(1) - (5)].val.opval)),OP_RV2AV), scalar((ps[(4) - (5)].val.opval))); @@ -882,8 +917,8 @@ case 2: ;} break; - case 112: -#line 865 "perly.y" + case 116: +#line 890 "perly.y" { (yyval.opval) = newBINOP(OP_AELEM, 0, ref(newAVREF((ps[(1) - (4)].val.opval)),OP_RV2AV), scalar((ps[(3) - (4)].val.opval))); @@ -892,8 +927,8 @@ case 2: ;} break; - case 113: -#line 872 "perly.y" + case 117: +#line 897 "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),'{'); @@ -902,8 +937,8 @@ case 2: ;} break; - case 114: -#line 879 "perly.y" + case 118: +#line 904 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, ref(newHVREF((ps[(1) - (6)].val.opval)),OP_RV2HV), jmaybe((ps[(4) - (6)].val.opval))); @@ -915,8 +950,8 @@ case 2: ;} break; - case 115: -#line 889 "perly.y" + case 119: +#line 914 "perly.y" { (yyval.opval) = newBINOP(OP_HELEM, 0, ref(newHVREF((ps[(1) - (5)].val.opval)),OP_RV2HV), jmaybe((ps[(3) - (5)].val.opval))); @@ -927,8 +962,8 @@ case 2: ;} break; - case 116: -#line 898 "perly.y" + case 120: +#line 923 "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'); @@ -937,8 +972,8 @@ case 2: ;} break; - case 117: -#line 905 "perly.y" + case 121: +#line 930 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, (ps[(4) - (5)].val.opval), newCVREF(0, scalar((ps[(1) - (5)].val.opval))))); @@ -948,8 +983,8 @@ case 2: ;} break; - case 118: -#line 914 "perly.y" + case 122: +#line 939 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, (ps[(3) - (4)].val.opval), newCVREF(0, scalar((ps[(1) - (4)].val.opval))))); @@ -958,8 +993,8 @@ case 2: ;} break; - case 119: -#line 921 "perly.y" + case 123: +#line 946 "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),'('); @@ -967,8 +1002,8 @@ case 2: ;} break; - case 120: -#line 927 "perly.y" + case 124: +#line 952 "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),')'); @@ -977,16 +1012,16 @@ case 2: ;} break; - case 121: -#line 934 "perly.y" + case 125: +#line 959 "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 122: -#line 939 "perly.y" + case 126: +#line 964 "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),')'); @@ -995,22 +1030,22 @@ case 2: ;} break; - case 123: -#line 949 "perly.y" + case 127: +#line 974 "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 124: -#line 953 "perly.y" + case 128: +#line 978 "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 125: -#line 957 "perly.y" + case 129: +#line 982 "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))); @@ -1018,50 +1053,50 @@ case 2: ;} break; - case 126: -#line 963 "perly.y" + case 130: +#line 988 "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 127: -#line 967 "perly.y" + case 131: +#line 992 "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 128: -#line 971 "perly.y" + case 132: +#line 996 "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 129: -#line 975 "perly.y" + case 133: +#line 1000 "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 130: -#line 979 "perly.y" + case 134: +#line 1004 "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 131: -#line 983 "perly.y" + case 135: +#line 1008 "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 132: -#line 987 "perly.y" + case 136: +#line 1012 "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({ @@ -1075,29 +1110,29 @@ case 2: ;} break; - case 133: -#line 999 "perly.y" + case 137: +#line 1024 "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 134: -#line 1003 "perly.y" + case 138: +#line 1028 "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 135: -#line 1007 "perly.y" + case 139: +#line 1032 "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 136: -#line 1011 "perly.y" + case 140: +#line 1036 "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 @@ -1106,15 +1141,15 @@ case 2: ;} break; - case 137: -#line 1021 "perly.y" + case 141: +#line 1046 "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 138: -#line 1025 "perly.y" + case 142: +#line 1050 "perly.y" { (yyval.opval) = IF_MAD( newUNOP(OP_NULL, 0, (ps[(2) - (2)].val.opval)), (ps[(2) - (2)].val.opval) @@ -1123,70 +1158,70 @@ case 2: ;} break; - case 139: -#line 1032 "perly.y" + case 143: +#line 1057 "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 140: -#line 1036 "perly.y" + case 144: +#line 1061 "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 141: -#line 1040 "perly.y" + case 145: +#line 1065 "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 142: -#line 1045 "perly.y" + case 146: +#line 1070 "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 143: -#line 1050 "perly.y" + case 147: +#line 1075 "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 144: -#line 1055 "perly.y" + case 148: +#line 1080 "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 145: -#line 1064 "perly.y" + case 149: +#line 1089 "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 146: -#line 1069 "perly.y" + case 150: +#line 1094 "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 147: -#line 1074 "perly.y" + case 151: +#line 1099 "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),';'); @@ -1194,8 +1229,8 @@ case 2: ;} break; - case 148: -#line 1080 "perly.y" + case 152: +#line 1105 "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),';'); @@ -1203,8 +1238,8 @@ case 2: ;} break; - case 149: -#line 1086 "perly.y" + case 153: +#line 1111 "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'); @@ -1213,22 +1248,22 @@ case 2: ;} break; - case 150: -#line 1097 "perly.y" + case 154: +#line 1122 "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 151: -#line 1101 "perly.y" + case 155: +#line 1126 "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 152: -#line 1105 "perly.y" + case 156: +#line 1130 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED, prepend_elem(OP_LIST, @@ -1242,8 +1277,8 @@ case 2: ;} break; - case 153: -#line 1117 "perly.y" + case 157: +#line 1142 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED, append_elem(OP_LIST, @@ -1258,8 +1293,8 @@ case 2: ;} break; - case 154: -#line 1130 "perly.y" + case 158: +#line 1155 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED, prepend_elem(OP_LIST, scalar(newCVREF(0,scalar((ps[(2) - (4)].val.opval)))), (OP*)NULL)); dep(); @@ -1269,8 +1304,8 @@ case 2: ;} break; - case 155: -#line 1138 "perly.y" + case 159: +#line 1163 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_SPECIAL|OPf_STACKED, prepend_elem(OP_LIST, (ps[(4) - (5)].val.opval), @@ -1281,86 +1316,86 @@ case 2: ;} break; - case 160: -#line 1154 "perly.y" + case 164: +#line 1179 "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 161: -#line 1159 "perly.y" + case 165: +#line 1184 "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 162: -#line 1163 "perly.y" + case 166: +#line 1188 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 163: -#line 1165 "perly.y" + case 167: +#line 1190 "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 164: -#line 1169 "perly.y" + case 168: +#line 1194 "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 165: -#line 1174 "perly.y" + case 169: +#line 1199 "perly.y" { (yyval.opval) = IF_MAD(newUNOP(OP_NULL,0,(ps[(1) - (1)].val.opval)), (ps[(1) - (1)].val.opval)); ;} break; - case 166: -#line 1176 "perly.y" + case 170: +#line 1201 "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 167: -#line 1181 "perly.y" + case 171: +#line 1206 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 168: -#line 1183 "perly.y" + case 172: +#line 1208 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 169: -#line 1185 "perly.y" + case 173: +#line 1210 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 170: -#line 1187 "perly.y" + case 174: +#line 1212 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 171: -#line 1189 "perly.y" + case 175: +#line 1214 "perly.y" { (yyval.opval) = newUNOP(OP_AV2ARYLEN, 0, ref((ps[(1) - (1)].val.opval), OP_AV2ARYLEN));;} break; - case 172: -#line 1191 "perly.y" + case 176: +#line 1216 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 173: -#line 1193 "perly.y" + case 177: +#line 1218 "perly.y" { (yyval.opval) = prepend_elem(OP_ASLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_ASLICE, 0, @@ -1371,8 +1406,8 @@ case 2: ;} break; - case 174: -#line 1202 "perly.y" + case 178: +#line 1227 "perly.y" { (yyval.opval) = prepend_elem(OP_HSLICE, newOP(OP_PUSHMARK, 0), newLISTOP(OP_HSLICE, 0, @@ -1385,26 +1420,26 @@ case 2: ;} break; - case 175: -#line 1213 "perly.y" + case 179: +#line 1238 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 176: -#line 1215 "perly.y" + case 180: +#line 1240 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, scalar((ps[(1) - (1)].val.opval))); ;} break; - case 177: -#line 1217 "perly.y" + case 181: +#line 1242 "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 178: -#line 1222 "perly.y" + case 182: +#line 1247 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, (ps[(3) - (4)].val.opval), scalar((ps[(1) - (4)].val.opval)))); @@ -1419,91 +1454,91 @@ case 2: ;} break; - case 179: -#line 1235 "perly.y" + case 183: +#line 1260 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, 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 180: -#line 1240 "perly.y" + case 184: +#line 1265 "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 181: -#line 1245 "perly.y" + case 185: +#line 1270 "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 182: -#line 1249 "perly.y" + case 186: +#line 1274 "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 183: -#line 1253 "perly.y" + case 187: +#line 1278 "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 184: -#line 1257 "perly.y" + case 188: +#line 1282 "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 185: -#line 1261 "perly.y" + case 189: +#line 1286 "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 186: -#line 1265 "perly.y" + case 190: +#line 1290 "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 187: -#line 1269 "perly.y" + case 191: +#line 1294 "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 188: -#line 1273 "perly.y" + case 192: +#line 1298 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (1)].val.opval))); ;} break; - case 189: -#line 1275 "perly.y" + case 193: +#line 1300 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, append_elem(OP_LIST, (ps[(2) - (2)].val.opval), scalar((ps[(1) - (2)].val.opval)))); ;} break; - case 190: -#line 1278 "perly.y" + case 194: +#line 1303 "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 191: -#line 1282 "perly.y" + case 195: +#line 1307 "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),'('); @@ -1511,14 +1546,14 @@ case 2: ;} break; - case 192: -#line 1288 "perly.y" + case 196: +#line 1313 "perly.y" { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[(1) - (1)].val.opval))); ;} break; - case 193: -#line 1291 "perly.y" + case 197: +#line 1316 "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); @@ -1529,8 +1564,8 @@ case 2: ;} break; - case 194: -#line 1300 "perly.y" + case 198: +#line 1325 "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),'('); @@ -1538,16 +1573,16 @@ case 2: ;} break; - case 195: -#line 1306 "perly.y" + case 199: +#line 1331 "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 198: -#line 1313 "perly.y" + case 202: +#line 1338 "perly.y" { (yyval.opval) = newLISTOP(OP_DIE, 0, newOP(OP_PUSHMARK, 0), newSVOP(OP_CONST, 0, newSVpvs("Unimplemented"))); @@ -1555,8 +1590,8 @@ case 2: ;} break; - case 200: -#line 1323 "perly.y" + case 204: +#line 1348 "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'); @@ -1566,143 +1601,143 @@ case 2: ;} break; - case 201: -#line 1331 "perly.y" + case 205: +#line 1356 "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 202: -#line 1338 "perly.y" + case 206: +#line 1363 "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 203: -#line 1343 "perly.y" + case 207: +#line 1368 "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 204: -#line 1348 "perly.y" + case 208: +#line 1373 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 205: -#line 1350 "perly.y" + case 209: +#line 1375 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 206: -#line 1352 "perly.y" + case 210: +#line 1377 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 207: -#line 1357 "perly.y" + case 211: +#line 1382 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 208: -#line 1359 "perly.y" + case 212: +#line 1384 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 209: -#line 1363 "perly.y" + case 213: +#line 1388 "perly.y" { (yyval.opval) = (OP*)NULL; ;} break; - case 210: -#line 1365 "perly.y" + case 214: +#line 1390 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; - case 211: -#line 1369 "perly.y" + case 215: +#line 1394 "perly.y" { (yyval.i_tkval) = (ps[(1) - (1)].val.i_tkval); ;} break; - case 212: -#line 1371 "perly.y" + case 216: +#line 1396 "perly.y" { munge_qwlist_to_paren_list((ps[(1) - (1)].val.opval)); ;} break; - case 213: -#line 1373 "perly.y" + case 217: +#line 1398 "perly.y" { (yyval.i_tkval) = (ps[(3) - (3)].val.i_tkval); ;} break; - case 214: -#line 1379 "perly.y" + case 218: +#line 1404 "perly.y" { PL_parser->in_my = 0; (yyval.opval) = my((ps[(1) - (1)].val.opval)); ;} break; - case 215: -#line 1383 "perly.y" + case 219: +#line 1408 "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 216: -#line 1389 "perly.y" + case 220: +#line 1414 "perly.y" { (yyval.opval) = newSVREF((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'$'); ;} break; - case 217: -#line 1395 "perly.y" + case 221: +#line 1420 "perly.y" { (yyval.opval) = newAVREF((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'@'); ;} break; - case 218: -#line 1401 "perly.y" + case 222: +#line 1426 "perly.y" { (yyval.opval) = newHVREF((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'%'); ;} break; - case 219: -#line 1407 "perly.y" + case 223: +#line 1432 "perly.y" { (yyval.opval) = newAVREF((ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'l'); ;} break; - case 220: -#line 1413 "perly.y" + case 224: +#line 1438 "perly.y" { (yyval.opval) = newGVREF(0,(ps[(2) - (2)].val.opval)); TOKEN_GETMAD((ps[(1) - (2)].val.i_tkval),(yyval.opval),'*'); ;} break; - case 221: -#line 1420 "perly.y" + case 225: +#line 1445 "perly.y" { (yyval.opval) = scalar((ps[(1) - (1)].val.opval)); ;} break; - case 222: -#line 1422 "perly.y" + case 226: +#line 1447 "perly.y" { (yyval.opval) = scalar((ps[(1) - (1)].val.opval)); ;} break; - case 223: -#line 1424 "perly.y" + case 227: +#line 1449 "perly.y" { (yyval.opval) = scope((ps[(1) - (1)].val.opval)); ;} break; - case 224: -#line 1427 "perly.y" + case 228: +#line 1452 "perly.y" { (yyval.opval) = (ps[(1) - (1)].val.opval); ;} break; @@ -42,155 +42,157 @@ enum yytokentype { GRAMPROG = 258, GRAMFULLSTMT = 259, - WORD = 260, - METHOD = 261, - FUNCMETH = 262, - THING = 263, - PMFUNC = 264, - PRIVATEREF = 265, - QWLIST = 266, - FUNC0SUB = 267, - UNIOPSUB = 268, - LSTOPSUB = 269, - PLUGEXPR = 270, - PLUGSTMT = 271, - LABEL = 272, - FORMAT = 273, - SUB = 274, - ANONSUB = 275, - PACKAGE = 276, - USE = 277, - WHILE = 278, - UNTIL = 279, - IF = 280, - UNLESS = 281, - ELSE = 282, - ELSIF = 283, - CONTINUE = 284, - FOR = 285, - GIVEN = 286, - WHEN = 287, - DEFAULT = 288, - LOOPEX = 289, - DOTDOT = 290, - YADAYADA = 291, - FUNC0 = 292, - FUNC1 = 293, - FUNC = 294, - UNIOP = 295, - LSTOP = 296, - RELOP = 297, - EQOP = 298, - MULOP = 299, - ADDOP = 300, - DOLSHARP = 301, - DO = 302, - HASHBRACK = 303, - NOAMP = 304, - LOCAL = 305, - MY = 306, - MYSUB = 307, - REQUIRE = 308, - COLONATTR = 309, - PREC_LOW = 310, - DOROP = 311, - OROP = 312, - ANDOP = 313, - NOTOP = 314, - ASSIGNOP = 315, - DORDOR = 316, - OROR = 317, - ANDAND = 318, - BITOROP = 319, - BITANDOP = 320, - SHIFTOP = 321, - MATCHOP = 322, - REFGEN = 323, - UMINUS = 324, - POWOP = 325, - POSTDEC = 326, - POSTINC = 327, - PREDEC = 328, - PREINC = 329, - ARROW = 330, - PEG = 331 + GRAMSTMTSEQ = 260, + WORD = 261, + METHOD = 262, + FUNCMETH = 263, + THING = 264, + PMFUNC = 265, + PRIVATEREF = 266, + QWLIST = 267, + FUNC0SUB = 268, + UNIOPSUB = 269, + LSTOPSUB = 270, + PLUGEXPR = 271, + PLUGSTMT = 272, + LABEL = 273, + FORMAT = 274, + SUB = 275, + ANONSUB = 276, + PACKAGE = 277, + USE = 278, + WHILE = 279, + UNTIL = 280, + IF = 281, + UNLESS = 282, + ELSE = 283, + ELSIF = 284, + CONTINUE = 285, + FOR = 286, + GIVEN = 287, + WHEN = 288, + DEFAULT = 289, + LOOPEX = 290, + DOTDOT = 291, + YADAYADA = 292, + FUNC0 = 293, + FUNC1 = 294, + FUNC = 295, + UNIOP = 296, + LSTOP = 297, + RELOP = 298, + EQOP = 299, + MULOP = 300, + ADDOP = 301, + DOLSHARP = 302, + DO = 303, + HASHBRACK = 304, + NOAMP = 305, + LOCAL = 306, + MY = 307, + MYSUB = 308, + REQUIRE = 309, + COLONATTR = 310, + PREC_LOW = 311, + DOROP = 312, + OROP = 313, + ANDOP = 314, + NOTOP = 315, + ASSIGNOP = 316, + DORDOR = 317, + OROR = 318, + ANDAND = 319, + BITOROP = 320, + BITANDOP = 321, + SHIFTOP = 322, + MATCHOP = 323, + REFGEN = 324, + UMINUS = 325, + POWOP = 326, + POSTDEC = 327, + POSTINC = 328, + PREDEC = 329, + PREINC = 330, + ARROW = 331, + PEG = 332 }; #endif /* Tokens. */ #define GRAMPROG 258 #define GRAMFULLSTMT 259 -#define WORD 260 -#define METHOD 261 -#define FUNCMETH 262 -#define THING 263 -#define PMFUNC 264 -#define PRIVATEREF 265 -#define QWLIST 266 -#define FUNC0SUB 267 -#define UNIOPSUB 268 -#define LSTOPSUB 269 -#define PLUGEXPR 270 -#define PLUGSTMT 271 -#define LABEL 272 -#define FORMAT 273 -#define SUB 274 -#define ANONSUB 275 -#define PACKAGE 276 -#define USE 277 -#define WHILE 278 -#define UNTIL 279 -#define IF 280 -#define UNLESS 281 -#define ELSE 282 -#define ELSIF 283 -#define CONTINUE 284 -#define FOR 285 -#define GIVEN 286 -#define WHEN 287 -#define DEFAULT 288 -#define LOOPEX 289 -#define DOTDOT 290 -#define YADAYADA 291 -#define FUNC0 292 -#define FUNC1 293 -#define FUNC 294 -#define UNIOP 295 -#define LSTOP 296 -#define RELOP 297 -#define EQOP 298 -#define MULOP 299 -#define ADDOP 300 -#define DOLSHARP 301 -#define DO 302 -#define HASHBRACK 303 -#define NOAMP 304 -#define LOCAL 305 -#define MY 306 -#define MYSUB 307 -#define REQUIRE 308 -#define COLONATTR 309 -#define PREC_LOW 310 -#define DOROP 311 -#define OROP 312 -#define ANDOP 313 -#define NOTOP 314 -#define ASSIGNOP 315 -#define DORDOR 316 -#define OROR 317 -#define ANDAND 318 -#define BITOROP 319 -#define BITANDOP 320 -#define SHIFTOP 321 -#define MATCHOP 322 -#define REFGEN 323 -#define UMINUS 324 -#define POWOP 325 -#define POSTDEC 326 -#define POSTINC 327 -#define PREDEC 328 -#define PREINC 329 -#define ARROW 330 -#define PEG 331 +#define GRAMSTMTSEQ 260 +#define WORD 261 +#define METHOD 262 +#define FUNCMETH 263 +#define THING 264 +#define PMFUNC 265 +#define PRIVATEREF 266 +#define QWLIST 267 +#define FUNC0SUB 268 +#define UNIOPSUB 269 +#define LSTOPSUB 270 +#define PLUGEXPR 271 +#define PLUGSTMT 272 +#define LABEL 273 +#define FORMAT 274 +#define SUB 275 +#define ANONSUB 276 +#define PACKAGE 277 +#define USE 278 +#define WHILE 279 +#define UNTIL 280 +#define IF 281 +#define UNLESS 282 +#define ELSE 283 +#define ELSIF 284 +#define CONTINUE 285 +#define FOR 286 +#define GIVEN 287 +#define WHEN 288 +#define DEFAULT 289 +#define LOOPEX 290 +#define DOTDOT 291 +#define YADAYADA 292 +#define FUNC0 293 +#define FUNC1 294 +#define FUNC 295 +#define UNIOP 296 +#define LSTOP 297 +#define RELOP 298 +#define EQOP 299 +#define MULOP 300 +#define ADDOP 301 +#define DOLSHARP 302 +#define DO 303 +#define HASHBRACK 304 +#define NOAMP 305 +#define LOCAL 306 +#define MY 307 +#define MYSUB 308 +#define REQUIRE 309 +#define COLONATTR 310 +#define PREC_LOW 311 +#define DOROP 312 +#define OROP 313 +#define ANDOP 314 +#define NOTOP 315 +#define ASSIGNOP 316 +#define DORDOR 317 +#define OROR 318 +#define ANDAND 319 +#define BITOROP 320 +#define BITANDOP 321 +#define SHIFTOP 322 +#define MATCHOP 323 +#define REFGEN 324 +#define UMINUS 325 +#define POWOP 326 +#define POSTDEC 327 +#define POSTINC 328 +#define PREDEC 329 +#define PREINC 330 +#define ARROW 331 +#define PEG 332 @@ -1,19 +1,19 @@ -#define YYFINAL 26 +#define YYFINAL 28 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 2129 +#define YYLAST 2186 /* YYNTOKENS -- Number of terminals. */ -#define YYNTOKENS 96 +#define YYNTOKENS 97 /* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 71 +#define YYNNTS 73 /* YYNRULES -- Number of rules. */ -#define YYNRULES 224 +#define YYNRULES 228 /* YYNRULES -- Number of states. */ -#define YYNSTATES 444 +#define YYNSTATES 449 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 -#define YYMAXUTOK 331 +#define YYMAXUTOK 332 #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, 83, 2, 2, 11, 13, 15, 2, - 94, 93, 14, 10, 72, 9, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 75, 16, - 2, 2, 2, 74, 12, 2, 2, 2, 2, 2, + 2, 2, 2, 84, 2, 2, 12, 14, 16, 2, + 95, 94, 15, 11, 73, 10, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 76, 17, + 2, 2, 2, 75, 13, 2, 2, 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, 2, 2, 2, 2, 2, 2, + 2, 8, 2, 9, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 5, 2, 6, 84, 2, 2, 2, + 2, 2, 2, 6, 2, 7, 85, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, - 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 5, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 73, 76, 77, 78, 79, - 80, 81, 82, 85, 86, 87, 88, 89, 90, 91, - 92, 95 + 67, 68, 69, 70, 71, 72, 74, 77, 78, 79, + 80, 81, 82, 83, 86, 87, 88, 89, 90, 91, + 92, 93, 96 }; #if YYDEBUG @@ -62,140 +62,141 @@ static const yytype_uint8 yytranslate[] = YYRHS. */ static const yytype_uint16 yyprhs[] = { - 0, 0, 3, 6, 9, 12, 17, 18, 19, 20, - 25, 26, 27, 30, 33, 35, 37, 40, 42, 44, - 47, 50, 54, 56, 59, 61, 63, 67, 71, 75, - 79, 83, 87, 88, 91, 98, 106, 114, 121, 124, - 125, 128, 138, 148, 159, 169, 178, 191, 195, 204, - 205, 206, 208, 209, 211, 213, 215, 217, 219, 220, - 222, 224, 226, 228, 230, 232, 234, 236, 241, 243, - 244, 251, 258, 259, 260, 261, 263, 264, 266, 267, - 270, 272, 275, 277, 279, 281, 286, 287, 296, 297, - 305, 309, 313, 317, 319, 322, 326, 328, 332, 338, - 345, 349, 353, 359, 362, 367, 368, 374, 376, 378, - 384, 389, 395, 400, 406, 413, 419, 424, 430, 435, - 439, 446, 451, 457, 461, 465, 469, 473, 477, 481, - 485, 489, 493, 497, 501, 505, 509, 513, 516, 519, - 522, 525, 528, 531, 534, 537, 541, 544, 549, 553, - 559, 562, 565, 570, 576, 581, 587, 589, 591, 593, - 595, 601, 604, 606, 609, 613, 615, 618, 620, 622, - 624, 626, 628, 630, 635, 641, 643, 645, 649, 654, - 658, 660, 663, 666, 668, 671, 674, 676, 679, 681, - 684, 686, 690, 692, 696, 701, 706, 708, 710, 712, - 714, 718, 721, 725, 728, 730, 732, 734, 735, 737, - 738, 740, 742, 743, 747, 749, 752, 755, 758, 761, - 764, 767, 769, 771, 773 + 0, 0, 3, 6, 9, 10, 15, 17, 18, 21, + 26, 27, 28, 29, 34, 35, 36, 39, 42, 44, + 46, 49, 51, 53, 56, 59, 63, 65, 68, 70, + 72, 76, 80, 84, 88, 92, 96, 97, 100, 107, + 115, 123, 130, 133, 134, 137, 147, 157, 168, 178, + 187, 200, 204, 213, 214, 215, 217, 218, 220, 222, + 224, 226, 228, 229, 231, 233, 235, 237, 239, 241, + 243, 245, 250, 252, 253, 260, 267, 268, 269, 270, + 272, 273, 275, 276, 279, 281, 284, 286, 288, 290, + 295, 296, 305, 306, 314, 318, 322, 326, 328, 331, + 335, 337, 341, 347, 354, 358, 362, 368, 371, 376, + 377, 383, 385, 387, 393, 398, 404, 409, 415, 422, + 428, 433, 439, 444, 448, 455, 460, 466, 470, 474, + 478, 482, 486, 490, 494, 498, 502, 506, 510, 514, + 518, 522, 525, 528, 531, 534, 537, 540, 543, 546, + 550, 553, 558, 562, 568, 571, 574, 579, 585, 590, + 596, 598, 600, 602, 604, 610, 613, 615, 618, 622, + 624, 627, 629, 631, 633, 635, 637, 639, 644, 650, + 652, 654, 658, 663, 667, 669, 672, 675, 677, 680, + 683, 685, 688, 690, 693, 695, 699, 701, 705, 710, + 715, 717, 719, 721, 723, 727, 730, 734, 737, 739, + 741, 743, 744, 746, 747, 749, 751, 752, 756, 758, + 761, 764, 767, 770, 773, 776, 778, 780, 782 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yytype_int16 yyrhs[] = { - 97, 0, -1, 3, 98, -1, 4, 106, -1, 102, - 105, -1, 5, 100, 105, 6, -1, -1, -1, -1, - 5, 104, 105, 6, -1, -1, -1, 105, 123, -1, - 105, 107, -1, 123, -1, 107, -1, 122, 110, -1, - 113, -1, 114, -1, 122, 111, -1, 122, 16, -1, - 122, 108, 16, -1, 138, -1, 122, 28, -1, 1, - -1, 142, -1, 142, 37, 142, -1, 142, 38, 142, - -1, 142, 35, 142, -1, 142, 36, 118, -1, 142, - 42, 142, -1, 142, 44, 142, -1, -1, 39, 103, - -1, 40, 157, 119, 93, 103, 109, -1, 37, 157, - 100, 119, 93, 103, 109, -1, 38, 157, 100, 121, - 93, 103, 109, -1, 44, 157, 100, 119, 93, 103, - -1, 45, 99, -1, -1, 41, 99, -1, 122, 35, - 157, 100, 117, 93, 115, 103, 112, -1, 122, 36, - 157, 100, 118, 93, 115, 103, 112, -1, 122, 42, - 63, 100, 159, 157, 119, 93, 103, 112, -1, 122, - 42, 161, 157, 100, 119, 93, 103, 112, -1, 122, - 42, 157, 100, 119, 93, 103, 112, -1, 122, 42, - 157, 100, 120, 16, 117, 16, 115, 120, 93, 103, - -1, 122, 99, 112, -1, 122, 43, 157, 100, 101, - 119, 93, 103, -1, -1, -1, 108, -1, -1, 142, - -1, 142, -1, 142, -1, 116, -1, 118, -1, -1, - 29, -1, 125, -1, 128, -1, 127, -1, 137, -1, - 140, -1, 124, -1, 95, -1, 30, 131, 126, 99, - -1, 17, -1, -1, 64, 129, 132, 133, 134, 136, - -1, 31, 129, 132, 133, 134, 136, -1, -1, -1, - -1, 17, -1, -1, 20, -1, -1, 66, 20, -1, - 66, -1, 66, 20, -1, 66, -1, 99, -1, 16, - -1, 33, 17, 17, 16, -1, -1, 33, 17, 17, - 5, 100, 139, 105, 6, -1, -1, 34, 129, 141, - 17, 17, 155, 16, -1, 142, 70, 142, -1, 142, - 69, 142, -1, 142, 68, 142, -1, 143, -1, 143, - 72, -1, 143, 72, 152, -1, 152, -1, 53, 166, - 143, -1, 51, 94, 166, 142, 93, -1, 152, 92, - 146, 157, 156, 93, -1, 152, 92, 146, -1, 18, - 166, 155, -1, 19, 166, 94, 156, 93, -1, 53, - 155, -1, 51, 94, 156, 93, -1, -1, 26, 130, - 99, 145, 155, -1, 18, -1, 161, -1, 165, 5, - 142, 16, 6, -1, 161, 7, 142, 8, -1, 152, - 92, 7, 142, 8, -1, 147, 7, 142, 8, -1, - 161, 5, 142, 16, 6, -1, 152, 92, 5, 142, - 16, 6, -1, 147, 5, 142, 16, 6, -1, 152, - 92, 94, 93, -1, 152, 92, 94, 142, 93, -1, - 147, 157, 142, 93, -1, 147, 157, 93, -1, 94, - 142, 93, 7, 142, 8, -1, 23, 7, 142, 8, - -1, 94, 93, 7, 142, 8, -1, 152, 73, 152, - -1, 152, 87, 152, -1, 152, 56, 152, -1, 152, - 57, 152, -1, 152, 81, 152, -1, 152, 54, 152, - -1, 152, 55, 152, -1, 152, 80, 152, -1, 152, - 79, 152, -1, 152, 47, 152, -1, 152, 78, 152, - -1, 152, 77, 152, -1, 152, 76, 152, -1, 152, - 82, 152, -1, 9, 152, -1, 10, 152, -1, 83, - 152, -1, 84, 152, -1, 152, 89, -1, 152, 88, - -1, 91, 152, -1, 90, 152, -1, 7, 142, 8, - -1, 7, 8, -1, 60, 142, 16, 6, -1, 60, - 16, 6, -1, 32, 130, 133, 134, 99, -1, 59, - 152, -1, 59, 99, -1, 59, 17, 157, 93, -1, - 59, 17, 157, 142, 93, -1, 59, 161, 157, 93, - -1, 59, 161, 157, 142, 93, -1, 148, -1, 149, - -1, 150, -1, 151, -1, 152, 74, 152, 75, 152, - -1, 85, 152, -1, 153, -1, 62, 152, -1, 94, - 142, 93, -1, 23, -1, 94, 93, -1, 161, -1, - 165, -1, 163, -1, 162, -1, 164, -1, 147, -1, - 162, 7, 142, 8, -1, 162, 5, 142, 16, 6, - -1, 20, -1, 160, -1, 160, 157, 93, -1, 160, - 157, 142, 93, -1, 61, 17, 155, -1, 46, -1, - 46, 152, -1, 71, 143, -1, 52, -1, 52, 99, - -1, 52, 152, -1, 65, -1, 65, 152, -1, 25, - -1, 25, 152, -1, 49, -1, 49, 94, 93, -1, - 24, -1, 50, 94, 93, -1, 50, 94, 142, 93, - -1, 21, 94, 143, 93, -1, 17, -1, 144, -1, - 48, -1, 27, -1, 63, 154, 135, -1, 63, 154, - -1, 94, 142, 93, -1, 94, 93, -1, 161, -1, - 163, -1, 162, -1, -1, 143, -1, -1, 142, -1, - 94, -1, -1, 23, 158, 94, -1, 161, -1, 15, - 166, -1, 11, 166, -1, 12, 166, -1, 13, 166, - -1, 58, 166, -1, 14, 166, -1, 17, -1, 161, - -1, 99, -1, 22, -1 + 98, 0, -1, 3, 101, -1, 4, 109, -1, -1, + 5, 99, 108, 100, -1, 7, -1, -1, 105, 108, + -1, 6, 103, 108, 7, -1, -1, -1, -1, 6, + 107, 108, 7, -1, -1, -1, 108, 126, -1, 108, + 110, -1, 126, -1, 110, -1, 125, 113, -1, 116, + -1, 117, -1, 125, 114, -1, 125, 17, -1, 125, + 111, 17, -1, 141, -1, 125, 29, -1, 1, -1, + 145, -1, 145, 38, 145, -1, 145, 39, 145, -1, + 145, 36, 145, -1, 145, 37, 121, -1, 145, 43, + 145, -1, 145, 45, 145, -1, -1, 40, 106, -1, + 41, 160, 122, 94, 106, 112, -1, 38, 160, 103, + 122, 94, 106, 112, -1, 39, 160, 103, 124, 94, + 106, 112, -1, 45, 160, 103, 122, 94, 106, -1, + 46, 102, -1, -1, 42, 102, -1, 125, 36, 160, + 103, 120, 94, 118, 106, 115, -1, 125, 37, 160, + 103, 121, 94, 118, 106, 115, -1, 125, 43, 64, + 103, 162, 160, 122, 94, 106, 115, -1, 125, 43, + 164, 160, 103, 122, 94, 106, 115, -1, 125, 43, + 160, 103, 122, 94, 106, 115, -1, 125, 43, 160, + 103, 123, 17, 120, 17, 118, 123, 94, 106, -1, + 125, 102, 115, -1, 125, 44, 160, 103, 104, 122, + 94, 106, -1, -1, -1, 111, -1, -1, 145, -1, + 145, -1, 145, -1, 119, -1, 121, -1, -1, 30, + -1, 128, -1, 131, -1, 130, -1, 140, -1, 143, + -1, 127, -1, 96, -1, 31, 134, 129, 102, -1, + 18, -1, -1, 65, 132, 135, 136, 137, 139, -1, + 32, 132, 135, 136, 137, 139, -1, -1, -1, -1, + 18, -1, -1, 21, -1, -1, 67, 21, -1, 67, + -1, 67, 21, -1, 67, -1, 102, -1, 17, -1, + 34, 18, 18, 17, -1, -1, 34, 18, 18, 6, + 103, 142, 108, 7, -1, -1, 35, 132, 144, 18, + 18, 158, 17, -1, 145, 71, 145, -1, 145, 70, + 145, -1, 145, 69, 145, -1, 146, -1, 146, 73, + -1, 146, 73, 155, -1, 155, -1, 54, 169, 146, + -1, 52, 95, 169, 145, 94, -1, 155, 93, 149, + 160, 159, 94, -1, 155, 93, 149, -1, 19, 169, + 158, -1, 20, 169, 95, 159, 94, -1, 54, 158, + -1, 52, 95, 159, 94, -1, -1, 27, 133, 102, + 148, 158, -1, 19, -1, 164, -1, 168, 6, 145, + 17, 7, -1, 164, 8, 145, 9, -1, 155, 93, + 8, 145, 9, -1, 150, 8, 145, 9, -1, 164, + 6, 145, 17, 7, -1, 155, 93, 6, 145, 17, + 7, -1, 150, 6, 145, 17, 7, -1, 155, 93, + 95, 94, -1, 155, 93, 95, 145, 94, -1, 150, + 160, 145, 94, -1, 150, 160, 94, -1, 95, 145, + 94, 8, 145, 9, -1, 24, 8, 145, 9, -1, + 95, 94, 8, 145, 9, -1, 155, 74, 155, -1, + 155, 88, 155, -1, 155, 57, 155, -1, 155, 58, + 155, -1, 155, 82, 155, -1, 155, 55, 155, -1, + 155, 56, 155, -1, 155, 81, 155, -1, 155, 80, + 155, -1, 155, 48, 155, -1, 155, 79, 155, -1, + 155, 78, 155, -1, 155, 77, 155, -1, 155, 83, + 155, -1, 10, 155, -1, 11, 155, -1, 84, 155, + -1, 85, 155, -1, 155, 90, -1, 155, 89, -1, + 92, 155, -1, 91, 155, -1, 8, 145, 9, -1, + 8, 9, -1, 61, 145, 17, 7, -1, 61, 17, + 7, -1, 33, 133, 136, 137, 102, -1, 60, 155, + -1, 60, 102, -1, 60, 18, 160, 94, -1, 60, + 18, 160, 145, 94, -1, 60, 164, 160, 94, -1, + 60, 164, 160, 145, 94, -1, 151, -1, 152, -1, + 153, -1, 154, -1, 155, 75, 155, 76, 155, -1, + 86, 155, -1, 156, -1, 63, 155, -1, 95, 145, + 94, -1, 24, -1, 95, 94, -1, 164, -1, 168, + -1, 166, -1, 165, -1, 167, -1, 150, -1, 165, + 8, 145, 9, -1, 165, 6, 145, 17, 7, -1, + 21, -1, 163, -1, 163, 160, 94, -1, 163, 160, + 145, 94, -1, 62, 18, 158, -1, 47, -1, 47, + 155, -1, 72, 146, -1, 53, -1, 53, 102, -1, + 53, 155, -1, 66, -1, 66, 155, -1, 26, -1, + 26, 155, -1, 50, -1, 50, 95, 94, -1, 25, + -1, 51, 95, 94, -1, 51, 95, 145, 94, -1, + 22, 95, 146, 94, -1, 18, -1, 147, -1, 49, + -1, 28, -1, 64, 157, 138, -1, 64, 157, -1, + 95, 145, 94, -1, 95, 94, -1, 164, -1, 166, + -1, 165, -1, -1, 146, -1, -1, 145, -1, 95, + -1, -1, 24, 161, 95, -1, 164, -1, 16, 169, + -1, 12, 169, -1, 13, 169, -1, 14, 169, -1, + 59, 169, -1, 15, 169, -1, 18, -1, 164, -1, + 102, -1, 23, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint16 yyrline[] = { - 0, 144, 144, 146, 156, 162, 172, 176, 180, 186, - 196, 201, 202, 209, 219, 221, 229, 232, 233, 235, - 237, 254, 270, 275, 280, 282, 284, 288, 292, 296, - 300, 305, 311, 312, 316, 327, 335, 346, 349, 355, - 356, 363, 376, 388, 399, 409, 419, 451, 459, 469, - 475, 476, 481, 484, 488, 493, 497, 501, 507, 516, - 520, 522, 524, 526, 528, 533, 537, 543, 563, 564, - 568, 581, 604, 610, 615, 620, 630, 631, 636, 637, - 641, 651, 655, 665, 666, 675, 693, 692, 718, 717, - 736, 740, 744, 748, 752, 762, 771, 775, 780, 787, - 796, 802, 808, 816, 820, 827, 826, 837, 838, 842, - 851, 856, 864, 871, 878, 888, 897, 904, 913, 920, - 926, 933, 938, 948, 952, 956, 962, 966, 970, 974, - 978, 982, 986, 998, 1002, 1006, 1010, 1020, 1024, 1031, - 1035, 1039, 1044, 1049, 1054, 1063, 1068, 1073, 1079, 1085, - 1096, 1100, 1104, 1116, 1129, 1137, 1149, 1150, 1151, 1152, - 1153, 1158, 1162, 1164, 1168, 1173, 1175, 1180, 1182, 1184, - 1186, 1188, 1190, 1192, 1201, 1212, 1214, 1216, 1221, 1234, - 1239, 1244, 1248, 1252, 1256, 1260, 1264, 1268, 1272, 1274, - 1277, 1281, 1287, 1290, 1299, 1305, 1310, 1311, 1312, 1318, - 1322, 1330, 1337, 1342, 1347, 1349, 1351, 1356, 1358, 1363, - 1364, 1368, 1371, 1370, 1378, 1382, 1388, 1394, 1400, 1406, - 1412, 1419, 1421, 1423, 1426 + 0, 144, 144, 146, 154, 153, 164, 177, 181, 187, + 197, 201, 205, 211, 221, 226, 227, 234, 244, 246, + 254, 257, 258, 260, 262, 279, 295, 300, 305, 307, + 309, 313, 317, 321, 325, 330, 336, 337, 341, 352, + 360, 371, 374, 380, 381, 388, 401, 413, 424, 434, + 444, 476, 484, 494, 500, 501, 506, 509, 513, 518, + 522, 526, 532, 541, 545, 547, 549, 551, 553, 558, + 562, 568, 588, 589, 593, 606, 629, 635, 640, 645, + 655, 656, 661, 662, 666, 676, 680, 690, 691, 700, + 718, 717, 743, 742, 761, 765, 769, 773, 777, 787, + 796, 800, 805, 812, 821, 827, 833, 841, 845, 852, + 851, 862, 863, 867, 876, 881, 889, 896, 903, 913, + 922, 929, 938, 945, 951, 958, 963, 973, 977, 981, + 987, 991, 995, 999, 1003, 1007, 1011, 1023, 1027, 1031, + 1035, 1045, 1049, 1056, 1060, 1064, 1069, 1074, 1079, 1088, + 1093, 1098, 1104, 1110, 1121, 1125, 1129, 1141, 1154, 1162, + 1174, 1175, 1176, 1177, 1178, 1183, 1187, 1189, 1193, 1198, + 1200, 1205, 1207, 1209, 1211, 1213, 1215, 1217, 1226, 1237, + 1239, 1241, 1246, 1259, 1264, 1269, 1273, 1277, 1281, 1285, + 1289, 1293, 1297, 1299, 1302, 1306, 1312, 1315, 1324, 1330, + 1335, 1336, 1337, 1343, 1347, 1355, 1362, 1367, 1372, 1374, + 1376, 1381, 1383, 1388, 1389, 1393, 1396, 1395, 1403, 1407, + 1413, 1419, 1425, 1431, 1437, 1444, 1446, 1448, 1451 }; #endif @@ -204,30 +205,31 @@ static const yytype_uint16 yyrline[] = First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { - "$end", "error", "$undefined", "GRAMPROG", "GRAMFULLSTMT", "'{'", "'}'", - "'['", "']'", "'-'", "'+'", "'$'", "'@'", "'%'", "'*'", "'&'", "';'", - "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", "prog", "block", "remember", "mydefsv", "progstart", "mblock", - "mremember", "lineseq", "fullstmt", "line", "sideff", "else", "cond", - "case", "cont", "loop", "switch", "mintro", "nexpr", "texpr", "iexpr", - "mexpr", "mnexpr", "miexpr", "label", "decl", "peg", "format", - "formname", "mysubrout", "subrout", "startsub", "startanonsub", - "startformsub", "subname", "proto", "subattrlist", "myattrlist", - "subbody", "package", "package_block", "@1", "use", "@2", "expr", - "argexpr", "listop", "@3", "method", "subscripted", "termbinop", - "termunop", "anonymous", "termdo", "term", "myattrterm", "myterm", - "listexpr", "listexprcom", "lpar_or_qw", "@4", "my_scalar", "amper", - "scalar", "ary", "hsh", "arylen", "star", "indirob", 0 + "$end", "error", "$undefined", "GRAMPROG", "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", "closebrace_or_eof", "prog", "block", + "remember", "mydefsv", "progstart", "mblock", "mremember", "lineseq", + "fullstmt", "line", "sideff", "else", "cond", "case", "cont", "loop", + "switch", "mintro", "nexpr", "texpr", "iexpr", "mexpr", "mnexpr", + "miexpr", "label", "decl", "peg", "format", "formname", "mysubrout", + "subrout", "startsub", "startanonsub", "startformsub", "subname", + "proto", "subattrlist", "myattrlist", "subbody", "package", + "package_block", "@2", "use", "@3", "expr", "argexpr", "listop", "@4", + "method", "subscripted", "termbinop", "termunop", "anonymous", "termdo", + "term", "myattrterm", "myterm", "listexpr", "listexprcom", "lpar_or_qw", + "@5", "my_scalar", "amper", "scalar", "ary", "hsh", "arylen", "star", + "indirob", 0 }; #endif @@ -236,73 +238,73 @@ static const char *const yytname[] = token YYLEX-NUM. */ static const yytype_uint16 yytoknum[] = { - 0, 256, 257, 258, 259, 123, 125, 91, 93, 45, - 43, 36, 64, 37, 42, 38, 59, 260, 261, 262, + 0, 256, 257, 258, 259, 260, 123, 125, 91, 93, + 45, 43, 36, 64, 37, 42, 38, 59, 261, 262, 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, 44, 315, 63, 58, 316, 317, 318, 319, - 320, 321, 322, 33, 126, 323, 324, 325, 326, 327, - 328, 329, 330, 41, 40, 331 + 313, 314, 315, 44, 316, 63, 58, 317, 318, 319, + 320, 321, 322, 323, 33, 126, 324, 325, 326, 327, + 328, 329, 330, 331, 41, 40, 332 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint8 yyr1[] = { - 0, 96, 97, 97, 98, 99, 100, 101, 102, 103, - 104, 105, 105, 105, 106, 106, 107, 107, 107, 107, - 107, 107, 107, 107, 108, 108, 108, 108, 108, 108, - 108, 108, 109, 109, 109, 110, 110, 111, 111, 112, - 112, 113, 113, 113, 113, 113, 113, 113, 114, 115, - 116, 116, 117, 117, 118, 119, 120, 121, 122, 122, - 123, 123, 123, 123, 123, 123, 124, 125, 126, 126, - 127, 128, 129, 130, 131, 132, 133, 133, 134, 134, - 134, 135, 135, 136, 136, 137, 139, 138, 141, 140, - 142, 142, 142, 142, 143, 143, 143, 144, 144, 144, - 144, 144, 144, 144, 144, 145, 144, 146, 146, 147, - 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, - 147, 147, 147, 148, 148, 148, 148, 148, 148, 148, - 148, 148, 148, 148, 148, 148, 148, 149, 149, 149, - 149, 149, 149, 149, 149, 150, 150, 150, 150, 150, - 151, 151, 151, 151, 151, 151, 152, 152, 152, 152, - 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, - 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, - 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, - 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, - 153, 153, 154, 154, 154, 154, 154, 155, 155, 156, - 156, 157, 158, 157, 159, 160, 161, 162, 163, 164, - 165, 166, 166, 166, 166 + 0, 97, 98, 98, 99, 98, 100, 100, 101, 102, + 103, 104, 105, 106, 107, 108, 108, 108, 109, 109, + 110, 110, 110, 110, 110, 110, 110, 110, 111, 111, + 111, 111, 111, 111, 111, 111, 112, 112, 112, 113, + 113, 114, 114, 115, 115, 116, 116, 116, 116, 116, + 116, 116, 117, 118, 119, 119, 120, 120, 121, 122, + 123, 124, 125, 125, 126, 126, 126, 126, 126, 126, + 127, 128, 129, 129, 130, 131, 132, 133, 134, 135, + 136, 136, 137, 137, 137, 138, 138, 139, 139, 140, + 142, 141, 144, 143, 145, 145, 145, 145, 146, 146, + 146, 147, 147, 147, 147, 147, 147, 147, 147, 148, + 147, 149, 149, 150, 150, 150, 150, 150, 150, 150, + 150, 150, 150, 150, 150, 150, 150, 151, 151, 151, + 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, + 151, 152, 152, 152, 152, 152, 152, 152, 152, 153, + 153, 153, 153, 153, 154, 154, 154, 154, 154, 154, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 156, 156, 157, 157, 157, 157, + 157, 158, 158, 159, 159, 160, 161, 160, 162, 163, + 164, 165, 166, 167, 168, 169, 169, 169, 169 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const yytype_uint8 yyr2[] = { - 0, 2, 2, 2, 2, 4, 0, 0, 0, 4, - 0, 0, 2, 2, 1, 1, 2, 1, 1, 2, - 2, 3, 1, 2, 1, 1, 3, 3, 3, 3, - 3, 3, 0, 2, 6, 7, 7, 6, 2, 0, - 2, 9, 9, 10, 9, 8, 12, 3, 8, 0, - 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, - 1, 1, 1, 1, 1, 1, 1, 4, 1, 0, - 6, 6, 0, 0, 0, 1, 0, 1, 0, 2, - 1, 2, 1, 1, 1, 4, 0, 8, 0, 7, - 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, 2, 0, 4, 1, 0, 2, 4, + 0, 0, 0, 4, 0, 0, 2, 2, 1, 1, + 2, 1, 1, 2, 2, 3, 1, 2, 1, 1, + 3, 3, 3, 3, 3, 3, 0, 2, 6, 7, + 7, 6, 2, 0, 2, 9, 9, 10, 9, 8, + 12, 3, 8, 0, 0, 1, 0, 1, 1, 1, + 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, + 1, 4, 1, 0, 6, 6, 0, 0, 0, 1, + 0, 1, 0, 2, 1, 2, 1, 1, 1, 4, + 0, 8, 0, 7, 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 @@ -310,619 +312,631 @@ static const yytype_uint8 yyr2[] = means the default is an error. */ static const yytype_uint8 yydefact[] = { - 0, 8, 58, 0, 2, 11, 59, 74, 72, 0, - 72, 72, 66, 3, 15, 17, 18, 0, 14, 65, - 60, 62, 61, 63, 22, 64, 1, 58, 69, 0, - 0, 88, 0, 24, 6, 0, 0, 0, 0, 0, - 0, 0, 0, 20, 196, 0, 0, 175, 0, 165, - 192, 188, 73, 199, 23, 73, 0, 0, 0, 0, - 0, 0, 0, 0, 180, 198, 190, 0, 0, 183, - 207, 0, 0, 0, 0, 0, 0, 186, 0, 0, - 0, 0, 0, 0, 0, 39, 0, 16, 19, 25, - 93, 197, 172, 156, 157, 158, 159, 96, 162, 176, - 167, 170, 169, 171, 168, 13, 12, 68, 0, 75, - 76, 0, 0, 76, 11, 146, 0, 137, 138, 221, - 224, 223, 222, 216, 217, 218, 220, 215, 207, 0, - 0, 0, 189, 0, 76, 212, 211, 6, 6, 6, - 6, 6, 6, 0, 6, 6, 38, 181, 0, 0, - 209, 184, 185, 221, 208, 103, 222, 0, 219, 196, - 151, 150, 167, 0, 0, 207, 163, 0, 201, 204, - 206, 205, 187, 182, 139, 140, 161, 144, 143, 166, - 0, 0, 47, 21, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 94, 0, 0, 0, 0, 0, 0, + 0, 12, 62, 4, 0, 2, 15, 63, 78, 76, + 0, 76, 76, 70, 3, 19, 21, 22, 0, 18, + 69, 64, 66, 65, 67, 26, 68, 15, 1, 62, + 73, 0, 0, 92, 0, 28, 10, 0, 0, 0, + 0, 0, 0, 0, 0, 24, 200, 0, 0, 179, + 0, 169, 196, 192, 77, 203, 27, 77, 0, 0, + 0, 0, 0, 0, 0, 0, 184, 202, 194, 0, + 0, 187, 211, 0, 0, 0, 0, 0, 0, 190, + 0, 0, 0, 0, 0, 0, 0, 43, 0, 20, + 23, 29, 97, 201, 176, 160, 161, 162, 163, 100, + 166, 180, 171, 174, 173, 175, 172, 62, 17, 16, + 72, 0, 79, 80, 0, 0, 80, 15, 150, 0, + 141, 142, 225, 228, 227, 226, 220, 221, 222, 224, + 219, 211, 0, 0, 0, 193, 0, 80, 216, 215, + 10, 10, 10, 10, 10, 10, 0, 10, 10, 42, + 185, 0, 0, 213, 188, 189, 225, 212, 107, 226, + 0, 223, 200, 155, 154, 171, 0, 0, 211, 167, + 0, 205, 208, 210, 209, 191, 186, 143, 144, 165, + 148, 147, 170, 0, 0, 51, 25, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 142, 141, 0, 0, 0, 0, 0, 0, - 0, 67, 77, 78, 6, 85, 0, 78, 58, 145, - 101, 209, 0, 0, 105, 78, 0, 52, 0, 0, - 0, 0, 0, 6, 7, 0, 191, 193, 0, 210, - 0, 0, 97, 0, 0, 148, 0, 179, 203, 0, - 82, 200, 0, 164, 40, 28, 29, 54, 26, 27, - 30, 31, 92, 91, 90, 95, 0, 0, 119, 0, - 132, 128, 129, 125, 126, 123, 0, 135, 134, 133, - 131, 130, 127, 136, 124, 0, 0, 107, 0, 100, - 108, 177, 0, 0, 0, 0, 0, 0, 80, 0, - 86, 207, 0, 5, 0, 195, 121, 207, 0, 213, - 0, 53, 0, 0, 55, 57, 0, 0, 214, 51, - 56, 0, 0, 25, 0, 0, 0, 194, 104, 0, - 152, 0, 154, 0, 147, 202, 81, 0, 0, 0, - 112, 118, 0, 0, 0, 116, 0, 209, 178, 0, - 110, 0, 173, 0, 79, 84, 83, 71, 11, 0, - 70, 102, 106, 149, 49, 49, 0, 0, 0, 0, - 52, 0, 0, 0, 98, 153, 155, 122, 0, 115, - 160, 0, 111, 117, 0, 113, 174, 109, 58, 89, - 0, 0, 10, 32, 32, 0, 39, 0, 0, 0, - 37, 120, 114, 99, 87, 39, 39, 11, 0, 0, - 35, 36, 0, 45, 49, 39, 48, 41, 42, 58, - 33, 0, 39, 0, 44, 9, 0, 43, 0, 0, - 0, 32, 46, 34 + 0, 0, 0, 0, 0, 146, 145, 0, 0, 0, + 0, 0, 0, 0, 6, 5, 71, 81, 82, 10, + 89, 0, 82, 62, 149, 105, 213, 0, 0, 109, + 82, 0, 56, 0, 0, 0, 0, 0, 10, 11, + 0, 195, 197, 0, 214, 0, 0, 101, 0, 0, + 152, 0, 183, 207, 0, 86, 204, 0, 168, 44, + 32, 33, 58, 30, 31, 34, 35, 96, 95, 94, + 99, 0, 0, 123, 0, 136, 132, 133, 129, 130, + 127, 0, 139, 138, 137, 135, 134, 131, 140, 128, + 0, 0, 111, 0, 104, 112, 181, 0, 0, 0, + 0, 0, 0, 84, 0, 90, 211, 0, 9, 0, + 199, 125, 211, 0, 217, 0, 57, 0, 0, 59, + 61, 0, 0, 218, 55, 60, 0, 0, 29, 0, + 0, 0, 198, 108, 0, 156, 0, 158, 0, 151, + 206, 85, 0, 0, 0, 116, 122, 0, 0, 0, + 120, 0, 213, 182, 0, 114, 0, 177, 0, 83, + 88, 87, 75, 15, 0, 74, 106, 110, 153, 53, + 53, 0, 0, 0, 0, 56, 0, 0, 0, 102, + 157, 159, 126, 0, 119, 164, 0, 115, 121, 0, + 117, 178, 113, 62, 93, 0, 0, 14, 36, 36, + 0, 43, 0, 0, 0, 41, 124, 118, 103, 91, + 43, 43, 15, 0, 0, 39, 40, 0, 49, 53, + 43, 52, 45, 46, 62, 37, 0, 43, 0, 48, + 13, 0, 47, 0, 0, 0, 36, 50, 38 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - -1, 3, 4, 121, 114, 335, 5, 403, 417, 27, - 13, 105, 329, 420, 87, 88, 182, 15, 16, 400, - 330, 320, 266, 323, 332, 326, 17, 106, 19, 20, - 108, 21, 22, 29, 133, 28, 110, 223, 309, 261, - 367, 23, 24, 368, 25, 112, 324, 90, 91, 317, - 299, 92, 93, 94, 95, 96, 97, 98, 168, 155, - 250, 137, 236, 327, 99, 100, 101, 102, 103, 104, - 123 + -1, 4, 27, 225, 5, 124, 117, 340, 6, 408, + 422, 29, 14, 108, 334, 425, 89, 90, 185, 16, + 17, 405, 335, 325, 271, 328, 337, 331, 18, 109, + 20, 21, 111, 22, 23, 31, 136, 30, 113, 228, + 314, 266, 372, 24, 25, 373, 26, 115, 329, 92, + 93, 322, 304, 94, 95, 96, 97, 98, 99, 100, + 171, 158, 255, 140, 241, 332, 101, 102, 103, 104, + 105, 106, 126 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -380 +#define YYPACT_NINF -386 static const yytype_int16 yypact[] = { - 156, -380, 261, 29, -380, -380, -380, -380, -380, 19, - -380, -380, -380, -380, -380, -380, -380, 334, -380, -380, - -380, -380, -380, -380, -380, -380, -380, 153, 31, 46, - 54, -380, 46, -380, -380, 921, 1797, 1797, 75, 75, - 75, 75, 75, -380, -380, 75, 75, -380, -51, 74, - -380, 1797, -380, -380, -380, -380, 11, 11, 11, 11, - 64, 11, 11, 80, 1797, -380, -5, 0, 14, 684, - 596, 75, 772, 1007, 99, 1797, -1, 1797, 1797, 1797, - 1797, 1797, 1797, 1797, 1093, 72, 110, -380, -380, 816, - 82, -380, 26, -380, -380, -380, -380, 1959, -380, 11, - 96, 114, -380, -380, 151, -380, -380, -380, 80, -380, - 142, 93, 159, 142, -380, -380, 158, 229, 229, -380, - -380, -380, -380, -380, -380, -380, -380, -380, 1797, 87, - 1797, 1797, 1166, 80, 142, -380, -380, -380, -380, -380, - -380, -380, -380, 11, -380, -380, -380, 1959, 92, 1181, - 596, -380, 1166, 1857, 82, -380, 834, 1797, -380, 11, - -380, 1166, 67, 182, 8, 1797, 1166, 1269, 124, -380, - -380, -380, 1166, 82, 229, 229, 229, 235, 235, 185, - 125, 80, -380, -380, 1797, 1797, 1797, 1797, 1797, 1797, - 1797, 1797, 1797, 1797, 1797, 1797, 1357, 1797, 1797, 1797, - 1797, 1797, 1797, 1797, 1797, 1797, 1797, 1797, 1797, 1797, - 1797, 1797, -380, -380, 21, 1445, 1797, 1797, 1797, 1797, - 1797, -380, -380, 138, -380, -380, 188, 138, 35, -380, - -380, 1797, -32, 172, -380, 138, 113, 1797, 1797, 1797, - 1797, 204, 420, -380, -380, 1797, -380, -380, 333, 339, - 126, 1797, 82, 1533, 1621, -380, 216, -380, -380, 467, - 209, -380, 1797, 223, -380, 339, -380, 339, 339, 339, - 339, 339, 162, 162, -380, 1959, 141, 205, -380, 477, - 2037, 1078, 906, 542, 452, 1959, 1920, 494, 494, 583, - 670, 992, 408, 229, 229, 1797, 1797, -380, 1709, 11, - -380, -380, 557, 217, 230, 233, 245, 264, 215, 101, - -380, 1797, 101, -380, 131, -380, -380, 1797, 80, -380, - 146, 339, 150, 161, 339, -380, 178, 11, -380, -380, - -380, 184, 231, 419, 1797, 1797, 189, -380, -380, 645, - -380, 671, -380, 733, -380, -380, -380, 268, 1797, 240, - -380, -380, 1797, 390, 321, -380, 805, 1797, -380, 282, - -380, 287, -380, 290, -380, -380, -380, -380, -380, 281, - -380, -380, -380, -380, -380, -380, 246, 246, 1797, 246, - 1797, 212, 213, 246, -380, -380, -380, -380, 380, -380, - 1998, 304, -380, -380, 227, -380, -380, -380, 278, -380, - 246, 246, -380, 157, 157, 237, 72, 310, 246, 246, - -380, -380, -380, -380, -380, 72, 72, -380, 246, 11, - -380, -380, 246, -380, -380, 72, -380, -380, -380, 782, - -380, 1797, 72, 506, -380, -380, 272, -380, 274, 246, - 246, 157, -380, -380 + 218, -386, 130, -386, 22, -386, -386, -386, -386, -386, + 19, -386, -386, -386, -386, -386, -386, -386, 411, -386, + -386, -386, -386, -386, -386, -386, -386, -386, -386, 92, + 26, 42, 51, -386, 42, -386, -386, 997, 1873, 1873, + 44, 44, 44, 44, 44, -386, -386, 44, 44, -386, + -41, 68, -386, 1873, -386, -386, -386, -386, -15, -15, + -15, -15, 89, -15, -15, 82, 1873, -386, 5, 8, + 20, 761, 673, 44, 849, 1083, 103, 1873, 1, 1873, + 1873, 1873, 1873, 1873, 1873, 1873, 1169, 72, 111, -386, + -386, 1167, 74, -386, 23, -386, -386, -386, -386, 2015, + -386, -15, 73, 179, -386, -386, 140, 52, -386, -386, + -386, 82, -386, 134, 36, 145, 134, -386, -386, 80, + 143, 143, -386, -386, -386, -386, -386, -386, -386, -386, + -386, 1873, 63, 1873, 1873, 1068, 82, 134, -386, -386, + -386, -386, -386, -386, -386, -386, -15, -386, -386, -386, + 2015, 104, 1257, 673, -386, 1068, 1933, 74, -386, 910, + 1873, -386, -15, -386, 1068, 24, 159, 139, 1873, 1068, + 1345, 100, -386, -386, -386, 1068, 74, 143, 143, 143, + 93, 93, 189, 208, 82, -386, -386, 1873, 1873, 1873, + 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1433, + 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, 1873, + 1873, 1873, 1873, 1873, 1873, -386, -386, 4, 1521, 1873, + 1873, 1873, 1873, 1873, -386, -386, -386, -386, 161, -386, + -386, 188, 161, 274, -386, -386, 1873, -53, 120, -386, + 161, 147, 1873, 1873, 1873, 1873, 231, 497, -386, -386, + 1873, -386, -386, 294, 289, 153, 1873, 74, 1609, 1697, + -386, 247, -386, -386, 372, 254, -386, 1873, 276, -386, + 289, -386, 289, 289, 289, 289, 289, 215, 215, -386, + 2015, 182, 123, -386, 382, 2093, 321, 881, 399, 312, + 2015, 1976, 571, 571, 660, 747, 982, 485, 143, 143, + 1873, 1873, -386, 1785, -15, -386, -386, 410, 257, 187, + 286, 221, 303, 278, 88, -386, 1873, 88, -386, 206, + -386, -386, 1873, 82, -386, 216, 289, 220, 229, 289, + -386, 230, -15, -386, -386, -386, 235, 314, 496, 1873, + 1873, 240, -386, -386, 458, -386, 544, -386, 554, -386, + -386, -386, 226, 1873, 330, -386, -386, 1873, 316, 271, + -386, 634, 1873, -386, 331, -386, 336, -386, 338, -386, + -386, -386, -386, -386, 349, -386, -386, -386, -386, -386, + -386, 342, 342, 1873, 342, 1873, 288, 290, 342, -386, + -386, -386, -386, 280, -386, 2054, 373, -386, -386, 296, + -386, -386, -386, 281, -386, 342, 342, -386, -13, -13, + 297, 72, 364, 342, 342, -386, -386, -386, -386, -386, + 72, 72, -386, 342, -15, -386, -386, 342, -386, -386, + 72, -386, -386, -386, 287, -386, 1873, 72, 583, -386, + -386, 300, -386, 304, 342, 342, -13, -386, -386 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -380, -380, -380, 10, 7, -380, -380, 1564, -380, -113, - -380, 366, 357, -379, -380, -380, 61, -380, -380, -367, - -380, 1, -116, -223, -58, -380, -380, 396, -380, -380, - -380, -380, -380, 154, 345, -380, 372, -43, -197, -380, - 98, -380, -380, -380, -380, -380, -17, -28, -380, -380, - -380, -380, -380, -380, -380, -380, 59, -380, -380, -105, - -222, -55, -380, -380, -380, -25, 336, 337, -380, -380, - 13 + -386, -386, -386, -386, -386, -16, -70, -386, -386, -52, + -386, -26, -386, 395, 381, -385, -386, -386, 48, -386, + -386, -363, -386, 21, -6, -229, -31, -386, -386, 406, + -386, -386, -386, -386, -386, 96, 356, -386, 400, -91, + -147, -386, 98, -386, -386, -386, -386, -386, -18, -29, + -386, -386, -386, -386, -386, -386, -386, -386, 59, -386, + -386, -105, -225, -56, -386, -386, -386, 172, 367, 368, + -386, -386, -8 }; /* 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 -197 +#define YYTABLE_NINF -201 static const yytype_int16 yytable[] = { - 89, 228, 138, 139, 140, 142, 144, 145, 401, 314, - 38, 39, 40, 122, 122, 122, 122, 122, 116, 331, - 122, 122, 336, 230, 256, 421, 295, 85, 296, 26, - 312, 194, 38, 195, 135, 143, 30, 196, 318, 297, - 193, 313, 154, 130, 215, 156, 122, 162, 107, 135, - 173, 169, 124, 125, 126, 127, 164, 433, 128, 129, - 257, 315, 443, 109, 6, 7, 8, 180, 9, 10, - 227, 111, 216, 146, 217, 38, 190, 191, 192, 151, - 34, 131, 160, 157, 158, 34, 38, 135, 243, 148, - 135, 235, 119, 167, 149, 117, 118, 120, 224, 11, - 154, 216, 232, 217, 253, 136, 34, 254, 150, 225, - 132, 381, 382, 181, 233, 298, 165, 365, 221, 218, - 136, 219, 322, 147, 325, 156, 183, 141, 152, 252, - 12, 161, 248, 249, 166, 394, 172, 154, 174, 175, - 176, 177, 178, 234, 237, 238, 239, 240, 241, 242, - 259, 244, 245, -4, 193, 405, 220, 349, 136, 1, - 2, 136, 222, 251, 31, 32, 229, 265, 267, 268, - 269, 270, 271, 272, 273, 274, 226, 276, 277, 279, - 316, 231, 6, 7, 8, 246, 9, 10, 255, 300, - 260, 264, 262, 190, 191, 192, 418, 419, 302, 303, - 304, 305, 306, 307, 308, 311, 369, 319, 436, 190, - 191, 192, 372, 350, 249, 38, 328, 11, 263, 338, - 321, 267, 344, 267, 371, 333, 190, 191, 192, 346, - 348, 310, 192, 359, 339, 364, 341, 343, 360, 374, - 190, 191, 192, 375, 357, 347, 389, 380, 12, 361, - 334, 402, 275, 362, 376, 398, 280, 281, 282, 283, - 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, - 294, 377, 378, 190, 191, 192, 387, 379, 353, 354, - 363, 356, 383, 154, 414, 190, 191, 192, 395, 154, - 6, 7, 8, 396, 9, 10, 397, 399, 190, 191, - 192, 190, 191, 192, 429, 408, 409, 6, 7, 8, - 412, 9, 10, 190, 191, 192, 211, 212, 213, 366, - 413, 214, 366, -197, -197, 11, 424, 214, 373, 392, - 422, 388, 190, 191, 192, 33, 190, 191, 192, 34, - 249, 35, 11, 36, 37, 38, 39, 40, 41, 42, - 43, 44, 45, 46, 47, 48, 12, 49, 50, 51, - 52, 53, 54, 321, 431, 439, 55, 440, 14, 56, - 57, 58, 59, 12, 86, 438, 60, 61, 62, 63, - 64, 407, 65, 66, 67, 68, 69, 70, 411, 190, - 191, 192, 71, 72, 73, 74, 75, 76, 18, 77, - 134, 190, 191, 192, 113, 78, 391, 190, 191, 192, - 370, 390, 170, 171, 0, 0, 89, 79, 80, 81, - 0, 33, 0, 0, 82, 83, 337, 35, 84, 36, - 37, 38, 39, 40, 41, 42, -50, 44, 45, 46, - 47, 48, 0, 49, 50, 51, 52, 53, 190, 191, - 192, 0, 55, 0, 184, 185, 186, 187, 190, 191, - 192, 188, 0, 189, 200, 201, 64, 423, 65, 66, - 67, 68, 69, 70, 0, 0, 427, 428, 71, 72, - 73, 74, 75, 76, 0, 77, 434, 190, 191, 192, - 210, 78, 0, 437, 0, 211, 212, 213, 0, 0, - 214, 0, 0, 79, 80, 81, 0, 33, 200, 0, - 82, 83, -55, 35, 84, 36, 37, 38, 39, 40, - 41, 42, 0, 44, 45, 46, 47, 48, 0, 49, - 50, 51, 52, 53, 210, 190, 191, 192, 55, 211, - 212, 213, 0, 0, 214, 190, 191, 192, 198, 199, - 200, 201, 64, 0, 65, 66, 67, 68, 69, 70, - 345, 0, 0, 0, 71, 72, 73, 74, 75, 76, - 351, 77, 206, 207, 208, 209, 210, 78, 0, 0, - 0, 211, 212, 213, 0, 0, 214, 0, 0, 79, - 80, 81, 0, 0, 0, 0, 82, 83, 0, -50, - 84, 34, 0, 35, 0, 36, 37, 38, 39, 40, - 41, 42, 0, 153, 45, 46, 47, 48, 120, 49, - 50, 51, 52, 53, 210, 190, 191, 192, 55, 211, - 212, 213, 0, 0, 214, 0, 0, 198, 199, 200, - 201, 0, 64, 0, 65, 66, 67, 68, 69, 70, - 358, 0, 0, 0, 71, 72, 73, 74, 75, 76, - 0, 77, 207, 208, 209, 210, 0, 78, 0, 0, - 211, 212, 213, 0, 0, 214, 0, 0, 0, 79, - 80, 81, 0, 0, 0, 0, 82, 83, 0, 34, - 84, 35, 0, 36, 37, 38, 39, 40, 41, 42, - 0, 44, 45, 46, 47, 48, 0, 49, 50, 51, - 52, 53, 0, 190, 191, 192, 55, 0, 0, 0, - 0, 0, 0, 0, 198, 199, 200, 201, 0, 0, - 64, 0, 65, 66, 67, 68, 69, 70, 384, 190, - 191, 192, 71, 72, 73, 74, 75, 76, 0, 77, - 208, 209, 210, 0, 0, 78, 0, 211, 212, 213, - 0, 0, 214, 0, 385, 0, 0, 79, 80, 81, - 0, 0, 0, 0, 82, 83, 0, 34, 84, 35, - 0, 36, 37, 38, 39, 40, 41, 42, 435, 159, - 45, 46, 47, 48, 0, 49, 50, 51, 52, 53, - 0, 190, 191, 192, 55, 0, 0, 0, 0, 0, - 0, 6, 7, 8, 0, 9, 10, 0, 64, 0, - 65, 66, 67, 68, 69, 70, 386, 0, 0, 0, - 71, 72, 73, 74, 75, 76, 0, 77, 0, 216, - 0, 217, -167, 78, 0, 0, 11, 0, 0, 0, - -167, 184, 185, 186, 187, 79, 80, 81, 188, 0, - 189, 0, 82, 83, 0, 0, 84, 0, 0, -167, - -167, -167, -167, 190, 191, 192, -167, 12, -167, 0, - 0, -167, 0, 0, 190, 191, 192, 0, -167, -167, - -167, -167, 0, 0, 0, 0, 0, 0, 393, 0, - 0, 0, -167, -167, -167, 0, -167, -167, -167, -167, - -167, -167, -167, -167, -167, -167, -167, 0, 0, 0, - 0, -167, -167, -167, 0, 0, -167, -167, 35, 115, - 36, 37, 38, 39, 40, 41, 42, 0, 44, 45, - 46, 47, 48, 0, 49, 50, 51, 52, 53, 0, - 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, - 198, -197, 200, 201, 0, 0, 0, 64, 0, 65, - 66, 67, 68, 69, 70, 0, 0, 0, 0, 71, - 72, 73, 74, 75, 76, 0, 77, 209, 210, 0, - 0, 0, 78, 211, 212, 213, 0, 0, 214, 0, - 0, 0, 0, 0, 79, 80, 81, 0, 0, 0, - 0, 82, 83, 0, 35, 84, 36, 37, 38, 39, - 40, 41, 42, 163, 44, 45, 46, 47, 48, 0, - 49, 50, 51, 52, 53, 0, 0, 0, 0, 55, - 0, 0, 0, 0, 0, 0, 198, 199, 200, 201, - 0, 0, 0, 64, 0, 65, 66, 67, 68, 69, - 70, 0, 0, 0, 0, 71, 72, 73, 74, 75, - 76, 0, 77, 209, 210, 0, 0, 0, 78, 211, - 212, 213, 0, 0, 214, 0, 0, 0, 0, 0, - 79, 80, 81, 0, 0, 0, 0, 82, 83, 0, - 35, 84, 36, 37, 38, 39, 40, 41, 42, 0, - 44, 45, 46, 47, 48, 0, 49, 50, 51, 52, - 53, 0, 0, 0, 0, 55, 0, 0, 0, 0, - 0, 0, -197, 0, 200, 201, 0, 0, 0, 64, - 0, 65, 66, 67, 68, 69, 70, 0, 0, 0, - 0, 71, 72, 73, 74, 75, 76, 0, 77, 209, - 210, 0, 0, 0, 78, 211, 212, 213, 0, 0, - 214, 0, 0, 0, 0, 0, 79, 80, 81, 0, - 0, 0, 0, 82, 83, 0, 179, 84, 35, 0, - 36, 37, 38, 39, 40, 41, 42, 0, 44, 45, - 46, 47, 48, 0, 49, 50, 51, 52, 53, 0, - 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, - 0, 0, 200, 201, 0, 0, 0, 64, 0, 65, - 66, 67, 68, 69, 70, 0, 0, 0, 0, 71, - 72, 73, 74, 75, 76, 0, 77, 209, 210, 0, - 0, 0, 78, 211, 212, 213, 0, 0, 214, 0, - 0, 0, 0, 0, 79, 80, 81, 0, 0, 0, - 0, 82, 83, 0, 247, 84, 35, 0, 36, 37, - 38, 39, 40, 41, 42, 0, 44, 45, 46, 47, - 48, 0, 49, 50, 51, 52, 53, 0, 0, 0, - 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 64, 0, 65, 66, 67, - 68, 69, 70, 0, 0, 0, 0, 71, 72, 73, - 74, 75, 76, 0, 77, 0, 0, 0, 0, 0, - 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 79, 80, 81, 0, 0, 0, 0, 82, - 83, 0, 258, 84, 35, 0, 36, 37, 38, 39, - 40, 41, 42, 0, 44, 45, 46, 47, 48, 0, - 49, 50, 51, 52, 53, 0, 0, 0, 0, 55, + 91, 107, 87, 141, 142, 143, 145, 147, 148, 138, + 300, 319, 301, 40, 41, 42, 40, 406, 336, 119, + 196, 341, 28, 302, 426, 232, 235, 423, 424, 197, + 219, 198, 220, 127, 128, 129, 130, 32, 199, 131, + 132, 320, 229, 157, 110, 218, 240, 138, 138, 149, + 36, 176, -7, 230, 133, 154, 40, 167, 163, 224, + 112, 448, 122, 262, 160, 161, 438, 123, 183, 114, + 242, 243, 244, 245, 246, 247, 134, 249, 250, 219, + 139, 220, 7, 8, 9, 317, 10, 11, 36, 234, + 248, 233, -8, 323, 36, 226, 170, 120, 121, 303, + 151, 40, 157, 152, 237, 370, 258, 33, 34, 259, + 386, 387, 135, 138, 184, 153, 238, 12, 139, 139, + 239, 168, 7, 8, 9, 150, 10, 11, 186, 321, + 155, 257, 355, 164, 253, 254, 169, 399, 175, 157, + 177, 178, 179, 180, 181, 256, 223, 196, 13, 193, + 194, 195, 264, 144, 410, 227, 261, 12, 236, 315, + 7, 8, 9, 231, 10, 11, 260, 265, 269, 270, + 272, 273, 274, 275, 276, 277, 278, 279, 339, 281, + 282, 284, -201, -201, 139, 221, 217, 222, 13, 193, + 194, 195, 193, 194, 195, 12, 365, 267, 251, 354, + 307, 308, 309, 310, 311, 312, 316, 441, 193, 194, + 195, 374, 125, 125, 125, 125, 125, 377, 254, 125, + 125, 1, 2, 3, 326, 272, 13, 272, 313, 338, + 367, 214, 215, 216, 146, 392, 217, 327, 344, 330, + 346, 348, 324, 40, 159, 125, 165, 343, 362, 352, + 172, 193, 194, 195, 349, 280, 193, 194, 195, 285, + 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, + 296, 297, 298, 299, 364, 351, 383, 193, 194, 195, + 397, 318, 358, 359, 353, 361, 195, 157, 419, 416, + 193, 194, 195, 157, 440, 193, 194, 195, 371, 369, + 376, 371, 268, 366, 7, 8, 9, 378, 10, 11, + 379, 7, 8, 9, 380, 10, 11, 7, 8, 9, + 368, 10, 11, 381, 382, 159, 193, 194, 195, 384, + 409, 385, 411, 396, 388, 393, 415, 394, 400, 12, + 193, 194, 195, 401, 254, 402, 12, 403, 407, 193, + 194, 195, 12, 420, 421, 193, 194, 195, 193, 194, + 195, 430, 431, 193, 194, 195, 404, 326, 436, 203, + 13, 435, 193, 194, 195, 437, -201, 13, 203, 204, + 417, 429, 413, 13, 414, 193, 194, 195, 342, 305, + 418, 427, 446, 447, 444, 213, 434, 15, 445, 88, + 214, 215, 216, 212, 213, 217, 412, 443, 19, 214, + 215, 216, 35, 137, 217, 375, 395, 36, 333, 37, + 91, 38, 39, 40, 41, 42, 43, 44, 45, 46, + 47, 48, 49, 50, 116, 51, 52, 53, 54, 55, + 56, 193, 194, 195, 57, 173, 174, 58, 59, 60, + 61, 193, 194, 195, 62, 63, 64, 65, 66, 428, + 67, 68, 69, 70, 71, 72, 350, 0, 432, 433, + 73, 74, 75, 76, 77, 78, 356, 79, 439, 193, + 194, 195, 213, 80, 0, 442, 0, 214, 215, 216, + 0, 0, 217, 0, 0, 81, 82, 83, 35, 0, + 0, 0, 84, 85, 363, 37, 86, 38, 39, 40, + 41, 42, 43, 44, -54, 46, 47, 48, 49, 50, + 0, 51, 52, 53, 54, 55, 0, 193, 194, 195, + 57, 0, 187, 188, 189, 190, 0, 0, 0, 191, + 0, 192, 203, 204, 66, 0, 67, 68, 69, 70, + 71, 72, 389, 0, 0, 0, 73, 74, 75, 76, + 77, 78, 0, 79, 0, 193, 194, 195, 213, 80, + 0, 0, 0, 214, 215, 216, 0, 0, 217, 0, + 0, 81, 82, 83, 35, 0, 0, 0, 84, 85, + -59, 37, 86, 38, 39, 40, 41, 42, 43, 44, + 0, 46, 47, 48, 49, 50, 0, 51, 52, 53, + 54, 55, 0, 193, 194, 195, 57, 0, 0, 0, + 0, 0, 0, 193, 194, 195, 201, 202, 203, 204, + 66, 0, 67, 68, 69, 70, 71, 72, 390, 0, + 0, 0, 73, 74, 75, 76, 77, 78, 391, 79, + 209, 210, 211, 212, 213, 80, 0, 0, 0, 214, + 215, 216, 0, 0, 217, 0, 0, 81, 82, 83, + 0, 0, 0, 0, 84, 85, 0, -54, 86, 36, + 0, 37, 0, 38, 39, 40, 41, 42, 43, 44, + 0, 156, 47, 48, 49, 50, 123, 51, 52, 53, + 54, 55, 0, 193, 194, 195, 57, 0, 0, 0, + 0, 0, 0, 0, 0, 201, 202, 203, 204, 0, + 66, 0, 67, 68, 69, 70, 71, 72, 398, 0, + 0, 0, 73, 74, 75, 76, 77, 78, 0, 79, + 210, 211, 212, 213, 0, 80, 0, 0, 214, 215, + 216, 0, 0, 217, 0, 0, 0, 81, 82, 83, + 0, 0, 0, 0, 84, 85, 0, 36, 86, 37, + 0, 38, 39, 40, 41, 42, 43, 44, 0, 46, + 47, 48, 49, 50, 0, 51, 52, 53, 54, 55, + 0, 0, 0, 0, 57, 0, 0, 0, 0, 0, + 0, 0, 201, 202, 203, 204, 0, 0, 66, 0, + 67, 68, 69, 70, 71, 72, 0, 0, 0, 0, + 73, 74, 75, 76, 77, 78, 0, 79, 211, 212, + 213, 0, 0, 80, 0, 214, 215, 216, 0, 0, + 217, 0, 0, 0, 0, 81, 82, 83, 0, 0, + 0, 0, 84, 85, 0, 36, 86, 37, 0, 38, + 39, 40, 41, 42, 43, 44, 0, 162, 47, 48, + 49, 50, 0, 51, 52, 53, 54, 55, 0, 0, + 0, 0, 57, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 66, 0, 67, 68, + 69, 70, 71, 72, 0, 0, 0, 0, 73, 74, + 75, 76, 77, 78, 0, 79, 219, 0, 220, -171, + 0, 80, 0, 0, 0, 0, 0, -171, 0, 0, + 0, 0, 0, 81, 82, 83, 201, -201, 203, 204, + 84, 85, 0, 0, 86, 0, -171, -171, -171, -171, + 0, 0, 0, -171, 0, -171, 0, 0, -171, 0, + 0, 0, 0, 212, 213, -171, -171, -171, -171, 214, + 215, 216, 0, 0, 217, 0, 0, 0, 0, -171, + -171, -171, 0, -171, -171, -171, -171, -171, -171, -171, + -171, -171, -171, -171, 0, 0, 0, 0, -171, -171, + -171, 0, 0, -171, -171, 37, 118, 38, 39, 40, + 41, 42, 43, 44, 0, 46, 47, 48, 49, 50, + 0, 51, 52, 53, 54, 55, 0, 0, 0, 0, + 57, 0, 0, 0, 0, 0, 0, 201, 202, 203, + 204, 0, 0, 0, 66, 0, 67, 68, 69, 70, + 71, 72, 0, 0, 0, 0, 73, 74, 75, 76, + 77, 78, 0, 79, 212, 213, 0, 0, 0, 80, + 214, 215, 216, 0, 0, 217, 0, 0, 0, 0, + 0, 81, 82, 83, 0, 0, 0, 0, 84, 85, + 0, 37, 86, 38, 39, 40, 41, 42, 43, 44, + 166, 46, 47, 48, 49, 50, 0, 51, 52, 53, + 54, 55, 0, 0, 0, 0, 57, 0, 0, 0, + 0, 0, 0, 0, 0, 203, 204, 0, 0, 0, + 66, 0, 67, 68, 69, 70, 71, 72, 0, 0, + 0, 0, 73, 74, 75, 76, 77, 78, 0, 79, + 212, 213, 0, 0, 0, 80, 214, 215, 216, 0, + 0, 217, 0, 0, 0, 0, 0, 81, 82, 83, + 0, 0, 0, 0, 84, 85, 0, 37, 86, 38, + 39, 40, 41, 42, 43, 44, 0, 46, 47, 48, + 49, 50, 0, 51, 52, 53, 54, 55, 0, 0, + 0, 0, 57, 187, 188, 189, 190, 0, 0, 0, + 191, 0, 192, 0, 0, 0, 66, 0, 67, 68, + 69, 70, 71, 72, 0, 0, 0, 0, 73, 74, + 75, 76, 77, 78, 0, 79, 193, 194, 195, 0, + 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 81, 82, 83, 0, 0, 0, 0, + 84, 85, 0, 182, 86, 37, 0, 38, 39, 40, + 41, 42, 43, 44, 0, 46, 47, 48, 49, 50, + 0, 51, 52, 53, 54, 55, 0, 0, 0, 0, + 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 66, 0, 67, 68, 69, 70, + 71, 72, 0, 0, 0, 0, 73, 74, 75, 76, + 77, 78, 0, 79, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 64, 0, 65, 66, 67, 68, 69, - 70, 0, 0, 0, 0, 71, 72, 73, 74, 75, - 76, 0, 77, 0, 0, 0, 0, 0, 78, 0, + 0, 81, 82, 83, 0, 0, 0, 0, 84, 85, + 0, 252, 86, 37, 0, 38, 39, 40, 41, 42, + 43, 44, 0, 46, 47, 48, 49, 50, 0, 51, + 52, 53, 54, 55, 0, 0, 0, 0, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 79, 80, 81, 0, 0, 0, 0, 82, 83, 0, - 278, 84, 35, 0, 36, 37, 38, 39, 40, 41, - 42, 0, 44, 45, 46, 47, 48, 0, 49, 50, - 51, 52, 53, 0, 0, 0, 0, 55, 0, 0, + 0, 0, 66, 0, 67, 68, 69, 70, 71, 72, + 0, 0, 0, 0, 73, 74, 75, 76, 77, 78, + 0, 79, 0, 0, 0, 0, 0, 80, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, + 82, 83, 0, 0, 0, 0, 84, 85, 0, 263, + 86, 37, 0, 38, 39, 40, 41, 42, 43, 44, + 0, 46, 47, 48, 49, 50, 0, 51, 52, 53, + 54, 55, 0, 0, 0, 0, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 64, 0, 65, 66, 67, 68, 69, 70, 0, - 0, 0, 0, 71, 72, 73, 74, 75, 76, 0, - 77, 0, 0, 0, 0, 0, 78, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 79, 80, - 81, 0, 0, 0, 0, 82, 83, 0, 301, 84, - 35, 0, 36, 37, 38, 39, 40, 41, 42, 0, - 44, 45, 46, 47, 48, 0, 49, 50, 51, 52, - 53, 0, 0, 0, 0, 55, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, - 0, 65, 66, 67, 68, 69, 70, 0, 0, 0, - 0, 71, 72, 73, 74, 75, 76, 0, 77, 0, - 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 79, 80, 81, 0, - 0, 0, 0, 82, 83, 0, 340, 84, 35, 0, - 36, 37, 38, 39, 40, 41, 42, 0, 44, 45, - 46, 47, 48, 0, 49, 50, 51, 52, 53, 0, - 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 64, 0, 65, - 66, 67, 68, 69, 70, 0, 0, 0, 0, 71, - 72, 73, 74, 75, 76, 0, 77, 0, 0, 0, - 0, 0, 78, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 79, 80, 81, 0, 0, 0, - 0, 82, 83, 0, 342, 84, 35, 0, 36, 37, - 38, 39, 40, 41, 42, 0, 44, 45, 46, 47, - 48, 0, 49, 50, 51, 52, 53, 0, 0, 0, - 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 64, 0, 65, 66, 67, - 68, 69, 70, 0, 0, 0, 0, 71, 72, 73, - 74, 75, 76, 0, 77, 0, 0, 0, 0, 0, - 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 79, 80, 81, 0, 0, 0, 0, 82, - 83, 0, 355, 84, 35, 0, 36, 37, 38, 39, - 40, 41, 42, 0, 44, 45, 46, 47, 48, 0, - 49, 50, 51, 52, 53, 0, 0, 0, 0, 55, + 66, 0, 67, 68, 69, 70, 71, 72, 0, 0, + 0, 0, 73, 74, 75, 76, 77, 78, 0, 79, + 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 81, 82, 83, + 0, 0, 0, 0, 84, 85, 0, 283, 86, 37, + 0, 38, 39, 40, 41, 42, 43, 44, 0, 46, + 47, 48, 49, 50, 0, 51, 52, 53, 54, 55, + 0, 0, 0, 0, 57, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 66, 0, + 67, 68, 69, 70, 71, 72, 0, 0, 0, 0, + 73, 74, 75, 76, 77, 78, 0, 79, 0, 0, + 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 81, 82, 83, 0, 0, + 0, 0, 84, 85, 0, 306, 86, 37, 0, 38, + 39, 40, 41, 42, 43, 44, 0, 46, 47, 48, + 49, 50, 0, 51, 52, 53, 54, 55, 0, 0, + 0, 0, 57, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 66, 0, 67, 68, + 69, 70, 71, 72, 0, 0, 0, 0, 73, 74, + 75, 76, 77, 78, 0, 79, 0, 0, 0, 0, + 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 81, 82, 83, 0, 0, 0, 0, + 84, 85, 0, 345, 86, 37, 0, 38, 39, 40, + 41, 42, 43, 44, 0, 46, 47, 48, 49, 50, + 0, 51, 52, 53, 54, 55, 0, 0, 0, 0, + 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 66, 0, 67, 68, 69, 70, + 71, 72, 0, 0, 0, 0, 73, 74, 75, 76, + 77, 78, 0, 79, 0, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 64, 0, 65, 66, 67, 68, 69, - 70, 0, 0, 0, 0, 71, 72, 73, 74, 75, - 76, 0, 77, 0, 0, -196, 0, 0, 78, 0, - 0, 0, 0, -196, 0, 0, 0, 0, 0, 0, - 79, 80, 81, 0, 0, 0, 0, 82, 83, 0, - 0, 84, -196, -196, -196, -196, 0, 0, 0, -196, - 0, -196, 0, 0, -196, 0, 0, 0, 0, 0, - 0, -196, -196, -196, -196, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, -196, -196, -196, 0, -196, - -196, -196, -196, -196, -196, -196, -196, -196, -196, -196, - 0, 404, 0, 406, -196, -196, -196, 410, 0, -196, - -196, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 415, 416, 0, 197, 0, 0, - 0, 0, 425, 426, 198, 199, 200, 201, 0, 0, - 0, 0, 430, 0, 0, 0, 432, 0, 0, 0, - 0, 0, 0, 202, 203, 352, 204, 205, 206, 207, - 208, 209, 210, 441, 442, 0, 197, 211, 212, 213, - 0, 0, 214, 198, 199, 200, 201, 0, 0, 0, + 0, 81, 82, 83, 0, 0, 0, 0, 84, 85, + 0, 347, 86, 37, 0, 38, 39, 40, 41, 42, + 43, 44, 0, 46, 47, 48, 49, 50, 0, 51, + 52, 53, 54, 55, 0, 0, 0, 0, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 202, 203, 0, 204, 205, 206, 207, 208, - 209, 210, 0, 0, 0, 197, 211, 212, 213, 0, - 0, 214, 198, 199, 200, 201, 0, 0, 0, 0, + 0, 0, 66, 0, 67, 68, 69, 70, 71, 72, + 0, 0, 0, 0, 73, 74, 75, 76, 77, 78, + 0, 79, 0, 0, 0, 0, 0, 80, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 81, + 82, 83, 0, 0, 0, 0, 84, 85, 0, 360, + 86, 37, 0, 38, 39, 40, 41, 42, 43, 44, + 0, 46, 47, 48, 49, 50, 0, 51, 52, 53, + 54, 55, 0, 0, 0, 0, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 203, 0, 204, 205, 206, 207, 208, 209, - 210, 0, 0, 0, -197, 211, 212, 213, 0, 0, - 214, 198, 199, 200, 201, 0, 0, 0, 0, 0, + 66, 0, 67, 68, 69, 70, 71, 72, 0, 0, + 0, 0, 73, 74, 75, 76, 77, 78, 0, 79, + 0, 0, -200, 0, 0, 80, 0, 0, 0, 0, + -200, 0, 0, 0, 0, 0, 0, 81, 82, 83, + 0, 0, 0, 0, 84, 85, 0, 0, 86, -200, + -200, -200, -200, 0, 0, 0, -200, 0, -200, 0, + 0, -200, 0, 0, 0, 0, 0, 0, -200, -200, + -200, -200, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, -200, -200, -200, 0, -200, -200, -200, -200, + -200, -200, -200, -200, -200, -200, -200, 0, 0, 0, + 0, -200, -200, -200, 200, 0, -200, -200, 0, 0, + 0, 201, 202, 203, 204, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 204, 205, 206, 207, 208, 209, 210, - 0, 0, 0, 0, 211, 212, 213, 0, 0, 214 + 205, 206, 357, 207, 208, 209, 210, 211, 212, 213, + 0, 0, 0, 200, 214, 215, 216, 0, 0, 217, + 201, 202, 203, 204, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 205, + 206, 0, 207, 208, 209, 210, 211, 212, 213, 0, + 0, 0, 200, 214, 215, 216, 0, 0, 217, 201, + 202, 203, 204, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 206, + 0, 207, 208, 209, 210, 211, 212, 213, 0, 0, + 0, -201, 214, 215, 216, 0, 0, 217, 201, 202, + 203, 204, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 207, 208, 209, 210, 211, 212, 213, 0, 0, 0, + 0, 214, 215, 216, 0, 0, 217 }; static const yytype_int16 yycheck[] = { - 17, 114, 57, 58, 59, 60, 61, 62, 375, 231, - 11, 12, 13, 38, 39, 40, 41, 42, 35, 242, - 45, 46, 245, 128, 16, 404, 5, 17, 7, 0, - 227, 5, 11, 7, 23, 60, 17, 92, 235, 18, - 72, 6, 70, 94, 99, 70, 71, 72, 17, 23, - 78, 76, 39, 40, 41, 42, 73, 424, 45, 46, - 165, 93, 441, 17, 29, 30, 31, 84, 33, 34, - 113, 17, 5, 63, 7, 11, 68, 69, 70, 69, - 5, 7, 72, 70, 71, 5, 11, 23, 143, 94, - 23, 134, 17, 94, 94, 36, 37, 22, 5, 64, - 128, 5, 130, 7, 159, 94, 5, 162, 94, 16, - 51, 334, 335, 41, 131, 94, 17, 16, 108, 5, - 94, 7, 238, 64, 240, 150, 16, 63, 69, 157, - 95, 72, 149, 150, 75, 357, 77, 165, 79, 80, - 81, 82, 83, 133, 137, 138, 139, 140, 141, 142, - 167, 144, 145, 0, 72, 378, 5, 16, 94, 3, - 4, 94, 20, 150, 10, 11, 8, 184, 185, 186, - 187, 188, 189, 190, 191, 192, 17, 194, 195, 196, - 8, 94, 29, 30, 31, 93, 33, 34, 6, 214, - 66, 181, 7, 68, 69, 70, 39, 40, 215, 216, - 217, 218, 219, 220, 66, 17, 311, 94, 431, 68, - 69, 70, 317, 8, 231, 11, 241, 64, 93, 93, - 237, 238, 6, 240, 93, 242, 68, 69, 70, 20, - 7, 224, 70, 16, 251, 20, 253, 254, 8, 93, - 68, 69, 70, 93, 299, 262, 6, 16, 95, 16, - 243, 5, 193, 8, 93, 368, 197, 198, 199, 200, + 18, 27, 18, 59, 60, 61, 62, 63, 64, 24, + 6, 236, 8, 12, 13, 14, 12, 380, 247, 37, + 73, 250, 0, 19, 409, 116, 131, 40, 41, 6, + 6, 8, 8, 41, 42, 43, 44, 18, 94, 47, + 48, 94, 6, 72, 18, 101, 137, 24, 24, 65, + 6, 80, 0, 17, 95, 71, 12, 75, 74, 7, + 18, 446, 18, 168, 72, 73, 429, 23, 86, 18, + 140, 141, 142, 143, 144, 145, 8, 147, 148, 6, + 95, 8, 30, 31, 32, 232, 34, 35, 6, 9, + 146, 117, 0, 240, 6, 111, 95, 38, 39, 95, + 95, 12, 131, 95, 133, 17, 162, 11, 12, 165, + 339, 340, 53, 24, 42, 95, 134, 65, 95, 95, + 136, 18, 30, 31, 32, 66, 34, 35, 17, 9, + 71, 160, 9, 74, 152, 153, 77, 362, 79, 168, + 81, 82, 83, 84, 85, 153, 6, 73, 96, 69, + 70, 71, 170, 64, 383, 21, 17, 65, 95, 229, + 30, 31, 32, 18, 34, 35, 7, 67, 184, 187, + 188, 189, 190, 191, 192, 193, 194, 195, 248, 197, + 198, 199, 89, 90, 95, 6, 93, 8, 96, 69, + 70, 71, 69, 70, 71, 65, 9, 8, 94, 17, + 218, 219, 220, 221, 222, 223, 18, 436, 69, 70, + 71, 316, 40, 41, 42, 43, 44, 322, 236, 47, + 48, 3, 4, 5, 242, 243, 96, 245, 67, 247, + 9, 88, 89, 90, 62, 9, 93, 243, 256, 245, + 258, 259, 95, 12, 72, 73, 74, 94, 304, 267, + 78, 69, 70, 71, 7, 196, 69, 70, 71, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, - 211, 93, 327, 68, 69, 70, 8, 93, 295, 296, - 16, 298, 93, 311, 6, 68, 69, 70, 6, 317, - 29, 30, 31, 6, 33, 34, 6, 16, 68, 69, - 70, 68, 69, 70, 417, 93, 93, 29, 30, 31, - 6, 33, 34, 68, 69, 70, 87, 88, 89, 309, - 93, 92, 312, 88, 89, 64, 16, 92, 318, 8, - 93, 348, 68, 69, 70, 1, 68, 69, 70, 5, - 357, 7, 64, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 95, 23, 24, 25, - 26, 27, 28, 380, 419, 93, 32, 93, 2, 35, - 36, 37, 38, 95, 17, 433, 42, 43, 44, 45, - 46, 380, 48, 49, 50, 51, 52, 53, 8, 68, - 69, 70, 58, 59, 60, 61, 62, 63, 2, 65, - 55, 68, 69, 70, 32, 71, 16, 68, 69, 70, - 312, 352, 76, 76, -1, -1, 433, 83, 84, 85, - -1, 1, -1, -1, 90, 91, 93, 7, 94, 9, - 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, - 20, 21, -1, 23, 24, 25, 26, 27, 68, 69, - 70, -1, 32, -1, 35, 36, 37, 38, 68, 69, - 70, 42, -1, 44, 56, 57, 46, 406, 48, 49, - 50, 51, 52, 53, -1, -1, 415, 416, 58, 59, - 60, 61, 62, 63, -1, 65, 425, 68, 69, 70, - 82, 71, -1, 432, -1, 87, 88, 89, -1, -1, - 92, -1, -1, 83, 84, 85, -1, 1, 56, -1, - 90, 91, 93, 7, 94, 9, 10, 11, 12, 13, - 14, 15, -1, 17, 18, 19, 20, 21, -1, 23, - 24, 25, 26, 27, 82, 68, 69, 70, 32, 87, - 88, 89, -1, -1, 92, 68, 69, 70, 54, 55, - 56, 57, 46, -1, 48, 49, 50, 51, 52, 53, - 93, -1, -1, -1, 58, 59, 60, 61, 62, 63, - 93, 65, 78, 79, 80, 81, 82, 71, -1, -1, - -1, 87, 88, 89, -1, -1, 92, -1, -1, 83, - 84, 85, -1, -1, -1, -1, 90, 91, -1, 93, - 94, 5, -1, 7, -1, 9, 10, 11, 12, 13, - 14, 15, -1, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, 27, 82, 68, 69, 70, 32, 87, - 88, 89, -1, -1, 92, -1, -1, 54, 55, 56, - 57, -1, 46, -1, 48, 49, 50, 51, 52, 53, - 93, -1, -1, -1, 58, 59, 60, 61, 62, 63, - -1, 65, 79, 80, 81, 82, -1, 71, -1, -1, - 87, 88, 89, -1, -1, 92, -1, -1, -1, 83, - 84, 85, -1, -1, -1, -1, 90, 91, -1, 5, - 94, 7, -1, 9, 10, 11, 12, 13, 14, 15, - -1, 17, 18, 19, 20, 21, -1, 23, 24, 25, - 26, 27, -1, 68, 69, 70, 32, -1, -1, -1, - -1, -1, -1, -1, 54, 55, 56, 57, -1, -1, - 46, -1, 48, 49, 50, 51, 52, 53, 93, 68, - 69, 70, 58, 59, 60, 61, 62, 63, -1, 65, - 80, 81, 82, -1, -1, 71, -1, 87, 88, 89, - -1, -1, 92, -1, 93, -1, -1, 83, 84, 85, - -1, -1, -1, -1, 90, 91, -1, 5, 94, 7, - -1, 9, 10, 11, 12, 13, 14, 15, 6, 17, - 18, 19, 20, 21, -1, 23, 24, 25, 26, 27, - -1, 68, 69, 70, 32, -1, -1, -1, -1, -1, - -1, 29, 30, 31, -1, 33, 34, -1, 46, -1, - 48, 49, 50, 51, 52, 53, 93, -1, -1, -1, - 58, 59, 60, 61, 62, 63, -1, 65, -1, 5, - -1, 7, 8, 71, -1, -1, 64, -1, -1, -1, - 16, 35, 36, 37, 38, 83, 84, 85, 42, -1, - 44, -1, 90, 91, -1, -1, 94, -1, -1, 35, - 36, 37, 38, 68, 69, 70, 42, 95, 44, -1, - -1, 47, -1, -1, 68, 69, 70, -1, 54, 55, - 56, 57, -1, -1, -1, -1, -1, -1, 93, -1, - -1, -1, 68, 69, 70, -1, 72, 73, 74, 75, - 76, 77, 78, 79, 80, 81, 82, -1, -1, -1, - -1, 87, 88, 89, -1, -1, 92, 93, 7, 8, - 9, 10, 11, 12, 13, 14, 15, -1, 17, 18, - 19, 20, 21, -1, 23, 24, 25, 26, 27, -1, - -1, -1, -1, 32, -1, -1, -1, -1, -1, -1, - 54, 55, 56, 57, -1, -1, -1, 46, -1, 48, - 49, 50, 51, 52, 53, -1, -1, -1, -1, 58, - 59, 60, 61, 62, 63, -1, 65, 81, 82, -1, - -1, -1, 71, 87, 88, 89, -1, -1, 92, -1, - -1, -1, -1, -1, 83, 84, 85, -1, -1, -1, - -1, 90, 91, -1, 7, 94, 9, 10, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, -1, - 23, 24, 25, 26, 27, -1, -1, -1, -1, 32, - -1, -1, -1, -1, -1, -1, 54, 55, 56, 57, - -1, -1, -1, 46, -1, 48, 49, 50, 51, 52, - 53, -1, -1, -1, -1, 58, 59, 60, 61, 62, - 63, -1, 65, 81, 82, -1, -1, -1, 71, 87, - 88, 89, -1, -1, 92, -1, -1, -1, -1, -1, - 83, 84, 85, -1, -1, -1, -1, 90, 91, -1, - 7, 94, 9, 10, 11, 12, 13, 14, 15, -1, - 17, 18, 19, 20, 21, -1, 23, 24, 25, 26, - 27, -1, -1, -1, -1, 32, -1, -1, -1, -1, - -1, -1, 54, -1, 56, 57, -1, -1, -1, 46, - -1, 48, 49, 50, 51, 52, 53, -1, -1, -1, - -1, 58, 59, 60, 61, 62, 63, -1, 65, 81, - 82, -1, -1, -1, 71, 87, 88, 89, -1, -1, - 92, -1, -1, -1, -1, -1, 83, 84, 85, -1, - -1, -1, -1, 90, 91, -1, 93, 94, 7, -1, - 9, 10, 11, 12, 13, 14, 15, -1, 17, 18, - 19, 20, 21, -1, 23, 24, 25, 26, 27, -1, - -1, -1, -1, 32, -1, -1, -1, -1, -1, -1, - -1, -1, 56, 57, -1, -1, -1, 46, -1, 48, - 49, 50, 51, 52, 53, -1, -1, -1, -1, 58, - 59, 60, 61, 62, 63, -1, 65, 81, 82, -1, - -1, -1, 71, 87, 88, 89, -1, -1, 92, -1, - -1, -1, -1, -1, 83, 84, 85, -1, -1, -1, - -1, 90, 91, -1, 93, 94, 7, -1, 9, 10, - 11, 12, 13, 14, 15, -1, 17, 18, 19, 20, - 21, -1, 23, 24, 25, 26, 27, -1, -1, -1, - -1, 32, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 46, -1, 48, 49, 50, - 51, 52, 53, -1, -1, -1, -1, 58, 59, 60, - 61, 62, 63, -1, 65, -1, -1, -1, -1, -1, - 71, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 83, 84, 85, -1, -1, -1, -1, 90, - 91, -1, 93, 94, 7, -1, 9, 10, 11, 12, - 13, 14, 15, -1, 17, 18, 19, 20, 21, -1, - 23, 24, 25, 26, 27, -1, -1, -1, -1, 32, + 211, 212, 213, 214, 17, 21, 332, 69, 70, 71, + 9, 7, 300, 301, 8, 303, 71, 316, 7, 9, + 69, 70, 71, 322, 7, 69, 70, 71, 314, 21, + 94, 317, 94, 17, 30, 31, 32, 323, 34, 35, + 94, 30, 31, 32, 94, 34, 35, 30, 31, 32, + 17, 34, 35, 94, 94, 153, 69, 70, 71, 94, + 382, 17, 384, 17, 94, 353, 388, 7, 7, 65, + 69, 70, 71, 7, 362, 7, 65, 373, 6, 69, + 70, 71, 65, 405, 406, 69, 70, 71, 69, 70, + 71, 413, 414, 69, 70, 71, 17, 385, 424, 57, + 96, 423, 69, 70, 71, 427, 55, 96, 57, 58, + 7, 17, 94, 96, 94, 69, 70, 71, 94, 217, + 94, 94, 444, 445, 94, 83, 422, 2, 94, 18, + 88, 89, 90, 82, 83, 93, 385, 438, 2, 88, + 89, 90, 1, 57, 93, 317, 357, 6, 246, 8, + 438, 10, 11, 12, 13, 14, 15, 16, 17, 18, + 19, 20, 21, 22, 34, 24, 25, 26, 27, 28, + 29, 69, 70, 71, 33, 78, 78, 36, 37, 38, + 39, 69, 70, 71, 43, 44, 45, 46, 47, 411, + 49, 50, 51, 52, 53, 54, 94, -1, 420, 421, + 59, 60, 61, 62, 63, 64, 94, 66, 430, 69, + 70, 71, 83, 72, -1, 437, -1, 88, 89, 90, + -1, -1, 93, -1, -1, 84, 85, 86, 1, -1, + -1, -1, 91, 92, 94, 8, 95, 10, 11, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, + -1, 24, 25, 26, 27, 28, -1, 69, 70, 71, + 33, -1, 36, 37, 38, 39, -1, -1, -1, 43, + -1, 45, 57, 58, 47, -1, 49, 50, 51, 52, + 53, 54, 94, -1, -1, -1, 59, 60, 61, 62, + 63, 64, -1, 66, -1, 69, 70, 71, 83, 72, + -1, -1, -1, 88, 89, 90, -1, -1, 93, -1, + -1, 84, 85, 86, 1, -1, -1, -1, 91, 92, + 94, 8, 95, 10, 11, 12, 13, 14, 15, 16, + -1, 18, 19, 20, 21, 22, -1, 24, 25, 26, + 27, 28, -1, 69, 70, 71, 33, -1, -1, -1, + -1, -1, -1, 69, 70, 71, 55, 56, 57, 58, + 47, -1, 49, 50, 51, 52, 53, 54, 94, -1, + -1, -1, 59, 60, 61, 62, 63, 64, 94, 66, + 79, 80, 81, 82, 83, 72, -1, -1, -1, 88, + 89, 90, -1, -1, 93, -1, -1, 84, 85, 86, + -1, -1, -1, -1, 91, 92, -1, 94, 95, 6, + -1, 8, -1, 10, 11, 12, 13, 14, 15, 16, + -1, 18, 19, 20, 21, 22, 23, 24, 25, 26, + 27, 28, -1, 69, 70, 71, 33, -1, -1, -1, + -1, -1, -1, -1, -1, 55, 56, 57, 58, -1, + 47, -1, 49, 50, 51, 52, 53, 54, 94, -1, + -1, -1, 59, 60, 61, 62, 63, 64, -1, 66, + 80, 81, 82, 83, -1, 72, -1, -1, 88, 89, + 90, -1, -1, 93, -1, -1, -1, 84, 85, 86, + -1, -1, -1, -1, 91, 92, -1, 6, 95, 8, + -1, 10, 11, 12, 13, 14, 15, 16, -1, 18, + 19, 20, 21, 22, -1, 24, 25, 26, 27, 28, + -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, + -1, -1, 55, 56, 57, 58, -1, -1, 47, -1, + 49, 50, 51, 52, 53, 54, -1, -1, -1, -1, + 59, 60, 61, 62, 63, 64, -1, 66, 81, 82, + 83, -1, -1, 72, -1, 88, 89, 90, -1, -1, + 93, -1, -1, -1, -1, 84, 85, 86, -1, -1, + -1, -1, 91, 92, -1, 6, 95, 8, -1, 10, + 11, 12, 13, 14, 15, 16, -1, 18, 19, 20, + 21, 22, -1, 24, 25, 26, 27, 28, -1, -1, + -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 47, -1, 49, 50, + 51, 52, 53, 54, -1, -1, -1, -1, 59, 60, + 61, 62, 63, 64, -1, 66, 6, -1, 8, 9, + -1, 72, -1, -1, -1, -1, -1, 17, -1, -1, + -1, -1, -1, 84, 85, 86, 55, 56, 57, 58, + 91, 92, -1, -1, 95, -1, 36, 37, 38, 39, + -1, -1, -1, 43, -1, 45, -1, -1, 48, -1, + -1, -1, -1, 82, 83, 55, 56, 57, 58, 88, + 89, 90, -1, -1, 93, -1, -1, -1, -1, 69, + 70, 71, -1, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, -1, -1, -1, -1, 88, 89, + 90, -1, -1, 93, 94, 8, 9, 10, 11, 12, + 13, 14, 15, 16, -1, 18, 19, 20, 21, 22, + -1, 24, 25, 26, 27, 28, -1, -1, -1, -1, + 33, -1, -1, -1, -1, -1, -1, 55, 56, 57, + 58, -1, -1, -1, 47, -1, 49, 50, 51, 52, + 53, 54, -1, -1, -1, -1, 59, 60, 61, 62, + 63, 64, -1, 66, 82, 83, -1, -1, -1, 72, + 88, 89, 90, -1, -1, 93, -1, -1, -1, -1, + -1, 84, 85, 86, -1, -1, -1, -1, 91, 92, + -1, 8, 95, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 22, -1, 24, 25, 26, + 27, 28, -1, -1, -1, -1, 33, -1, -1, -1, + -1, -1, -1, -1, -1, 57, 58, -1, -1, -1, + 47, -1, 49, 50, 51, 52, 53, 54, -1, -1, + -1, -1, 59, 60, 61, 62, 63, 64, -1, 66, + 82, 83, -1, -1, -1, 72, 88, 89, 90, -1, + -1, 93, -1, -1, -1, -1, -1, 84, 85, 86, + -1, -1, -1, -1, 91, 92, -1, 8, 95, 10, + 11, 12, 13, 14, 15, 16, -1, 18, 19, 20, + 21, 22, -1, 24, 25, 26, 27, 28, -1, -1, + -1, -1, 33, 36, 37, 38, 39, -1, -1, -1, + 43, -1, 45, -1, -1, -1, 47, -1, 49, 50, + 51, 52, 53, 54, -1, -1, -1, -1, 59, 60, + 61, 62, 63, 64, -1, 66, 69, 70, 71, -1, + -1, 72, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 84, 85, 86, -1, -1, -1, -1, + 91, 92, -1, 94, 95, 8, -1, 10, 11, 12, + 13, 14, 15, 16, -1, 18, 19, 20, 21, 22, + -1, 24, 25, 26, 27, 28, -1, -1, -1, -1, + 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 47, -1, 49, 50, 51, 52, + 53, 54, -1, -1, -1, -1, 59, 60, 61, 62, + 63, 64, -1, 66, -1, -1, -1, -1, -1, 72, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 84, 85, 86, -1, -1, -1, -1, 91, 92, + -1, 94, 95, 8, -1, 10, 11, 12, 13, 14, + 15, 16, -1, 18, 19, 20, 21, 22, -1, 24, + 25, 26, 27, 28, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 46, -1, 48, 49, 50, 51, 52, - 53, -1, -1, -1, -1, 58, 59, 60, 61, 62, - 63, -1, 65, -1, -1, -1, -1, -1, 71, -1, + -1, -1, 47, -1, 49, 50, 51, 52, 53, 54, + -1, -1, -1, -1, 59, 60, 61, 62, 63, 64, + -1, 66, -1, -1, -1, -1, -1, 72, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 84, + 85, 86, -1, -1, -1, -1, 91, 92, -1, 94, + 95, 8, -1, 10, 11, 12, 13, 14, 15, 16, + -1, 18, 19, 20, 21, 22, -1, 24, 25, 26, + 27, 28, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 83, 84, 85, -1, -1, -1, -1, 90, 91, -1, - 93, 94, 7, -1, 9, 10, 11, 12, 13, 14, - 15, -1, 17, 18, 19, 20, 21, -1, 23, 24, - 25, 26, 27, -1, -1, -1, -1, 32, -1, -1, + 47, -1, 49, 50, 51, 52, 53, 54, -1, -1, + -1, -1, 59, 60, 61, 62, 63, 64, -1, 66, + -1, -1, -1, -1, -1, 72, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 84, 85, 86, + -1, -1, -1, -1, 91, 92, -1, 94, 95, 8, + -1, 10, 11, 12, 13, 14, 15, 16, -1, 18, + 19, 20, 21, 22, -1, 24, 25, 26, 27, 28, + -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 47, -1, + 49, 50, 51, 52, 53, 54, -1, -1, -1, -1, + 59, 60, 61, 62, 63, 64, -1, 66, -1, -1, + -1, -1, -1, 72, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 84, 85, 86, -1, -1, + -1, -1, 91, 92, -1, 94, 95, 8, -1, 10, + 11, 12, 13, 14, 15, 16, -1, 18, 19, 20, + 21, 22, -1, 24, 25, 26, 27, 28, -1, -1, + -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 47, -1, 49, 50, + 51, 52, 53, 54, -1, -1, -1, -1, 59, 60, + 61, 62, 63, 64, -1, 66, -1, -1, -1, -1, + -1, 72, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 84, 85, 86, -1, -1, -1, -1, + 91, 92, -1, 94, 95, 8, -1, 10, 11, 12, + 13, 14, 15, 16, -1, 18, 19, 20, 21, 22, + -1, 24, 25, 26, 27, 28, -1, -1, -1, -1, + 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 47, -1, 49, 50, 51, 52, + 53, 54, -1, -1, -1, -1, 59, 60, 61, 62, + 63, 64, -1, 66, -1, -1, -1, -1, -1, 72, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 46, -1, 48, 49, 50, 51, 52, 53, -1, - -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, - 65, -1, -1, -1, -1, -1, 71, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 83, 84, - 85, -1, -1, -1, -1, 90, 91, -1, 93, 94, - 7, -1, 9, 10, 11, 12, 13, 14, 15, -1, - 17, 18, 19, 20, 21, -1, 23, 24, 25, 26, - 27, -1, -1, -1, -1, 32, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 46, - -1, 48, 49, 50, 51, 52, 53, -1, -1, -1, - -1, 58, 59, 60, 61, 62, 63, -1, 65, -1, - -1, -1, -1, -1, 71, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 83, 84, 85, -1, - -1, -1, -1, 90, 91, -1, 93, 94, 7, -1, - 9, 10, 11, 12, 13, 14, 15, -1, 17, 18, - 19, 20, 21, -1, 23, 24, 25, 26, 27, -1, - -1, -1, -1, 32, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 46, -1, 48, - 49, 50, 51, 52, 53, -1, -1, -1, -1, 58, - 59, 60, 61, 62, 63, -1, 65, -1, -1, -1, - -1, -1, 71, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 83, 84, 85, -1, -1, -1, - -1, 90, 91, -1, 93, 94, 7, -1, 9, 10, - 11, 12, 13, 14, 15, -1, 17, 18, 19, 20, - 21, -1, 23, 24, 25, 26, 27, -1, -1, -1, - -1, 32, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 46, -1, 48, 49, 50, - 51, 52, 53, -1, -1, -1, -1, 58, 59, 60, - 61, 62, 63, -1, 65, -1, -1, -1, -1, -1, - 71, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 83, 84, 85, -1, -1, -1, -1, 90, - 91, -1, 93, 94, 7, -1, 9, 10, 11, 12, - 13, 14, 15, -1, 17, 18, 19, 20, 21, -1, - 23, 24, 25, 26, 27, -1, -1, -1, -1, 32, + -1, 84, 85, 86, -1, -1, -1, -1, 91, 92, + -1, 94, 95, 8, -1, 10, 11, 12, 13, 14, + 15, 16, -1, 18, 19, 20, 21, 22, -1, 24, + 25, 26, 27, 28, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 46, -1, 48, 49, 50, 51, 52, - 53, -1, -1, -1, -1, 58, 59, 60, 61, 62, - 63, -1, 65, -1, -1, 8, -1, -1, 71, -1, - -1, -1, -1, 16, -1, -1, -1, -1, -1, -1, - 83, 84, 85, -1, -1, -1, -1, 90, 91, -1, - -1, 94, 35, 36, 37, 38, -1, -1, -1, 42, - -1, 44, -1, -1, 47, -1, -1, -1, -1, -1, - -1, 54, 55, 56, 57, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 68, 69, 70, -1, 72, - 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, - -1, 377, -1, 379, 87, 88, 89, 383, -1, 92, - 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 400, 401, -1, 47, -1, -1, - -1, -1, 408, 409, 54, 55, 56, 57, -1, -1, - -1, -1, 418, -1, -1, -1, 422, -1, -1, -1, - -1, -1, -1, 73, 74, 75, 76, 77, 78, 79, - 80, 81, 82, 439, 440, -1, 47, 87, 88, 89, - -1, -1, 92, 54, 55, 56, 57, -1, -1, -1, + -1, -1, 47, -1, 49, 50, 51, 52, 53, 54, + -1, -1, -1, -1, 59, 60, 61, 62, 63, 64, + -1, 66, -1, -1, -1, -1, -1, 72, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 84, + 85, 86, -1, -1, -1, -1, 91, 92, -1, 94, + 95, 8, -1, 10, 11, 12, 13, 14, 15, 16, + -1, 18, 19, 20, 21, 22, -1, 24, 25, 26, + 27, 28, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 73, 74, -1, 76, 77, 78, 79, 80, - 81, 82, -1, -1, -1, 47, 87, 88, 89, -1, - -1, 92, 54, 55, 56, 57, -1, -1, -1, -1, + 47, -1, 49, 50, 51, 52, 53, 54, -1, -1, + -1, -1, 59, 60, 61, 62, 63, 64, -1, 66, + -1, -1, 9, -1, -1, 72, -1, -1, -1, -1, + 17, -1, -1, -1, -1, -1, -1, 84, 85, 86, + -1, -1, -1, -1, 91, 92, -1, -1, 95, 36, + 37, 38, 39, -1, -1, -1, 43, -1, 45, -1, + -1, 48, -1, -1, -1, -1, -1, -1, 55, 56, + 57, 58, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 69, 70, 71, -1, 73, 74, 75, 76, + 77, 78, 79, 80, 81, 82, 83, -1, -1, -1, + -1, 88, 89, 90, 48, -1, 93, 94, -1, -1, + -1, 55, 56, 57, 58, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 74, -1, 76, 77, 78, 79, 80, 81, - 82, -1, -1, -1, 47, 87, 88, 89, -1, -1, - 92, 54, 55, 56, 57, -1, -1, -1, -1, -1, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + -1, -1, -1, 48, 88, 89, 90, -1, -1, 93, + 55, 56, 57, 58, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 74, + 75, -1, 77, 78, 79, 80, 81, 82, 83, -1, + -1, -1, 48, 88, 89, 90, -1, -1, 93, 55, + 56, 57, 58, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, 75, + -1, 77, 78, 79, 80, 81, 82, 83, -1, -1, + -1, 48, 88, 89, 90, -1, -1, 93, 55, 56, + 57, 58, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 76, 77, 78, 79, 80, 81, 82, - -1, -1, -1, -1, 87, 88, 89, -1, -1, 92 + 77, 78, 79, 80, 81, 82, 83, -1, -1, -1, + -1, 88, 89, 90, -1, -1, 93 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const yytype_uint8 yystos[] = { - 0, 3, 4, 97, 98, 102, 29, 30, 31, 33, - 34, 64, 95, 106, 107, 113, 114, 122, 123, 124, - 125, 127, 128, 137, 138, 140, 0, 105, 131, 129, - 17, 129, 129, 1, 5, 7, 9, 10, 11, 12, - 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, - 24, 25, 26, 27, 28, 32, 35, 36, 37, 38, - 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, - 53, 58, 59, 60, 61, 62, 63, 65, 71, 83, - 84, 85, 90, 91, 94, 99, 108, 110, 111, 142, - 143, 144, 147, 148, 149, 150, 151, 152, 153, 160, - 161, 162, 163, 164, 165, 107, 123, 17, 126, 17, - 132, 17, 141, 132, 100, 8, 142, 152, 152, 17, - 22, 99, 161, 166, 166, 166, 166, 166, 166, 166, - 94, 7, 152, 130, 130, 23, 94, 157, 157, 157, - 157, 63, 157, 161, 157, 157, 99, 152, 94, 94, - 94, 99, 152, 17, 143, 155, 161, 166, 166, 17, - 99, 152, 161, 16, 142, 17, 152, 94, 154, 161, - 162, 163, 152, 143, 152, 152, 152, 152, 152, 93, - 142, 41, 112, 16, 35, 36, 37, 38, 42, 44, - 68, 69, 70, 72, 5, 7, 157, 47, 54, 55, - 56, 57, 73, 74, 76, 77, 78, 79, 80, 81, - 82, 87, 88, 89, 92, 157, 5, 7, 5, 7, - 5, 99, 20, 133, 5, 16, 17, 133, 105, 8, - 155, 94, 143, 142, 99, 133, 158, 100, 100, 100, - 100, 100, 100, 157, 100, 100, 93, 93, 142, 142, - 156, 166, 143, 157, 157, 6, 16, 155, 93, 142, - 66, 135, 7, 93, 99, 142, 118, 142, 142, 142, - 142, 142, 142, 142, 142, 152, 142, 142, 93, 142, - 152, 152, 152, 152, 152, 152, 152, 152, 152, 152, - 152, 152, 152, 152, 152, 5, 7, 18, 94, 146, - 161, 93, 142, 142, 142, 142, 142, 142, 66, 134, - 100, 17, 134, 6, 156, 93, 8, 145, 134, 94, - 117, 142, 118, 119, 142, 118, 121, 159, 161, 108, - 116, 119, 120, 142, 100, 101, 119, 93, 93, 142, - 93, 142, 93, 142, 6, 93, 20, 142, 7, 16, - 8, 93, 75, 142, 142, 93, 142, 157, 93, 16, - 8, 16, 8, 16, 20, 16, 99, 136, 139, 155, - 136, 93, 155, 99, 93, 93, 93, 93, 157, 93, - 16, 119, 119, 93, 93, 93, 93, 8, 142, 6, - 152, 16, 8, 93, 156, 6, 6, 6, 105, 16, - 115, 115, 5, 103, 103, 119, 103, 117, 93, 93, - 103, 8, 6, 93, 6, 103, 103, 104, 39, 40, - 109, 109, 93, 112, 16, 103, 103, 112, 112, 105, - 103, 157, 103, 115, 112, 6, 119, 112, 120, 93, - 93, 103, 103, 109 + 0, 3, 4, 5, 98, 101, 105, 30, 31, 32, + 34, 35, 65, 96, 109, 110, 116, 117, 125, 126, + 127, 128, 130, 131, 140, 141, 143, 99, 0, 108, + 134, 132, 18, 132, 132, 1, 6, 8, 10, 11, + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, + 22, 24, 25, 26, 27, 28, 29, 33, 36, 37, + 38, 39, 43, 44, 45, 46, 47, 49, 50, 51, + 52, 53, 54, 59, 60, 61, 62, 63, 64, 66, + 72, 84, 85, 86, 91, 92, 95, 102, 111, 113, + 114, 145, 146, 147, 150, 151, 152, 153, 154, 155, + 156, 163, 164, 165, 166, 167, 168, 108, 110, 126, + 18, 129, 18, 135, 18, 144, 135, 103, 9, 145, + 155, 155, 18, 23, 102, 164, 169, 169, 169, 169, + 169, 169, 169, 95, 8, 155, 133, 133, 24, 95, + 160, 160, 160, 160, 64, 160, 164, 160, 160, 102, + 155, 95, 95, 95, 102, 155, 18, 146, 158, 164, + 169, 169, 18, 102, 155, 164, 17, 145, 18, 155, + 95, 157, 164, 165, 166, 155, 146, 155, 155, 155, + 155, 155, 94, 145, 42, 115, 17, 36, 37, 38, + 39, 43, 45, 69, 70, 71, 73, 6, 8, 160, + 48, 55, 56, 57, 58, 74, 75, 77, 78, 79, + 80, 81, 82, 83, 88, 89, 90, 93, 160, 6, + 8, 6, 8, 6, 7, 100, 102, 21, 136, 6, + 17, 18, 136, 108, 9, 158, 95, 146, 145, 102, + 136, 161, 103, 103, 103, 103, 103, 103, 160, 103, + 103, 94, 94, 145, 145, 159, 169, 146, 160, 160, + 7, 17, 158, 94, 145, 67, 138, 8, 94, 102, + 145, 121, 145, 145, 145, 145, 145, 145, 145, 145, + 155, 145, 145, 94, 145, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 6, 8, 19, 95, 149, 164, 94, 145, 145, 145, + 145, 145, 145, 67, 137, 103, 18, 137, 7, 159, + 94, 9, 148, 137, 95, 120, 145, 121, 122, 145, + 121, 124, 162, 164, 111, 119, 122, 123, 145, 103, + 104, 122, 94, 94, 145, 94, 145, 94, 145, 7, + 94, 21, 145, 8, 17, 9, 94, 76, 145, 145, + 94, 145, 160, 94, 17, 9, 17, 9, 17, 21, + 17, 102, 139, 142, 158, 139, 94, 158, 102, 94, + 94, 94, 94, 160, 94, 17, 122, 122, 94, 94, + 94, 94, 9, 145, 7, 155, 17, 9, 94, 159, + 7, 7, 7, 108, 17, 118, 118, 6, 106, 106, + 122, 106, 120, 94, 94, 106, 9, 7, 94, 7, + 106, 106, 107, 40, 41, 112, 112, 94, 115, 17, + 106, 106, 115, 115, 108, 106, 160, 106, 118, 115, + 7, 122, 115, 123, 94, 94, 106, 106, 112 }; typedef enum { @@ -932,28 +946,29 @@ typedef enum { /* type of each token/terminal */ static const toketypes yy_type_tab[] = { - 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_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_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, + 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_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_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_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_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, - toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, - toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_i_tkval, 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_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_p_tkval, toketype_opval, toketype_opval, toketype_opval, - toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_ival, - toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, - toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_ival, toketype_opval, - toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, + 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_opval, + toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_ival, toketype_opval, + toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, + toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, + toketype_opval, toketype_p_tkval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, + toketype_opval, toketype_ival, toketype_ival, toketype_ival, toketype_opval, + toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_opval, + toketype_opval, toketype_ival, toketype_opval, toketype_ival, 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_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_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 GRAMFULLSTMT +%token <ival> GRAMPROG GRAMFULLSTMT GRAMSTMTSEQ %token <i_tkval> '{' '}' '[' ']' '-' '+' '$' '@' '%' '*' '&' ';' @@ -89,7 +89,7 @@ %type <i_tkval> lpar_or_qw -%type <ival> grammar prog progstart remember mremember +%type <ival> grammar closebrace_or_eof prog progstart remember mremember %type <ival> startsub startanonsub startformsub /* FIXME for MAD - are these two ival? */ %type <ival> mydefsv mintro @@ -150,6 +150,31 @@ grammar : GRAMPROG prog yyunlex(); parser->yychar = YYEOF; } + | GRAMSTMTSEQ + { + parser->expect = XSTATE; + } + lineseq closebrace_or_eof + { + PL_eval_root = $3; + $$ = 0; + } + ; + +closebrace_or_eof: '}' + { + assert(parser->yychar == YYEMPTY); + assert(parser->bufptr != SvPVX(parser->linestr)); + assert(parser->bufptr[-1] == '}'); + parser->bufptr--; + parser->lex_brackstack[parser->lex_brackets++] = + XSTATE; + parser->expect = XSTATE; + parser->yychar = YYEOF; + $$ = 0; + } + | /* NULL */ + { $$ = 0; } ; /* The whole program */ @@ -2729,6 +2729,7 @@ PERL_CALLCONV void Perl_pad_undef(pTHX_ CV* cv) assert(cv) PERL_CALLCONV OP* Perl_parse_fullstmt(pTHX_ U32 flags); +PERL_CALLCONV OP* Perl_parse_stmtseq(pTHX_ U32 flags); PERL_CALLCONV U32 Perl_parse_unicode_opts(pTHX_ const char **popt) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_PARSE_UNICODE_OPTS \ @@ -14004,6 +14004,52 @@ Perl_parse_fullstmt(pTHX_ U32 flags) return fullstmtop; } +/* +=for apidoc Amx|OP *|parse_stmtseq|U32 flags + +Parse a sequence of zero or more Perl statements. These may be normal +imperative statements, including optional labels, or declarations +that have compile-time effect, or any mixture thereof. The statement +sequence ends when a closing brace or end-of-file is encountered in a +place where a new statement could have validly started. 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 statements. + +The op tree representing the statement sequence is returned. This may +be a null pointer if the statements were all null, for example if there +were no statements or if there were only subroutine definitions (which +have compile-time side effects). If not null, it will be a C<lineseq> +list, normally including C<nextstate> or equivalent ops. + +If an error occurs in parsing or compilation, in most cases a valid op +tree 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_stmtseq(pTHX_ U32 flags) +{ + OP *stmtseqop; + if (flags) + Perl_croak(aTHX_ "Parsing code internal error (%s)", "parse_fullstmt"); + ENTER; + SAVEVPTR(PL_eval_root); + PL_eval_root = NULL; + if(yyparse(GRAMSTMTSEQ) && !PL_parser->error_count) + qerror(Perl_mess(aTHX_ "Parse error")); + stmtseqop = PL_eval_root; + LEAVE; + return stmtseqop; +} + void Perl_munge_qwlist_to_paren_list(pTHX_ OP *qwlist) { |