Skip to content

Commit

Permalink
Fix parser
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 21, 2023
1 parent fd1fa55 commit 13c5e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_css_parser/src/parser/values_and_units/mod.rs
Expand Up @@ -1704,7 +1704,7 @@ where
let value = match self.try_parse(|p| p.parse_generic_value()) {
Some(v) => v,
None => {
if is_one_of!(self, ";", ":") {
if is_one_of!(self, ";", ":", "=") {
let tok = self.input.bump().unwrap();

ComponentValue::PreservedToken(Box::new(tok))
Expand Down

0 comments on commit 13c5e4f

Please sign in to comment.