mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-07 01:10:39 +01:00
codetools: fixed parsing method
git-svn-id: trunk@22602 -
This commit is contained in:
parent
cf8c233871
commit
b13238d551
@ -4504,7 +4504,7 @@ begin
|
||||
OldPhase:=CurrentPhase;
|
||||
CurrentPhase:=CodeToolPhaseParse;
|
||||
try
|
||||
IsMethod:=ProcNode.Desc in (AllClasses+AllClassSections);
|
||||
IsMethod:=ProcNode.Parent.Desc in (AllClasses+AllClassSections);
|
||||
MoveCursorToNodeStart(ProcNode);
|
||||
ReadNextAtom;
|
||||
if UpAtomIs('CLASS') then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user