FpDebug: Fix parsing &Identifer in watches

This commit is contained in:
Martin 2022-09-09 13:04:36 +02:00
parent 4d22d48f2e
commit 099f690aea

View File

@ -2123,6 +2123,7 @@ var
'&': if TokenEndPtr^ in ['a'..'z', 'A'..'Z'] then begin
// escaped keyword used as identifier
while TokenEndPtr^ in ['a'..'z', 'A'..'Z', '0'..'9', '_'] do inc(TokenEndPtr);
inc(CurPtr);
NewPart := TFpPascalExpressionPartIdentifier.Create(Self, CurPtr, TokenEndPtr-1);
exit;
end