mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-21 02:09:36 +02:00
* also escape the field names of records when used as source in fpcDeepCopy()
git-svn-id: branches/jvmbackend@18669 -
This commit is contained in:
parent
7286e3b645
commit
3a983d8ea5
@ -367,7 +367,7 @@ implementation
|
|||||||
if (sym.typ=fieldvarsym) then
|
if (sym.typ=fieldvarsym) then
|
||||||
begin
|
begin
|
||||||
fsym:=tfieldvarsym(sym);
|
fsym:=tfieldvarsym(sym);
|
||||||
str:=str+'result.&'+fsym.realname+':='+fsym.realname+';';
|
str:=str+'result.&'+fsym.realname+':=&'+fsym.realname+';';
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
str:=str+'end;';
|
str:=str+'end;';
|
||||||
|
Loading…
Reference in New Issue
Block a user