mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Incorrectly removed %=. Now restored with tests.
This commit is contained in:
@@ -192,6 +192,7 @@ BinaryOp binary_op[TOKEN_LAST + 1] = {
|
||||
[TOKEN_PLUS_ASSIGN] = BINARYOP_ADD_ASSIGN,
|
||||
[TOKEN_MINUS_ASSIGN] = BINARYOP_SUB_ASSIGN,
|
||||
[TOKEN_DIV_ASSIGN] = BINARYOP_DIV_ASSIGN,
|
||||
[TOKEN_MOD_ASSIGN] = BINARYOP_MOD_ASSIGN,
|
||||
[TOKEN_BIT_AND_ASSIGN] = BINARYOP_BIT_AND_ASSIGN,
|
||||
[TOKEN_BIT_OR_ASSIGN] = BINARYOP_BIT_OR_ASSIGN,
|
||||
[TOKEN_BIT_XOR_ASSIGN] = BINARYOP_BIT_XOR_ASSIGN,
|
||||
@@ -205,6 +206,7 @@ static BinaryOp assign_binop[BINARYOP_LAST + 1] = {
|
||||
[BINARYOP_ADD_ASSIGN] = BINARYOP_ADD,
|
||||
[BINARYOP_SUB_ASSIGN] = BINARYOP_SUB,
|
||||
[BINARYOP_DIV_ASSIGN] = BINARYOP_DIV,
|
||||
[BINARYOP_MOD_ASSIGN] = BINARYOP_MOD,
|
||||
[BINARYOP_BIT_AND_ASSIGN] = BINARYOP_BIT_AND,
|
||||
[BINARYOP_BIT_OR_ASSIGN] = BINARYOP_BIT_OR,
|
||||
[BINARYOP_BIT_XOR_ASSIGN] = BINARYOP_BIT_XOR,
|
||||
|
||||
Reference in New Issue
Block a user