summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-17 16:07:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-17 16:07:04 +0000
commitb13fd70a68ddf5966a8175e04009af31c9841332 (patch)
tree0f36f6edc1b8a9e7c973692c254ec03aee519e90 /toke.c
parentc36568be88bd894c59f9e2994c64120ffb2941bb (diff)
downloadperl-b13fd70a68ddf5966a8175e04009af31c9841332.tar.gz
First attempt at implementing the _ prototype
p4raw-id: //depot/perl@29032
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index f9e79fcf56..062909932a 100644
--- a/toke.c
+++ b/toke.c
@@ -6580,7 +6580,7 @@ Perl_yylex(pTHX)
for (p = d; *p; ++p) {
if (!isSPACE(*p)) {
d[tmp++] = *p;
- if (warnsyntax && !strchr("$@%*;[]&\\", *p))
+ if (warnsyntax && !strchr("$@%*;[]&\\_", *p))
bad_proto = TRUE;
}
}