summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-02-15 20:03:34 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-02-15 20:03:34 (GMT)
commit397fa609f53790f008f33d8ce4e6e26bce3c1279 (patch)
tree50b1099761af52d0ca94caec83c8ff3a08efb753 /src/declinfo.l
parent19119105076ca1b361b11b49df61050879c1e054 (diff)
downloadDoxygen-397fa609f53790f008f33d8ce4e6e26bce3c1279.zip
Doxygen-397fa609f53790f008f33d8ce4e6e26bce3c1279.tar.gz
Doxygen-397fa609f53790f008f33d8ce4e6e26bce3c1279.tar.bz2
Upgrade to 1.1.0
Diffstat (limited to 'src/declinfo.l')
-rw-r--r--src/declinfo.l9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/declinfo.l b/src/declinfo.l
index 51e10cb..67f537c 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -2,7 +2,7 @@
*
* $Id$
*
- * Copyright (C) 1997-1999 by Dimitri van Heesch.
+ * Copyright (C) 1997-2000 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -194,6 +194,7 @@ ID [a-z_A-Z][a-z_A-Z0-9]*
exceptionString+=*yytext;
}
<*>.
+<*>\n
%%
@@ -206,9 +207,9 @@ void parseFuncDecl(const QCString &decl,QCString &cl,QCString &ctl,QCString &t,
inputString = decl;
//printf("Input=`%s'\n",inputString);
if (inputString==0) return;
- inputPosition = 0;
+ inputPosition = 0;
classTempListFound = FALSE;
- funcTempListFound = FALSE;
+ funcTempListFound = FALSE;
scope.resize(0);
className.resize(0);
classTempList.resize(0);
@@ -245,7 +246,7 @@ void parseFuncDecl(const QCString &decl,QCString &cl,QCString &ctl,QCString &t,
a=removeRedundantWhiteSpace(args);
exc=removeRedundantWhiteSpace(exceptionString);
- if (t.length()>0 && t.at(t.length()-1)==')')
+ if (!t.isEmpty() && t.at(t.length()-1)==')')
{
a.prepend(")");
t=t.left(t.length()-1);