mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 04:49:29 +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
|
// scan till end
|
||||||
while idx <= len do
|
while idx <= len do
|
||||||
begin
|
begin
|
||||||
if S[idx] = ''''
|
case S[idx] of
|
||||||
then begin
|
'''' : begin
|
||||||
Inc(idx);
|
Inc(idx);
|
||||||
if idx > len then Break;
|
if idx > len then Break;
|
||||||
if S[idx] <> '''' 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;
|
end;
|
||||||
Inc(n);
|
Inc(n);
|
||||||
Result[n] := S[idx];
|
Result[n] := S[idx];
|
||||||
|
Loading…
Reference in New Issue
Block a user