mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 08:28:14 +02:00
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:
parent
a8a9c4e9fb
commit
4fde982e86
@ -3114,6 +3114,8 @@ begin
|
||||
ReadNextAtom;
|
||||
if AtomIsChar('(') then begin
|
||||
ReadNextAtom;
|
||||
if UpAtomIs('SPECIALIZE') then
|
||||
ReadNextAtom;
|
||||
if AtomIsIdentifier then
|
||||
AncestorClassName:=GetAtom;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user