From 064fed63f592be05c73a883a6007d087f7bc9aaf Mon Sep 17 00:00:00 2001 From: drmortalwombat <90205530+drmortalwombat@users.noreply.github.com> Date: Sun, 4 May 2025 16:18:07 +0200 Subject: [PATCH] Fix operator() call on reference parameter --- oscar64/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oscar64/Parser.cpp b/oscar64/Parser.cpp index 89493e5..638d882 100644 --- a/oscar64/Parser.cpp +++ b/oscar64/Parser.cpp @@ -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;