diff options
author | Matthew White <mehw.is.me@inventati.org> | 2017-07-22 19:15:02 (GMT) |
---|---|---|
committer | Matthew White <mehw.is.me@inventati.org> | 2017-08-03 03:38:50 (GMT) |
commit | 6b29c4e55009771545305fe3ec3ba92e8d0ba38e (patch) | |
tree | 61f1c285ab1b568034c72cfd8b80348e77215042 /src/util.h | |
parent | daa2c0960aa5044990c3e06afe8c15694e8be48d (diff) | |
download | Doxygen-6b29c4e55009771545305fe3ec3ba92e8d0ba38e.zip Doxygen-6b29c4e55009771545305fe3ec3ba92e8d0ba38e.tar.gz Doxygen-6b29c4e55009771545305fe3ec3ba92e8d0ba38e.tar.bz2 |
Fix/New: add variadic function args '...' support to @link
* src/util.h (substitute): add skip_seq to function declaration
* src/util.cpp (substitute): implement skip_seq to keep unchanged a
given number of sequential chars otherwise targeted for substitution
* src/util.cpp (resolveRef): call substitute() with skip_seq set to 3
to keep each '...' sequence of chars unchanged
For instance, the command {@link fun(int,...)} now keeps each '...'
sequence of chars unchanged to reference fun(int,...). Before this
patch, each '.' was substituted into '::' by resolveRef() calling
substitute(), producing a weird reference to fun(int,::::::).
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ void mergeArguments(ArgumentList *,ArgumentList *,bool forceNameOverwrite=FALSE) QCString substituteClassNames(const QCString &s); -QCString substitute(const QCString &s,const QCString &src,const QCString &dst); +QCString substitute(const QCString &s,const QCString &src,const QCString &dst,int skip_seq = 0); QCString clearBlock(const char *s,const char *begin,const char *end); |