Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 24, 2023
1 parent 1e5216d commit a838a95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/swc_ecma_parser/src/token.rs
Expand Up @@ -139,10 +139,6 @@ impl Token {
| Self::PlusPlus
| Self::MinusMinus
| Self::Tilde
| Self::Str { .. }
| Self::Regex(..)
| Self::Num { .. }
| Self::BigInt { .. }
| Self::JSXText { .. } => true,
_ => false,
}
Expand All @@ -161,6 +157,10 @@ impl Token {
| Self::PlusPlus
| Self::MinusMinus
| Self::Tilde
| Self::Str { .. }
| Self::Regex(..)
| Self::Num { .. }
| Self::BigInt { .. }
| Self::JSXTagStart => true,
_ => false,
}
Expand Down

0 comments on commit a838a95

Please sign in to comment.