summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-11 02:14:16 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-11 02:14:16 +0000
commit2db4f57cd98e06c3602c6cbf326541f4a1500ae9 (patch)
treef03f0fc8c2263bce36c03025a82b1cbd75af47ed /toke.c
parentbaed7233d4dfe516b6be04fb05fade5080a282e0 (diff)
downloadperl-2db4f57cd98e06c3602c6cbf326541f4a1500ae9.tar.gz
disable CR croaking (via #define, default off) in lieu of more
complete fix p4raw-id: //depot/perl@1417
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 ad8dfbe9d0..29a27466de 100644
--- a/toke.c
+++ b/toke.c
@@ -1986,7 +1986,7 @@ yylex(void)
}
goto retry;
case '\r':
-#ifndef WIN32CHEAT
+#ifdef PERL_STRICT_CR
warn("Illegal character \\%03o (carriage return)", '\r');
croak(
"(Maybe you didn't strip carriage returns after a network transfer?)\n");