summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-08-27 07:21:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-08-27 07:21:10 (GMT)
commitfac9a7ce54f68fe7ba3f624f4ea16a200034b763 (patch)
treee14b3dd0fb11cded9e9f2180498ddaf809d1c948
parent42cb811bddbd0e7b731c9fd0d9664ab472f21dea (diff)
parentb7c3088d382ba6e0f14c4fa9a7ce83f2253499b5 (diff)
downloadDoxygen-fac9a7ce54f68fe7ba3f624f4ea16a200034b763.zip
Doxygen-fac9a7ce54f68fe7ba3f624f4ea16a200034b763.tar.gz
Doxygen-fac9a7ce54f68fe7ba3f624f4ea16a200034b763.tar.bz2
Merge pull request #27 from albert-github/feature/bug_706804
Feature/bug 706804
-rw-r--r--src/fortranscanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 3ed0031..327febf 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -1998,7 +1998,7 @@ static void addSubprogram(const char *text)
subrCurrent.prepend(current);
current->section = Entry::FUNCTION_SEC ;
QCString subtype = text; subtype=subtype.lower().stripWhiteSpace();
- functionLine = subtype=="function";
+ functionLine = (subtype.find("function") != -1);
current->type += " " + subtype;
current->type = current->type.stripWhiteSpace();
current->fileName = yyFileName;