Commit ef5be943 by Aaron Leung

Removing some log statements.

parent 31c4d721
......@@ -245,7 +245,6 @@ namespace Sass {
{
// cerr << "APPLYING MIXIN: " << string(mixin[0].token) << endl;
Node params(mixin[1]);
if (mixin[2][0].has_expansions) cerr << "ORIGINAL BODY FOR " << string(mixin[0].token) << " HAS EXPANSIONS" << endl;
Node body(mixin[2].clone());
Environment m_env;
// cerr << "CLONED BODY" << endl;
......@@ -283,7 +282,6 @@ namespace Sass {
for (int i = 0; i < body.size(); ++i) {
body[i] = eval(body[i], m_env);
}
if (body[0].has_expansions) cerr << "APPLYING MIXIN CONTAINING EXPANSIONS" << endl;
return body;
}
}
\ No newline at end of file
......@@ -292,7 +292,6 @@ namespace Sass {
{
case root:
if (at(0).has_expansions) {
cerr << "FLATTENING ROOT NODE" << endl;
flatten();
}
for (int i = 0; i < children->size(); ++i) {
......@@ -441,11 +440,9 @@ namespace Sass {
void Node::flatten()
{
cerr << "FLATTENING A BLOCK" << endl;
if (type != block && type != expansion && type != root) return;
for (int i = 0; i < size(); ++i) {
if (at(i).type == expansion) {
cerr << "FLATTEN: found an expansion node" << endl;
Node expn = at(i);
if (expn[0].has_expansions) expn.flatten();
at(0).has_rules_or_comments |= expn[0].has_rules_or_comments;
......
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