LibXML: Parser handle standalone declaration
Previously here missed a equal sign parsing
This commit is contained in:
parent
0c14698028
commit
ce6138fccd
Notes:
sideshowbarker
2024-07-17 01:55:29 +09:00
Author: https://github.com/zhiyuang Commit: https://github.com/SerenityOS/serenity/commit/ce6138fccd Pull-request: https://github.com/SerenityOS/serenity/pull/19988
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ ErrorOr<void, ParseError> Parser::parse_standalone_document_decl()
|
|||
TRY(expect("standalone"sv));
|
||||
auto accept = accept_rule();
|
||||
|
||||
TRY(parse_eq());
|
||||
TRY(expect(is_any_of("'\""sv), "one of ' or \""sv));
|
||||
m_lexer.retreat();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue