Touch up TokenSet a bit

This commit is contained in:
Aleksey Kladov 2019-12-19 17:13:08 +01:00
parent a766f63650
commit 0ed8ce096d
4 changed files with 6 additions and 8 deletions

View file

@ -208,7 +208,7 @@ impl<'t> Parser<'t> {
/// Create an error node and consume the next token.
pub(crate) fn err_and_bump(&mut self, message: &str) {
self.err_recover(message, TokenSet::empty());
self.err_recover(message, TokenSet::EMPTY);
}
/// Create an error node and consume the next token.