Permalink
Browse files

Allowing css pseudo-thingies to take identifiers as arguments.

  • Loading branch information...
Aaron Leung
Aaron Leung committed Sep 1, 2012
1 parent ec64161 commit d6ae70edc1f98c8f25d237b00684ec5c64358c10
Showing with 3 additions and 0 deletions.
  1. +3 −0 document_parser.cpp
View
@@ -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);
}

0 comments on commit d6ae70e

Please sign in to comment.