diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-21 19:44:21 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-21 19:44:21 (GMT) |
commit | 2b4257860046b3863b7c478d7f6ad5bdfcab757b (patch) | |
tree | 677c5d3e5c124fe419d12ca8eb38f997e3fac3d4 /src/util.cpp | |
parent | e8b9cfaaadf62c115cf253d417dd1bdee38e77db (diff) | |
download | Doxygen-2b4257860046b3863b7c478d7f6ad5bdfcab757b.zip Doxygen-2b4257860046b3863b7c478d7f6ad5bdfcab757b.tar.gz Doxygen-2b4257860046b3863b7c478d7f6ad5bdfcab757b.tar.bz2 |
Added test case for \ref, and fixed representation of operator->*()
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index 1b6afa2..a05ca17 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1847,7 +1847,7 @@ QCString removeRedundantWhiteSpace(const QCString &s) case '*': if (i>0 && pc!=' ' && pc!='\t' && pc!=':' && pc!='*' && pc!='&' && pc!='(' && pc!='/' && - pc!='.' && (osp<9 || (pc=='>' && osp==11))) + pc!='.' && (osp<9 || !(pc=='>' && osp==11))) // avoid splitting &&, **, .*, operator*, operator->* { *dst++=' '; @@ -1930,7 +1930,7 @@ QCString removeRedundantWhiteSpace(const QCString &s) pc=c; } *dst++='\0'; - //printf("removeRedundantWhitespace(%s)->%s\n",s.data(),growBuf); + printf("removeRedundantWhitespace(%s)->%s\n",s.data(),growBuf); return growBuf; } |