mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 05:37:30 +01:00
Debugger: Fix handling of backslash in strings returned by gdb (used for classname resolving)
git-svn-id: trunk@43197 -
This commit is contained in:
parent
3c36cadea0
commit
1baa61cb47
@ -399,6 +399,12 @@ begin
|
||||
end;
|
||||
continue;
|
||||
end;
|
||||
if (AValue[i] = '\' ) and (i < length(AValue)) then begin // gdb escapes some chars, even it not pascalish
|
||||
inc(j);
|
||||
inc(i); // copy next char
|
||||
Result[j] := AValue[i];
|
||||
continue;
|
||||
end;
|
||||
if InQuote or not(AValue[i] = '#' ) then begin
|
||||
inc(j);
|
||||
Result[j] := AValue[i];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user