summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-11-14 03:37:37 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-11-14 03:37:37 +0000
commiteb3f888ababfa0d623a36edff726edcdf40c9853 (patch)
tree527db5af6a2f2653b182be7de8bfdeb3e1633faf /perly.c
parent72f828f09c0fd9e5cc6682e639552f6498af55a5 (diff)
downloadperl-eb3f888ababfa0d623a36edff726edcdf40c9853.tar.gz
fix bug in change#4515 (STOP blocks now see @ARGV like the rest)
p4raw-link: @4515 on //depot/perl: 4f25aa189c4a92535547c706ad37c13b7caee387 p4raw-id: //depot/perl@4578
Diffstat (limited to 'perly.c')
-rw-r--r--perly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.c b/perly.c
index f9734b3631..2e47b11aba 100644
--- a/perly.c
+++ b/perly.c
@@ -1826,7 +1826,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;