mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 11:40:33 +02:00
codetools: parse parameter type a.b.c
git-svn-id: trunk@34214 -
This commit is contained in:
parent
3eb7e6d65f
commit
5f133c313c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user