mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibWeb: Commit transaction after parsing '+'?† n <signed-integer>
This commit is contained in:
parent
469380d6bc
commit
fa05c99b22
1 changed files with 1 additions and 0 deletions
|
@ -5425,6 +5425,7 @@ Optional<Selector::SimpleSelector::ANPlusBPattern> Parser::parse_a_n_plus_b_patt
|
||||||
// '+'?† n <signed-integer>
|
// '+'?† n <signed-integer>
|
||||||
if (is_signed_integer(values.peek_token())) {
|
if (is_signed_integer(values.peek_token())) {
|
||||||
int b = values.next_token().token().to_integer();
|
int b = values.next_token().token().to_integer();
|
||||||
|
transaction.commit();
|
||||||
return Selector::SimpleSelector::ANPlusBPattern { 1, b };
|
return Selector::SimpleSelector::ANPlusBPattern { 1, b };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue