Commit 828b44b3 by Aaron Leung

Trying out some helper functions.

parent 0375044e
...@@ -20,10 +20,10 @@ namespace Sass { ...@@ -20,10 +20,10 @@ namespace Sass {
switch (type) switch (type)
{ {
case selector_group: { // really only needed for arg to :not case selector_group: { // really only needed for arg to :not
string result(children->at(0).to_string("")); string result(at(0).to_string(""));
for (int i = 1; i < children->size(); ++i) { for (int i = 1; i < size(); ++i) {
result += ", "; result += ", ";
result += children->at(i).to_string(""); result += at(i).to_string("");
} }
return result; return result;
} break; } break;
......
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