summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorMichael G Schwern <schwern@pobox.com>2009-04-25 21:16:12 -0500
committerSteve Peters <steve@fisharerojo.org>2009-04-25 21:16:12 -0500
commit2b622f1ab95eef319d54ddc6bec007dfd5f831a8 (patch)
tree2f256c098b3fa9709adbaa55c6e12b2bfba7bd80 /perl.c
parent30a06a3af12bb1237a004c2795d506c231bc6ea5 (diff)
downloadperl-2b622f1ab95eef319d54ddc6bec007dfd5f831a8.tar.gz
[PATCH] Allow PERL5OPT=-W
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 701b010484..130a83c6ec 100644
--- a/perl.c
+++ b/perl.c
@@ -1923,7 +1923,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit)
d = s;
if (!*s)
break;
- if (!strchr("CDIMUdmtw", *s))
+ if (!strchr("CDIMUdmtwW", *s))
Perl_croak(aTHX_ "Illegal switch in PERL5OPT: -%c", *s);
while (++s && *s) {
if (isSPACE(*s)) {