summaryrefslogtreecommitdiffstats
path: root/src/perlmodgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-11-05 18:49:17 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-11-05 18:49:17 (GMT)
commitb32afdbd35624376000aaf12d09930e311692c53 (patch)
treeb7d34cb2a860b2994ae597c33888042585d91008 /src/perlmodgen.cpp
parentcc4675afcc5f6825b9302fd0915c0c4148f555ab (diff)
downloadDoxygen-b32afdbd35624376000aaf12d09930e311692c53.zip
Doxygen-b32afdbd35624376000aaf12d09930e311692c53.tar.gz
Doxygen-b32afdbd35624376000aaf12d09930e311692c53.tar.bz2
issue #7302: Determination of anonymous is too restrictive
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r--src/perlmodgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp
index c8f9273..be226b7 100644
--- a/src/perlmodgen.cpp
+++ b/src/perlmodgen.cpp
@@ -1792,9 +1792,9 @@ void PerlModGenerator::generatePerlModForClass(const ClassDef *cd)
// + standard member sections
// + detailed member documentation
// - examples using the class
-
+
if (cd->isReference()) return; // skip external references.
- if (cd->name().find('@')!=-1) return; // skip anonymous compounds.
+ if (cd->isAnonymous()) return; // skip anonymous compounds.
if (cd->templateMaster()!=0) return; // skip generated template instances.
m_output.openHash()