Skip to content

Commit

Permalink
Fix reading ddoc ESCAPES on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrel committed Aug 9, 2014
1 parent 0d7a35e commit 2136a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc.c
Expand Up @@ -1893,7 +1893,7 @@ void DocComment::parseEscapes(Escape **pescapetable, const utf8_t *textstart, si
{
if (p + 4 >= pend)
return;
if (!(*p == ' ' || *p == '\t' || *p == '\n' || *p == ','))
if (!(*p == ' ' || *p == '\t' || *p == '\r' || *p == '\n' || *p == ','))
break;
p++;
}
Expand Down

0 comments on commit 2136a1d

Please sign in to comment.