Procházet zdrojové kódy

* renamed afterconstructionblock to constructionblock

git-svn-id: trunk@34449 -
Jonas Maebe před 9 roky
rodič
revize
d22b83ee73
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      compiler/psub.pas

+ 3 - 3
compiler/psub.pas

@@ -719,7 +719,7 @@ implementation
       var
       var
         oldlocalswitches: tlocalswitches;
         oldlocalswitches: tlocalswitches;
         srsym: tsym;
         srsym: tsym;
-        afterconstructionblock,
+        constructionblock,
         exceptblock,
         exceptblock,
         newblock: tblocknode;
         newblock: tblocknode;
         newstatement: tstatementnode;
         newstatement: tstatementnode;
@@ -744,7 +744,7 @@ implementation
                    (srsym.typ=procsym) then
                    (srsym.typ=procsym) then
                   begin
                   begin
                     current_filepos:=exitpos;
                     current_filepos:=exitpos;
-                    afterconstructionblock:=internalstatements(newstatement);
+                    constructionblock:=internalstatements(newstatement);
                     { first execute all constructor code. If no exception
                     { first execute all constructor code. If no exception
                       occurred then we will execute afterconstruction,
                       occurred then we will execute afterconstruction,
                       otherwise we won't (the exception will jump over us) }
                       otherwise we won't (the exception will jump over us) }
@@ -773,7 +773,7 @@ implementation
                           cnilnode.create)),
                           cnilnode.create)),
                         ccallnode.create(nil,tprocsym(srsym),srsym.owner,load_self_node,[],nil),
                         ccallnode.create(nil,tprocsym(srsym),srsym.owner,load_self_node,[],nil),
                         nil));
                         nil));
-                    tocode:=afterconstructionblock;
+                    tocode:=constructionblock;
                   end
                   end
                 else
                 else
                   internalerror(200305106);
                   internalerror(200305106);