summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-01-29 20:13:23 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-01-29 20:13:23 (GMT)
commit27b5dd5b526154944bb1997fb7a592343d124595 (patch)
tree0653bda058f25d9420dd6ddcaf4edc28781a8aa4 /src/util.cpp
parentf1662f81dd249c51e4d8f9a64ea226f511b0bfbc (diff)
downloadDoxygen-27b5dd5b526154944bb1997fb7a592343d124595.zip
Doxygen-27b5dd5b526154944bb1997fb7a592343d124595.tar.gz
Doxygen-27b5dd5b526154944bb1997fb7a592343d124595.tar.bz2
Release-1.5.8-20090129
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index b1ff12c..bde39bd 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1663,7 +1663,10 @@ nextChar:
}
}
ADD_CHAR(c);
- if (cliSupport && (c=='^' || c=='%') && i>1 && isId(s.at(i-1)))
+ if (cliSupport &&
+ (c=='^' || c=='%') && i>1 && isId(s.at(i-1)) &&
+ !findOperator(s,i)
+ )
{
ADD_CHAR(' '); // C++/CLI: Type^ name and Type% name
}