codetools: parser: Compatibility with FPC management operators: rename Copy to AddRef and Clone to Copy

git-svn-id: trunk@54196 -
This commit is contained in:
hnb 2017-02-19 16:43:30 +00:00
parent d45b1fe5cd
commit 11563b2959

View File

@ -332,7 +332,7 @@ begin
if IsOperator then begin
AtomIsCustomOperator(true,true,true);
IsFunction:=not (UpAtomIs('INITIALIZE') or UpAtomIs('FINALIZE')
or UpAtomIs('COPY') or UpAtomIs('CLONE'));
or UpAtomIs('ADDREF') or UpAtomIs('COPY'));
end else
AtomIsIdentifierSaveE;
end;