xref: /openbsd/gnu/usr.bin/perl/perly.act (revision e0680481)
1/* -*- mode: C; buffer-read-only: t -*-
2   !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
3   This file is built by regen_perly.pl from perly.y.
4   Any changes made here will be lost!
5 */
6
7case 2:
8#line 161 "perly.y"
9    {
10			  parser->expect = XSTATE;
11                          (yyval.ival) = 0;
12			}
13
14    break;
15
16  case 3:
17#line 166 "perly.y"
18    {
19			  newPROG(block_end((ps[-1].val.ival),(ps[0].val.opval)));
20			  PL_compiling.cop_seq = 0;
21			  (yyval.ival) = 0;
22			}
23
24    break;
25
26  case 4:
27#line 172 "perly.y"
28    {
29			  parser->expect = XTERM;
30                          (yyval.ival) = 0;
31			}
32
33    break;
34
35  case 5:
36#line 177 "perly.y"
37    {
38			  PL_eval_root = (ps[0].val.opval);
39			  (yyval.ival) = 0;
40			}
41
42    break;
43
44  case 6:
45#line 182 "perly.y"
46    {
47			  parser->expect = XBLOCK;
48                          (yyval.ival) = 0;
49			}
50
51    break;
52
53  case 7:
54#line 187 "perly.y"
55    {
56			  PL_pad_reset_pending = TRUE;
57			  PL_eval_root = (ps[0].val.opval);
58			  (yyval.ival) = 0;
59			  yyunlex();
60			  parser->yychar = yytoken = YYEOF;
61			}
62
63    break;
64
65  case 8:
66#line 195 "perly.y"
67    {
68			  parser->expect = XSTATE;
69                          (yyval.ival) = 0;
70			}
71
72    break;
73
74  case 9:
75#line 200 "perly.y"
76    {
77			  PL_pad_reset_pending = TRUE;
78			  PL_eval_root = (ps[0].val.opval);
79			  (yyval.ival) = 0;
80			  yyunlex();
81			  parser->yychar = yytoken = YYEOF;
82			}
83
84    break;
85
86  case 10:
87#line 208 "perly.y"
88    {
89			  parser->expect = XSTATE;
90                          (yyval.ival) = 0;
91			}
92
93    break;
94
95  case 11:
96#line 213 "perly.y"
97    {
98			  PL_pad_reset_pending = TRUE;
99			  PL_eval_root = (ps[0].val.opval);
100			  (yyval.ival) = 0;
101			  yyunlex();
102			  parser->yychar = yytoken = YYEOF;
103			}
104
105    break;
106
107  case 12:
108#line 221 "perly.y"
109    {
110			  parser->expect = XSTATE;
111                          (yyval.ival) = 0;
112			}
113
114    break;
115
116  case 13:
117#line 226 "perly.y"
118    {
119			  PL_eval_root = (ps[0].val.opval);
120			  (yyval.ival) = 0;
121			}
122
123    break;
124
125  case 14:
126#line 231 "perly.y"
127    {
128			  parser->expect = XSTATE;
129			  (yyval.ival) = 0;
130			}
131
132    break;
133
134  case 15:
135#line 236 "perly.y"
136    {
137			  PL_eval_root = (ps[0].val.opval);
138			  (yyval.ival) = 0;
139			}
140
141    break;
142
143  case 16:
144#line 245 "perly.y"
145    { (yyval.ival) = KW_SUB_named_sig; }
146
147    break;
148
149  case 17:
150#line 247 "perly.y"
151    { (yyval.ival) = KW_METHOD_named; }
152
153    break;
154
155  case 18:
156#line 252 "perly.y"
157    { if (parser->copline > (line_t)(ps[-3].val.ival))
158			      parser->copline = (line_t)(ps[-3].val.ival);
159			  (yyval.opval) = block_end((ps[-2].val.ival), (ps[-1].val.opval));
160			}
161
162    break;
163
164  case 19:
165#line 259 "perly.y"
166    { (yyval.opval) = NULL; }
167
168    break;
169
170  case 20:
171#line 264 "perly.y"
172    { if (parser->copline > (line_t)(ps[-6].val.ival))
173			      parser->copline = (line_t)(ps[-6].val.ival);
174			  (yyval.opval) = block_end((ps[-5].val.ival), (ps[-2].val.opval));
175			}
176
177    break;
178
179  case 21:
180#line 271 "perly.y"
181    { (yyval.ival) = block_start(TRUE);
182			  parser->parsed_sub = 0; }
183
184    break;
185
186  case 22:
187#line 276 "perly.y"
188    { if (parser->copline > (line_t)(ps[-3].val.ival))
189			      parser->copline = (line_t)(ps[-3].val.ival);
190			  (yyval.opval) = block_end((ps[-2].val.ival), (ps[-1].val.opval));
191			}
192
193    break;
194
195  case 23:
196#line 283 "perly.y"
197    { (yyval.ival) = block_start(FALSE);
198			  parser->parsed_sub = 0; }
199
200    break;
201
202  case 25:
203#line 292 "perly.y"
204    { parser->in_my = 1; }
205
206    break;
207
208  case 26:
209#line 294 "perly.y"
210    { parser->in_my = 0; intro_my(); }
211
212    break;
213
214  case 27:
215#line 296 "perly.y"
216    { (yyval.opval) = (ps[-2].val.opval); }
217
218    break;
219
220  case 29:
221#line 303 "perly.y"
222    {   (yyval.opval) = op_append_list(OP_LINESEQ, (ps[-1].val.opval), (ps[0].val.opval));
223			    PL_pad_reset_pending = TRUE;
224			    if ((ps[-1].val.opval) && (ps[0].val.opval))
225				PL_hints |= HINT_BLOCK_SCOPE;
226			}
227
228    break;
229
230  case 31:
231#line 314 "perly.y"
232    {   (yyval.opval) = op_append_list(OP_LINESEQ, (ps[-1].val.opval), (ps[0].val.opval));
233			    PL_pad_reset_pending = TRUE;
234			    if ((ps[-1].val.opval) && (ps[0].val.opval))
235				PL_hints |= HINT_BLOCK_SCOPE;
236			}
237
238    break;
239
240  case 32:
241#line 323 "perly.y"
242    {
243			  (yyval.opval) = (ps[0].val.opval) ? newSTATEOP(0, NULL, (ps[0].val.opval)) : NULL;
244			}
245
246    break;
247
248  case 33:
249#line 327 "perly.y"
250    { (yyval.opval) = (ps[0].val.opval); }
251
252    break;
253
254  case 34:
255#line 331 "perly.y"
256    {
257                          SV *label = cSVOPx_sv((ps[-1].val.opval));
258			  (yyval.opval) = newSTATEOP(SvFLAGS(label) & SVf_UTF8,
259                                            savepv(SvPVX_const(label)), (ps[0].val.opval));
260                          op_free((ps[-1].val.opval));
261			}
262
263    break;
264
265  case 35:
266#line 338 "perly.y"
267    {
268                          SV *label = cSVOPx_sv((ps[-1].val.opval));
269			  (yyval.opval) = newSTATEOP(SvFLAGS(label) & SVf_UTF8,
270                                            savepv(SvPVX_const(label)), (ps[0].val.opval));
271                          op_free((ps[-1].val.opval));
272			}
273
274    break;
275
276  case 36:
277#line 348 "perly.y"
278    { (yyval.opval) = (ps[0].val.opval); }
279
280    break;
281
282  case 37:
283#line 350 "perly.y"
284    {
285			  CV *fmtcv = PL_compcv;
286			  newFORM((ps[-2].val.ival), (ps[-1].val.opval), (ps[0].val.opval));
287			  (yyval.opval) = NULL;
288			  if (CvOUTSIDE(fmtcv) && !CvEVAL(CvOUTSIDE(fmtcv))) {
289			      pad_add_weakref(fmtcv);
290			  }
291			  parser->parsed_sub = 1;
292			}
293
294    break;
295
296  case 38:
297#line 362 "perly.y"
298    {
299                          init_named_cv(PL_compcv, (ps[-1].val.opval));
300			  parser->in_my = 0;
301			  parser->in_my_stash = NULL;
302			}
303
304    break;
305
306  case 39:
307#line 368 "perly.y"
308    {
309			  SvREFCNT_inc_simple_void(PL_compcv);
310			  (ps[-5].val.opval)->op_type == OP_CONST
311			      ? newATTRSUB((ps[-4].val.ival), (ps[-5].val.opval), (ps[-2].val.opval), (ps[-1].val.opval), (ps[0].val.opval))
312			      : newMYSUB((ps[-4].val.ival), (ps[-5].val.opval), (ps[-2].val.opval), (ps[-1].val.opval), (ps[0].val.opval))
313			  ;
314			  (yyval.opval) = NULL;
315			  intro_my();
316			  parser->parsed_sub = 1;
317			}
318
319    break;
320
321  case 40:
322#line 383 "perly.y"
323    {
324                          init_named_cv(PL_compcv, (ps[-1].val.opval));
325			  if((ps[-2].val.ival) == KW_METHOD_named) {
326			      croak_kw_unless_class("method");
327			      class_prepare_method_parse(PL_compcv);
328			  }
329			  parser->in_my = 0;
330			  parser->in_my_stash = NULL;
331			}
332
333    break;
334
335  case 41:
336#line 393 "perly.y"
337    {
338			  OP *body = (ps[0].val.opval);
339
340			  SvREFCNT_inc_simple_void(PL_compcv);
341			  (ps[-4].val.opval)->op_type == OP_CONST
342			      ? newATTRSUB((ps[-3].val.ival), (ps[-4].val.opval), NULL, (ps[-1].val.opval), body)
343			      : newMYSUB(  (ps[-3].val.ival), (ps[-4].val.opval), NULL, (ps[-1].val.opval), body)
344			  ;
345			  (yyval.opval) = NULL;
346			  intro_my();
347			  parser->parsed_sub = 1;
348			}
349
350    break;
351
352  case 42:
353#line 406 "perly.y"
354    {
355			  switch((ps[-1].val.ival)) {
356			      case KEY_ADJUST:
357			         croak_kw_unless_class("ADJUST");
358			         class_prepare_method_parse(PL_compcv);
359			         break;
360			      default:
361			         NOT_REACHED;
362			  }
363			}
364
365    break;
366
367  case 43:
368#line 417 "perly.y"
369    {
370			  OP *body = (ps[0].val.opval);
371			  SvREFCNT_inc_simple_void(PL_compcv);
372
373			  CV *cv;
374
375			  switch((ps[-3].val.ival)) {
376			      case KEY_ADJUST:
377			          cv = newATTRSUB((ps[-2].val.ival), NULL, NULL, NULL, body);
378			          class_add_ADJUST(PL_curstash, cv);
379			          break;
380			  }
381			  (yyval.opval) = NULL;
382			}
383
384    break;
385
386  case 44:
387#line 436 "perly.y"
388    {
389			  package((ps[-1].val.opval));
390			  if ((ps[-2].val.opval))
391			      package_version((ps[-2].val.opval));
392			  (yyval.opval) = NULL;
393			}
394
395    break;
396
397  case 45:
398#line 443 "perly.y"
399    {
400			  package((ps[-2].val.opval));
401			  if ((ps[-3].val.opval))
402			      package_version((ps[-3].val.opval));
403			  (yyval.opval) = NULL;
404			  class_setup_stash(PL_curstash);
405			  if ((ps[-1].val.opval)) {
406			      class_apply_attributes(PL_curstash, (ps[-1].val.opval));
407			  }
408			}
409
410    break;
411
412  case 46:
413#line 454 "perly.y"
414    { CvSPECIAL_on(PL_compcv); /* It's a BEGIN {} */ }
415
416    break;
417
418  case 47:
419#line 458 "perly.y"
420    {
421			  SvREFCNT_inc_simple_void(PL_compcv);
422			  utilize((ps[-6].val.ival), (ps[-5].val.ival), (ps[-3].val.opval), (ps[-2].val.opval), (ps[-1].val.opval));
423			  parser->parsed_sub = 1;
424			  (yyval.opval) = NULL;
425			}
426
427    break;
428
429  case 48:
430#line 465 "perly.y"
431    {
432			  (yyval.opval) = block_end((ps[-4].val.ival),
433			      newCONDOP(0, (ps[-3].val.opval), op_scope((ps[-1].val.opval)), (ps[0].val.opval)));
434			  parser->copline = (line_t)(ps[-6].val.ival);
435			}
436
437    break;
438
439  case 49:
440#line 471 "perly.y"
441    {
442			  (yyval.opval) = block_end((ps[-4].val.ival),
443                              newCONDOP(0, (ps[-3].val.opval), (ps[0].val.opval), op_scope((ps[-1].val.opval))));
444			  parser->copline = (line_t)(ps[-6].val.ival);
445			}
446
447    break;
448
449  case 50:
450#line 477 "perly.y"
451    {
452			  (yyval.opval) = block_end((ps[-3].val.ival), newGIVENOP((ps[-2].val.opval), op_scope((ps[0].val.opval)), 0));
453			  parser->copline = (line_t)(ps[-5].val.ival);
454			}
455
456    break;
457
458  case 51:
459#line 482 "perly.y"
460    { (yyval.opval) = block_end((ps[-3].val.ival), newWHENOP((ps[-2].val.opval), op_scope((ps[0].val.opval)))); }
461
462    break;
463
464  case 52:
465#line 484 "perly.y"
466    { (yyval.opval) = newWHENOP(0, op_scope((ps[0].val.opval))); }
467
468    break;
469
470  case 53:
471#line 486 "perly.y"
472    {
473			  (yyval.opval) = block_end((ps[-5].val.ival),
474				  newWHILEOP(0, 1, NULL,
475				      (ps[-4].val.opval), (ps[-1].val.opval), (ps[0].val.opval), (ps[-2].val.ival)));
476			  parser->copline = (line_t)(ps[-7].val.ival);
477			}
478
479    break;
480
481  case 54:
482#line 493 "perly.y"
483    {
484			  (yyval.opval) = block_end((ps[-5].val.ival),
485				  newWHILEOP(0, 1, NULL,
486				      (ps[-4].val.opval), (ps[-1].val.opval), (ps[0].val.opval), (ps[-2].val.ival)));
487			  parser->copline = (line_t)(ps[-7].val.ival);
488			}
489
490    break;
491
492  case 55:
493#line 500 "perly.y"
494    { parser->expect = XTERM; }
495
496    break;
497
498  case 56:
499#line 502 "perly.y"
500    { parser->expect = XTERM; }
501
502    break;
503
504  case 57:
505#line 505 "perly.y"
506    {
507			  OP *initop = (ps[-9].val.opval);
508			  OP *forop = newWHILEOP(0, 1, NULL,
509				      scalar((ps[-6].val.opval)), (ps[0].val.opval), (ps[-2].val.opval), (ps[-3].val.ival));
510			  if (initop) {
511			      forop = op_prepend_elem(OP_LINESEQ, initop,
512				  op_append_elem(OP_LINESEQ,
513				      newOP(OP_UNSTACK, OPf_SPECIAL),
514				      forop));
515			  }
516			  PL_hints |= HINT_BLOCK_SCOPE;
517			  (yyval.opval) = block_end((ps[-10].val.ival), forop);
518			  parser->copline = (line_t)(ps[-12].val.ival);
519			}
520
521    break;
522
523  case 58:
524#line 520 "perly.y"
525    {
526			  (yyval.opval) = block_end((ps[-6].val.ival), newFOROP(0, (ps[-5].val.opval), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval)));
527			  parser->copline = (line_t)(ps[-8].val.ival);
528			}
529
530    break;
531
532  case 59:
533#line 525 "perly.y"
534    {
535                          if ((ps[-6].val.opval)->op_type == OP_PADSV)
536                            /* degenerate case of 1 var: for my ($x) ....
537                               Flag it so it can be special-cased in newFOROP */
538                                (ps[-6].val.opval)->op_flags |= OPf_PARENS;
539			  (yyval.opval) = block_end((ps[-8].val.ival), newFOROP(0, (ps[-6].val.opval), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval)));
540			  parser->copline = (line_t)(ps[-10].val.ival);
541			}
542
543    break;
544
545  case 60:
546#line 534 "perly.y"
547    {
548			  (yyval.opval) = block_end((ps[-4].val.ival), newFOROP(0,
549				      op_lvalue((ps[-6].val.opval), OP_ENTERLOOP), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval)));
550			  parser->copline = (line_t)(ps[-7].val.ival);
551			}
552
553    break;
554
555  case 61:
556#line 540 "perly.y"
557    { parser->in_my = 0; (yyval.opval) = my((ps[0].val.opval)); }
558
559    break;
560
561  case 62:
562#line 542 "perly.y"
563    {
564			  (yyval.opval) = block_end(
565				(ps[-7].val.ival),
566				newFOROP(0,
567					 op_lvalue(
568					    newUNOP(OP_REFGEN, 0,
569						    (ps[-5].val.opval)),
570					    OP_ENTERLOOP),
571					 (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval))
572			  );
573			  parser->copline = (line_t)(ps[-9].val.ival);
574			}
575
576    break;
577
578  case 63:
579#line 555 "perly.y"
580    {
581			  (yyval.opval) = block_end((ps[-4].val.ival), newFOROP(
582				0, op_lvalue(newUNOP(OP_REFGEN, 0,
583						     (ps[-6].val.opval)),
584					     OP_ENTERLOOP), (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval)));
585			  parser->copline = (line_t)(ps[-8].val.ival);
586			}
587
588    break;
589
590  case 64:
591#line 563 "perly.y"
592    {
593			  (yyval.opval) = block_end((ps[-4].val.ival),
594				  newFOROP(0, NULL, (ps[-3].val.opval), (ps[-1].val.opval), (ps[0].val.opval)));
595			  parser->copline = (line_t)(ps[-6].val.ival);
596			}
597
598    break;
599
600  case 65:
601#line 569 "perly.y"
602    {
603			  if(!(ps[0].val.opval)) {
604			      yyerror("catch block requires a (VAR)");
605			      YYERROR;
606			  }
607			}
608
609    break;
610
611  case 66:
612#line 576 "perly.y"
613    {
614			  (yyval.opval) = newTRYCATCHOP(0,
615				  (ps[-6].val.opval), (ps[-3].val.opval), block_end((ps[-4].val.ival), op_scope((ps[-1].val.opval))));
616			  if((ps[0].val.opval))
617			      (yyval.opval) = op_wrap_finally((yyval.opval), (ps[0].val.opval));
618			  parser->copline = (line_t)(ps[-7].val.ival);
619			}
620
621    break;
622
623  case 67:
624#line 584 "perly.y"
625    {
626			  /* a block is a loop that happens once */
627			  (yyval.opval) = newWHILEOP(0, 1, NULL,
628				  NULL, (ps[-1].val.opval), (ps[0].val.opval), 0);
629			}
630
631    break;
632
633  case 68:
634#line 590 "perly.y"
635    {
636			  package((ps[-2].val.opval));
637			  if ((ps[-3].val.opval)) {
638			      package_version((ps[-3].val.opval));
639			  }
640			}
641
642    break;
643
644  case 69:
645#line 597 "perly.y"
646    {
647			  /* a block is a loop that happens once */
648			  (yyval.opval) = newWHILEOP(0, 1, NULL,
649				  NULL, block_end((ps[-3].val.ival), (ps[-1].val.opval)), NULL, 0);
650			  if (parser->copline > (line_t)(ps[-4].val.ival))
651			      parser->copline = (line_t)(ps[-4].val.ival);
652			}
653
654    break;
655
656  case 70:
657#line 605 "perly.y"
658    {
659			  package((ps[-3].val.opval));
660
661			  if ((ps[-4].val.opval)) {
662			      package_version((ps[-4].val.opval));
663			  }
664			  class_setup_stash(PL_curstash);
665			  if ((ps[-2].val.opval)) {
666			      class_apply_attributes(PL_curstash, (ps[-2].val.opval));
667			  }
668			}
669
670    break;
671
672  case 71:
673#line 617 "perly.y"
674    {
675			  /* a block is a loop that happens once */
676			  (yyval.opval) = newWHILEOP(0, 1, NULL,
677				  NULL, block_end((ps[-3].val.ival), (ps[-1].val.opval)), NULL, 0);
678			  if (parser->copline > (line_t)(ps[-4].val.ival))
679			      parser->copline = (line_t)(ps[-4].val.ival);
680			}
681
682    break;
683
684  case 72:
685#line 625 "perly.y"
686    {
687			  (yyval.opval) = (ps[-1].val.opval);
688			}
689
690    break;
691
692  case 73:
693#line 629 "perly.y"
694    {
695			  (yyval.opval) = (ps[-1].val.opval);
696			}
697
698    break;
699
700  case 74:
701#line 633 "perly.y"
702    {
703			  (yyval.opval) = newDEFEROP(0, op_scope((ps[0].val.opval)));
704			}
705
706    break;
707
708  case 75:
709#line 637 "perly.y"
710    {
711                          /* diag_listed_as: Unimplemented */
712			  (yyval.opval) = newLISTOP(OP_DIE, 0, newOP(OP_PUSHMARK, 0),
713				newSVOP(OP_CONST, 0, newSVpvs("Unimplemented")));
714			}
715
716    break;
717
718  case 76:
719#line 643 "perly.y"
720    {
721			  (yyval.opval) = NULL;
722			  parser->copline = NOLINE;
723			}
724
725    break;
726
727  case 77:
728#line 651 "perly.y"
729    { OP *list;
730			  if ((ps[0].val.opval)) {
731			      OP *term = (ps[0].val.opval);
732			      list = op_append_elem(OP_LIST, (ps[-1].val.opval), term);
733			  }
734			  else {
735			      list = (ps[-1].val.opval);
736			  }
737			  if (parser->copline == NOLINE)
738			       parser->copline = CopLINE(PL_curcop)-1;
739			  else parser->copline--;
740			  (yyval.opval) = newSTATEOP(0, NULL,
741					  op_convert_list(OP_FORMLINE, 0, list));
742			}
743
744    break;
745
746  case 79:
747#line 670 "perly.y"
748    { (yyval.opval) = op_unscope((ps[-1].val.opval)); }
749
750    break;
751
752  case 81:
753#line 678 "perly.y"
754    { (yyval.opval) = NULL; }
755
756    break;
757
758  case 82:
759#line 680 "perly.y"
760    { (yyval.opval) = (ps[0].val.opval); }
761
762    break;
763
764  case 83:
765#line 682 "perly.y"
766    { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[0].val.opval), (ps[-2].val.opval)); }
767
768    break;
769
770  case 84:
771#line 684 "perly.y"
772    { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[0].val.opval), (ps[-2].val.opval)); }
773
774    break;
775
776  case 85:
777#line 686 "perly.y"
778    { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, scalar((ps[0].val.opval)), (ps[-2].val.opval)); }
779
780    break;
781
782  case 86:
783#line 688 "perly.y"
784    { (yyval.opval) = newLOOPOP(OPf_PARENS, 1, (ps[0].val.opval), (ps[-2].val.opval)); }
785
786    break;
787
788  case 87:
789#line 690 "perly.y"
790    { (yyval.opval) = newFOROP(0, NULL, (ps[0].val.opval), (ps[-2].val.opval), NULL);
791			  parser->copline = (line_t)(ps[-1].val.ival); }
792
793    break;
794
795  case 88:
796#line 693 "perly.y"
797    { (yyval.opval) = newWHENOP((ps[0].val.opval), op_scope((ps[-2].val.opval))); }
798
799    break;
800
801  case 90:
802#line 700 "perly.y"
803    {
804			  ((ps[0].val.opval))->op_flags |= OPf_PARENS;
805			  (yyval.opval) = op_scope((ps[0].val.opval));
806			}
807
808    break;
809
810  case 91:
811#line 705 "perly.y"
812    { parser->copline = (line_t)(ps[-5].val.ival);
813			    (yyval.opval) = newCONDOP(0,
814				newSTATEOP(OPf_SPECIAL,NULL,(ps[-3].val.opval)),
815				op_scope((ps[-1].val.opval)), (ps[0].val.opval));
816			  PL_hints |= HINT_BLOCK_SCOPE;
817			}
818
819    break;
820
821  case 93:
822#line 717 "perly.y"
823    { (yyval.opval) = op_scope((ps[0].val.opval)); }
824
825    break;
826
827  case 94:
828#line 722 "perly.y"
829    { (yyval.opval) = NULL; }
830
831    break;
832
833  case 95:
834#line 724 "perly.y"
835    { (yyval.opval) = op_scope((ps[0].val.opval)); }
836
837    break;
838
839  case 96:
840#line 729 "perly.y"
841    { (yyval.ival) = (PL_min_intro_pending &&
842			    PL_max_intro_pending >=  PL_min_intro_pending);
843			  intro_my(); }
844
845    break;
846
847  case 99:
848#line 741 "perly.y"
849    { YYSTYPE tmplval;
850			  (void)scan_num("1", &tmplval);
851			  (yyval.opval) = tmplval.opval; }
852
853    break;
854
855  case 101:
856#line 749 "perly.y"
857    { (yyval.opval) = invert(scalar((ps[0].val.opval))); }
858
859    break;
860
861  case 102:
862#line 754 "perly.y"
863    { (yyval.opval) = (ps[0].val.opval); intro_my(); }
864
865    break;
866
867  case 103:
868#line 758 "perly.y"
869    { (yyval.opval) = (ps[0].val.opval); intro_my(); }
870
871    break;
872
873  case 104:
874#line 761 "perly.y"
875    { (yyval.opval) = (ps[0].val.opval); }
876
877    break;
878
879  case 106:
880#line 766 "perly.y"
881    { (yyval.ival) = start_subparse(FALSE, 0);
882			    SAVEFREESV(PL_compcv); }
883
884    break;
885
886  case 107:
887#line 772 "perly.y"
888    { (yyval.ival) = start_subparse(FALSE, CVf_ANON);
889			    SAVEFREESV(PL_compcv); }
890
891    break;
892
893  case 108:
894#line 777 "perly.y"
895    { (yyval.ival) = start_subparse(FALSE, CVf_ANON|CVf_IsMETHOD);
896			    SAVEFREESV(PL_compcv); }
897
898    break;
899
900  case 109:
901#line 782 "perly.y"
902    { (yyval.ival) = start_subparse(TRUE, 0);
903			    SAVEFREESV(PL_compcv); }
904
905    break;
906
907  case 115:
908#line 801 "perly.y"
909    {
910			  OP *attrlist = (ps[0].val.opval);
911			  if(attrlist && !PL_parser->sig_seen)
912			      attrlist = apply_builtin_cv_attributes(PL_compcv, attrlist);
913			  (yyval.opval) = attrlist;
914			}
915
916    break;
917
918  case 116:
919#line 808 "perly.y"
920    { (yyval.opval) = NULL; }
921
922    break;
923
924  case 117:
925#line 813 "perly.y"
926    { (yyval.opval) = (ps[0].val.opval); }
927
928    break;
929
930  case 118:
931#line 815 "perly.y"
932    { (yyval.opval) = NULL; }
933
934    break;
935
936  case 119:
937#line 826 "perly.y"
938    { parser->in_my = 0; (yyval.opval) = NULL; }
939
940    break;
941
942  case 120:
943#line 828 "perly.y"
944    { parser->in_my = 0; (yyval.opval) = (ps[0].val.opval); }
945
946    break;
947
948  case 121:
949#line 833 "perly.y"
950    { (yyval.ival) = '@'; }
951
952    break;
953
954  case 122:
955#line 835 "perly.y"
956    { (yyval.ival) = '%'; }
957
958    break;
959
960  case 123:
961#line 839 "perly.y"
962    {
963                            I32 sigil = (ps[-2].val.ival);
964                            OP *var   = (ps[-1].val.opval);
965                            OP *defop = (ps[0].val.opval);
966
967                            if (parser->sig_slurpy)
968                                yyerror("Multiple slurpy parameters not allowed");
969                            parser->sig_slurpy = (char)sigil;
970
971                            if (defop)
972                                yyerror("A slurpy parameter may not have "
973                                        "a default value");
974
975                            (yyval.opval) = var ? newSTATEOP(0, NULL, var) : NULL;
976                        }
977
978    break;
979
980  case 125:
981#line 860 "perly.y"
982    { (yyval.opval) = newARGDEFELEMOP(0, newOP(OP_NULL, 0), parser->sig_elems); }
983
984    break;
985
986  case 126:
987#line 862 "perly.y"
988    {
989                            I32 flags = 0;
990                            if ((ps[-1].val.ival) == OP_DORASSIGN)
991                                flags |= OPpARG_IF_UNDEF << 8;
992                            if ((ps[-1].val.ival) == OP_ORASSIGN)
993                                flags |= OPpARG_IF_FALSE << 8;
994                            (yyval.opval) = newARGDEFELEMOP(flags, (ps[0].val.opval), parser->sig_elems);
995                        }
996
997    break;
998
999  case 127:
1000#line 875 "perly.y"
1001    {
1002                            OP *var   = (ps[-1].val.opval);
1003                            OP *defop = (ps[0].val.opval);
1004
1005                            if (parser->sig_slurpy)
1006                                yyerror("Slurpy parameter not last");
1007
1008                            parser->sig_elems++;
1009
1010                            if (defop) {
1011                                parser->sig_optelems++;
1012
1013                                OP *defexpr = cLOGOPx(defop)->op_first;
1014
1015                                if (   defexpr->op_type == OP_NULL
1016                                    && !(defexpr->op_flags & OPf_KIDS))
1017                                {
1018                                    /* handle '$=' special case */
1019                                    if (var)
1020                                        yyerror("Optional parameter "
1021                                                    "lacks default expression");
1022                                    op_free(defop);
1023                                }
1024                                else {
1025                                    /* a normal '=default' expression */
1026                                    if (var) {
1027                                        var->op_flags |= OPf_STACKED;
1028                                        (void)op_sibling_splice(var,
1029                                                        NULL, 0, defop);
1030                                        scalar(defop);
1031                                    }
1032                                    else
1033                                        var = newUNOP(OP_NULL, 0, defop);
1034
1035                                    LINKLIST(var);
1036                                    /* NB: normally the first child of a
1037                                     * logop is executed before the logop,
1038                                     * and it pushes a boolean result
1039                                     * ready for the logop. For ARGDEFELEM,
1040                                     * the op itself does the boolean
1041                                     * calculation, so set the first op to
1042                                     * it instead.
1043                                     */
1044                                    var->op_next = defop;
1045                                    defexpr->op_next = var;
1046                                }
1047                            }
1048                            else {
1049                                if (parser->sig_optelems)
1050                                    yyerror("Mandatory parameter "
1051                                            "follows optional parameter");
1052                            }
1053
1054                            (yyval.opval) = var ? newSTATEOP(0, NULL, var) : NULL;
1055                        }
1056
1057    break;
1058
1059  case 128:
1060#line 935 "perly.y"
1061    { parser->in_my = KEY_sigvar; (yyval.opval) = (ps[0].val.opval); }
1062
1063    break;
1064
1065  case 129:
1066#line 937 "perly.y"
1067    { parser->in_my = KEY_sigvar; (yyval.opval) = (ps[0].val.opval); }
1068
1069    break;
1070
1071  case 130:
1072#line 943 "perly.y"
1073    { (yyval.opval) = (ps[-1].val.opval); }
1074
1075    break;
1076
1077  case 131:
1078#line 945 "perly.y"
1079    {
1080			  (yyval.opval) = op_append_list(OP_LINESEQ, (ps[-2].val.opval), (ps[0].val.opval));
1081			}
1082
1083    break;
1084
1085  case 132:
1086#line 949 "perly.y"
1087    { (yyval.opval) = (ps[0].val.opval); }
1088
1089    break;
1090
1091  case 137:
1092#line 966 "perly.y"
1093    { (yyval.opval) = (ps[-1].val.opval); }
1094
1095    break;
1096
1097  case 138:
1098#line 969 "perly.y"
1099    {
1100                            ENTER;
1101                            SAVEIV(parser->sig_elems);
1102                            SAVEIV(parser->sig_optelems);
1103                            SAVEI8(parser->sig_slurpy);
1104                            parser->sig_elems    = 0;
1105                            parser->sig_optelems = 0;
1106                            parser->sig_slurpy   = 0;
1107                            parser->in_my        = KEY_sigvar;
1108                        }
1109
1110    break;
1111
1112  case 139:
1113#line 980 "perly.y"
1114    {
1115                            OP            *sigops = (ps[0].val.opval);
1116                            struct op_argcheck_aux *aux;
1117                            OP            *check;
1118
1119			    if (!FEATURE_SIGNATURES_IS_ENABLED && !CvIsMETHOD(PL_compcv))
1120			        Perl_croak(aTHX_ "Experimental "
1121                                    "subroutine signatures not enabled");
1122
1123                            /* We shouldn't get here otherwise */
1124                            aux = (struct op_argcheck_aux*)
1125                                    PerlMemShared_malloc(
1126                                        sizeof(struct op_argcheck_aux));
1127                            aux->params     = parser->sig_elems;
1128                            aux->opt_params = parser->sig_optelems;
1129                            aux->slurpy     = parser->sig_slurpy;
1130                            check = newUNOP_AUX(OP_ARGCHECK, 0, NULL,
1131                                            (UNOP_AUX_item *)aux);
1132                            sigops = op_prepend_elem(OP_LINESEQ, check, sigops);
1133                            sigops = op_prepend_elem(OP_LINESEQ,
1134                                                newSTATEOP(0, NULL, NULL),
1135                                                sigops);
1136                            /* a nextstate at the end handles context
1137                             * correctly for an empty sub body */
1138                            sigops = op_append_elem(OP_LINESEQ,
1139                                                sigops,
1140                                                newSTATEOP(0, NULL, NULL));
1141                            /* wrap the list of arg ops in a NULL aux op.
1142                              This serves two purposes. First, it makes
1143                              the arg list a separate subtree from the
1144                              body of the sub, and secondly the null op
1145                              may in future be upgraded to an OP_SIGNATURE
1146                              when implemented. For now leave it as
1147                              ex-argcheck */
1148                            (yyval.opval) = newUNOP_AUX(OP_ARGCHECK, 0, sigops, NULL);
1149                            op_null((yyval.opval));
1150
1151			    CvSIGNATURE_on(PL_compcv);
1152
1153                            parser->in_my = 0;
1154                            /* tell the toker that attrributes can follow
1155                             * this sig, but only so that the toker
1156                             * can skip through any (illegal) trailing
1157                             * attribute text then give a useful error
1158                             * message about "attributes before sig",
1159                             * rather than falling over ina mess at
1160                             * unrecognised syntax.
1161                             */
1162                            parser->expect = XATTRBLOCK;
1163                            parser->sig_seen = TRUE;
1164                            LEAVE;
1165			}
1166
1167    break;
1168
1169  case 141:
1170#line 1037 "perly.y"
1171    { (yyval.opval) = NULL; }
1172
1173    break;
1174
1175  case 142:
1176#line 1043 "perly.y"
1177    {
1178			  if (parser->copline > (line_t)(ps[-2].val.ival))
1179			      parser->copline = (line_t)(ps[-2].val.ival);
1180			  (yyval.opval) = block_end((ps[-3].val.ival), (ps[-1].val.opval));
1181			}
1182
1183    break;
1184
1185  case 144:
1186#line 1055 "perly.y"
1187    { (yyval.opval) = NULL; }
1188
1189    break;
1190
1191  case 145:
1192#line 1060 "perly.y"
1193    {
1194			  if (parser->copline > (line_t)(ps[-2].val.ival))
1195			      parser->copline = (line_t)(ps[-2].val.ival);
1196			  (yyval.opval) = block_end((ps[-4].val.ival),
1197				op_append_list(OP_LINESEQ, (ps[-3].val.opval), (ps[-1].val.opval)));
1198 			}
1199
1200    break;
1201
1202  case 146:
1203#line 1071 "perly.y"
1204    { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[-2].val.opval), (ps[0].val.opval)); }
1205
1206    break;
1207
1208  case 147:
1209#line 1073 "perly.y"
1210    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1211
1212    break;
1213
1214  case 148:
1215#line 1075 "perly.y"
1216    { (yyval.opval) = newLOGOP((ps[-1].val.ival), 0, (ps[-2].val.opval), (ps[0].val.opval)); }
1217
1218    break;
1219
1220  case 149:
1221#line 1077 "perly.y"
1222    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1223
1224    break;
1225
1226  case 151:
1227#line 1083 "perly.y"
1228    { (yyval.opval) = (ps[-1].val.opval); }
1229
1230    break;
1231
1232  case 152:
1233#line 1085 "perly.y"
1234    {
1235			  OP* term = (ps[0].val.opval);
1236			  (yyval.opval) = op_append_elem(OP_LIST, (ps[-2].val.opval), term);
1237			}
1238
1239    break;
1240
1241  case 154:
1242#line 1094 "perly.y"
1243    { (yyval.opval) = op_convert_list((ps[-2].val.ival), OPf_STACKED,
1244				op_prepend_elem(OP_LIST, newGVREF((ps[-2].val.ival),(ps[-1].val.opval)), (ps[0].val.opval)) );
1245			}
1246
1247    break;
1248
1249  case 155:
1250#line 1098 "perly.y"
1251    { (yyval.opval) = op_convert_list((ps[-4].val.ival), OPf_STACKED,
1252				op_prepend_elem(OP_LIST, newGVREF((ps[-4].val.ival),(ps[-2].val.opval)), (ps[-1].val.opval)) );
1253			}
1254
1255    break;
1256
1257  case 156:
1258#line 1102 "perly.y"
1259    { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED,
1260				op_append_elem(OP_LIST,
1261				    op_prepend_elem(OP_LIST, scalar((ps[-5].val.opval)), (ps[-1].val.opval)),
1262				    newMETHOP(OP_METHOD, 0, (ps[-3].val.opval))));
1263			}
1264
1265    break;
1266
1267  case 157:
1268#line 1108 "perly.y"
1269    { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED,
1270				op_append_elem(OP_LIST, scalar((ps[-2].val.opval)),
1271				    newMETHOP(OP_METHOD, 0, (ps[0].val.opval))));
1272			}
1273
1274    break;
1275
1276  case 158:
1277#line 1113 "perly.y"
1278    { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED,
1279				op_append_elem(OP_LIST,
1280				    op_prepend_elem(OP_LIST, (ps[-1].val.opval), (ps[0].val.opval)),
1281				    newMETHOP(OP_METHOD, 0, (ps[-2].val.opval))));
1282			}
1283
1284    break;
1285
1286  case 159:
1287#line 1119 "perly.y"
1288    { (yyval.opval) = op_convert_list(OP_ENTERSUB, OPf_STACKED,
1289				op_append_elem(OP_LIST,
1290				    op_prepend_elem(OP_LIST, (ps[-3].val.opval), (ps[-1].val.opval)),
1291				    newMETHOP(OP_METHOD, 0, (ps[-4].val.opval))));
1292			}
1293
1294    break;
1295
1296  case 160:
1297#line 1125 "perly.y"
1298    { (yyval.opval) = op_convert_list((ps[-1].val.ival), 0, (ps[0].val.opval)); }
1299
1300    break;
1301
1302  case 161:
1303#line 1127 "perly.y"
1304    { (yyval.opval) = op_convert_list((ps[-3].val.ival), 0, (ps[-1].val.opval)); }
1305
1306    break;
1307
1308  case 162:
1309#line 1129 "perly.y"
1310    { (yyval.opval) = op_convert_list((ps[-3].val.ival), 0, (ps[-1].val.opval)); }
1311
1312    break;
1313
1314  case 163:
1315#line 1131 "perly.y"
1316    { SvREFCNT_inc_simple_void(PL_compcv);
1317			  (yyval.opval) = newANONATTRSUB((ps[-1].val.ival), 0, NULL, (ps[0].val.opval)); }
1318
1319    break;
1320
1321  case 164:
1322#line 1134 "perly.y"
1323    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED,
1324				 op_append_elem(OP_LIST,
1325				   op_prepend_elem(OP_LIST, (ps[-1].val.opval), (ps[0].val.opval)), (ps[-4].val.opval)));
1326			}
1327
1328    break;
1329
1330  case 167:
1331#line 1149 "perly.y"
1332    { (yyval.opval) = newBINOP(OP_GELEM, 0, (ps[-4].val.opval), scalar((ps[-2].val.opval))); }
1333
1334    break;
1335
1336  case 168:
1337#line 1151 "perly.y"
1338    { (yyval.opval) = newBINOP(OP_AELEM, 0, oopsAV((ps[-3].val.opval)), scalar((ps[-1].val.opval)));
1339			}
1340
1341    break;
1342
1343  case 169:
1344#line 1154 "perly.y"
1345    { (yyval.opval) = newBINOP(OP_AELEM, 0,
1346					ref(newAVREF((ps[-4].val.opval)),OP_RV2AV),
1347					scalar((ps[-1].val.opval)));
1348			}
1349
1350    break;
1351
1352  case 170:
1353#line 1159 "perly.y"
1354    { (yyval.opval) = newBINOP(OP_AELEM, 0,
1355					ref(newAVREF((ps[-3].val.opval)),OP_RV2AV),
1356					scalar((ps[-1].val.opval)));
1357			}
1358
1359    break;
1360
1361  case 171:
1362#line 1164 "perly.y"
1363    { (yyval.opval) = newBINOP(OP_HELEM, 0, oopsHV((ps[-4].val.opval)), jmaybe((ps[-2].val.opval)));
1364			}
1365
1366    break;
1367
1368  case 172:
1369#line 1167 "perly.y"
1370    { (yyval.opval) = newBINOP(OP_HELEM, 0,
1371					ref(newHVREF((ps[-5].val.opval)),OP_RV2HV),
1372					jmaybe((ps[-2].val.opval))); }
1373
1374    break;
1375
1376  case 173:
1377#line 1171 "perly.y"
1378    { (yyval.opval) = newBINOP(OP_HELEM, 0,
1379					ref(newHVREF((ps[-4].val.opval)),OP_RV2HV),
1380					jmaybe((ps[-2].val.opval))); }
1381
1382    break;
1383
1384  case 174:
1385#line 1175 "perly.y"
1386    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED,
1387				   newCVREF(0, scalar((ps[-3].val.opval))));
1388			  if (parser->expect == XBLOCK)
1389			      parser->expect = XOPERATOR;
1390			}
1391
1392    break;
1393
1394  case 175:
1395#line 1181 "perly.y"
1396    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED,
1397				   op_append_elem(OP_LIST, (ps[-1].val.opval),
1398				       newCVREF(0, scalar((ps[-4].val.opval)))));
1399			  if (parser->expect == XBLOCK)
1400			      parser->expect = XOPERATOR;
1401			}
1402
1403    break;
1404
1405  case 176:
1406#line 1189 "perly.y"
1407    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED,
1408				   op_append_elem(OP_LIST, (ps[-1].val.opval),
1409					       newCVREF(0, scalar((ps[-3].val.opval)))));
1410			  if (parser->expect == XBLOCK)
1411			      parser->expect = XOPERATOR;
1412			}
1413
1414    break;
1415
1416  case 177:
1417#line 1196 "perly.y"
1418    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED,
1419				   newCVREF(0, scalar((ps[-2].val.opval))));
1420			  if (parser->expect == XBLOCK)
1421			      parser->expect = XOPERATOR;
1422			}
1423
1424    break;
1425
1426  case 178:
1427#line 1202 "perly.y"
1428    { (yyval.opval) = newSLICEOP(0, (ps[-1].val.opval), (ps[-4].val.opval)); }
1429
1430    break;
1431
1432  case 179:
1433#line 1204 "perly.y"
1434    { (yyval.opval) = newSLICEOP(0, (ps[-1].val.opval), (ps[-3].val.opval)); }
1435
1436    break;
1437
1438  case 180:
1439#line 1206 "perly.y"
1440    { (yyval.opval) = newSLICEOP(0, (ps[-1].val.opval), NULL); }
1441
1442    break;
1443
1444  case 181:
1445#line 1211 "perly.y"
1446    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1447
1448    break;
1449
1450  case 182:
1451#line 1213 "perly.y"
1452    { (yyval.opval) = newASSIGNOP(OPf_STACKED, (ps[-2].val.opval), (ps[-1].val.ival), (ps[0].val.opval)); }
1453
1454    break;
1455
1456  case 183:
1457#line 1215 "perly.y"
1458    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1459
1460    break;
1461
1462  case 184:
1463#line 1217 "perly.y"
1464    { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); }
1465
1466    break;
1467
1468  case 185:
1469#line 1219 "perly.y"
1470    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1471
1472    break;
1473
1474  case 186:
1475#line 1221 "perly.y"
1476    {   if ((ps[-1].val.ival) != OP_REPEAT)
1477				scalar((ps[-2].val.opval));
1478			    (yyval.opval) = newBINOP((ps[-1].val.ival), 0, (ps[-2].val.opval), scalar((ps[0].val.opval)));
1479			}
1480
1481    break;
1482
1483  case 187:
1484#line 1226 "perly.y"
1485    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1486
1487    break;
1488
1489  case 188:
1490#line 1228 "perly.y"
1491    { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); }
1492
1493    break;
1494
1495  case 189:
1496#line 1230 "perly.y"
1497    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1498
1499    break;
1500
1501  case 190:
1502#line 1232 "perly.y"
1503    { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); }
1504
1505    break;
1506
1507  case 191:
1508#line 1234 "perly.y"
1509    { (yyval.opval) = (ps[0].val.opval); }
1510
1511    break;
1512
1513  case 192:
1514#line 1236 "perly.y"
1515    { (yyval.opval) = (ps[0].val.opval); }
1516
1517    break;
1518
1519  case 193:
1520#line 1238 "perly.y"
1521    { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); }
1522
1523    break;
1524
1525  case 194:
1526#line 1240 "perly.y"
1527    { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); }
1528
1529    break;
1530
1531  case 195:
1532#line 1242 "perly.y"
1533    { (yyval.opval) = newRANGE((ps[-1].val.ival), scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); }
1534
1535    break;
1536
1537  case 196:
1538#line 1244 "perly.y"
1539    { (yyval.opval) = newLOGOP(OP_AND, 0, (ps[-2].val.opval), (ps[0].val.opval)); }
1540
1541    break;
1542
1543  case 197:
1544#line 1246 "perly.y"
1545    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1546
1547    break;
1548
1549  case 198:
1550#line 1248 "perly.y"
1551    { (yyval.opval) = newLOGOP(OP_OR, 0, (ps[-2].val.opval), (ps[0].val.opval)); }
1552
1553    break;
1554
1555  case 199:
1556#line 1250 "perly.y"
1557    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1558
1559    break;
1560
1561  case 200:
1562#line 1252 "perly.y"
1563    { (yyval.opval) = newLOGOP(OP_DOR, 0, (ps[-2].val.opval), (ps[0].val.opval)); }
1564
1565    break;
1566
1567  case 201:
1568#line 1254 "perly.y"
1569    { (yyval.opval) = bind_match((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); }
1570
1571    break;
1572
1573  case 202:
1574#line 1256 "perly.y"
1575    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1576
1577    break;
1578
1579  case 203:
1580#line 1260 "perly.y"
1581    { (yyval.opval) = cmpchain_finish((ps[0].val.opval)); }
1582
1583    break;
1584
1585  case 204:
1586#line 1262 "perly.y"
1587    { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); }
1588
1589    break;
1590
1591  case 205:
1592#line 1264 "perly.y"
1593    { yyerror("syntax error"); YYERROR; }
1594
1595    break;
1596
1597  case 206:
1598#line 1266 "perly.y"
1599    { yyerror("syntax error"); YYERROR; }
1600
1601    break;
1602
1603  case 207:
1604#line 1268 "perly.y"
1605    { (yyval.opval) = build_infix_plugin((ps[-2].val.opval), (ps[0].val.opval), (ps[-1].val.pval)); }
1606
1607    break;
1608
1609  case 208:
1610#line 1272 "perly.y"
1611    { (yyval.opval) = cmpchain_start((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); }
1612
1613    break;
1614
1615  case 209:
1616#line 1274 "perly.y"
1617    { (yyval.opval) = cmpchain_extend((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); }
1618
1619    break;
1620
1621  case 210:
1622#line 1278 "perly.y"
1623    { (yyval.opval) = cmpchain_finish((ps[0].val.opval)); }
1624
1625    break;
1626
1627  case 211:
1628#line 1280 "perly.y"
1629    { (yyval.opval) = newBINOP((ps[-1].val.ival), 0, scalar((ps[-2].val.opval)), scalar((ps[0].val.opval))); }
1630
1631    break;
1632
1633  case 212:
1634#line 1282 "perly.y"
1635    { yyerror("syntax error"); YYERROR; }
1636
1637    break;
1638
1639  case 213:
1640#line 1284 "perly.y"
1641    { yyerror("syntax error"); YYERROR; }
1642
1643    break;
1644
1645  case 214:
1646#line 1288 "perly.y"
1647    { (yyval.opval) = cmpchain_start((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); }
1648
1649    break;
1650
1651  case 215:
1652#line 1290 "perly.y"
1653    { (yyval.opval) = cmpchain_extend((ps[-1].val.ival), (ps[-2].val.opval), (ps[0].val.opval)); }
1654
1655    break;
1656
1657  case 216:
1658#line 1295 "perly.y"
1659    { (yyval.opval) = newUNOP(OP_NEGATE, 0, scalar((ps[0].val.opval))); }
1660
1661    break;
1662
1663  case 217:
1664#line 1297 "perly.y"
1665    { (yyval.opval) = (ps[0].val.opval); }
1666
1667    break;
1668
1669  case 218:
1670#line 1300 "perly.y"
1671    { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[0].val.opval))); }
1672
1673    break;
1674
1675  case 219:
1676#line 1302 "perly.y"
1677    { (yyval.opval) = newUNOP((ps[-1].val.ival), 0, scalar((ps[0].val.opval))); }
1678
1679    break;
1680
1681  case 220:
1682#line 1304 "perly.y"
1683    { (yyval.opval) = newUNOP(OP_POSTINC, 0,
1684					op_lvalue(scalar((ps[-1].val.opval)), OP_POSTINC)); }
1685
1686    break;
1687
1688  case 221:
1689#line 1307 "perly.y"
1690    { (yyval.opval) = newUNOP(OP_POSTDEC, 0,
1691					op_lvalue(scalar((ps[-1].val.opval)), OP_POSTDEC));}
1692
1693    break;
1694
1695  case 222:
1696#line 1310 "perly.y"
1697    { (yyval.opval) = op_convert_list(OP_JOIN, 0,
1698				       op_append_elem(
1699					OP_LIST,
1700					newSVREF(scalar(
1701					    newSVOP(OP_CONST,0,
1702						    newSVpvs("\""))
1703					)),
1704					(ps[-1].val.opval)
1705				       ));
1706			}
1707
1708    break;
1709
1710  case 223:
1711#line 1321 "perly.y"
1712    { (yyval.opval) = newUNOP(OP_PREINC, 0,
1713					op_lvalue(scalar((ps[0].val.opval)), OP_PREINC)); }
1714
1715    break;
1716
1717  case 224:
1718#line 1324 "perly.y"
1719    { (yyval.opval) = newUNOP(OP_PREDEC, 0,
1720					op_lvalue(scalar((ps[0].val.opval)), OP_PREDEC)); }
1721
1722    break;
1723
1724  case 225:
1725#line 1332 "perly.y"
1726    { (yyval.opval) = newANONLIST((ps[-1].val.opval)); }
1727
1728    break;
1729
1730  case 226:
1731#line 1334 "perly.y"
1732    { (yyval.opval) = newANONHASH((ps[-2].val.opval)); }
1733
1734    break;
1735
1736  case 227:
1737#line 1336 "perly.y"
1738    { SvREFCNT_inc_simple_void(PL_compcv);
1739			  (yyval.opval) = newANONATTRSUB((ps[-3].val.ival), (ps[-2].val.opval), (ps[-1].val.opval), (ps[0].val.opval)); }
1740
1741    break;
1742
1743  case 228:
1744#line 1339 "perly.y"
1745    { SvREFCNT_inc_simple_void(PL_compcv);
1746			  (yyval.opval) = newANONATTRSUB((ps[-2].val.ival), NULL, (ps[-1].val.opval), (ps[0].val.opval)); }
1747
1748    break;
1749
1750  case 229:
1751#line 1342 "perly.y"
1752    {
1753			  SvREFCNT_inc_simple_void(PL_compcv);
1754			  (yyval.opval) = newANONATTRSUB((ps[-2].val.ival), NULL, (ps[-1].val.opval), (ps[0].val.opval));
1755			}
1756
1757    break;
1758
1759  case 230:
1760#line 1350 "perly.y"
1761    { (yyval.opval) = dofile((ps[0].val.opval), (ps[-1].val.ival));}
1762
1763    break;
1764
1765  case 231:
1766#line 1352 "perly.y"
1767    { (yyval.opval) = newUNOP(OP_NULL, OPf_SPECIAL, op_scope((ps[0].val.opval)));}
1768
1769    break;
1770
1771  case 236:
1772#line 1360 "perly.y"
1773    { (yyval.opval) = newCONDOP(0, (ps[-4].val.opval), (ps[-2].val.opval), (ps[0].val.opval)); }
1774
1775    break;
1776
1777  case 237:
1778#line 1362 "perly.y"
1779    { (yyval.opval) = newUNOP(OP_REFGEN, 0, (ps[0].val.opval)); }
1780
1781    break;
1782
1783  case 238:
1784#line 1364 "perly.y"
1785    { (yyval.opval) = (ps[0].val.opval); }
1786
1787    break;
1788
1789  case 239:
1790#line 1366 "perly.y"
1791    { (yyval.opval) = localize((ps[0].val.opval),0); }
1792
1793    break;
1794
1795  case 240:
1796#line 1368 "perly.y"
1797    { (yyval.opval) = sawparens((ps[-1].val.opval)); }
1798
1799    break;
1800
1801  case 241:
1802#line 1370 "perly.y"
1803    { (yyval.opval) = (ps[0].val.opval); }
1804
1805    break;
1806
1807  case 242:
1808#line 1372 "perly.y"
1809    { (yyval.opval) = sawparens(newNULLLIST()); }
1810
1811    break;
1812
1813  case 243:
1814#line 1374 "perly.y"
1815    { (yyval.opval) = (ps[0].val.opval); }
1816
1817    break;
1818
1819  case 244:
1820#line 1376 "perly.y"
1821    { (yyval.opval) = (ps[0].val.opval); }
1822
1823    break;
1824
1825  case 245:
1826#line 1378 "perly.y"
1827    { (yyval.opval) = (ps[0].val.opval); }
1828
1829    break;
1830
1831  case 246:
1832#line 1380 "perly.y"
1833    { (yyval.opval) = (ps[0].val.opval); }
1834
1835    break;
1836
1837  case 247:
1838#line 1382 "perly.y"
1839    { (yyval.opval) = newUNOP(OP_AV2ARYLEN, 0, ref((ps[0].val.opval), OP_AV2ARYLEN));}
1840
1841    break;
1842
1843  case 248:
1844#line 1384 "perly.y"
1845    { (yyval.opval) = (ps[0].val.opval); }
1846
1847    break;
1848
1849  case 249:
1850#line 1386 "perly.y"
1851    { (yyval.opval) = op_prepend_elem(OP_ASLICE,
1852				newOP(OP_PUSHMARK, 0),
1853				    newLISTOP(OP_ASLICE, 0,
1854					list((ps[-1].val.opval)),
1855					ref((ps[-3].val.opval), OP_ASLICE)));
1856			  if ((yyval.opval) && (ps[-3].val.opval))
1857			      (yyval.opval)->op_private |=
1858				  (ps[-3].val.opval)->op_private & OPpSLICEWARNING;
1859			}
1860
1861    break;
1862
1863  case 250:
1864#line 1396 "perly.y"
1865    { (yyval.opval) = op_prepend_elem(OP_KVASLICE,
1866				newOP(OP_PUSHMARK, 0),
1867				    newLISTOP(OP_KVASLICE, 0,
1868					list((ps[-1].val.opval)),
1869					ref(oopsAV((ps[-3].val.opval)), OP_KVASLICE)));
1870			  if ((yyval.opval) && (ps[-3].val.opval))
1871			      (yyval.opval)->op_private |=
1872				  (ps[-3].val.opval)->op_private & OPpSLICEWARNING;
1873			}
1874
1875    break;
1876
1877  case 251:
1878#line 1406 "perly.y"
1879    { (yyval.opval) = op_prepend_elem(OP_HSLICE,
1880				newOP(OP_PUSHMARK, 0),
1881				    newLISTOP(OP_HSLICE, 0,
1882					list((ps[-2].val.opval)),
1883					ref(oopsHV((ps[-4].val.opval)), OP_HSLICE)));
1884			  if ((yyval.opval) && (ps[-4].val.opval))
1885			      (yyval.opval)->op_private |=
1886				  (ps[-4].val.opval)->op_private & OPpSLICEWARNING;
1887			}
1888
1889    break;
1890
1891  case 252:
1892#line 1416 "perly.y"
1893    { (yyval.opval) = op_prepend_elem(OP_KVHSLICE,
1894				newOP(OP_PUSHMARK, 0),
1895				    newLISTOP(OP_KVHSLICE, 0,
1896					list((ps[-2].val.opval)),
1897					ref((ps[-4].val.opval), OP_KVHSLICE)));
1898			  if ((yyval.opval) && (ps[-4].val.opval))
1899			      (yyval.opval)->op_private |=
1900				  (ps[-4].val.opval)->op_private & OPpSLICEWARNING;
1901			}
1902
1903    break;
1904
1905  case 253:
1906#line 1426 "perly.y"
1907    { (yyval.opval) = (ps[0].val.opval); }
1908
1909    break;
1910
1911  case 254:
1912#line 1428 "perly.y"
1913    { (yyval.opval) = newUNOP(OP_ENTERSUB, 0, scalar((ps[0].val.opval))); }
1914
1915    break;
1916
1917  case 255:
1918#line 1430 "perly.y"
1919    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[-2].val.opval)));
1920			}
1921
1922    break;
1923
1924  case 256:
1925#line 1433 "perly.y"
1926    {
1927			  (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED,
1928				op_append_elem(OP_LIST, (ps[-1].val.opval), scalar((ps[-3].val.opval))));
1929			}
1930
1931    break;
1932
1933  case 257:
1934#line 1438 "perly.y"
1935    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED,
1936			    op_append_elem(OP_LIST, (ps[0].val.opval), scalar((ps[-1].val.opval))));
1937			}
1938
1939    break;
1940
1941  case 258:
1942#line 1442 "perly.y"
1943    { (yyval.opval) = newSVREF((ps[-3].val.opval)); }
1944
1945    break;
1946
1947  case 259:
1948#line 1444 "perly.y"
1949    { (yyval.opval) = newAVREF((ps[-3].val.opval)); }
1950
1951    break;
1952
1953  case 260:
1954#line 1446 "perly.y"
1955    { (yyval.opval) = newHVREF((ps[-3].val.opval)); }
1956
1957    break;
1958
1959  case 261:
1960#line 1448 "perly.y"
1961    { (yyval.opval) = newUNOP(OP_ENTERSUB, 0,
1962				       scalar(newCVREF((ps[-1].val.ival),(ps[-3].val.opval)))); }
1963
1964    break;
1965
1966  case 262:
1967#line 1451 "perly.y"
1968    { (yyval.opval) = newGVREF(0,(ps[-3].val.opval)); }
1969
1970    break;
1971
1972  case 263:
1973#line 1453 "perly.y"
1974    { (yyval.opval) = newOP((ps[0].val.ival), OPf_SPECIAL);
1975			    PL_hints |= HINT_BLOCK_SCOPE; }
1976
1977    break;
1978
1979  case 264:
1980#line 1456 "perly.y"
1981    { (yyval.opval) = newLOOPEX((ps[-1].val.ival),(ps[0].val.opval)); }
1982
1983    break;
1984
1985  case 265:
1986#line 1458 "perly.y"
1987    { (yyval.opval) = newUNOP(OP_NOT, 0, scalar((ps[0].val.opval))); }
1988
1989    break;
1990
1991  case 266:
1992#line 1460 "perly.y"
1993    { (yyval.opval) = newOP((ps[0].val.ival), 0); }
1994
1995    break;
1996
1997  case 267:
1998#line 1462 "perly.y"
1999    { (yyval.opval) = newUNOP((ps[-1].val.ival), 0, (ps[0].val.opval)); }
2000
2001    break;
2002
2003  case 268:
2004#line 1464 "perly.y"
2005    { (yyval.opval) = newUNOP((ps[-1].val.ival), 0, (ps[0].val.opval)); }
2006
2007    break;
2008
2009  case 269:
2010#line 1466 "perly.y"
2011    { (yyval.opval) = newOP(OP_REQUIRE, (ps[0].val.ival) ? OPf_SPECIAL : 0); }
2012
2013    break;
2014
2015  case 270:
2016#line 1468 "perly.y"
2017    { (yyval.opval) = newUNOP(OP_REQUIRE, (ps[-1].val.ival) ? OPf_SPECIAL : 0, (ps[0].val.opval)); }
2018
2019    break;
2020
2021  case 271:
2022#line 1470 "perly.y"
2023    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[0].val.opval))); }
2024
2025    break;
2026
2027  case 272:
2028#line 1472 "perly.y"
2029    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED,
2030			    op_append_elem(OP_LIST, (ps[0].val.opval), scalar((ps[-1].val.opval)))); }
2031
2032    break;
2033
2034  case 273:
2035#line 1475 "perly.y"
2036    { (yyval.opval) = newOP((ps[0].val.ival), 0); }
2037
2038    break;
2039
2040  case 274:
2041#line 1477 "perly.y"
2042    { (yyval.opval) = newOP((ps[-2].val.ival), 0);}
2043
2044    break;
2045
2046  case 275:
2047#line 1479 "perly.y"
2048    { (yyval.opval) = (ps[0].val.opval); }
2049
2050    break;
2051
2052  case 276:
2053#line 1481 "perly.y"
2054    { (yyval.opval) = (ps[-2].val.opval); }
2055
2056    break;
2057
2058  case 277:
2059#line 1483 "perly.y"
2060    { (yyval.opval) = newUNOP(OP_ENTERSUB, OPf_STACKED, scalar((ps[0].val.opval))); }
2061
2062    break;
2063
2064  case 278:
2065#line 1485 "perly.y"
2066    { (yyval.opval) = ((ps[-2].val.ival) == OP_NOT)
2067                          ? newUNOP((ps[-2].val.ival), 0, newSVOP(OP_CONST, 0, newSViv(0)))
2068                          : newOP((ps[-2].val.ival), OPf_SPECIAL); }
2069
2070    break;
2071
2072  case 279:
2073#line 1489 "perly.y"
2074    { (yyval.opval) = newUNOP((ps[-3].val.ival), 0, (ps[-1].val.opval)); }
2075
2076    break;
2077
2078  case 280:
2079#line 1491 "perly.y"
2080    {
2081			    if (   (ps[0].val.opval)->op_type != OP_TRANS
2082			        && (ps[0].val.opval)->op_type != OP_TRANSR
2083				&& (((PMOP*)(ps[0].val.opval))->op_pmflags & PMf_HAS_CV))
2084			    {
2085				(yyval.ival) = start_subparse(FALSE, CVf_ANON);
2086				SAVEFREESV(PL_compcv);
2087			    } else
2088				(yyval.ival) = 0;
2089			}
2090
2091    break;
2092
2093  case 281:
2094#line 1502 "perly.y"
2095    { (yyval.opval) = pmruntime((ps[-5].val.opval), (ps[-2].val.opval), (ps[-1].val.opval), 1, (ps[-4].val.ival)); }
2096
2097    break;
2098
2099  case 285:
2100#line 1511 "perly.y"
2101    { (yyval.opval) = my_attrs((ps[-1].val.opval),(ps[0].val.opval)); }
2102
2103    break;
2104
2105  case 286:
2106#line 1513 "perly.y"
2107    { (yyval.opval) = localize((ps[0].val.opval),1); }
2108
2109    break;
2110
2111  case 287:
2112#line 1515 "perly.y"
2113    { (yyval.opval) = newUNOP(OP_REFGEN, 0, my_attrs((ps[-1].val.opval),(ps[0].val.opval))); }
2114
2115    break;
2116
2117  case 288:
2118#line 1517 "perly.y"
2119    { (yyval.opval) = newUNOP(OP_REFGEN, 0, localize((ps[0].val.opval),1)); }
2120
2121    break;
2122
2123  case 289:
2124#line 1522 "perly.y"
2125    { (yyval.opval) = sawparens((ps[-1].val.opval)); }
2126
2127    break;
2128
2129  case 290:
2130#line 1524 "perly.y"
2131    { (yyval.opval) = sawparens(newNULLLIST()); }
2132
2133    break;
2134
2135  case 291:
2136#line 1527 "perly.y"
2137    { (yyval.opval) = (ps[0].val.opval); }
2138
2139    break;
2140
2141  case 292:
2142#line 1529 "perly.y"
2143    { (yyval.opval) = (ps[0].val.opval); }
2144
2145    break;
2146
2147  case 293:
2148#line 1531 "perly.y"
2149    { (yyval.opval) = (ps[0].val.opval); }
2150
2151    break;
2152
2153  case 294:
2154#line 1536 "perly.y"
2155    {
2156			  (yyval.pval) = PadnamelistARRAY(PL_comppad_name)[(ps[0].val.opval)->op_targ];
2157			  op_free((ps[0].val.opval));
2158			}
2159
2160    break;
2161
2162  case 295:
2163#line 1541 "perly.y"
2164    {
2165			  (yyval.pval) = PadnamelistARRAY(PL_comppad_name)[(ps[0].val.opval)->op_targ];
2166			  op_free((ps[0].val.opval));
2167			}
2168
2169    break;
2170
2171  case 296:
2172#line 1546 "perly.y"
2173    {
2174			  (yyval.pval) = PadnamelistARRAY(PL_comppad_name)[(ps[0].val.opval)->op_targ];
2175			  op_free((ps[0].val.opval));
2176			}
2177
2178    break;
2179
2180  case 297:
2181#line 1554 "perly.y"
2182    { (yyval.opval) = (ps[0].val.opval); }
2183
2184    break;
2185
2186  case 298:
2187#line 1556 "perly.y"
2188    { (yyval.opval) = NULL; }
2189
2190    break;
2191
2192  case 300:
2193#line 1562 "perly.y"
2194    {
2195			  parser->in_my = 0;
2196			  if((ps[0].val.opval))
2197			    class_apply_field_attributes((PADNAME *)(ps[-1].val.pval), (ps[0].val.opval));
2198			  (yyval.opval) = newOP(OP_NULL, 0);
2199			}
2200
2201    break;
2202
2203  case 301:
2204#line 1569 "perly.y"
2205    {
2206			  parser->in_my = 0;
2207			  if((ps[-1].val.opval))
2208			    class_apply_field_attributes((PADNAME *)(ps[-2].val.pval), (ps[-1].val.opval));
2209			  ENTER;
2210			  class_prepare_initfield_parse();
2211			}
2212
2213    break;
2214
2215  case 302:
2216#line 1577 "perly.y"
2217    {
2218			  class_set_field_defop((PADNAME *)(ps[-4].val.pval), (ps[-2].val.ival), (ps[0].val.opval));
2219			  LEAVE;
2220			  (yyval.opval) = newOP(OP_NULL, 0);
2221			}
2222
2223    break;
2224
2225  case 308:
2226#line 1597 "perly.y"
2227    { (yyval.opval) = (ps[0].val.opval); }
2228
2229    break;
2230
2231  case 309:
2232#line 1603 "perly.y"
2233    { parser->in_my = 0; (yyval.opval) = my((ps[0].val.opval)); }
2234
2235    break;
2236
2237  case 310:
2238#line 1608 "perly.y"
2239    { (yyval.opval) = (ps[-1].val.opval); }
2240
2241    break;
2242
2243  case 311:
2244#line 1610 "perly.y"
2245    {
2246			  (yyval.opval) = op_append_elem(OP_LIST, (ps[-2].val.opval), (ps[0].val.opval));
2247			}
2248
2249    break;
2250
2251  case 313:
2252#line 1617 "perly.y"
2253    { parser->in_my = 0; (yyval.opval) = (ps[0].val.opval); }
2254
2255    break;
2256
2257  case 321:
2258#line 1634 "perly.y"
2259    { (yyval.opval) = newCVREF((ps[-1].val.ival),(ps[0].val.opval)); }
2260
2261    break;
2262
2263  case 322:
2264#line 1638 "perly.y"
2265    { (yyval.opval) = newSVREF((ps[0].val.opval)); }
2266
2267    break;
2268
2269  case 323:
2270#line 1642 "perly.y"
2271    { (yyval.opval) = newAVREF((ps[0].val.opval));
2272			  if ((yyval.opval)) (yyval.opval)->op_private |= (ps[-1].val.ival);
2273			}
2274
2275    break;
2276
2277  case 324:
2278#line 1648 "perly.y"
2279    { (yyval.opval) = newHVREF((ps[0].val.opval));
2280			  if ((yyval.opval)) (yyval.opval)->op_private |= (ps[-1].val.ival);
2281			}
2282
2283    break;
2284
2285  case 325:
2286#line 1654 "perly.y"
2287    { (yyval.opval) = newAVREF((ps[0].val.opval)); }
2288
2289    break;
2290
2291  case 326:
2292#line 1656 "perly.y"
2293    { (yyval.opval) = newAVREF((ps[-3].val.opval)); }
2294
2295    break;
2296
2297  case 327:
2298#line 1660 "perly.y"
2299    { (yyval.opval) = newGVREF(0,(ps[0].val.opval)); }
2300
2301    break;
2302
2303  case 329:
2304#line 1665 "perly.y"
2305    { (yyval.opval) = newAVREF((ps[-2].val.opval)); }
2306
2307    break;
2308
2309  case 331:
2310#line 1670 "perly.y"
2311    { (yyval.opval) = newHVREF((ps[-2].val.opval)); }
2312
2313    break;
2314
2315  case 333:
2316#line 1675 "perly.y"
2317    { (yyval.opval) = newGVREF(0,(ps[-2].val.opval)); }
2318
2319    break;
2320
2321  case 334:
2322#line 1680 "perly.y"
2323    { (yyval.opval) = scalar((ps[0].val.opval)); }
2324
2325    break;
2326
2327  case 335:
2328#line 1682 "perly.y"
2329    { (yyval.opval) = scalar((ps[0].val.opval)); }
2330
2331    break;
2332
2333  case 336:
2334#line 1684 "perly.y"
2335    { (yyval.opval) = op_scope((ps[0].val.opval)); }
2336
2337    break;
2338
2339  case 337:
2340#line 1687 "perly.y"
2341    { (yyval.opval) = (ps[0].val.opval); }
2342
2343    break;
2344
2345
2346
2347      default: break;
2348
2349
2350/* Generated from:
2351 * 0a5fcd15cf0b7afb57ade6ceaf68037a38dd194acd9d60d3e4ad99c15233af75 perly.y
2352 * acf1cbfd2545faeaaa58b1cf0cf9d7f98b5be0752eb7a54528ef904a9e2e1ca7 regen_perly.pl
2353 * ex: set ro ft=c: */
2354