diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-02-12 20:39:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-02-12 20:39:00 (GMT) |
commit | 2bf4cfeda1be93954baf688017e147b565c06d9b (patch) | |
tree | 498c4173ac1530bb0ab661a222ddc2906f564944 /src/doxygen.cpp | |
parent | c7d553e78d5c3efdecb3f44a63f4f68e83eae61a (diff) | |
download | Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.zip Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.tar.gz Doxygen-2bf4cfeda1be93954baf688017e147b565c06d9b.tar.bz2 |
Release-1.3.6
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 640ce0f..869cb8c 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -715,16 +715,24 @@ static void addClassToContext(Entry *root) { case Entry::UNION_SEC: case Entry::UNIONDOC_SEC: - sec=ClassDef::Union; break; + sec=ClassDef::Union; + break; case Entry::STRUCT_SEC: case Entry::STRUCTDOC_SEC: - sec=ClassDef::Struct; break; + sec=ClassDef::Struct; + break; case Entry::INTERFACE_SEC: case Entry::INTERFACEDOC_SEC: - sec=ClassDef::Interface; break; + sec=ClassDef::Interface; + break; + case Entry::PROTOCOL_SEC: + case Entry::PROTOCOLDOC_SEC: + sec=ClassDef::Protocol; + break; case Entry::EXCEPTION_SEC: case Entry::EXCEPTIONDOC_SEC: - sec=ClassDef::Exception; break; + sec=ClassDef::Exception; + break; } Debug::print(Debug::Classes,0," New class `%s' (sec=0x%08x)! #tArgLists=%d\n", fullName.data(),root->section,root->tArgLists ? (int)root->tArgLists->count() : -1); @@ -746,9 +754,9 @@ static void addClassToContext(Entry *root) tagName,refFileName); cd->setDocumentation(root->doc,root->docFile,root->docLine); // copy docs to definition cd->setBriefDescription(root->brief,root->briefFile,root->briefLine); + cd->setIsObjectiveC(root->objc); //printf("new ClassDef %s tempArgList=%p specScope=%s\n",fullName.data(),root->tArgList,root->scopeSpec.data()); - ArgumentList *tArgList = getTemplateArgumentsFromName(fullName,root->tArgLists); //printf("class %s template args=%s\n",fullName.data(), |