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