Skip to content

Commit

Permalink
Improve function call return value handling
Browse files Browse the repository at this point in the history
Fixes sass#1269
  • Loading branch information
mgreter committed Jun 12, 2015
1 parent 5a2ab75 commit 65cf074
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -685,10 +685,8 @@ namespace Sass {
if (result->pstate().file == string::npos)
result->pstate(c->pstate());

do {
result->is_delayed(result->concrete_type() == Expression::STRING);
result = result->perform(this);
} while (result->concrete_type() == Expression::NONE);
result->is_delayed(result->concrete_type() == Expression::STRING);
if (!result->is_delayed()) result = result->perform(this);
exp.env_stack.pop_back();
return result;
}
Expand Down

0 comments on commit 65cf074

Please sign in to comment.