- added handling for shift and bit operators.
- added the '>>>' (unsigned shift) operator. Although, with unsigned numbers available, this is technically not really needed, DECORATE supports this so ZScript should, too, if only for the benefit of making conversion tools easier to handle.
This commit is contained in:
parent
938ab4ca70
commit
23a2a19a78
5 changed files with 19 additions and 4 deletions
|
|
@ -95,6 +95,7 @@ static void InitTokenMap()
|
|||
TOKENDEF ('&', ZCC_AND);
|
||||
TOKENDEF (TK_LShift, ZCC_LSH);
|
||||
TOKENDEF (TK_RShift, ZCC_RSH);
|
||||
TOKENDEF (TK_URShift, ZCC_URSH);
|
||||
TOKENDEF ('-', ZCC_SUB);
|
||||
TOKENDEF ('+', ZCC_ADD);
|
||||
TOKENDEF ('*', ZCC_MUL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue