mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 13:31:20 +02:00
* MASM and NASM assembler writers, added check for InlineLevel>0 so it suppresses entire source file processing, not just output of source lines. Without this, auto-generated instructions cause output of bogus line information. GAS writer already has similar check.
git-svn-id: trunk@16581 -
This commit is contained in:
parent
d900dcb78f
commit
34ffb184a8
@ -552,7 +552,7 @@ interface
|
||||
begin
|
||||
hp1:=hp as tailineinfo;
|
||||
current_filepos:=hp1.fileinfo;
|
||||
if do_line then
|
||||
if do_line and (InlineLevel=0) then
|
||||
begin
|
||||
{ load infile }
|
||||
if lastfileinfo.fileindex<>hp1.fileinfo.fileindex then
|
||||
|
@ -474,7 +474,7 @@ implementation
|
||||
while assigned(hp) do
|
||||
begin
|
||||
if do_line and not(hp.typ in SkipLineInfo) and
|
||||
not DoNotSplitLine then
|
||||
not DoNotSplitLine and (InlineLevel=0) then
|
||||
begin
|
||||
hp1:=hp as tailineinfo;
|
||||
{ load infile }
|
||||
|
Loading…
Reference in New Issue
Block a user