summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-02-25 12:02:59 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-02-25 12:02:59 (GMT)
commit1e935dc5b1a7f01fe1f3545f773eca52629dad09 (patch)
treebe57c94de8b39a8acc9861e0e5f680659bd6b682 /src
parentb6f01ff09b17e5c2288f2418ef0a8f074456c357 (diff)
downloadDoxygen-1e935dc5b1a7f01fe1f3545f773eca52629dad09.zip
Doxygen-1e935dc5b1a7f01fe1f3545f773eca52629dad09.tar.gz
Doxygen-1e935dc5b1a7f01fe1f3545f773eca52629dad09.tar.bz2
Bug 791410 - doxygen has problem with operator&=()
Avoid adding a space
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 3af1a90..9100706 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1856,7 +1856,11 @@ QCString removeRedundantWhiteSpace(const QCString &s)
case '&':
if (i>0 && isId(pc))
{
- *dst++=' ';
+ if (nc != '=')
+ // avoid splitting operator&=
+ {
+ *dst++=' ';
+ }
}
*dst++=c;
break;