Skip to content

Commit

Permalink
feat(css_parser): CSS Parser #268
Browse files Browse the repository at this point in the history
  • Loading branch information
denbezrukov committed Oct 6, 2023
1 parent 2afd5da commit 25b0a08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions crates/biome_css_parser/src/syntax/selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ pub(crate) fn parse_type_selector(p: &mut CssParser) -> ParsedSyntax {
Present(m.complete(p, CSS_TYPE_SELECTOR))
}

const SELECTOR_LEX_SET: TokenSet<CssSyntaxKind> =
COMBINATOR_SET.union(token_set![T!['{'], T![,]]);
const SELECTOR_LEX_SET: TokenSet<CssSyntaxKind> = COMBINATOR_SET.union(token_set![T!['{'], T![,]]);
pub(crate) fn selector_lex_context(p: &mut CssParser) -> CssLexContext {
if SELECTOR_LEX_SET.contains(p.nth(1)) {
CssLexContext::Regular
Expand Down

0 comments on commit 25b0a08

Please sign in to comment.