Second trial to fix commit 48688

git-svn-id: trunk@48691 -
This commit is contained in:
pierre 2021-02-17 09:46:37 +00:00
parent 34fd36f817
commit acf2567bda

View File

@ -1613,7 +1613,8 @@ implementation
begin
setlength(ss,sym.value.len);
for i:=0 to sym.value.len-1 do
ss[i_1]:=pchar(sym.value.valueptr)[i];
ss[i+1]:=pchar(sym.value.valueptr)[i];
if target_dbg.id=dbg_stabs then
st:='s'''+backspace_quote(octal_quote(ss,[#0..#9,#11,#12,#14..#31,'''']),['"','\',#10,#13])+''''
else
st:='s'''+stabx_quote_const(octal_quote(ss,[#0..#9,#11,#12,#14..#31,'''']))+'''';