summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-19 10:26:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-19 10:26:54 +0000
commitcb40c25d04faeb4e704ac10e016eece055ac741f (patch)
treeea823d1ba95659c3e58962852876460d7ca4568e /op.c
parent4d5114b49dd32c765f1137162d67b9cab5c5ba5a (diff)
downloadperl-cb40c25d04faeb4e704ac10e016eece055ac741f.tar.gz
Allow the _ prototype character to be followed by optional arguments
p4raw-id: //depot/perl@29048
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 95fb100c7a..3dad4882be 100644
--- a/op.c
+++ b/op.c
@@ -7377,7 +7377,7 @@ Perl_ck_subr(pTHX_ OP *o)
continue;
case '_':
/* _ must be at the end */
- if (proto[1])
+ if (proto[1] && proto[1] != ';')
goto oops;
case '$':
proto++;