+ set oper.haslabelref in several other places, where a reference, containing a

label is created in the intel syntax x86 assembler. This fixes tfarcal3.pp and
  tfarcal4.pp after r37538

git-svn-id: trunk@37541 -
This commit is contained in:
nickysn 2017-11-01 14:31:16 +00:00
parent 9649154368
commit e5dad9c98c

View File

@ -1299,6 +1299,7 @@ Unit Rax86int;
begin begin
CreateLocalLabel(tempstr,hl,false); CreateLocalLabel(tempstr,hl,false);
oper.InitRef; oper.InitRef;
oper.haslabelref:=true;
if not negative then if not negative then
begin begin
oper.opr.ref.symbol:=hl; oper.opr.ref.symbol:=hl;
@ -1693,6 +1694,7 @@ Unit Rax86int;
begin begin
oper.InitRef; oper.InitRef;
oper.opr.ref.symbol:=hl; oper.opr.ref.symbol:=hl;
oper.haslabelref:=true;
{$ifdef i8086} {$ifdef i8086}
if oper.opr.ref.segment=NR_NO then if oper.opr.ref.segment=NR_NO then
oper.opr.ref.segment:=NR_CS; oper.opr.ref.segment:=NR_CS;