* allow assembler labels to be used in typed consts

git-svn-id: trunk@3590 -
This commit is contained in:
florian 2006-05-20 10:18:46 +00:00
parent 307315cef6
commit 627c7f2ae0

View File

@ -63,6 +63,7 @@ interface
constructor create(const n : string);
constructor ppuload(ppufile:tcompilerppufile);
procedure ppuwrite(ppufile:tcompilerppufile);override;
function mangledname:string;
end;
tunitsym = class(Tstoredsym)
@ -474,6 +475,16 @@ implementation
end;
function tlabelsym.mangledname:string;
begin
if not(defined) then
begin
defined:=true;
current_asmdata.getjumplabel(asmblocklabel);
end;
result:=asmblocklabel.getname;
end;
{****************************************************************************
TUNITSYM
****************************************************************************}