mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:39:10 +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;
|
ReadNextAtom;
|
||||||
if AtomIsChar('(') then begin
|
if AtomIsChar('(') then begin
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
|
if UpAtomIs('SPECIALIZE') then
|
||||||
|
ReadNextAtom;
|
||||||
if AtomIsIdentifier then
|
if AtomIsIdentifier then
|
||||||
AncestorClassName:=GetAtom;
|
AncestorClassName:=GetAtom;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user