This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baed723
)
disable CR croaking (via #define, default off) in lieu of more
author
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 11 Jul 1998 02:14:16 +0000
(
02:14
+0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 11 Jul 1998 02:14:16 +0000
(
02:14
+0000)
complete fix
p4raw-id: //depot/perl@1417
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
ad8dfbe
..
29a2746
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-1986,7
+1986,7
@@
yylex(void)
}
goto retry;
case '\r':
-#if
ndef WIN32CHEAT
+#if
def PERL_STRICT_CR
warn("Illegal character \\%03o (carriage return)", '\r');
croak(
"(Maybe you didn't strip carriage returns after a network transfer?)\n");