mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 01:20:17 +02:00
Codetools: parse function-param of type "specialize G<T>.member". (Part of) issue #39699
This commit is contained in:
parent
44b14e0702
commit
e923b4c5d5
@ -1724,7 +1724,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
if NeedIdentifier and UpAtomIs('SPECIALIZE') then begin
|
||||
ReadSpecialize(phpCreateNodes in Attr,Extract,Copying,Attr);
|
||||
ReadTypeReference(phpCreateNodes in Attr,Extract,Copying,Attr);
|
||||
NeedIdentifier:=false;
|
||||
end;
|
||||
if NeedIdentifier then begin
|
||||
@ -4460,6 +4460,12 @@ var
|
||||
begin
|
||||
if (Scanner.CompilerMode=cmOBJFPC) and UpAtomIs('SPECIALIZE') then begin
|
||||
ReadSpecialize(CreateNodes,Extract,Copying,Attr);
|
||||
while CurPos.Flag=cafPoint do begin
|
||||
// e.g. atype<params>.subtype
|
||||
Next;
|
||||
AtomIsIdentifierSaveE(20180411194209);
|
||||
Next;
|
||||
end;
|
||||
exit;
|
||||
end;
|
||||
if CreateNodes then begin
|
||||
|
Loading…
Reference in New Issue
Block a user