Przeglądaj źródła

* Set declaration returns type of name if named enumeration

git-svn-id: trunk@19623 -
michael 14 lat temu
rodzic
commit
6486057e68
1 zmienionych plików z 1 dodań i 1 usunięć
  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