allow unary after compound and new binary operators
This commit is contained in:
parent
2421ccb662
commit
3c8feab630
@ -209,6 +209,20 @@ impl Token {
|
||||
And |
|
||||
If |
|
||||
While |
|
||||
PlusEquals |
|
||||
MinusEquals |
|
||||
MultiplyEquals |
|
||||
DivideEquals |
|
||||
LeftShiftEquals |
|
||||
RightShiftEquals |
|
||||
AndEquals |
|
||||
OrEquals |
|
||||
XOrEquals |
|
||||
LeftShift |
|
||||
RightShift |
|
||||
XOr |
|
||||
Modulo |
|
||||
ModuloEquals |
|
||||
Return => true,
|
||||
_ => false,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user