summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-07-16 20:10:06 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-07-16 20:10:06 (GMT)
commit3a7dcb4cbc953fcf5ab62243743707e5e0e3d379 (patch)
treef167dcd5d5f9dcea2ade9e968e78c2a085f0f1fd /src/commentscan.l
parent07ee85ebcc91a12df8a92078f33e700e5f9f40e8 (diff)
downloadDoxygen-3a7dcb4cbc953fcf5ab62243743707e5e0e3d379.zip
Doxygen-3a7dcb4cbc953fcf5ab62243743707e5e0e3d379.tar.gz
Doxygen-3a7dcb4cbc953fcf5ab62243743707e5e0e3d379.tar.bz2
Release-1.4.7-20060716
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 35f2566..59c7d53 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -2326,10 +2326,11 @@ void groupLeaveCompound(const char *,int,const char *)
void openGroup(Entry *e,const char *,int)
{
- //printf("==> openGroup(name=%s,sec=%x)\n",e->name.data(),e->section);
if (e->section==Entry::GROUPDOC_SEC) // auto group
{
g_autoGroupStack.push(new Grouping(e->name,e->groupingPri()));
+ printf("==> openGroup(name=%s,sec=%x) g_autoGroupStack=%d\n",
+ e->name.data(),e->section,g_autoGroupStack.count());
}
else // start of a member group
{
@@ -2346,18 +2347,13 @@ void openGroup(Entry *e,const char *,int)
g_memberGroupRelates = e->relates;
e->mGrpId = g_memberGroupId;
}
- //else
- //{
- // warn(fileName,line,"Warning: member groups cannot be nested. Ending current group!\n");
- // closeGroup(e,fileName,line);
- //}
}
}
void closeGroup(Entry *e,const char *fileName,int)
{
- //printf("==> closeGroup(name=%s,sec=%x) g_autoGroupStack=%d\n",
- // e->name.data(),e->section,g_autoGroupStack.count());
+ printf("==> closeGroup(name=%s,sec=%x) g_autoGroupStack=%d\n",
+ e->name.data(),e->section,g_autoGroupStack.count());
if (g_memberGroupId!=DOX_NOGROUP) // end of member group
{
MemberGroupInfo *info=Doxygen::memGrpInfoDict.find(g_memberGroupId);
@@ -2376,6 +2372,7 @@ void closeGroup(Entry *e,const char *fileName,int)
{
Grouping *grp = g_autoGroupStack.pop();
e->groups->removeLast();
+ printf("Removing %s\n",grp->groupname.data());
delete grp;
initGroupInfo(e);
}
@@ -2389,7 +2386,9 @@ void initGroupInfo(Entry *e)
e->relates = g_memberGroupRelates;
if (!g_autoGroupStack.isEmpty())
{
- //printf("Appending group %s to %s\n",g_autoGroupStack.top()->groupname.data(),e->name.data());
+ printf("Appending group %s to %s: count=%d entry=%p\n",
+ g_autoGroupStack.top()->groupname.data(),
+ e->name.data(),e->groups->count(),e);
e->groups->append(new Grouping(*g_autoGroupStack.top()));
}
}