mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-05 11:32:33 +02:00
codetools: fixed endless loop
git-svn-id: trunk@15982 -
This commit is contained in:
parent
8c97c26419
commit
8c20e8c9b9
@ -1048,10 +1048,10 @@ begin
|
||||
// create node for procedure head
|
||||
CreateChildNode;
|
||||
CurNode.Desc:=ctnProcedureHead;
|
||||
CurNode.SubDesc:=ctnsNeedJITParsing;
|
||||
ReadNextAtom;
|
||||
if (CurPos.Flag<>cafPoint) then begin
|
||||
// read rest
|
||||
CurNode.SubDesc:=ctnsNeedJITParsing;
|
||||
ParseAttr:=[pphIsMethod];
|
||||
if IsFunction then Include(ParseAttr,pphIsFunction);
|
||||
ReadTilProcedureHeadEnd(ParseAttr,HasForwardModifier);
|
||||
|
Loading…
Reference in New Issue
Block a user