mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 13:49:11 +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;
|
ModuleVersion: array [0..3] of Byte;
|
||||||
i: Integer;
|
i: Integer;
|
||||||
begin
|
begin
|
||||||
|
FReader:=AReader;
|
||||||
|
InputFileName:=AReader.FileName;
|
||||||
objdata:=CObjData.Create(InputFileName);
|
objdata:=CObjData.Create(InputFileName);
|
||||||
result:=false;
|
result:=false;
|
||||||
if not AReader.read(ModuleMagic,4) then
|
if not AReader.read(ModuleMagic,4) then
|
||||||
|
Loading…
Reference in New Issue
Block a user