mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 19:39:31 +02:00
* set correct fileinfo for the asmnodes (so that the start fileinfo of
assembler functions doesn't get changed into the end fileinfo) git-svn-id: trunk@20825 -
This commit is contained in:
parent
3ad16429bf
commit
1f9d8420b6
@ -995,12 +995,15 @@ implementation
|
||||
Marker : tai;
|
||||
reg : tregister;
|
||||
asmreader : tbaseasmreader;
|
||||
entrypos : tfileposinfo;
|
||||
begin
|
||||
Inside_asm_statement:=true;
|
||||
if assigned(asmmodeinfos[current_settings.asmmode]) then
|
||||
begin
|
||||
asmreader:=asmmodeinfos[current_settings.asmmode]^.casmreader.create;
|
||||
entrypos:=current_filepos;
|
||||
asmstat:=casmnode.create(asmreader.assemble as TAsmList);
|
||||
asmstat.fileinfo:=entrypos;
|
||||
asmreader.free;
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user