diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-09-12 23:10:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-09-12 23:10:58 +0000 |
commit | 955623668f666142789ec391e521b0b6705cea7b (patch) | |
tree | 1fa1bc378fafdc86c74d341108f1385393811278 /op.c | |
parent | 3952c29af3f3c84465fe5840218071974ce033e4 (diff) | |
download | perl-955623668f666142789ec391e521b0b6705cea7b.tar.gz |
Add the missing assignment to op_last that change 31798 missed out.
With this, state $zok = ...; will deparse.
p4raw-id: //depot/perl@31857
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7065,6 +7065,11 @@ Perl_ck_sassign(pTHX_ OP *o) condop->op_targ = target; other->op_targ = target; + /* Because we change the type of the op here, we will skip the + assinment binop->op_last = binop->op_first->op_sibling; at the + end of Perl_newBINOP(). So need to do it here. */ + cBINOPo->op_last = cBINOPo->op_first->op_sibling; + return nullop; } } |