summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Hansen <hansec@uw.edu>2014-05-27 14:27:09 (GMT)
committerChris Hansen <hansec@uw.edu>2014-05-27 14:27:09 (GMT)
commit2030240bc18d32581479306e6fd86211e6f30c73 (patch)
tree963d461792289e8192fd6f6cd8da3e6b88f98c67
parentbe0986e9ab7c1788e3650f1df7e7af70b68f28d8 (diff)
downloadDoxygen-2030240bc18d32581479306e6fd86211e6f30c73.zip
Doxygen-2030240bc18d32581479306e6fd86211e6f30c73.tar.gz
Doxygen-2030240bc18d32581479306e6fd86211e6f30c73.tar.bz2
Fix FORTRAN code function scope test
-rw-r--r--src/fortrancode.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index 699b320..e6cfdde 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -932,7 +932,7 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
endFontClass();
}
<Declaration>{ID} { // local var
- if (g_currentMemberDef && !g_currentMemberDef->isFunction() && bracketCount==0)
+ if (g_currentMemberDef && g_currentMemberDef->isFunction() && bracketCount==0)
{
g_code->codify(yytext);
addLocalVar(yytext);