Parcourir la source

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

git-svn-id: trunk@29300 -
pierre il y a 10 ans
Parent
commit
905c47ef84
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  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;