mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:47:44 +00:00
JSSpecCompiler: Parse '?' before function calls in xspec mode
This commit is contained in:
parent
b800276347
commit
3d365326af
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