diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-03-22 13:09:04 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-03-22 13:09:04 (GMT) |
commit | 32093bcca82c7d3a4df4670f52340033e9f16b62 (patch) | |
tree | 2c07734b7eaae6b4d51735ebfd449116f98417a1 /src/util.cpp | |
parent | 95375152974fa7e0e4d4cec7007d942dd5e9615e (diff) | |
download | Doxygen-32093bcca82c7d3a4df4670f52340033e9f16b62.zip Doxygen-32093bcca82c7d3a4df4670f52340033e9f16b62.tar.gz Doxygen-32093bcca82c7d3a4df4670f52340033e9f16b62.tar.bz2 |
Fix for rendering the template parameters of members of variadic template classes.
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index ffa03e1..a550a2f 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1724,7 +1724,7 @@ nextChar: growBuf.addChar(' '); } else if (i>0 && c=='>' && // current char is a > - (isId(s.at(i-1)) || isspace((uchar)s.at(i-1)) || s.at(i-1)=='*' || s.at(i-1)=='&') && // prev char is an id char or space + (isId(s.at(i-1)) || isspace((uchar)s.at(i-1)) || s.at(i-1)=='*' || s.at(i-1)=='&' || s.at(i-1)=='.') && // prev char is an id char or space (i<8 || !findOperator(s,i)) // string in front is not "operator" ) { @@ -2225,6 +2225,10 @@ QCString tempArgListToString(ArgumentList *al,SrcLangExt lang) if (i>0) { result+=a->type.right(a->type.length()-i-1); + if (a->type.find("...")!=-1) + { + result+="..."; + } } else // nothing found -> take whole name { |