Permalink
Browse files

Fix FORTRAN code function scope test

  • Loading branch information...
hansec committed May 27, 2014
1 parent be0986e commit 2030240bc18d32581479306e6fd86211e6f30c73
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/fortrancode.l
View
@@ -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);

0 comments on commit 2030240

Please sign in to comment.