Fix error with .ref pseudo-op. with assembler labels that still had dollar signs on AIX assembler

git-svn-id: trunk@29300 -
This commit is contained in:
pierre 2014-12-15 09:10:50 +00:00
parent 7c42cb8b0c
commit 905c47ef84

View File

@ -1452,7 +1452,12 @@ implementation
begin
WriteDirectiveName(tai_directive(hp).directive);
if tai_directive(hp).name <>'' then
AsmWrite(tai_directive(hp).name);
begin
if replaceforbidden then
AsmWrite(ReplaceForbiddenAsmSymbolChars(tai_directive(hp).name))
else
AsmWrite(tai_directive(hp).name);
end;
AsmLn;
end;