mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-16 15:58:16 +02:00
* equivalent of r32602 for subscriptnodes; couldn't find a test that fails
without this patch, but just like with arrays, writing part of a record should mark the record itself as modified git-svn-id: trunk@33195 -
This commit is contained in:
parent
805385791b
commit
7005dec9b4
@ -1109,6 +1109,9 @@ implementation
|
|||||||
procedure Tvecnode.mark_write;
|
procedure Tvecnode.mark_write;
|
||||||
begin
|
begin
|
||||||
include(flags,nf_write);
|
include(flags,nf_write);
|
||||||
|
{ see comment in tsubscriptnode.mark_write }
|
||||||
|
if not(is_implicit_pointer_object_type(left.resultdef)) then
|
||||||
|
left.mark_write;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user