X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FB%2FB%2FDeparse.pm;h=b0435ae5cdd137a41388c8af2cdc9cec358648ea;hb=2e8342de65fb9cb7fd716c30bbddc9c0f4311ba0;hp=82307553a05cd7e08b177f44c07f1e897c5cfff7;hpb=35925e80e0fed63e4413b5afa3d4ad736791b504;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/B/B/Deparse.pm b/ext/B/B/Deparse.pm index 8230755..b0435ae 100644 --- a/ext/B/B/Deparse.pm +++ b/ext/B/B/Deparse.pm @@ -21,7 +21,7 @@ use B qw(class main_root main_start main_cv svref_2object opnumber perlstring PMf_KEEP PMf_GLOBAL PMf_CONTINUE PMf_EVAL PMf_ONCE PMf_MULTILINE PMf_SINGLELINE PMf_FOLD PMf_EXTENDED), ($] < 5.009 ? 'PMf_SKIPWHITE' : 'RXf_SKIPWHITE'); -$VERSION = 0.85; +$VERSION = 0.86; use strict; use vars qw/$AUTOLOAD/; use warnings (); @@ -1456,8 +1456,7 @@ sub declare_hints { my %ignored_hints = ( 'open<' => 1, 'open>' => 1, - 'v_string' => 1, - ); +); sub declare_hinthash { my ($from, $to, $indent) = @_; @@ -2115,7 +2114,7 @@ sub pp_aassign { binop(@_, "=", 7, SWAP_CHILDREN | LIST_CONTEXT) } sub pp_smartmatch { my ($self, $op, $cx) = @_; if ($op->flags & OPf_SPECIAL) { - return $self->deparse($op->first, $cx); + return $self->deparse($op->last, $cx); } else { binop(@_, "~~", 14);