summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-24 16:16:39 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-24 16:16:39 (GMT)
commite4cebf12a245705a0ecb714cd3794750af9d0844 (patch)
tree4d1a863a3e01975cb0300efd330b7a7fb560ee87 /src/declinfo.l
parentba0681136c643f13bb56b3b44d4cba3c70c8338d (diff)
downloadDoxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.zip
Doxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.tar.gz
Doxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.tar.bz2
Release-1.2.4
Diffstat (limited to 'src/declinfo.l')
-rw-r--r--src/declinfo.l5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/declinfo.l b/src/declinfo.l
index 84e2abd..7a1b020 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -225,6 +225,9 @@ void parseFuncDecl(const QCString &decl,QCString &cl,QCString &ctl,QCString &t,
BEGIN( Start );
declinfoYYlex();
+ //printf("type=`%s' class=`%s' name=`%s' args=`%s'\n",
+ // type.data(),scope.data(),name.data(),args.data());
+
cl=scope.copy();
//printf("scope=`%s'\n",scope.data());
int il=0,ir=0;
@@ -248,7 +251,7 @@ void parseFuncDecl(const QCString &decl,QCString &cl,QCString &ctl,QCString &t,
a=removeRedundantWhiteSpace(args);
exc=removeRedundantWhiteSpace(exceptionString);
- if (!t.isEmpty() && t.at(t.length()-1)==')')
+ if (!t.isEmpty() && t.at(t.length()-1)==')') // for function pointers
{
a.prepend(")");
t=t.left(t.length()-1);