mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 13:50:00 +00:00
LibRegex: Add missing StringSet cases
This commit is contained in:
parent
0738be817b
commit
934817d45e
Notes:
github-actions[bot]
2025-11-27 13:03:06 +00:00
Author: https://github.com/aplefull
Commit: 934817d45e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6953
Reviewed-by: https://github.com/gmta ✅
1 changed files with 4 additions and 3 deletions
|
|
@ -1239,7 +1239,8 @@ Vector<CompareTypeAndValuePair> OpCode_Compare::flat_compares() const
|
|||
} else if (compare_type == CharacterCompareType::GeneralCategory
|
||||
|| compare_type == CharacterCompareType::Property
|
||||
|| compare_type == CharacterCompareType::Script
|
||||
|| compare_type == CharacterCompareType::ScriptExtension) {
|
||||
|| compare_type == CharacterCompareType::ScriptExtension
|
||||
|| compare_type == CharacterCompareType::StringSet) {
|
||||
auto value = m_bytecode->at(offset++);
|
||||
result.append({ compare_type, value });
|
||||
} else {
|
||||
|
|
@ -1366,8 +1367,8 @@ Vector<ByteString> OpCode_Compare::variable_arguments_to_byte_string(Optional<Ma
|
|||
} else if (compare_type == CharacterCompareType::GeneralCategory
|
||||
|| compare_type == CharacterCompareType::Property
|
||||
|| compare_type == CharacterCompareType::Script
|
||||
|| compare_type == CharacterCompareType::ScriptExtension) {
|
||||
|
||||
|| compare_type == CharacterCompareType::ScriptExtension
|
||||
|| compare_type == CharacterCompareType::StringSet) {
|
||||
auto value = m_bytecode->at(offset++);
|
||||
result.empend(ByteString::formatted(" value={}", value));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue