mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:38:14 +02:00
* add filename before eparsererror and reraise closes 0040958
This commit is contained in:
parent
9ea7aa74b5
commit
4300e2cfcc
@ -114,7 +114,15 @@ begin
|
||||
TRCResourceReader(aReader).RCDefines.Assign(fRCDefines);
|
||||
SetCurrentDir(ExtractFilePath(ExpandFileName(fFileList[i])));
|
||||
end;
|
||||
tmpres.LoadFromStream(aStream,aReader);
|
||||
try
|
||||
tmpres.LoadFromStream(aStream,aReader);
|
||||
except
|
||||
on e :EParserError do
|
||||
begin
|
||||
e.message:=fFileList[i]+': '+e.message;
|
||||
raise;
|
||||
end;
|
||||
end;
|
||||
aResources.MoveFrom(tmpres);
|
||||
Messages.DoVerbose('Resource information read');
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user