diff --git a/scss/src/block_locator.c b/scss/src/block_locator.c index 8e634a4b..193b62c2 100644 --- a/scss/src/block_locator.c +++ b/scss/src/block_locator.c @@ -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) {