summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-06-07 14:34:52 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-06-07 14:34:52 (GMT)
commit67cd1a3bf4981fd755ada6eeb85622b46638a749 (patch)
tree57f8cced66f15d0756086785aff936c8bbbf0e3b /src/docparser.cpp
parente773e6cb9e117621e06fb81098d33417e8a97720 (diff)
downloadDoxygen-67cd1a3bf4981fd755ada6eeb85622b46638a749.zip
Doxygen-67cd1a3bf4981fd755ada6eeb85622b46638a749.tar.gz
Doxygen-67cd1a3bf4981fd755ada6eeb85622b46638a749.tar.bz2
Bug 632754 - The \copydoc Command Requires The Use of C++ Syntax in C# Code
Replace the scope separators to the default scope separators (::) of doxygen.
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 90ace3f..597d304 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -662,6 +662,8 @@ static bool findDocsForMemberOrCompound(const char *commandName,
*pBrief="";
*pDef=0;
QCString cmdArg=substitute(commandName,"#","::");
+ cmdArg = replaceScopeSeparator(cmdArg);
+
int l=cmdArg.length();
if (l==0) return FALSE;
@@ -687,7 +689,6 @@ static bool findDocsForMemberOrCompound(const char *commandName,
QCString name=removeRedundantWhiteSpace(cmdArg.left(funcStart));
QCString args=cmdArg.right(l-funcStart);
-
// try if the link is to a member
const MemberDef *md=0;
const ClassDef *cd=0;