diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-05-14 18:26:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 18:26:36 (GMT) |
commit | 268439bb6d9da5bb4a3d3ac4c120cec017eabeb0 (patch) | |
tree | 1a3d7ac65068e77e58d5d68cdf88ab1483fa9b18 | |
parent | 64bc6e5010fc3e1f408eacab394b4086080de935 (diff) | |
parent | 08540e3909884e4ba560403bf0c8c1398c8d5b12 (diff) | |
download | Doxygen-268439bb6d9da5bb4a3d3ac4c120cec017eabeb0.zip Doxygen-268439bb6d9da5bb4a3d3ac4c120cec017eabeb0.tar.gz Doxygen-268439bb6d9da5bb4a3d3ac4c120cec017eabeb0.tar.bz2 |
Merge pull request #7566 from DGA45/issue7495
Fix #7495 generate "bitfield"
-rw-r--r-- | src/perlmodgen.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index b6f663a..a08e480 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -1705,6 +1705,15 @@ void PerlModGenerator::generatePerlModForMember(const MemberDef *md,const Defini } } + /* DGA: fix #7495 Perlmod does not generate bitfield */ + if (md->memberType() == MemberType_Variable && md->bitfieldString()) + { + QCString bitfield = md->bitfieldString(); + if (bitfield.at(0) == ':') bitfield = bitfield.mid(1); + m_output.addFieldQuotedString("bitfield", bitfield); + } + /* DGA: end of fix #7495 */ + const MemberDef *rmd = md->reimplements(); if (rmd) m_output.openHash("reimplements") |