mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
* fixed exceptionhandling scanner (2nd attempt to load file was not in an try..except). Bug reported on German laz forum
git-svn-id: trunk@16333 -
This commit is contained in:
parent
9248019e12
commit
1beef3f3f5
@ -501,8 +501,12 @@ begin
|
||||
if BaseDirectory<>'' then
|
||||
begin
|
||||
FN:=SearchLowUpCase(BaseDirectory+AName);
|
||||
If (FN<>'') then
|
||||
try
|
||||
If (FN<>'') then
|
||||
Result := TFileLineReader.Create(FN);
|
||||
except
|
||||
Result:=nil;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user