Fix operator() call on reference parameter

This commit is contained in:
drmortalwombat 2025-05-04 16:18:07 +02:00
parent f43f471124
commit 064fed63f5

View File

@ -8104,7 +8104,7 @@ Expression* Parser::ParsePostfixExpression(bool lhs)
thisExp = new Expression(exp->mLocation, EX_PREFIX);
thisExp->mToken = TK_BINARY_AND;
thisExp->mLeft = exp;
thisExp->mDecType = exp->mDecType->BuildPointer(exp->mLocation);
thisExp->mDecType = tdec->BuildPointer(exp->mLocation);
exp = new Expression(exp->mLocation, EX_CONSTANT);
exp->mDecValue = mdec;