浏览代码

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

git-svn-id: trunk@29300 -
pierre 10 年之前
父节点
当前提交
905c47ef84
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      compiler/aggas.pas

+ 6 - 1
compiler/aggas.pas

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