Debugger: Allow symbols starting with an underscore in expressions

This commit is contained in:
chaoticgd 2024-11-15 02:21:01 +00:00 committed by Ty
parent ce6103be30
commit 7584a6bb29
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{