diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-02-03 13:33:35 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-02-03 13:33:35 (GMT) |
commit | e54ccc0e6eb12a0720860d863a89cb3f1a83f2a2 (patch) | |
tree | 913d7dd06eccf2357b2170e6929b39a126dbe601 /src/util.cpp | |
parent | cee1f56cf0a8520228dec638f2a5b6b0a2b2f610 (diff) | |
download | Doxygen-e54ccc0e6eb12a0720860d863a89cb3f1a83f2a2.zip Doxygen-e54ccc0e6eb12a0720860d863a89cb3f1a83f2a2.tar.gz Doxygen-e54ccc0e6eb12a0720860d863a89cb3f1a83f2a2.tar.bz2 |
Issue 6814: Inconsistent whitespace removal for operators in 1.8.15
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 9a0e513..3a3bfd3 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1895,7 +1895,7 @@ QCString removeRedundantWhiteSpace(const QCString &s) if (g_charAroundSpace.charMap[(uchar)pc].before && g_charAroundSpace.charMap[(uchar)nc].after && !(pc==',' && nc=='.') && - (osp<8 || (osp>=8 && pc!='"' && isId(nc)) || (osp>=8 && pc!='"' && nc!='"')) + (osp<8 || (osp>=8 && isId(pc) && isId(nc))) // e.g. 'operator >>' -> 'operator>>', // 'operator "" _x' -> 'operator""_x', // but not 'operator int' -> 'operatorint' |