mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-02 09:37:49 +01:00
Add missing scanner.expectDone() calls.
This commit is contained in:
parent
c9bbcbda3a
commit
845c1b8d8d
@ -26,6 +26,7 @@ class AtRootQueryParser extends Parser {
|
||||
atRules.add(identifier().toLowerCase());
|
||||
whitespace();
|
||||
} while (lookingAtIdentifier());
|
||||
scanner.expectDone();
|
||||
|
||||
return new AtRootQuery(include, atRules);
|
||||
});
|
||||
|
@ -28,6 +28,7 @@ class KeyframeSelectorParser extends Parser {
|
||||
}
|
||||
whitespace();
|
||||
} while (scanner.scanChar($comma));
|
||||
scanner.expectDone();
|
||||
|
||||
return selectors;
|
||||
});
|
||||
|
@ -19,6 +19,7 @@ class MediaQueryParser extends Parser {
|
||||
whitespace();
|
||||
queries.add(_mediaQuery());
|
||||
} while (scanner.scanChar($comma));
|
||||
scanner.expectDone();
|
||||
return queries;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user