mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Allow whitespace in not after a boolean-expr-group
This commit is contained in:
parent
32cfb4e7d8
commit
14dba82202
Notes:
github-actions[bot]
2025-10-29 04:55:53 +00:00
Author: https://github.com/lpas
Commit: 14dba82202
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6618
Reviewed-by: https://github.com/gmta ✅
3 changed files with 61 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ OwnPtr<BooleanExpression> Parser::parse_boolean_expression(TokenStream<Component
|
|||
tokens.discard_whitespace();
|
||||
|
||||
if (auto child = parse_boolean_expression_group(tokens, result_for_general_enclosed, parse_test)) {
|
||||
tokens.discard_whitespace();
|
||||
transaction.commit();
|
||||
return BooleanNotExpression::create(child.release_nonnull());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue