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:
parent
40001164d4
commit
dec7580d8d
|
@ -1187,9 +1187,9 @@ Declaration* Declaration::BuildArrayPointer(void)
|
||||||
|
|
||||||
Declaration* Declaration::BuildAddressOfPointer(void)
|
Declaration* Declaration::BuildAddressOfPointer(void)
|
||||||
{
|
{
|
||||||
if (mType == DT_TYPE_ARRAY)
|
/*if (mType == DT_TYPE_ARRAY)
|
||||||
return BuildArrayPointer();
|
return BuildArrayPointer();
|
||||||
else if (mType == DT_TYPE_REFERENCE)
|
else*/ if (mType == DT_TYPE_REFERENCE)
|
||||||
return mBase->BuildAddressOfPointer();
|
return mBase->BuildAddressOfPointer();
|
||||||
else
|
else
|
||||||
return BuildPointer(mLocation);
|
return BuildPointer(mLocation);
|
||||||
|
|
Loading…
Reference in New Issue