Revert address of array type to pointer to array

not realy sure why I changed it in the first place
This commit is contained in:
drmortalwombat 2024-09-19 07:47:34 +02:00
parent 40001164d4
commit dec7580d8d

View File

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