mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:09:33 +02:00
Avoid range check error in ReadPosInfo
git-svn-id: trunk@40115 -
This commit is contained in:
parent
bf3bedb2d4
commit
9c2ac7b3dd
@ -1059,7 +1059,7 @@ begin
|
||||
Writeln([fileindex,' (',line,',',column,')']);
|
||||
if Def <> nil then
|
||||
begin
|
||||
Def.FilePos.FileIndex:=fileindex - 1;
|
||||
Def.FilePos.FileIndex:=fileindex;
|
||||
Def.FilePos.Line:=line;
|
||||
Def.FilePos.Col:=column;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user