Skip to content

Commit

Permalink
Fix more issues with parent selector interpolation
Browse files Browse the repository at this point in the history
Fixes sass#1043
  • Loading branch information
mgreter committed May 9, 2015
1 parent a3157d4 commit 4e4bb40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ namespace Sass {
}

Contextualize_Eval* contextual = contextualize_eval->with(selector_stack.back(), env, backtrace);
if (old_in_at_root && !r->selector()->has_reference())
contextual = contextualize_eval->with(at_root_selector_stack.back(), env, backtrace);
// if (old_in_at_root && !r->selector()->has_reference())
// contextual = contextualize_eval->with(selector_stack.back(), env, backtrace);

Selector* sel_ctx = r->selector()->perform(contextual);
if (sel_ctx == 0) throw "Cannot expand null selector";
Expand Down

0 comments on commit 4e4bb40

Please sign in to comment.