Skip to content

Commit

Permalink
Merge pull request #390 from e0ne/revert-speedup
Browse files Browse the repository at this point in the history
Revert "Let the speedup block locator complain about surplus closing"
  • Loading branch information
e0ne authored Mar 21, 2020
2 parents 08e8ae4 + ff9de4a commit 6b96338
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scss/src/block_locator.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,12 +398,6 @@ BlockLocator_iternext(BlockLocator *self)
if (c == '\\') {
/* Start of an escape sequence; ignore next character */
self->codestr_ptr++;
} else if (c == '}' && self->depth == 0) {
self->block.error = -1;
sprintf(self->exc, "Unexpected closing brace on line %d", self->lineno);
#ifdef DEBUG
fprintf(stderr, "\t%s\n", self->exc);
#endif
}
/* only ASCII is special syntactically */
else if (c < 256) {
Expand Down

0 comments on commit 6b96338

Please sign in to comment.