summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2001-12-29 18:46:25 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-30 15:57:25 +0000
commit317ea90d97caba0232674f77b3cbed1394243c39 (patch)
tree7759cdc2fb7ce9d3937aac6424fdd1da46ac68c1 /pp_ctl.c
parentd17aa069f1b4912cd5ee512e17998985c6151513 (diff)
downloadperl-317ea90d97caba0232674f77b3cbed1394243c39.tar.gz
-t without -w
Message-ID: <20011230044625.GA14386@blackrider> p4raw-id: //depot/perl@13953
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 46a900a9c3..7d777f583f 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3166,6 +3166,8 @@ trylocal: {
PL_compiling.cop_warnings = pWARN_ALL ;
else if (PL_dowarn & G_WARN_ALL_OFF)
PL_compiling.cop_warnings = pWARN_NONE ;
+ else if (PL_taint_warn)
+ PL_compiling.cop_warnings = newSVpvn(WARN_TAINTstring, WARNsize);
else
PL_compiling.cop_warnings = pWARN_STD ;
SAVESPTR(PL_compiling.cop_io);