Skip to content

Commit

Permalink
Better handling of implicit statement in source code browser
Browse files Browse the repository at this point in the history
When using e.g. IMPLICIT INTEGER only the IMPLICIT was seen as keyword and INTEGER was not seen as keyword. Now types are seen as keywords as well.
  • Loading branch information
albert-github committed Aug 27, 2015
1 parent 0e2e891 commit 404468a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fortrancode.l
Expand Up @@ -795,7 +795,7 @@ PREFIX (RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,3}(RECURSIVE|I
codifyLines(yytext);
endFontClass();
}
<Start>"implicit"{BS}"none" {
<Start>"implicit"{BS}("none"|{TYPE_SPEC}) {
startFontClass("keywordtype");
codifyLines(yytext);
endFontClass();
Expand Down

0 comments on commit 404468a

Please sign in to comment.