codetools: fixed sub parsing class interface

git-svn-id: trunk@26803 -
This commit is contained in:
mattias 2010-07-24 10:33:33 +00:00
parent 978187a18d
commit 11e862fcaa

View File

@ -719,7 +719,7 @@ procedure TPascalParserTool.BuildSubTreeForClass(ClassNode: TCodeTreeNode);
var OldPhase: integer; var OldPhase: integer;
begin begin
if not (ClassNode.Desc in AllClassObjects) then if not (ClassNode.Desc in AllClasses) then
RaiseClassDescInvalid; RaiseClassDescInvalid;
if (ClassNode.SubDesc and ctnsNeedJITParsing)=0 then begin if (ClassNode.SubDesc and ctnsNeedJITParsing)=0 then begin
// class already parsed // class already parsed