* 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:
marco 2010-11-13 11:30:29 +00:00
parent 9248019e12
commit 1beef3f3f5

View File

@ -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;