diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-10-27 13:12:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-27 13:12:48 (GMT) |
commit | d62ee9aace0752ad031d9dbe49e3228916bc258c (patch) | |
tree | 499039f8c038e62bd6a08f60fa61545f82d2c4ea /src | |
parent | 60d3d8de67405cefdf07df77930b1e34b2c56339 (diff) | |
parent | 65a3129eea3d3f807fa6a641087c26c3d0100eac (diff) | |
download | Doxygen-d62ee9aace0752ad031d9dbe49e3228916bc258c.zip Doxygen-d62ee9aace0752ad031d9dbe49e3228916bc258c.tar.gz Doxygen-d62ee9aace0752ad031d9dbe49e3228916bc258c.tar.bz2 |
Merge pull request #771 from albert-github/feature/bug_734308
Bug 734308 - Error message when using memberof in a C macro
Diffstat (limited to 'src')
-rw-r--r-- | src/classdef.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 787cd5e..28308db 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -671,6 +671,10 @@ void ClassDef::internalInsertMember(MemberDef *md, case MemberType_Variable: addMemberToList(MemberListType_variableMembers,md,FALSE); break; + case MemberType_Define: + warn(md->getDefFileName(),md->getDefLine()-1,"A define (%s) cannot be made a member of %s", + md->name().data(), this->name().data()); + break; default: err("Unexpected member type %d found!\n",md->memberType()); } |