diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-18 14:01:59 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-18 14:01:59 +0000 |
commit | f00d1d61e031a2a79e331ee3ee031a4f658d26e8 (patch) | |
tree | 9de830e2ca180615ee1b4319817e8637fb19763c /op.c | |
parent | 236b555a187749e9d630e83756e3a33db4d7a249 (diff) | |
download | perl-f00d1d61e031a2a79e331ee3ee031a4f658d26e8.tar.gz |
The _ character is only allowed to be at the end of prototypes
p4raw-id: //depot/perl@29036
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7376,6 +7376,9 @@ Perl_ck_subr(pTHX_ OP *o) proto++; continue; case '_': + /* _ must be at the end */ + if (proto[1]) + goto oops; case '$': proto++; arg++; |