Pārlūkot izejas kodu

* Set declaration returns type of name if named enumeration

git-svn-id: trunk@19623 -
michael 14 gadi atpakaļ
vecāks
revīzija
6486057e68
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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