mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-23 18:41:37 +02:00
codetools: fixed parsing class operator method
git-svn-id: trunk@57648 -
This commit is contained in:
parent
a5293996d9
commit
a040f6c847
@ -1347,7 +1347,7 @@ begin
|
|||||||
Include(ParseAttr,pphIsOperator);
|
Include(ParseAttr,pphIsOperator);
|
||||||
// read name
|
// read name
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
if CurPos.Flag<>cafWord then
|
if (CurPos.Flag<>cafWord) and not (pphIsOperator in ParseAttr) then
|
||||||
AtomIsIdentifierE;
|
AtomIsIdentifierE;
|
||||||
// create node for procedure head
|
// create node for procedure head
|
||||||
CreateChildNode;
|
CreateChildNode;
|
||||||
|
Loading…
Reference in New Issue
Block a user