Re: [Doxygen-users] Doyxgen 1.2.7: \ingroup group1 group2 still allowed?
Brought to you by:
dimitri
|
From: Patrick O. <Pat...@pa...> - 2001-05-08 07:08:04
|
On Mon, May 07, 2001 at 08:28:30PM +0200, Dimitri van Heesch wrote:
> A member (object of class MemberDef) should have exactly
> one "container" (a class derived from Definition, excluding
> MemberDef) to which autolinks will point.
>
> Normally (e.g. without user defined groups) the container is
> the "natural" container to which the member belongs
> (for a global function declared in a header file and defined in a
> source file "natural" it is already a bit ambiguous but anyway...).
> If a member is put in a group and the natural container is
> hidden, then the group will become the autolink container.
This is something I haven't thought of yet, but I'll tryto get
it working.
> > The automatic grouping is applied to test::a, which is probably regarded
> > as a bug and not a feature by most, isn't it?
>
> Yes, this is a bug indeed. I was trying to make it possible to
> group a variable of an anonymous struct like:
>
> struct
> {
> int x;
> int y;
> } point;
>
> The bug was introduced as a side-effect of this.
> You can fix this by uncommenting the context rebuild code in
> parseCompounds in scanner.l.
I had found that one already - I guess that means there is some
hope that I'll get it right ;-)
> Here is the relevant fragment:
>
> gstat = FALSE;
> virt = Normal;
>
> memberGroupId = NOGROUP;
>
> // rebuild compound's group context
> //QCString *s = ce->groups->first();
> //if (s)
> //{
> // lastDefGroup=*s;
> // startGroup();
> //}
>
> //current->mGrpId = memberGroupId = ce->mGrpId;
Are you sure about not setting mGrpId? I hadn't removed that
one, but I haven't tested any member groups either.
Bye, Patrick
--
// pallas GmbH ............ Patrick Ohly .............
Hermuelheimer Str. 10 Software-Engineer
D-50321 Bruehl, Germany po...@pa...
fax +49-(0)2232-1896-29 phone +49-(0)2232-1896-30
http://www.pallas.com
..........................................................
|