correct regression in toplevel & error message
Broken in bb16060ddb8df75b2096966dda1e5c700a494407
This commit is contained in:
parent
85a2c8eaeb
commit
af4917a4e6
@ -454,7 +454,7 @@ impl<'a> StyleSheetParser<'a> {
|
|||||||
}
|
}
|
||||||
TokenKind::Symbol(Symbol::BitAnd) => {
|
TokenKind::Symbol(Symbol::BitAnd) => {
|
||||||
return Err(
|
return Err(
|
||||||
"Top-level selectors may not contain the parent selector \"&\".".into(),
|
"Base-level rules cannot contain the parent-selector-referencing character '&'.".into(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
_ => match dbg!(self.lexer.next()) {
|
_ => match dbg!(self.lexer.next()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user