Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allowing css pseudo-thingies to take identifiers as arguments.

  • Loading branch information...
commit d6ae70edc1f98c8f25d237b00684ec5c64358c10 1 parent ec64161
@akhleung akhleung authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  document_parser.cpp
View
3  document_parser.cpp
@@ -473,6 +473,9 @@ namespace Sass {
else if (lex< sequence< optional<sign>, digits > >()) {
pseudo << context.new_Node(Node::value, path, line, lexed);
}
+ else if (lex< identifier >()) {
+ pseudo << context.new_Node(Node::identifier, path, line, lexed);
+ }
else if (lex< string_constant >()) {
pseudo << context.new_Node(Node::string_constant, path, line, lexed);
}
Please sign in to comment.
Something went wrong with that request. Please try again.