From: Stephen McCamant Date: Wed, 3 Jan 2001 13:48:04 +0000 (-0800) Subject: Re: [PATCH @8269] Continue blocks and B::Deparse X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=646bba827d867c3a9ec63754025d124b158b6337;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH @8269] Continue blocks and B::Deparse Message-ID: <14931.40265.379608.910008@soda.csua.berkeley.edu> Doc tweak on #8313. p4raw-id: //depot/perl@8314 --- diff --git a/ext/B/B/Deparse.pm b/ext/B/B/Deparse.pm index ea95473..b0a5eae 100644 --- a/ext/B/B/Deparse.pm +++ b/ext/B/B/Deparse.pm @@ -2869,8 +2869,8 @@ B::Deparse - Perl compiler backend to produce perl code =head1 SYNOPSIS -B B<-MO=Deparse>[B<,-u>I][B<,-p>][B<,-q>][B<,-l>][B<,-s>I] - I +B B<-MO=Deparse>[B<,-u>I][B<,-p>][B<,-q>][B<,-l>] + [B<,-s>I][B<,-x>I] I =head1 DESCRIPTION @@ -3023,7 +3023,7 @@ meaning more expansion. As with B<-q>, this actually involves turning off special cases in B::Deparse's normal operations. If I is at least 3, for loops will be translated into equivalent -while loops with a continue block; for instance +while loops with continue blocks; for instance for ($i = 0; $i < 10; ++$i) { print $i; @@ -3039,7 +3039,7 @@ turns into } Note that in a few cases this translation can't be perfectly carried back -into the source code -- if the loop'd initializer declares a my variable, +into the source code -- if the loop's initializer declares a my variable, for instance, it won't have the correct scope outside of the loop. If I is at least 7, if statements will be translated into equivalent