summaryrefslogtreecommitdiffstats
path: root/src/tagreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tagreader.cpp')
-rw-r--r--src/tagreader.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/tagreader.cpp b/src/tagreader.cpp
index 3e74d77..cfe7bb0 100644
--- a/src/tagreader.cpp
+++ b/src/tagreader.cpp
@@ -3,7 +3,7 @@
*
*
*
- * Copyright (C) 1997-2000 by Dimitri van Heesch.
+ * Copyright (C) 1997-2001 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -124,7 +124,8 @@ class TagFileParser : public QXmlDefaultHandler
InNamespace,
InGroup,
InPage,
- InMember
+ InMember,
+ InPackage
};
class StartElementHandler
{
@@ -204,6 +205,10 @@ class TagFileParser : public QXmlDefaultHandler
m_curPage = new TagPageInfo;
m_state = InPage;
}
+ else if (kind=="package")
+ {
+ m_state = InPackage;
+ }
else
{
err("Error: Unknown compound attribute `%s' found!\n",kind.data());
@@ -746,7 +751,7 @@ void TagFileParser::buildMemberList(Entry *ce,QList<TagMemberInfo> &members)
}
else if (tmi->kind=="typedef")
{
- me->section = Entry::TYPEDEF_SEC;
+ me->section = Entry::VARIABLE_SEC; //Entry::TYPEDEF_SEC;
me->mtype = Method;
}
else if (tmi->kind=="enumeration")