mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 23:36:16 +02:00
debugger: replace \\, \t etc in debugger output strings
git-svn-id: trunk@11118 -
This commit is contained in:
parent
a4af89298d
commit
75734cdf1d
@ -1218,11 +1218,21 @@ begin
|
||||
// scan till end
|
||||
while idx <= len do
|
||||
begin
|
||||
if S[idx] = ''''
|
||||
then begin
|
||||
Inc(idx);
|
||||
if idx > len then Break;
|
||||
if S[idx] <> '''' then Break;
|
||||
case S[idx] of
|
||||
'''' : begin
|
||||
Inc(idx);
|
||||
if idx > len then Break;
|
||||
if S[idx] <> '''' then Break;
|
||||
end;
|
||||
'\' : begin
|
||||
Inc(idx);
|
||||
if idx > len then Break;
|
||||
case S[idx] of
|
||||
't': S[idx] := #9;
|
||||
'n': S[idx] := #10;
|
||||
'r': S[idx] := #13;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
Inc(n);
|
||||
Result[n] := S[idx];
|
||||
|
Loading…
Reference in New Issue
Block a user