mirror of https://github.com/PCSX2/pcsx2.git
Debugger: Allow symbols starting with an underscore in expressions
This commit is contained in:
parent
ce6103be30
commit
7584a6bb29
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue