dbg! on unexpected toplevel token
This commit is contained in:
parent
8756adaaaf
commit
620e33f541
@ -425,7 +425,7 @@ impl<'a> StyleSheetParser<'a> {
|
|||||||
TokenKind::Symbol(Symbol::BitAnd) => {
|
TokenKind::Symbol(Symbol::BitAnd) => {
|
||||||
return Err(SassError::new("Base-level rules cannot contain the parent-selector-referencing character '&'.", pos.clone()))
|
return Err(SassError::new("Base-level rules cannot contain the parent-selector-referencing character '&'.", pos.clone()))
|
||||||
}
|
}
|
||||||
_ => match self.lexer.next() {
|
_ => match dbg!(self.lexer.next()) {
|
||||||
Some(Token { pos, .. }) => self.error(pos, "unexpected toplevel token"),
|
Some(Token { pos, .. }) => self.error(pos, "unexpected toplevel token"),
|
||||||
_ => unsafe { std::hint::unreachable_unchecked() },
|
_ => unsafe { std::hint::unreachable_unchecked() },
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user