summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2003-01-16 17:12:37 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-01-22 21:22:31 +0000
commit8716503d4f67eab8980805177dcbdf2c897aa42e (patch)
tree75dfd1eeaae16fe1ce44e888b71343ff0bf456ac /pad.c
parentf0709b241ca4633837a71ebb25b49d6477a9b61f (diff)
downloadperl-8716503d4f67eab8980805177dcbdf2c897aa42e.tar.gz
Re: difference between my and our before introduction
Message-ID: <20030116171237.C420@fdgroup.com> (with a small test tweak) p4raw-id: //depot/perl@18571
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/pad.c b/pad.c
index 0eea55c318..09dd568cd2 100644
--- a/pad.c
+++ b/pad.c
@@ -552,13 +552,8 @@ Perl_pad_findmy(pTHX_ char *name)
continue;
}
else {
- if (
- ( seq > (U32)I_32(SvNVX(sv)) /* min */
- && seq <= (U32)SvIVX(sv)) /* max */
- ||
- /* 'our' is visible before introduction */
- (!SvIVX(sv) && (SvFLAGS(sv) & SVpad_OUR))
- )
+ if ( seq > (U32)I_32(SvNVX(sv)) /* min */
+ && seq <= (U32)SvIVX(sv)) /* max */
return off;
}
}