summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-05-07 12:57:06 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-05-07 12:57:06 +0000
commita034e688aeb372632feafc428b392a22393dec55 (patch)
tree00edd69325fa45e86f3a3a37b5ef01820d454559 /embed.h
parent5203fbcae61b42c66ba138a48162ecc0880db2c9 (diff)
downloadperl-a034e688aeb372632feafc428b392a22393dec55.tar.gz
while (my $x ...) { ...; redo } shouldn't undef $x.
In the presence of 'my' in the conditional of a while(), until(), or for(;;) loop, add an extra scope to the body so that redo doesn't undef the lexical p4raw-id: //depot/perl@24412
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index 671734f95f..8b572db658 100644
--- a/embed.h
+++ b/embed.h
@@ -2531,7 +2531,7 @@
#define newSVrv(a,b) Perl_newSVrv(aTHX_ a,b)
#define newSVsv(a) Perl_newSVsv(aTHX_ a)
#define newUNOP(a,b,c) Perl_newUNOP(aTHX_ a,b,c)
-#define newWHILEOP(a,b,c,d,e,f,g) Perl_newWHILEOP(aTHX_ a,b,c,d,e,f,g)
+#define newWHILEOP(a,b,c,d,e,f,g,h) Perl_newWHILEOP(aTHX_ a,b,c,d,e,f,g,h)
#define new_stackinfo(a,b) Perl_new_stackinfo(aTHX_ a,b)
#define scan_vstring(a,b) Perl_scan_vstring(aTHX_ a,b)
#define scan_version(a,b,c) Perl_scan_version(aTHX_ a,b,c)