From eb3f888ababfa0d623a36edff726edcdf40c9853 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 14 Nov 1999 03:37:37 +0000 Subject: 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 --- perly.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perly.y') 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; } ; -- cgit v1.2.1