Converter: support class defintion in implementation section.

git-svn-id: trunk@27326 -
This commit is contained in:
juha 2010-09-12 11:15:52 +00:00
parent 0f7bdce052
commit 017b48771a

View File

@ -432,7 +432,7 @@ begin
with fCodeTool do begin
BuildTree(true);
// Find the class name that the main class inherits from.
ANode:=FindClassNodeInInterface(AClassName,true,false,false);
ANode:=FindClassNodeInUnit(AClassName,true,false,false,false);
if ANode=nil then exit;
BuildSubTreeForClass(ANode);
InheritanceNode:=FindInheritanceNode(ANode);