mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-03 18:17:45 +01:00
Properly parse -#{}.
This commit is contained in:
parent
965e553fa9
commit
75229d525d
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user