Browse Source

* catch doesn't call popaddrstack anymore, this is done now by the compiler

florian 26 years ago
parent
commit
95b0c00463
1 changed files with 9 additions and 3 deletions
  1. 9 3
      rtl/inc/except.inc

+ 9 - 3
rtl/inc/except.inc

@@ -191,8 +191,11 @@ begin
       // catch !
       // catch !
       Catches:=ExceptObjectStack^.FObject;
       Catches:=ExceptObjectStack^.FObject;
       { this can't be done, because there could be a reraise (PFV)
       { this can't be done, because there could be a reraise (PFV)
-       PopObjectStack; }
-      PopAddrStack;
+       PopObjectStack;
+
+       Also the PopAddrStack shouldn't be done, we do it now
+       immediatly in the exception handler (FK)
+      PopAddrStack; }
     end;
     end;
 end;
 end;
 
 
@@ -212,7 +215,10 @@ begin
 end;
 end;
 {
 {
   $Log$
   $Log$
-  Revision 1.12  1999-07-26 12:11:28  florian
+  Revision 1.13  1999-07-27 08:14:15  florian
+    * catch doesn't call popaddrstack anymore, this is done now by the compiler
+
+  Revision 1.12  1999/07/26 12:11:28  florian
     * reraise doesn't call popaddrstack anymode
     * reraise doesn't call popaddrstack anymode
 
 
   Revision 1.11  1999/06/14 00:47:35  peter
   Revision 1.11  1999/06/14 00:47:35  peter