Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
small changes to the selector list handling
  • Loading branch information
shagkur committed Mar 4, 2025
commit e2a47d0ab0c2b60351478516e53e7c623ade408c
8 changes: 4 additions & 4 deletions ph-css/src/main/jjtree/ParserCSS30.jjt
Original file line number Diff line number Diff line change
Expand Up @@ -1083,8 +1083,7 @@ void relativeSelectorList() #void : {}

void pseudoHas() #has : {}
{
( <S> )*
relativeSelectorList()
( relativeSelectorList() )*
}

void simpleSelectorList() #void : {}
Expand All @@ -1099,14 +1098,15 @@ void simpleSelectorList() #void : {}
)*
)
}

void pseudoIs() #is : {}
{
simpleSelectorList ()
( simpleSelectorList () )*
}

void pseudoWhere() #where : {}
{
simpleSelectorList ()
( simpleSelectorList () )*
}

void pseudoClassSelector() : {}
Expand Down
Loading