Sfoglia il codice sorgente

* Fix bug #37533: extra type section starts

git-svn-id: trunk@46350 -
michael 5 anni fa
parent
commit
19b21701a3
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      packages/fcl-passrc/src/paswrite.pp

+ 2 - 0
packages/fcl-passrc/src/paswrite.pp

@@ -819,7 +819,9 @@ begin
     end;
   AddLn(Temp);
   IncIndent;
+  IncDeclSectionLevel;
   WriteMembers(AType.Members,visPublic);
+  DecDeclSectionLevel;
   DecIndent;
   Add('end');
 end;