mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:47:35 +00:00
LibWeb: Pass correct values to would_start_an_identifier()
Same as with would_start_a_number(), we were skipping a code point.
This commit is contained in:
parent
bb82ee5530
commit
269a24d4ca
2 changed files with 5 additions and 11 deletions
|
@ -99,8 +99,7 @@ private:
|
|||
void consume_as_much_whitespace_as_possible();
|
||||
void reconsume_current_input_code_point();
|
||||
[[nodiscard]] static bool is_valid_escape_sequence(U32Twin);
|
||||
[[nodiscard]] bool would_start_an_identifier();
|
||||
[[nodiscard]] bool would_start_an_identifier(U32Triplet);
|
||||
[[nodiscard]] static bool would_start_an_identifier(U32Triplet);
|
||||
[[nodiscard]] static bool would_start_a_number(U32Triplet);
|
||||
|
||||
String m_decoded_input;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue