Skip to content

Commit c0a6cf3

Browse files
committed
Fix handling of unclosed interpolant in url
Fixes #2661
1 parent 210fdff commit c0a6cf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/parser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,6 +2163,7 @@ namespace Sass {
21632163
while (pp && peek< exactly< hash_lbrace > >(pp)) {
21642164
pp = sequence< interpolant, real_uri_value >(pp);
21652165
}
2166+
if (!pp) return 0;
21662167
position = pp;
21672168
return parse_interpolated_chunk(Token(p, position));
21682169
}

0 commit comments

Comments
 (0)