summaryrefslogtreecommitdiffstats
path: root/src/fortrancode.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
commit17ee30b327bf4f07f2411a50a46f5467456beacf (patch)
treeffd092e761289b417363c0562ceb9b93b88f19a4 /src/fortrancode.l
parent0039b4f79ad7e628dcab61e1d82f26fb8fa11cfe (diff)
downloadDoxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.zip
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.gz
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.bz2
Release-1.8.0-20120408
Diffstat (limited to 'src/fortrancode.l')
-rw-r--r--src/fortrancode.l12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index f4ee358..ca42e04 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -462,7 +462,7 @@ static bool getFortranDefs(const QCString &memberName, const QCString &moduleNam
for ( QStringList::Iterator it = only.begin(); it != only.end(); ++it)
{
//cout << " search in only: " << moduleName << ":: " << memberName << "==" << (*it)<< endl;
- if (memberName == (QCString)(*it))
+ if (memberName == (*it).utf8())
return TRUE; // found in ONLY-part of use list
}
}
@@ -580,7 +580,7 @@ static int countLines()
//----------------------------------------------------------------------------
/** start scope */
-void startScope()
+static void startScope()
{
// fprintf(stderr, "===> startScope %s",yytext);
Scope *scope = new Scope;
@@ -588,7 +588,7 @@ void startScope()
}
/** end scope */
-void endScope()
+static void endScope()
{
// fprintf(stderr,"===> endScope %s",yytext);
if (scopeStack.isEmpty())
@@ -601,18 +601,18 @@ void endScope()
scopeStack.removeLast();
for ( QStringList::Iterator it = scope->useNames.begin(); it != scope->useNames.end(); ++it)
{
- useMembers->remove(*it);
+ useMembers->remove((*it).utf8());
}
delete scope;
}
-void addUse(QString moduleName)
+static void addUse(const QCString &moduleName)
{
if (!scopeStack.isEmpty())
scopeStack.last()->useNames.append(moduleName);
}
-void addLocalVar(QString varName)
+static void addLocalVar(const QCString &varName)
{
if (!scopeStack.isEmpty())
scopeStack.last()->localVars.insert(varName, (void*)1);