Properly parse -#{}.

This commit is contained in:
Natalie Weizenbaum 2016-10-18 17:51:17 -07:00
parent 965e553fa9
commit 75229d525d

View File

@ -972,7 +972,7 @@ abstract class StylesheetParser extends Parser {
var next = scanner.peekChar(1);
if (isDigit(next) || next == $dot) {
addSingleExpression(_number());
} else if (_lookingAtInterpolatedIdentifier()) {
} else if (lookingAtIdentifier()) {
addSingleExpression(_identifierLike());
} else {
scanner.readChar();