allow unary after compound and new binary operators

This commit is contained in:
Lukáš Hozda 2017-11-01 23:09:07 +01:00
parent 2421ccb662
commit 3c8feab630

View File

@ -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,
}