Skip to content

Commit 6d5b6b2

Browse files
committed
Merge pull request #1492 from mgreter/bugfix/escape-seq-parsing
Fix escape sequence parsing
2 parents 66f4e68 + e575534 commit 6d5b6b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/prelexer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace Sass {
7272
exactly<'\\'>,
7373
alternatives <
7474
minmax_range<
75-
3, 3, xdigit
75+
1, 3, xdigit
7676
>,
7777
any_char
7878
>,
@@ -1027,7 +1027,7 @@ namespace Sass {
10271027
++ pos; ++ got;
10281028
}
10291029
if (got < min) return 0;
1030-
if (got > min) return 0;
1030+
if (got > max) return 0;
10311031
return pos;
10321032
}
10331033

0 commit comments

Comments
 (0)