Codetools: Find form's ancestor also when a generic form is specialized. Issue #37396, patch from Imants Gulbis.

git-svn-id: trunk@63627 -
This commit is contained in:
juha 2020-07-22 20:16:22 +00:00
parent a8a9c4e9fb
commit 4fde982e86

View File

@ -3114,6 +3114,8 @@ begin
ReadNextAtom;
if AtomIsChar('(') then begin
ReadNextAtom;
if UpAtomIs('SPECIALIZE') then
ReadNextAtom;
if AtomIsIdentifier then
AncestorClassName:=GetAtom;
end;