summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2026-01-17 19:10:50 -0500
committerGitHub <noreply@github.com>2026-01-17 19:10:50 -0500
commit035bcffc63ecc803abeb6987f66a5b2f78f5f0bc (patch)
treeb46f7ec3d376fc2fef5ac0d2f48769b0e23e9353 /Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
parentd098f2bba9fac19d90526fb9f7aceb0bb405b4b4 (diff)
parent1e0473e44f5e21558d75b0121bd935bb50825c26 (diff)
Merge pull request #14289 from Sintendo/typos
Fix various typos and spelling mistakes
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ExpressionParser.cpp')
-rw-r--r--Source/Core/InputCommon/ControlReference/ExpressionParser.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
index 8de2b6ef56..daa654e48c 100644
--- a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
+++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
@@ -130,11 +130,11 @@ Lexer::Lexer(std::string expr_) : expr(std::move(expr_))
it = expr.begin();
}
-Token Lexer::GetDelimitedToken(TokenType type, char delimeter)
+Token Lexer::GetDelimitedToken(TokenType type, char delimiter)
{
- const std::string value = FetchCharsWhile([&](char c) { return c != delimeter && c != '\n'; });
+ const std::string value = FetchCharsWhile([&](char c) { return c != delimiter && c != '\n'; });
- if (it == expr.end() || *it != delimeter)
+ if (it == expr.end() || *it != delimiter)
return Token(TOK_INVALID);
++it;
@@ -639,7 +639,8 @@ private:
// right-hand child. Its intended use is for supporting old-style barewords expressions.
// Note that if you have a keyboard device as default device and the expression is a single digit
// number, this will usually resolve in a numerical key instead of a numerical value.
-// Though if this expression belongs to NumericSetting, it will likely be simplifed back to a value.
+// Though if this expression belongs to NumericSetting, it will likely be simplified back to a
+// value.
class CoalesceExpression : public Expression
{
public: