codetools: parse parameter type a.b.c

git-svn-id: trunk@34214 -
This commit is contained in:
mattias 2011-12-16 00:11:38 +00:00
parent 3eb7e6d65f
commit 5f133c313c

View File

@ -1450,14 +1450,14 @@ begin
CurNode.EndPos:=CurPos.EndPos;
end;
if not Extract then ReadNextAtom else ExtractNextAtom(copying,Attr);
if CurPos.Flag=cafPoint then begin
// first identifier was unitname -> read '.' + identifier
while CurPos.Flag=cafPoint do begin
if not Extract then ReadNextAtom else ExtractNextAtom(copying,Attr);
if not AtomIsIdentifier(ExceptionOnError) then exit;
if (phpCreateNodes in Attr) then
CurNode.EndPos:=CurPos.EndPos;
if not Extract then ReadNextAtom else ExtractNextAtom(copying,Attr);
end;
if (phpCreateNodes in Attr) then begin
CurNode.EndPos:=CurPos.StartPos;
EndChildNode;
end;
end;