Commit 161d1148 by Aaron Leung

Allowing pseudo-selectors to take string arguments.

parent 9013db2b
...@@ -379,6 +379,9 @@ namespace Sass { ...@@ -379,6 +379,9 @@ namespace Sass {
else if (lex< sequence< optional<sign>, digits > >()) { else if (lex< sequence< optional<sign>, digits > >()) {
pseudo << Node(Node::value, line_number, lexed); pseudo << Node(Node::value, line_number, lexed);
} }
else if (lex< string_constant >()) {
pseudo << Node(Node::string_constant, line_number, lexed);
}
else { else {
syntax_error("invalid argument to " + name.to_string() + "...)"); syntax_error("invalid argument to " + name.to_string() + "...)");
} }
......
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