1
Fork 0
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:
Dan Klishch 2024-01-20 21:52:02 -05:00 committed by Andrew Kaster
parent b800276347
commit 3d365326af
5 changed files with 20 additions and 1 deletions

View file

@ -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") \