mirror of
https://github.com/Ed94/metadesk.git
synced 2026-06-13 07:52:22 -07:00
[expr parser] Brace/bracket unary op required for set leaves.
This commit is contained in:
@@ -64,7 +64,9 @@ struct OperatorDescription{
|
||||
X(AssignRightShift, ">>=", BinaryRightAssociative, 4) \
|
||||
X(AssignBitwiseAnd, "&=", BinaryRightAssociative, 4) \
|
||||
X(AssignBitwiseXor, "^=", BinaryRightAssociative, 4) \
|
||||
X(AssignBitwiseOr, "|=", BinaryRightAssociative, 4)
|
||||
X(AssignBitwiseOr, "|=", BinaryRightAssociative, 4) \
|
||||
X(BracketSet, "[]", Prefix, 3) \
|
||||
X(BraceSet, "{}", Prefix, 3)
|
||||
// X(Cast "()", Prefix, 17)
|
||||
// X(Comma, ",", Binary, 3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user