summaryrefslogtreecommitdiff
path: root/vms/perly_c.vms
diff options
context:
space:
mode:
Diffstat (limited to 'vms/perly_c.vms')
-rw-r--r--vms/perly_c.vms7
1 files changed, 3 insertions, 4 deletions
diff --git a/vms/perly_c.vms b/vms/perly_c.vms
index 08fa561bee..ebc7d57cc3 100644
--- a/vms/perly_c.vms
+++ b/vms/perly_c.vms
@@ -1388,7 +1388,7 @@ yyparse()
struct ysv *ysave;
New(73, ysave, 1, struct ysv);
- SAVEDESTRUCTOR(yydestruct, ysave);
+ SAVEDESTRUCTOR_X(yydestruct, ysave);
ysave->oldyydebug = yydebug;
ysave->oldyynerrs = yynerrs;
ysave->oldyyerrflag = yyerrflag;
@@ -1664,7 +1664,7 @@ case 21:
break;
case 22:
#line 203 "perly.y"
-{ yyval.opval = scope(yyvsp[0].opval); }
+{ (yyvsp[0].opval)->op_flags |= OPf_PARENS; yyval.opval = scope(yyvsp[0].opval); }
break;
case 23:
#line 205 "perly.y"
@@ -1828,7 +1828,7 @@ case 59:
#line 338 "perly.y"
{ STRLEN n_a; char *name = SvPV(((SVOP*)yyvsp[0].opval)->op_sv,n_a);
if (strEQ(name, "BEGIN") || strEQ(name, "END")
- || strEQ(name, "INIT"))
+ || strEQ(name, "STOP") || strEQ(name, "INIT"))
CvSPECIAL_on(PL_compcv);
yyval.opval = yyvsp[0].opval; }
break;
@@ -2483,7 +2483,6 @@ yyaccept:
}
#ifdef PERL_OBJECT
-#define NO_XSLOCKS
#include "XSUB.h"
#endif