Skip to content

Commit

Permalink
Debugger: Allow symbols starting with an underscore in expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoticgd authored and F0bes committed Nov 16, 2024
1 parent ce6103b commit 7584a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/DebugTools/ExpressionParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ bool initPostfixExpression(const char* infix, IExpressionFunctions* funcs, Postf

dest.push_back(ExpressionPair(isFloat?EXCOMM_CONST_FLOAT:EXCOMM_CONST,value));
lastOpcode = EXOP_NUMBER;
} else if ((first >= 'a' && first <= 'z') || first == '@')
} else if ((first >= 'a' && first <= 'z') || first == '@' || first == '_')
{
while (isAlphaNum(infix[infixPos]) && subPos < static_cast<int>(sizeof(subStr)) - 1)
{
Expand Down

0 comments on commit 7584a6b

Please sign in to comment.