sasm: show filename when processing INCBIN
libgen: renamed
This commit is contained in:
parent
91cb059f38
commit
fbc72c5438
2 changed files with 13 additions and 3 deletions
|
|
@ -372,12 +372,17 @@ procedure printPassNo;
|
|||
begin
|
||||
write('P', pass, ' ');
|
||||
end;
|
||||
|
||||
procedure printCurrentLineno;
|
||||
procedure printFilename(var f:string);
|
||||
begin
|
||||
write(#13);
|
||||
printPassNo;
|
||||
write(filename, ' ', lineno);
|
||||
write(f);
|
||||
end;
|
||||
|
||||
procedure printCurrentLineno;
|
||||
begin
|
||||
printFilename(filename);
|
||||
write(' ', lineno);
|
||||
ClrEol;
|
||||
end;
|
||||
|
||||
|
|
@ -2047,6 +2052,9 @@ var f:InputFileType;
|
|||
i:integer;
|
||||
size:integer;
|
||||
begin
|
||||
printFilename(filename);
|
||||
ClrEol;
|
||||
|
||||
openFileWithDefault(f, filename);
|
||||
size := filesize(f);
|
||||
|
||||
|
|
@ -2065,6 +2073,8 @@ begin
|
|||
end;
|
||||
|
||||
close(f);
|
||||
|
||||
printCurrentLineno;
|
||||
end;
|
||||
|
||||
procedure parseMetaDirective;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue