We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9766ba + ab94320 commit a905b13Copy full SHA for a905b13
src/cssize.cpp
@@ -100,6 +100,10 @@ namespace Sass {
100
// rr->tabs(r->block()->tabs());
101
p_stack.pop_back();
102
103
+ if (!rr->block()) {
104
+ error("Illegal nesting: Only properties may be nested beneath properties.", r->block()->pstate());
105
+ }
106
+
107
Block* props = SASS_MEMORY_NEW(ctx.mem, Block, rr->block()->pstate());
108
Block* rules = SASS_MEMORY_NEW(ctx.mem, Block, rr->block()->pstate());
109
for (size_t i = 0, L = rr->block()->length(); i < L; i++)
0 commit comments