Prechádzať zdrojové kódy

pastojs: filer: fixed writing class destructor

git-svn-id: trunk@49043 -
(cherry picked from commit 6fb57f8a92ca95af55ccd02a65a1fb669213c146)
Mattias Gaertner 4 rokov pred
rodič
commit
0b7c5d2485
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      packages/pastojs/src/pas2jsfiler.pp

+ 1 - 1
packages/pastojs/src/pas2jsfiler.pp

@@ -3806,7 +3806,7 @@ begin
     else if C=TPasDestructor then
     else if C=TPasDestructor then
       Obj.Add('Type','Destructor')
       Obj.Add('Type','Destructor')
     else if C=TPasClassDestructor then
     else if C=TPasClassDestructor then
-      Obj.Add('Type','Class Destructor')
+      Obj.Add('Type','ClassDestructor')
     else if C=TPasAnonymousProcedure then
     else if C=TPasAnonymousProcedure then
       Obj.Add('Type','AnonymousProcedure')
       Obj.Add('Type','AnonymousProcedure')
     else if C=TPasAnonymousFunction then
     else if C=TPasAnonymousFunction then