* indexes in vecn's are only read, not written

git-svn-id: trunk@1976 -
This commit is contained in:
Jonas Maebe 2005-12-17 15:20:33 +00:00
parent c3f678e8df
commit 62cbd007f1

View File

@ -772,7 +772,7 @@ implementation
p:=tunarynode(p).left;
vecn:
begin
set_varstate(tbinarynode(p).right,vs_readwritten,[vsf_must_be_valid]);
set_varstate(tbinarynode(p).right,vs_read,[vsf_must_be_valid]);
if not(tunarynode(p).left.resulttype.def.deftype in [stringdef,arraydef]) then
include(varstateflags,vsf_must_be_valid);
p:=tunarynode(p).left;