mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:29:28 +02:00
* better error reporting
git-svn-id: trunk@24242 -
This commit is contained in:
parent
2fdd3e2d0a
commit
99f2e57e42
@ -742,7 +742,7 @@ end;
|
||||
|
||||
class procedure TFPList.Error(const Msg: string; Data: PtrInt);
|
||||
begin
|
||||
Raise EListError.CreateFmt(Msg,[Data]) at get_caller_addr(get_frame);
|
||||
Raise EListError.CreateFmt(Msg,[Data]) at get_caller_addr(get_frame), get_caller_frame(get_frame);
|
||||
end;
|
||||
|
||||
procedure TFPList.Exchange(Index1, Index2: Integer);
|
||||
@ -1440,7 +1440,7 @@ end;
|
||||
|
||||
class procedure TFPHashList.Error(const Msg: string; Data: PtrInt);
|
||||
begin
|
||||
Raise EListError.CreateFmt(Msg,[Data]) at get_caller_addr(get_frame);
|
||||
Raise EListError.CreateFmt(Msg,[Data]) at get_caller_addr(get_frame), get_caller_frame(get_frame);
|
||||
end;
|
||||
|
||||
function TFPHashList.Expand: TFPHashList;
|
||||
|
Loading…
Reference in New Issue
Block a user