* 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:
sergei 2010-12-17 18:03:56 +00:00
parent d900dcb78f
commit 34ffb184a8
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 }