mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
JSSpecCompiler: Parse '?' before function calls in xspec mode
This commit is contained in:
parent
b800276347
commit
3d365326af
Notes:
sideshowbarker
2024-07-17 03:03:37 +09:00
Author: https://github.com/DanShaders
Commit: 3d365326af
Pull-request: https://github.com/SerenityOS/serenity/pull/23123
Reviewed-by: https://github.com/ADKaster ✅
5 changed files with 20 additions and 1 deletions
|
@ -71,6 +71,7 @@ void tokenize_string(SpecificationParsingContext& ctx, XML::Node const* node, St
|
|||
{ ")"sv, TokenType::ParenClose },
|
||||
{ "("sv, TokenType::ParenOpen },
|
||||
{ "+"sv, TokenType::Plus },
|
||||
{ "?"sv, TokenType::QuestionMark },
|
||||
};
|
||||
|
||||
LineTrackingLexer lexer(view, node->offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue