mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibIDL: Save parsed stringifier_extended_attributes
This commit is contained in:
parent
da620d6ccf
commit
41a6ebfba2
Notes:
github-actions[bot]
2025-06-30 17:40:45 +00:00
Author: https://github.com/bplaat
Commit: 41a6ebfba2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4535
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
2 changed files with 3 additions and 0 deletions
|
@ -505,7 +505,9 @@ void Parser::parse_stringifier(HashMap<ByteString, ByteString>& extended_attribu
|
|||
if (lexer.next_is("attribute"sv) || lexer.next_is("inherit"sv) || lexer.next_is("readonly"sv)) {
|
||||
parse_attribute(extended_attributes, interface);
|
||||
interface.stringifier_attribute = interface.attributes.last();
|
||||
interface.stringifier_extended_attributes = interface.stringifier_attribute->extended_attributes;
|
||||
} else {
|
||||
interface.stringifier_extended_attributes = move(extended_attributes);
|
||||
assert_specific(';');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue