summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-12-24 16:16:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-12-24 16:16:39 (GMT)
commit0c9bfb1e7fee31b0f35201e255096df4f6451035 (patch)
tree4d1a863a3e01975cb0300efd330b7a7fb560ee87 /src/declinfo.l
parenta0758fd182732a710364bdf3ebf5c2fb87b0ff70 (diff)
downloadDoxygen-0c9bfb1e7fee31b0f35201e255096df4f6451035.zip
Doxygen-0c9bfb1e7fee31b0f35201e255096df4f6451035.tar.gz
Doxygen-0c9bfb1e7fee31b0f35201e255096df4f6451035.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);