We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e7ab55 commit 7a21c79Copy full SHA for 7a21c79
src/lexer.cpp
@@ -93,7 +93,9 @@ namespace Sass {
93
const char* re_linebreak(const char* src)
94
{
95
// end of file or unix linefeed return here
96
- if (*src == 0 || *src == '\n' || *src == '\f') return src + 1;
+ if (*src == 0) return src;
97
+ // end of file or unix linefeed return here
98
+ if (*src == '\n' || *src == '\f') return src + 1;
99
// a carriage return may optionally be followed by a linefeed
100
if (*src == '\r') return *(src + 1) == '\n' ? src + 2 : src + 1;
101
// no linefeed
0 commit comments