mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 20:49:09 +02:00
* 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:
parent
406e3c4ac1
commit
f73b3c6e4b
@ -410,6 +410,7 @@ begin
|
|||||||
Writeln(hstdout^,BackTraceStrFunc(Exc^.Frames[i]));
|
Writeln(hstdout^,BackTraceStrFunc(Exc^.Frames[i]));
|
||||||
end;
|
end;
|
||||||
Writeln(hstdout^,'');
|
Writeln(hstdout^,'');
|
||||||
|
ErrorCode:=word(code);
|
||||||
Halt(code);
|
Halt(code);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user