Commit 123451e
committed
Fix parsing nested forgiving grammars
`:is(:not(:is(:unknown()), valid))` was parsed as `:is()` containing an invalid
selector (but serializing as is), because the parse error resulting from
`:unknown()` was propagated above `:not()`, since the top-level `:is()` is
forgiving. This was a wrong optimization.1 parent aaf24dc commit 123451e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1106 | 1106 | | |
1107 | 1107 | | |
1108 | 1108 | | |
1109 | | - | |
| 1109 | + | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
| |||
0 commit comments