mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-16 16:43:27 +00:00
fix(menus): make functions case insensitive
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -92,6 +92,7 @@ std::unique_ptr<ISimpleExpression> MenuExpressionMatchers::ProcessOperandExtensi
|
||||
|
||||
const auto& functionCallToken = result.NextCapture(CAPTURE_FUNCTION_NAME);
|
||||
auto functionCallName = functionCallToken.IdentifierValue();
|
||||
utils::MakeStringLowerCase(functionCallName);
|
||||
|
||||
const auto& baseFunctionMap = GetBaseFunctionMapForFeatureLevel(m_state->m_feature_level);
|
||||
const auto foundBaseFunction = baseFunctionMap.find(functionCallName);
|
||||
|
||||
Reference in new issue
Block a user