summaryrefslogtreecommitdiff
path: root/perly.y
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
commitff689196a75c2757dfba08a8f95f0eb42fb81136 (patch)
tree527db5af6a2f2653b182be7de8bfdeb3e1633faf /perly.y
parent81be85b825fc39c8f8e4c3fb4748df6a7fa34de4 (diff)
downloadperl-ff689196a75c2757dfba08a8f95f0eb42fb81136.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.y')
-rw-r--r--perly.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.y b/perly.y
index c8163e135e..b238276229 100644
--- a/perly.y
+++ b/perly.y
@@ -337,7 +337,7 @@ startformsub: /* NULL */ /* start a format subroutine scope */
subname : WORD { STRLEN n_a; char *name = SvPV(((SVOP*)$1)->op_sv,n_a);
if (strEQ(name, "BEGIN") || strEQ(name, "END")
- || strEQ(name, "INIT"))
+ || strEQ(name, "STOP") || strEQ(name, "INIT"))
CvSPECIAL_on(PL_compcv);
$$ = $1; }
;