summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-03-24 21:24:19 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-03-24 21:24:19 (GMT)
commitcba24284923c7319c08926c3ba9cd20f3eee3fdf (patch)
treea065befb32bff6f5eb381ff808ed70509bd19a09 /src/declinfo.l
parentce05925c34c21ec1d2033970745a86affd039445 (diff)
downloadDoxygen-cba24284923c7319c08926c3ba9cd20f3eee3fdf.zip
Doxygen-cba24284923c7319c08926c3ba9cd20f3eee3fdf.tar.gz
Doxygen-cba24284923c7319c08926c3ba9cd20f3eee3fdf.tar.bz2
Release-1.3.6-20040324
Diffstat (limited to 'src/declinfo.l')
-rw-r--r--src/declinfo.l6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/declinfo.l b/src/declinfo.l
index 7058e43..0be2a08 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -65,7 +65,11 @@ static void addTypeName()
{
//printf("addTypeName() type=`%s' scope=`%s' name=`%s'\n",
// type.data(),scope.data(),name.data());
- if (name.isEmpty()) return;
+ if (name.isEmpty() ||
+ name.at(name.length()-1)==':') // end of Objective-C keyword => append to name not type
+ {
+ return;
+ }
if (!type.isEmpty()) type+=' ';
type+=name;
name.resize(0);