mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
InputCommon/ExpressionParser: Add compound assignment operators.
This commit is contained in:
parent
84d28a4272
commit
cdabd651aa
2 changed files with 102 additions and 40 deletions
|
@ -30,18 +30,20 @@ enum TokenType
|
|||
TOK_COLON,
|
||||
// Binary Ops:
|
||||
TOK_BINARY_OPS_BEGIN,
|
||||
TOK_COMPOUND_ASSIGN_OPS_BEGIN = TOK_BINARY_OPS_BEGIN,
|
||||
TOK_AND = TOK_BINARY_OPS_BEGIN,
|
||||
TOK_OR,
|
||||
TOK_XOR,
|
||||
TOK_ADD,
|
||||
TOK_SUB,
|
||||
TOK_MUL,
|
||||
TOK_DIV,
|
||||
TOK_MOD,
|
||||
TOK_ASSIGN,
|
||||
TOK_COMPOUND_ASSIGN_OPS_END,
|
||||
TOK_ASSIGN = TOK_COMPOUND_ASSIGN_OPS_END,
|
||||
TOK_LTHAN,
|
||||
TOK_GTHAN,
|
||||
TOK_COMMA,
|
||||
TOK_XOR,
|
||||
TOK_BINARY_OPS_END,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue