|
@@ -143,7 +143,9 @@ implementation
|
|
locref:=nil;
|
|
locref:=nil;
|
|
{ avoid uninitialised warning }
|
|
{ avoid uninitialised warning }
|
|
arrptrelementdef:=nil;
|
|
arrptrelementdef:=nil;
|
|
- if not arraytopointerconverted then
|
|
|
|
|
|
+ if not arraytopointerconverted and
|
|
|
|
+ not is_dynamicstring(left.resultdef) and
|
|
|
|
+ not is_dynamic_array(left.resultdef) then
|
|
begin
|
|
begin
|
|
{ the result is currently a pointer to left.resultdef (the array type)
|
|
{ the result is currently a pointer to left.resultdef (the array type)
|
|
-> convert it into a pointer to an element inside this array }
|
|
-> convert it into a pointer to an element inside this array }
|