codetools: undo patch r62693 #d1b15edcfe, it broke some tests

git-svn-id: trunk@63137 -
This commit is contained in:
mattias 2020-05-12 17:08:22 +00:00
parent 797768a965
commit 1c9deb7a4c

View File

@ -6068,7 +6068,23 @@ begin
repeat
// read identifier (a parameter of the generic type)
Next;
ReadTypeReference( CreateChildNodes ); // May be a nested specialize structure
AtomIsIdentifierSaveE(20180411194303);
if CreateChildNodes then begin
CreateChildNode;
CurNode.Desc:=ctnSpecializeParam;
CurNode.EndPos:=CurPos.EndPos;
end;
Next;
while Curpos.Flag=cafPoint do begin
// first identifier was unitname, now read the type
Next;
AtomIsIdentifierSaveE(20180411194305);
if CreateChildNodes then
CurNode.EndPos:=CurPos.EndPos;
Next;
end;
if CreateChildNodes then
EndChildNode; // close ctnSpecializeParam
if AtomIsChar('>') then
break
else if CurPos.Flag=cafComma then begin