This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix the line-number-in-elsif longstanding bug.
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 18 Apr 2008 10:42:17 +0000 (10:42 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 18 Apr 2008 10:42:17 +0000 (10:42 +0000)
commitf6f3a1fea2bda9d33f9cc5367b630a21738c9def
treed113d69c2395fb2e70865ba53b0fd509fb2de441
parent12e06b6fd7025de6faae2a6f788653cc97790444
Fix the line-number-in-elsif longstanding bug.
This patch does two things :
- newSTATEOP now nullifies the state op it
  just created if OPf_SPECIAL is passed to it
  in flags
- the parser now inserts a nullified stateop
  in the expression block of an elsif

p4raw-id: //depot/perl@33710
op.c
perly.act
perly.y
t/lib/warnings/9uninit