From dec7580d8d6c89c8fe54c0cda77da3a431cdf471 Mon Sep 17 00:00:00 2001 From: drmortalwombat <90205530+drmortalwombat@users.noreply.github.com> Date: Thu, 19 Sep 2024 07:47:34 +0200 Subject: [PATCH] Revert address of array type to pointer to array not realy sure why I changed it in the first place --- oscar64/Declaration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oscar64/Declaration.cpp b/oscar64/Declaration.cpp index bec59cf..6101ccc 100644 --- a/oscar64/Declaration.cpp +++ b/oscar64/Declaration.cpp @@ -1187,9 +1187,9 @@ Declaration* Declaration::BuildArrayPointer(void) Declaration* Declaration::BuildAddressOfPointer(void) { - if (mType == DT_TYPE_ARRAY) + /*if (mType == DT_TYPE_ARRAY) return BuildArrayPointer(); - else if (mType == DT_TYPE_REFERENCE) + else*/ if (mType == DT_TYPE_REFERENCE) return mBase->BuildAddressOfPointer(); else return BuildPointer(mLocation);