eval expressions: unary +, correctly lex exponentiated numerics

This commit is contained in:
Ryan Fleury committed 2024-10-21 09:23:31 -07:00
1 parent 52245a8e5a
commit d0915ec9a7
6 files changed
+25 -9

No files matched your search

+1
View File
@@ -90,6 +90,7 @@ E_ExprKindTable:
{ Typeof UnaryPrefix 1 "typeof" "typeof" "(" ")"}
{ ByteSwap UnaryPrefix 1 "bswap" "bswap" "(" ")"}
{ Pos UnaryPrefix 2 "+" "+" "" "" }
{ Neg UnaryPrefix 2 "-" "-" "" "" }
{ LogNot UnaryPrefix 2 "!" "!" "" "" }
{ BitNot UnaryPrefix 2 "~" "~" "" "" }