summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
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 750e4d45ec..08796d6368 100644
--- a/toke.c
+++ b/toke.c
@@ -824,7 +824,7 @@ S_incline(pTHX_ const char *s)
n = s;
while (isDIGIT(*s))
s++;
- if (!SPACE_OR_TAB(*s) && *s != '\n' && *s != '\0')
+ if (!SPACE_OR_TAB(*s) && *s != '\r' && *s != '\n' && *s != '\0')
return;
while (SPACE_OR_TAB(*s))
s++;