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); var next = scanner.peekChar(1);
if (isDigit(next) || next == $dot) { if (isDigit(next) || next == $dot) {
addSingleExpression(_number()); addSingleExpression(_number());
} else if (_lookingAtInterpolatedIdentifier()) { } else if (lookingAtIdentifier()) {
addSingleExpression(_identifierLike()); addSingleExpression(_identifierLike());
} else { } else {
scanner.readChar(); scanner.readChar();