Commit 24e20128 by Hampton Catlin

Merge branch 'master' of github.com:hcatlin/libsass

parents a311e89e bfc8bd33
......@@ -93,15 +93,18 @@ namespace Sass {
buf << ";" << endl;
break;
case clauses:
if (children.size() > 0) {
buf << " {" << endl;
for (int i = 0; i < children.size(); ++i)
children[i].emit_expanded_css(buf, prefix);
buf << "}" << endl;
}
for (int i = 0; i < opt_children.size(); ++i)
opt_children[i].emit_expanded_css(buf, prefix);
break;
case ruleset:
buf << prefix;
if (children[1].children.size() > 0)
children[0].emit_expanded_css(buf, prefix);
string newprefix(prefix.empty() ? prefix : prefix + " ");
children[1].emit_expanded_css(buf, newprefix + string(children[0].token));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment