* avoid string truncation for ait_symbolpair in assembler writer

git-svn-id: trunk@30199 -
This commit is contained in:
Jonas Maebe 2015-03-14 18:35:34 +00:00
parent fb27dff638
commit 9a73c9a460

View File

@ -1366,9 +1366,17 @@ implementation
start till here of the non-local entry code as second argument } start till here of the non-local entry code as second argument }
s:=', .-'; s:=', .-';
if replaceforbidden then if replaceforbidden then
AsmWriteLn(ReplaceForbiddenAsmSymbolChars(tai_symbolpair(hp).sym^)+s+ReplaceForbiddenAsmSymbolChars(tai_symbolpair(hp).value^)) begin
{ avoid string truncation }
AsmWrite(ReplaceForbiddenAsmSymbolChars(tai_symbolpair(hp).sym^)+s);
AsmWriteLn(ReplaceForbiddenAsmSymbolChars(tai_symbolpair(hp).value^));
end
else else
AsmWriteLn(tai_symbolpair(hp).sym^+s+tai_symbolpair(hp).value^); begin
{ avoid string truncation }
AsmWrite(tai_symbolpair(hp).sym^+s);
AsmWriteLn(tai_symbolpair(hp).value^);
end;
end; end;
ait_weak: ait_weak:
begin begin