summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorStephane Payrard <stef@francenet.fr>1998-03-02 01:52:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-03-02 01:52:46 +0000
commitdab48698179b4e8606409875b7121f225bcf46be (patch)
tree6e3ba85583a135691258ae0a53c0e32955c6a15d /op.c
parent3500f6799fed8479a1efcf408255735921bd3f48 (diff)
downloadperl-dab48698179b4e8606409875b7121f225bcf46be.tar.gz
[win32] yet another 'old' patch
Message-Id: <199712040054.BAA04612@www.zweig.com> To: perl5-porters@perl.org Subject: Re: [PERL] buglet : minor but gratuitous inconsistency between `my' and `local' (Patch included) p4raw-id: //depot/win32/perl@611
Diffstat (limited to 'op.c')
-rw-r--r--op.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/op.c b/op.c
index 3a696709e8..f6857af940 100644
--- a/op.c
+++ b/op.c
@@ -1391,8 +1391,9 @@ my(OP *o)
if (type == OP_LIST) {
for (kid = cLISTOPo->op_first; kid; kid = kid->op_sibling)
my(kid);
- }
- else if (type != OP_PADSV &&
+ } else if (type == OP_UNDEF) {
+ return op;
+ } else if (type != OP_PADSV &&
type != OP_PADAV &&
type != OP_PADHV &&
type != OP_PUSHMARK)