X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=vms%2Fperly_c.vms;h=0676ebd24901bf56e7c0575a6bd6c78555330cdf;hb=544f31531e7cbe3b4e7571d94c56f36d53f647fa;hp=ad94f1e3ee21da48afb04164bb1dbb6916cc6489;hpb=09bef84370e90d727656ea11ba5ee8be80e361d3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/vms/perly_c.vms b/vms/perly_c.vms index ad94f1e..0676ebd 100644 --- a/vms/perly_c.vms +++ b/vms/perly_c.vms @@ -48,7 +48,7 @@ typedef union { #define YYLEX_PARAM (&yychar) #endif -#line 52 "perly.c" +#line 51 "perly.c" #define YYERRCODE 256 static short yylhs[] = { -1, 50, 0, 8, 6, 9, 7, 10, 10, 10, 11, @@ -1368,7 +1368,7 @@ static char *yyrule[] = { #endif #define yyparse() Perl_yyparse(pTHX) -#line 1372 "perly.c" +#line 1371 "perly.c" #define YYABORT goto yyabort #define YYACCEPT goto yyaccept #define YYERROR goto yyerrlab @@ -1387,8 +1387,11 @@ yyparse() #endif struct ysv *ysave; +#ifdef USE_ITHREADS + ENTER; /* force yydestruct() before we return */ +#endif New(73, ysave, 1, struct ysv); - SAVEDESTRUCTOR(yydestruct, ysave); + SAVEDESTRUCTOR_X(yydestruct, ysave); ysave->oldyydebug = yydebug; ysave->oldyynerrs = yynerrs; ysave->oldyyerrflag = yyerrflag; @@ -1664,7 +1667,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 +1831,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, "INIT") || strEQ(name, "CHECK")) CvSPECIAL_on(PL_compcv); yyval.opval = yyvsp[0].opval; } break; @@ -2410,7 +2413,7 @@ case 193: #line 723 "perly.y" { yyval.opval = yyvsp[0].opval; } break; -#line 2414 "perly.c" +#line 2412 "perly.c" } yyssp -= yym; yystate = *yyssp; @@ -2479,11 +2482,13 @@ yyoverflow: yyabort: retval = 1; yyaccept: +#ifdef USE_ITHREADS + LEAVE; /* force yydestruct() before we return */ +#endif return retval; } #ifdef PERL_OBJECT -#define NO_XSLOCKS #include "XSUB.h" #endif