summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGerard Goossen <gerard@tty.nl>2007-03-29 19:34:23 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-03 16:17:01 +0000
commit9fc012f420361d7813d0f0e2512255e870c5c1e4 (patch)
tree2b8c644981b6ff1c37b72f8547dc6a0369fab8d7 /op.c
parent36dee510cd49a7318e0ddea31b4d74e974725f7d (diff)
downloadperl-9fc012f420361d7813d0f0e2512255e870c5c1e4.tar.gz
Re: [PATCH] MAD prototype checking
Message-ID: <20070329153423.GE20231@ostwald> p4raw-id: //depot/perl@30838
Diffstat (limited to 'op.c')
-rw-r--r--op.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/op.c b/op.c
index 1f9cb8f94f..701d660658 100644
--- a/op.c
+++ b/op.c
@@ -7515,6 +7515,10 @@ Perl_ck_subr(pTHX_ OP *o)
o->op_private |= OPpENTERSUB_DB;
while (o2 != cvop) {
OP* o3;
+ if (PL_madskills && o2->op_type == OP_STUB) {
+ o2 = o2->op_sibling;
+ continue;
+ }
if (PL_madskills && o2->op_type == OP_NULL)
o3 = ((UNOP*)o2)->op_first;
else