mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 11:09:19 +02:00
* set FReader and InputFileName in the beginning of TWasmObjInput.ReadObjData
This commit is contained in:
parent
e7f6da4cb0
commit
8a7743b566
@ -2789,6 +2789,8 @@ implementation
|
||||
ModuleVersion: array [0..3] of Byte;
|
||||
i: Integer;
|
||||
begin
|
||||
FReader:=AReader;
|
||||
InputFileName:=AReader.FileName;
|
||||
objdata:=CObjData.Create(InputFileName);
|
||||
result:=false;
|
||||
if not AReader.read(ModuleMagic,4) then
|
||||
|
Loading…
Reference in New Issue
Block a user