codetools: fixed parsing method

git-svn-id: trunk@22602 -
This commit is contained in:
mattias 2009-11-15 15:55:48 +00:00
parent cf8c233871
commit b13238d551

View File

@ -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