Procházet zdrojové kódy

* Also assign the ErrorCode variable, which is being checked by some tests like test/tstack.pp.

git-svn-id: trunk@33419 -
sergei před 9 roky
rodič
revize
f73b3c6e4b
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      rtl/win64/seh64.inc

+ 1 - 0
rtl/win64/seh64.inc

@@ -410,6 +410,7 @@ begin
           Writeln(hstdout^,BackTraceStrFunc(Exc^.Frames[i]));
       end;
       Writeln(hstdout^,'');
+      ErrorCode:=word(code);
       Halt(code);
     end
     else