summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-03-10 15:04:14 -0400
committerGitHub <noreply@github.com>2025-03-10 15:04:14 -0400
commit189d09011b321964ca15a30653838c30e9194e29 (patch)
tree3488cf575150447c0a126fb12b54106e8d9665db /Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
parent3f73a39dbde20bf3e2f9dd6550d2f71e4b51f344 (diff)
parent5b4d4ca5eb1284edd4d5bfd6c6b0802e35bd6c17 (diff)
Merge pull request #13363 from JoshuaVandaele/nowarnings
Fix multiple minor warnings
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ExpressionParser.cpp')
-rw-r--r--Source/Core/InputCommon/ControlReference/ExpressionParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
index 5fccc2feef..df146f425c 100644
--- a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
+++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp
@@ -26,12 +26,12 @@ using namespace ciface::Core;
class ControlExpression;
// Check if operator is usable with assignment, e.g. += -= *=
-bool IsCompoundAssignmentUsableBinaryOperator(TokenType type)
+static bool IsCompoundAssignmentUsableBinaryOperator(TokenType type)
{
return type >= TOK_COMPOUND_ASSIGN_OPS_BEGIN && type < TOK_COMPOUND_ASSIGN_OPS_END;
}
-TokenType GetBinaryOperatorTokenTypeFromChar(char c)
+static TokenType GetBinaryOperatorTokenTypeFromChar(char c)
{
switch (c)
{
@@ -744,7 +744,7 @@ ParseResult ParseResult::MakeErrorResult(Token token, std::string description)
return result;
}
-bool IsInertToken(const Token& tok)
+static bool IsInertToken(const Token& tok)
{
return tok.type == TOK_COMMENT || tok.type == TOK_WHITESPACE;
}