diff --git a/ide/lazdoc.pas b/ide/lazdoc.pas index 082f34d635..6e85264028 100644 --- a/ide/lazdoc.pas +++ b/ide/lazdoc.pas @@ -678,7 +678,8 @@ begin end; // use only definition nodes - if not (Node.Desc in (AllIdentifierDefinitions+[ctnProperty,ctnProcedure])) + if not (Node.Desc in + (AllIdentifierDefinitions+[ctnProperty,ctnProcedure,ctnEnumIdentifier])) then begin DebugLn(['TLazDocManager.GetElementChain i=',i,' ignoring node ',Node.DescAsString]); continue;