summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/src/block_locator.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/scss/src/block_locator.c b/scss/src/block_locator.c
index 8e634a4..193b62c 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) {