FpDebug: PascalParser, allow $ sign in identifiers. Required for mangled classnames / specialized generics ...

This commit is contained in:
Martin 2022-04-10 12:43:19 +02:00
parent ca8c6a84e2
commit 94ae766164

View File

@ -1786,7 +1786,7 @@ var
procedure AddIdentifier;
begin
while TokenEndPtr^ in ['a'..'z', 'A'..'Z', '_', '0'..'9'] do
while TokenEndPtr^ in ['a'..'z', 'A'..'Z', '_', '0'..'9', '$'] do
inc(TokenEndPtr);
// TODO: Check functions not, and, in, as, is ...
if (CurPart <> nil) and (CurPart.CanHaveOperatorAsNext) then