Commit 3353ac2c by Aaron Leung

Okay, NOW properly handling terminal line comments at the top level.

parent 780085ea
...@@ -65,12 +65,9 @@ namespace Sass { ...@@ -65,12 +65,9 @@ namespace Sass {
} }
root << dir; root << dir;
} }
else if (peek< spaces >() || peek< block_comment >() || peek< line_comment >()) {
lex< spaces_and_comments >();
continue;
}
else { else {
lex< spaces_and_comments >(); lex< spaces_and_comments >();
if (position >= end) break;
throw_syntax_error("invalid top-level expression"); throw_syntax_error("invalid top-level expression");
} }
lex< optional_spaces >(); lex< optional_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