mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 10:50:53 +02:00
codetools: parser: dotted uses
git-svn-id: trunk@32101 -
This commit is contained in:
parent
3695f21e44
commit
119ae65d33
@ -1844,7 +1844,7 @@ function TPascalParserTool.ReadUsesSection(
|
||||
{ parse uses section
|
||||
|
||||
examples:
|
||||
uses name1, name2 in '', name3;
|
||||
uses name1, name2 in '', name3.dot;
|
||||
|
||||
}
|
||||
begin
|
||||
@ -1865,7 +1865,12 @@ begin
|
||||
CreateChildNode;
|
||||
CurNode.Desc:=ctnUseUnit;
|
||||
CurNode.EndPos:=CurPos.EndPos;
|
||||
ReadNextAtom;
|
||||
repeat
|
||||
ReadNextAtom;
|
||||
if CurPos.Flag<>cafPoint then break;
|
||||
ReadNextAtom;
|
||||
AtomIsIdentifier(true);
|
||||
until false;
|
||||
if UpAtomIs('IN') then begin
|
||||
ReadNextAtom;
|
||||
if not AtomIsStringConstant then
|
||||
|
Loading…
Reference in New Issue
Block a user