Skip to content

Commit 85649d3

Browse files
committed
Remove faulty error checking in string unquoting
1 parent bf138cf commit 85649d3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

util.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,12 @@ namespace Sass {
327327
}
328328
// check for unexpected delimiter
329329
// be strict and throw error back
330-
else if (!skipped && q == s[i]) {
331-
// don't be that strict
332-
return s;
333-
// this basically always means an internal error and not users fault
334-
error("Unescaped delimiter in string to unquote found. [" + s + "]", ParserState("[UNQUOTE]"));
335-
}
330+
// else if (!skipped && q == s[i]) {
331+
// // don't be that strict
332+
// return s;
333+
// // this basically always means an internal error and not users fault
334+
// error("Unescaped delimiter in string to unquote found. [" + s + "]", ParserState("[UNQUOTE]"));
335+
// }
336336
else {
337337
skipped = false;
338338
unq.push_back(s[i]);

0 commit comments

Comments
 (0)