summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-09-09 09:51:20 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-09 09:51:20 (GMT)
commit1e373422387e8c1131f887efb47cf3da6459e2ac (patch)
tree7be906fa7ab6bb3830ed9a92e9487a3bf45927c8 /src/util.cpp
parentbe7ce5002af548f01debf40d90640a3a28346f0a (diff)
downloadDoxygen-1e373422387e8c1131f887efb47cf3da6459e2ac.zip
Doxygen-1e373422387e8c1131f887efb47cf3da6459e2ac.tar.gz
Doxygen-1e373422387e8c1131f887efb47cf3da6459e2ac.tar.bz2
Doxygen didn't allow @ref to parameters of type reference to an array.
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index cf1c1f1..e67e9fb 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1872,7 +1872,8 @@ int findParameterList(const QString &name)
}
else
{
- return bracePos;
+ int bp = bracePos>0 ? name.findRev('(',bracePos-1) : -1;
+ return bp==-1 ? bracePos : bp;
}
}
} while (pos!=-1);