mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-23 11:41:45 +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);
|
||||
// read name
|
||||
ReadNextAtom;
|
||||
if CurPos.Flag<>cafWord then
|
||||
if (CurPos.Flag<>cafWord) and not (pphIsOperator in ParseAttr) then
|
||||
AtomIsIdentifierE;
|
||||
// create node for procedure head
|
||||
CreateChildNode;
|
||||
|
Loading…
Reference in New Issue
Block a user