浏览代码

* Set declaration returns type of name if named enumeration

git-svn-id: trunk@19623 -
michael 14 年之前
父节点
当前提交
6486057e68
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fcl-passrc/src/pastree.pp

+ 1 - 1
packages/fcl-passrc/src/pastree.pp

@@ -1900,7 +1900,7 @@ Var
   i : Integer;
 
 begin
-  If EnumType is TPasEnumType then
+  If (EnumType is TPasEnumType) and (EnumType.Name='') then
     begin
     S:=TStringList.Create;
     Try