mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 19:25:58 +02:00
- fixed bra #.label assembler errors hopefully
git-svn-id: trunk@5492 -
This commit is contained in:
parent
0d97f9ab6c
commit
119cdbb772
@ -198,19 +198,19 @@ interface
|
|||||||
top_ref:
|
top_ref:
|
||||||
if o.ref^.refaddr=addr_full then
|
if o.ref^.refaddr=addr_full then
|
||||||
begin
|
begin
|
||||||
if assigned(o.ref^.symbol) then
|
if assigned(o.ref^.symbol) then
|
||||||
hs:='#'+o.ref^.symbol.name
|
hs:=o.ref^.symbol.name
|
||||||
else
|
else
|
||||||
hs:='#';
|
hs:='#';
|
||||||
if o.ref^.offset>0 then
|
if o.ref^.offset>0 then
|
||||||
hs:=hs+'+'+tostr(o.ref^.offset)
|
hs:=hs+'+'+tostr(o.ref^.offset)
|
||||||
else
|
else
|
||||||
if o.ref^.offset<0 then
|
if o.ref^.offset<0 then
|
||||||
hs:=hs+tostr(o.ref^.offset)
|
hs:=hs+tostr(o.ref^.offset)
|
||||||
else
|
else
|
||||||
if not(assigned(o.ref^.symbol)) then
|
if not(assigned(o.ref^.symbol)) then
|
||||||
hs:=hs+'0';
|
hs:=hs+'0';
|
||||||
getopstr:=hs;
|
getopstr:=hs;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
getopstr:=getreferencestring(o.ref^);
|
getopstr:=getreferencestring(o.ref^);
|
||||||
|
Loading…
Reference in New Issue
Block a user