mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-03 10:08:01 +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());
|
atRules.add(identifier().toLowerCase());
|
||||||
whitespace();
|
whitespace();
|
||||||
} while (lookingAtIdentifier());
|
} while (lookingAtIdentifier());
|
||||||
|
scanner.expectDone();
|
||||||
|
|
||||||
return new AtRootQuery(include, atRules);
|
return new AtRootQuery(include, atRules);
|
||||||
});
|
});
|
||||||
|
@ -28,6 +28,7 @@ class KeyframeSelectorParser extends Parser {
|
|||||||
}
|
}
|
||||||
whitespace();
|
whitespace();
|
||||||
} while (scanner.scanChar($comma));
|
} while (scanner.scanChar($comma));
|
||||||
|
scanner.expectDone();
|
||||||
|
|
||||||
return selectors;
|
return selectors;
|
||||||
});
|
});
|
||||||
|
@ -19,6 +19,7 @@ class MediaQueryParser extends Parser {
|
|||||||
whitespace();
|
whitespace();
|
||||||
queries.add(_mediaQuery());
|
queries.add(_mediaQuery());
|
||||||
} while (scanner.scanChar($comma));
|
} while (scanner.scanChar($comma));
|
||||||
|
scanner.expectDone();
|
||||||
return queries;
|
return queries;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user