summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference/ExpressionParser.h
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2024-11-06 19:13:33 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2024-11-07 08:31:25 -0600
commit5078a63084121fa31d6d763dfa30ba5b0f99f040 (patch)
tree5c16040323bd993ecacfdf6ebc389c3d6fbd0280 /Source/Core/InputCommon/ControlReference/ExpressionParser.h
parent7e1074b140809b0da7aa7d02b6303a68cc351be2 (diff)
InputCommon: Add ternary conditional operator to input expressions.
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ExpressionParser.h')
-rw-r--r--Source/Core/InputCommon/ControlReference/ExpressionParser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.h b/Source/Core/InputCommon/ControlReference/ExpressionParser.h
index bc39762127..4952915ced 100644
--- a/Source/Core/InputCommon/ControlReference/ExpressionParser.h
+++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.h
@@ -26,6 +26,8 @@ enum TokenType
TOK_BAREWORD,
TOK_COMMENT,
TOK_HOTKEY,
+ TOK_QUESTION,
+ TOK_COLON,
// Binary Ops:
TOK_BINARY_OPS_BEGIN,
TOK_AND = TOK_BINARY_OPS_BEGIN,