mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 19:49:46 +02:00
* set filepos better
git-svn-id: branches/debug_eh@41284 -
This commit is contained in:
parent
e2c83edc2a
commit
b81cc7fbaf
@ -872,6 +872,7 @@ implementation
|
||||
t:ttoken;
|
||||
unit_found:boolean;
|
||||
oldcurrent_exceptblock: integer;
|
||||
filepostry : tfileposinfo;
|
||||
begin
|
||||
p_default:=nil;
|
||||
p_specific:=nil;
|
||||
@ -880,6 +881,7 @@ implementation
|
||||
|
||||
{ read statements to try }
|
||||
consume(_TRY);
|
||||
filepostry:=current_filepos;
|
||||
first:=nil;
|
||||
inc(exceptblockcounter);
|
||||
oldcurrent_exceptblock := current_exceptblock;
|
||||
@ -911,6 +913,7 @@ implementation
|
||||
current_exceptblock := exceptblockcounter;
|
||||
p_finally_block:=statements_til_end;
|
||||
try_statement:=ctryfinallynode.create(p_try_block,p_finally_block);
|
||||
try_statement.fileinfo:=filepostry;
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user