diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-03-24 21:24:19 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-03-24 21:24:19 (GMT) |
commit | 02b5f51ef09a211e16e0158e5115ddf5b33d194d (patch) | |
tree | a065befb32bff6f5eb381ff808ed70509bd19a09 /src/declinfo.l | |
parent | f12fe31aed103718f5d4c368473302cc6ac82a47 (diff) | |
download | Doxygen-02b5f51ef09a211e16e0158e5115ddf5b33d194d.zip Doxygen-02b5f51ef09a211e16e0158e5115ddf5b33d194d.tar.gz Doxygen-02b5f51ef09a211e16e0158e5115ddf5b33d194d.tar.bz2 |
Release-1.3.6-20040324
Diffstat (limited to 'src/declinfo.l')
-rw-r--r-- | src/declinfo.l | 6 |
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); |