Commit a210fc7f by Aaron Leung

Slight correction to the printing/condensation of dashes.

parent 2a482844
......@@ -493,6 +493,7 @@ namespace Sass {
}
else {
// TO DO: disallow division and multiplication on lists
if (op == Node::sub) acc << new_Node(Node::sub, acc.path(), acc.line(), Token::make());
acc.push_back(rhs);
}
......
......@@ -140,9 +140,7 @@ namespace Sass {
case term: {
string result(at(0).to_string());
for (size_t i = 1, S = size(); i < S; ++i) {
if (!(at(i).type() == add ||
// at(i).type == sub || // another edge case -- consider uncommenting
at(i).type() == mul)) {
if (at(i).type() != add && at(i).type() != mul) {
result += at(i).to_string();
}
}
......@@ -162,7 +160,6 @@ namespace Sass {
stringstream ss;
ss << "@import url(";
ss << at(0).to_string();
// cerr << content.token.to_string() << endl;
ss << ")";
return ss.str();
}
......
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