Преглед изворни кода

* 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