diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-09-21 15:51:30 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-09-21 15:51:30 (GMT) |
commit | d00d094bd4fda5c53ef21e150580080f011bcabd (patch) | |
tree | e20da19fc6442d7a907d9e616b5e468cfc089827 /src | |
parent | fdc1768f223cc3a991955a1019f69e5a7d9aa218 (diff) | |
download | Doxygen-d00d094bd4fda5c53ef21e150580080f011bcabd.zip Doxygen-d00d094bd4fda5c53ef21e150580080f011bcabd.tar.gz Doxygen-d00d094bd4fda5c53ef21e150580080f011bcabd.tar.bz2 |
Bug 707995 - @copydoc not working for const member overloads
Diffstat (limited to 'src')
-rw-r--r-- | src/docparser.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 5259d46..17fcfef 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -6920,11 +6920,19 @@ static QCString extractCopyDocId(const char *data, uint &j, uint len) } if (!found) j++; } + if (qstrncmp(data+j," const",6)==0) + { + j+=6; + } + else if (qstrncmp(data+j," volatile",9)==0) + { + j+=9; + } e=j; QCString id(e-s+1); if (e>s) memcpy(id.data(),data+s,e-s); id.at(e-s)='\0'; - //printf("extractCopyDocId=%s input='%s'\n",id.data(),&data[s]); + //printf("extractCopyDocId='%s' input='%s'\n",id.data(),&data[s]); return id; } |