Commit d5440047 by Aaron Leung

Trying out a different comment scanning method in anticipation of implementing…

Trying out a different comment scanning method in anticipation of implementing the comment formatting routine.
parent 4f0905da
...@@ -40,7 +40,7 @@ namespace Sass { ...@@ -40,7 +40,7 @@ namespace Sass {
if (!start) start = position; if (!start) start = position;
const char* after_whitespace; const char* after_whitespace;
if (mx == block_comment) { if (mx == block_comment) {
after_whitespace = after_whitespace = // start;
zero_plus< alternatives<spaces, line_comment> >(start); zero_plus< alternatives<spaces, line_comment> >(start);
} }
else if (/*mx == ancestor_of ||*/ mx == no_spaces) { else if (/*mx == ancestor_of ||*/ mx == no_spaces) {
...@@ -75,7 +75,7 @@ namespace Sass { ...@@ -75,7 +75,7 @@ namespace Sass {
{ {
const char* after_whitespace; const char* after_whitespace;
if (mx == block_comment) { if (mx == block_comment) {
after_whitespace = after_whitespace = // position;
zero_plus< alternatives<spaces, line_comment> >(position); zero_plus< alternatives<spaces, line_comment> >(position);
} }
else if (mx == ancestor_of || mx == no_spaces) { else if (mx == ancestor_of || mx == no_spaces) {
......
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