don't eat first char of loud comment
This commit is contained in:
parent
3fcd0b8be4
commit
38ffb5fe31
@ -193,7 +193,6 @@ impl<'a> StyleSheetParser<'a> {
|
|||||||
devour_whitespace(&mut self.lexer);
|
devour_whitespace(&mut self.lexer);
|
||||||
}
|
}
|
||||||
Some(Token { kind: '*', .. }) => {
|
Some(Token { kind: '*', .. }) => {
|
||||||
self.lexer.next();
|
|
||||||
let comment = eat_comment(&mut self.lexer, &Scope::new(), &Selector::new())?;
|
let comment = eat_comment(&mut self.lexer, &Scope::new(), &Selector::new())?;
|
||||||
rules.push(comment.map_node(Stmt::MultilineComment));
|
rules.push(comment.map_node(Stmt::MultilineComment));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user