mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +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
|
@ -44,6 +44,7 @@ constexpr i32 closing_bracket_precedence = 18;
|
|||
F(ParenClose, 18, Invalid, Invalid, ParenOpen, "')'") \
|
||||
F(ParenOpen, -1, Invalid, Invalid, ParenClose, "'('") \
|
||||
F(Plus, 6, Invalid, Plus, Invalid, "plus") \
|
||||
F(QuestionMark, 3, ReturnIfAbrubt, Invalid, Invalid, "question mark") \
|
||||
F(SectionNumber, -1, Invalid, Invalid, Invalid, "section number") \
|
||||
F(String, -1, Invalid, Invalid, Invalid, "string literal") \
|
||||
F(Superscript, 4, Invalid, Power, Invalid, "subscript") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue