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

git-svn-id: trunk@33419 -
This commit is contained in:
sergei 2016-04-03 22:26:10 +00:00
parent 406e3c4ac1
commit f73b3c6e4b

View File

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